/* Feuille de style partagée des pages marketing secondaires de SosJack
   (Fonctionnalités, Secteurs...). Reprend les tokens de la landing pour rester
   cohérent, sans dupliquer tout son CSS. */
:root {
  --orange: #F07830;
  --orange-dark: #c2410c;
  --navy: #1e3799;
  --navy-dark: #1e2d5a;
  --ink: #0a0a0a;
  --ink-soft: #262626;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #f8f9fa;
  --navy-soft: #eef1fb;
  --white: #fff;
  --radius: 14px;
  --ui: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
/* Fond du root en --ink (couleur du footer) : sur iOS le rebond d'overscroll
   sous le footer sombre revelait sinon le blanc du <html> (« gros blanc sous le
   footer »). Le body reste blanc et couvre tout le contenu ; seul l'overscroll
   laisse voir le fond sombre, qui se fond alors dans le footer. */
html { font-family: var(--ui); font-size: 16px; color: var(--ink); background: var(--ink); -webkit-font-smoothing: antialiased; }
body { margin: 0; background: var(--white); line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Nav (page-based, partagee) — REPRISE FIDELE du header de la landing
   (landing-sosjack.html) : meme logo beacon, memes liens + dropdown « Explorer »,
   Se connecter + CTA, et surtout le meme burger + panneau mobile scrollable.
   But : un header STRICTEMENT identique sur toutes les pages marketing (pas de
   variante « reduite » qui debordait sur petit ecran). Les ancres pointent vers
   la landing en absolu (/#...) pour fonctionner depuis n'importe quelle page. */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo svg { height: 52px; width: auto; }
.nav-links { display: flex; gap: 24px; align-items: center; margin-left: auto; }
.nav-links > a { font-size: 14px; font-weight: 500; color: var(--ink-soft); transition: color .15s; white-space: nowrap; }
.nav-links > a:hover, .nav-links > a[aria-current="page"] { color: var(--orange); }
/* Dropdown « Explorer » */
.nav-dropdown { position: relative; }
.nav-drop-trigger { display: flex; align-items: center; gap: 5px; font-family: inherit; font-size: 14px; font-weight: 500; color: var(--ink-soft); padding: 0; background: transparent; border: none; cursor: pointer; transition: color .15s; white-space: nowrap; }
.nav-drop-trigger:hover { color: var(--orange); }
.nav-chevron { font-size: 10px; transition: transform .2s; line-height: 1; }
.nav-dropdown:hover .nav-chevron, .nav-dropdown.open .nav-chevron { transform: rotate(180deg); }
.nav-drop-menu { position: absolute; top: 100%; left: -14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 8px; min-width: 220px; box-shadow: 0 20px 40px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; display: flex; flex-direction: column; margin-top: 14px; z-index: 60; }
.nav-dropdown:hover .nav-drop-menu, .nav-dropdown.open .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-menu a { padding: 9px 12px; font-size: 14px; font-weight: 500; color: var(--ink); border-radius: 8px; transition: background .15s, color .15s; white-space: nowrap; }
.nav-drop-menu a:hover { background: var(--surface); color: var(--orange); }
.nav-login { font-size: 14px; font-weight: 500; color: var(--ink-soft); margin-left: 24px; padding: 10px 12px; transition: color .15s; white-space: nowrap; }
.nav-login:hover { color: var(--orange); }
.nav-cta { background: var(--orange); color: var(--white) !important; padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; transition: background .2s; white-space: nowrap; margin-left: 8px; }
.nav-cta:hover { background: var(--orange-dark); }
/* Hamburger (mobile) */
.nav-burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; margin-left: 12px; background: none; border: none; cursor: pointer; padding: 0; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Panneau mobile scrollable (max-height + overflow) : sans defilement interne,
   les derniers items sortaient sous le bas de l'ecran sur mobile. */
.nav-mobile-panel { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 32px rgba(0,0,0,.06); flex-direction: column; padding: 12px 24px 20px; max-height: calc(100dvh - 64px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.nav-mobile-panel.open { display: flex; }
.nav-mobile-panel a { padding: 14px 4px; font-size: 16px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav-mobile-panel a:last-of-type { border-bottom: none; }
.nav-mobile-panel .nav-mobile-cta { background: var(--orange); color: var(--white); border: none; margin-top: 14px; text-align: center; padding: 14px; border-radius: 10px; font-weight: 600; }
.nav-mobile-panel .nav-mobile-login { color: var(--orange); font-weight: 600; border-bottom: 1px solid var(--line); }
/* Tablette / petit desktop : on passe en hamburger, Se connecter reste a cote. */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-login { margin-left: auto; }
}
/* Tres petit ecran : meme « Se connecter » prend trop de place -> logo | burger. */
@media (max-width: 480px) {
  .nav-login { display: none; }
  .nav-burger { margin-left: auto; }
}

/* Hero de page secondaire */
.page-hero { background: var(--navy); color: #fff; padding: 56px 0 48px; }
.page-hero .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #C7CEF0; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.15; margin: 10px 0 14px; letter-spacing: -0.02em; max-width: 20ch; }
.page-hero p { font-size: 18px; color: #dfe3f5; max-width: 62ch; margin: 0 0 22px; }
.btn { display: inline-block; background: var(--orange); color: #fff; padding: 13px 22px; border-radius: 12px; font-weight: 700; }
.btn:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
/* Paire de CTA (plein + ghost) : flex + gap, comme .hero-cta-row de la landing.
   L'espacement tient aussi bien cote a cote (desktop) qu'empile (mobile), sans
   margin-left qui collait les pastilles quand elles passaient a la ligne. */
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta-band .btn-row { justify-content: center; }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: var(--surface); }
.section h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; text-wrap: balance; }
.section .lead { font-size: 17px; color: var(--muted); max-width: 64ch; margin: 0 0 28px; }
.section h2 em { color: var(--orange); font-style: normal; }

/* Grille de cartes (modules / bénéfices) */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--navy-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.card .ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.card h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.card .more { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--orange); }

/* Liste à puces vérifiées */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; font-size: 15.5px; color: var(--ink-soft); }
.checks li::before { content: "✓"; color: var(--navy); font-weight: 800; flex: none; }

/* Capsule reponse (AEO) : definition courte, extractible par les moteurs de
   reponse IA (AI Overviews / position zero). Placee en tete de contenu. */
.aeo { background: var(--navy-soft); border-left: 4px solid var(--orange); border-radius: 12px; padding: 18px 22px; margin: 18px 0 0; }
.aeo p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.aeo strong { color: var(--navy); font-weight: 700; }

/* FAQ visible par secteur (accordeon natif <details>) : le texte des questions
   est STRICTEMENT identique au JSON-LD FAQPage, sinon Google ignore le rich
   snippet. Pas de JS : <details> gere l'ouverture. */
.faq-s { display: grid; gap: 12px; max-width: 820px; }
.faq-s details { border: 1px solid var(--line); border-radius: 12px; background: var(--white); padding: 2px 20px; }
.faq-s summary { font-size: 16px; font-weight: 700; color: var(--ink); cursor: pointer; padding: 16px 0; list-style: none; }
.faq-s summary::-webkit-details-marker { display: none; }
.faq-s summary::after { content: "+"; float: right; color: var(--orange); font-weight: 800; }
.faq-s details[open] summary { color: var(--orange); }
.faq-s details[open] summary::after { content: "\2212"; }
.faq-s p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0 0 16px; }

/* Maillage interne : liens « Voir aussi » vers les secteurs proches. */
.related { font-size: 16px; line-height: 2.1; }
.related a { color: var(--navy); font-weight: 600; }
.related a:hover { color: var(--orange); }

/* Bandeau CTA */
.cta-band { background: var(--navy); color: #fff; border-radius: 18px; padding: 36px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dfe3f5; max-width: 60ch; margin: 6px auto 20px; }

/* Fil d'Ariane */
.crumb { font-size: 13px; color: var(--muted); padding: 14px 0 0; }
.crumb a { color: var(--navy); font-weight: 600; }

/* Footer : repris a l'identique de la landing (landing-sosjack.html) pour que
   toutes les pages marketing partagent EXACTEMENT le meme pied de page :
   logo beacon, sous-marque « by sai People », colonnes, liens legaux. */
footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 56px 0 40px; }
.foot-top { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: flex-start; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 28px; }
.foot-brand-text { font-size: 14px; line-height: 1.7; max-width: 420px; margin-top: 14px; color: rgba(255,255,255,.6); }
.foot-brand-text strong { color: var(--white); font-weight: 700; }
.foot-subbrand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.7); font-weight: 500; }
.foot-by { color: rgba(255,255,255,.55); font-size: 13px; }
.foot-sai-logo { height: 24px; width: auto; display: block; }
.foot-sep { color: rgba(255,255,255,.3); margin: 0 2px; }
.foot-tagline-inline { font-weight: 600; color: var(--white); }
.foot-nav { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.foot-col-stack { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.foot-col-title { font-size: 11px; font-weight: 800; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px; }
.foot-col a { font-size: 14px; color: rgba(255,255,255,.72); transition: color .15s; line-height: 1.4; }
.foot-col a:hover { color: var(--white); }
.foot-legal { font-size: 13px; color: rgba(255,255,255,.45); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot-legal-links { display: flex; gap: 18px; }
@media (max-width: 900px) {
  .foot-top { grid-template-columns: 1fr; gap: 40px; }
  .foot-nav { grid-template-columns: repeat(3,1fr); gap: 24px; }
}
@media (max-width: 560px) {
  .foot-nav { grid-template-columns: repeat(2,1fr); }
}
