/* Strength Strategy : feuille de style unique du site. Thème sombre aligné sur l'appli Powerflow. */

:root {
  --bg: #080A0F;
  --bg-2: #0D0F17;
  --card: rgb(23, 24, 38);
  --card-2: rgb(30, 32, 50);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: rgb(232, 234, 242);
  --muted: rgb(168, 173, 189);
  --accent: #4A6EE6;
  --accent-strong: #1836B2;
  --link: #93A8F4;
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

main { flex: 1 0 auto; }

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

a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: #B7C6F8; }

:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 6vw, 3.1rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10;
}
.skip:focus { left: 16px; }

/* En-tête */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 15, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 20px; padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 750; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span { font-size: 1.02rem; }
.nav { display: flex; flex-wrap: wrap; gap: 2px 4px; margin: 0 -10px; padding: 0; list-style: none; }
.nav a {
  display: inline-block; padding: 6px 10px; border-radius: 8px;
  color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 550;
}
.nav a:hover { color: var(--text); background: var(--card); }
.nav a[aria-current="page"] { color: var(--text); background: var(--card); }

/* Sections */
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 28px; }
.kicker {
  display: inline-block; margin-bottom: 12px;
  color: var(--link); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }

/* Bandeau d'accueil */
.hero {
  padding: 56px 0 48px;
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(74, 110, 230, 0.20), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(24, 54, 178, 0.18), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.hero h1 { max-width: 760px; }
.hero .lead { margin-bottom: 28px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }

/* Boutons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 20px; border-radius: 12px;
  font-weight: 650; font-size: 0.98rem; text-decoration: none; border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #3A5DD6; color: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--card); color: var(--text); }

/* Cartes et grilles */
.grid { display: grid; gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin-bottom: 0.4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .muted { font-size: 0.96rem; }

.icon {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px;
  display: grid; place-items: center;
  background: rgba(74, 110, 230, 0.14); color: var(--link);
}
.icon svg { width: 22px; height: 22px; }

.offer { padding: 26px; }
.offer .tag {
  display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.offer h3 { font-size: 1.35rem; }
.checks { list-style: none; margin: 16px 0 0; padding: 0; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.32em; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(74, 110, 230, 0.18);
}
.checks li::after {
  content: ""; position: absolute; left: 5px; top: calc(0.32em + 4px); width: 6px; height: 3.5px;
  border-left: 2px solid var(--link); border-bottom: 2px solid var(--link); transform: rotate(-45deg);
}

/* Étapes */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; }
.steps .card { height: 100%; }
.step-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--link); font-weight: 750; font-size: 0.95rem; margin-bottom: 12px;
}

/* Citation */
.quote {
  margin: 0; padding: 22px 22px 22px 24px; border-left: 3px solid var(--accent);
  background: var(--card); border-radius: 0 var(--radius) var(--radius) 0;
}
.quote p { font-size: 1.12rem; font-weight: 600; margin-bottom: 0.5em; }
.quote footer { color: var(--muted); font-size: 0.92rem; }
.disclaimer { margin-top: 10px; color: var(--muted); font-size: 0.85rem; }

/* Encadré d'appel */
.cta {
  border-radius: var(--radius); padding: 30px 22px;
  background: linear-gradient(135deg, rgba(24, 54, 178, 0.55), rgba(74, 110, 230, 0.22)), var(--card);
  border: 1px solid rgba(74, 110, 230, 0.35);
}
.cta h2 { margin-bottom: 0.4em; }
.cta p { color: var(--text); opacity: 0.9; max-width: 600px; }

/* Bloc à deux colonnes */
.split { display: grid; gap: 28px; align-items: center; }

/* Mot-symbole Powerflow, dessiné en CSS */
.wordmark {
  font-weight: 900; font-style: italic; letter-spacing: 0.01em; text-transform: uppercase;
  color: var(--text);
}

/* Maquette de téléphone (illustration, pas une capture) */
.phone {
  width: 100%; max-width: 290px; margin: 0 auto;
  border-radius: 38px; padding: 12px; background: #11131C;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px rgba(24, 54, 178, 0.35), 0 0 0 6px rgba(255, 255, 255, 0.02);
}
.phone-screen {
  height: 100%; border-radius: 28px; background: var(--bg); overflow: hidden;
  padding: 18px 14px 12px; display: flex; flex-direction: column; gap: 10px;
}
.ph-tabs { display: flex; justify-content: space-around; padding: 10px 4px 2px; margin-top: 4px; border-top: 1px solid var(--line); color: var(--muted); }
.ph-tabs svg { width: 20px; height: 20px; }
.ph-tabs svg:first-child { color: var(--link); }
.phone-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 0.7rem; font-weight: 600; }
.phone-top .wordmark { font-size: 0.85rem; }
.ph-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.ph-label { font-size: 0.62rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.ph-title { font-size: 0.86rem; font-weight: 700; margin-top: 2px; }
.ph-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.74rem; padding: 6px 0; border-top: 1px solid var(--line); }
.ph-row:first-of-type { border-top: 0; }
.ph-row b { font-weight: 700; }
.ph-pill { font-size: 0.66rem; font-weight: 700; color: #fff; background: var(--accent); border-radius: 999px; padding: 2px 8px; }
.ph-pill.done { background: rgba(74, 110, 230, 0.2); color: var(--link); }
.ph-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph-stat { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px; text-align: center; }
.ph-stat span { display: block; font-size: 0.58rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.ph-stat strong { font-size: 0.9rem; }
.ph-chart { color: var(--accent); }
.ph-chart svg { width: 100%; height: auto; }

/* Liste de fonctionnalités */
.features .card { display: flex; flex-direction: column; }

/* Badges magasins (texte, pas de logos de marque) */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px;
  border: 1px dashed var(--line-2); color: var(--muted); font-size: 0.92rem;
}
.store svg { width: 18px; height: 18px; }

/* Coordonnées */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list .icon { margin: 0; flex: none; }
.contact-list strong { display: block; }
address { font-style: normal; }

dl.facts { display: grid; grid-template-columns: 1fr; gap: 2px 18px; margin: 0; }
dl.facts dt { color: var(--muted); font-size: 0.86rem; margin-top: 10px; }
dl.facts dd { margin: 0; }

/* Foire aux questions */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 650; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 18px 16px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer strong { color: var(--text); }

/* Pages de texte (juridique) */
.page-head { padding: 44px 0 8px; }
.page-head .lead { margin-bottom: 0; }
.prose { max-width: 760px; padding-bottom: 56px; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; padding-top: 0.2em; }
.prose h3 { font-size: 1.05rem; margin-top: 1.6em; }
.prose p, .prose li { color: rgb(214, 217, 228); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.35em; }
.prose strong { color: var(--text); }
.version {
  display: inline-block; margin: 14px 0 0; padding: 4px 10px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--muted); font-size: 0.85rem;
}
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 24px 0 8px; }
.toc p { font-weight: 700; margin-bottom: 0.5em; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 1; }
.toc li { margin-bottom: 0.25em; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); text-decoration: underline; }

.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line); }
thead th { border-top: 0; background: var(--card); color: var(--text); font-weight: 700; }
td { color: rgb(214, 217, 228); }

.prose p, .prose li, .prose td { overflow-wrap: break-word; }
.prose a { overflow-wrap: anywhere; }

/* Tableaux empilés sur téléphone */
@media (max-width: 719px) {
  .table-wrap { overflow: visible; border: 0; border-radius: 0; }
  .table-wrap table { min-width: 0; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap td { display: block; width: 100%; }
  .table-wrap tr { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px 14px; margin-bottom: 10px; }
  .table-wrap td { border-top: 1px solid var(--line); padding: 8px 0; }
  .table-wrap td:first-child { border-top: 0; color: var(--text); font-weight: 650; }
  .table-wrap td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
}

/* 404 */
.notfound { padding: 80px 0; text-align: left; }
.notfound .code { font-size: clamp(3.5rem, 14vw, 6rem); font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 12px; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 32px 0 36px; font-size: 0.92rem; }
.footer-grid { display: grid; gap: 18px; }
.footer-company strong { display: block; color: var(--text); }
.footer-company { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-copy { color: var(--muted); font-size: 0.84rem; }

/* Écrans plus larges */
@media (min-width: 720px) {
  html { scroll-padding-top: 84px; }
  .site-header { position: sticky; top: 0; z-index: 5; }
  .section { padding: 76px 0; }
  .hero { padding: 88px 0 76px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 40px; }
  dl.facts { grid-template-columns: max-content 1fr; }
  dl.facts dt { margin-top: 0; padding: 6px 0; }
  dl.facts dd { padding: 6px 0; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: start; }
  .toc ol { columns: 2; column-gap: 32px; }
}

@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .hero-grid { grid-template-columns: 1.25fr 0.75fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
