/* CoachingFlow — site vitrine (www.coachingflow.app)
   Mise en page : colonnes centrées de 72rem, une portée musicale (5 lignes) comme motif récurrent,
   titres en Bricolage Grotesque, texte en Inter. Aucune police ni ressource tierce (RGPD). */

@font-face {
  font-family: 'Bricolage';
  src: url('/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #1d1733;
  --ink-soft: #4a4462;
  --muted: #6e6886;
  --paper: #fbfaff;
  --paper-2: #f3f0fb;
  --card: #ffffff;
  --line: #e6e1f3;
  --brand: #6d28d9;
  --brand-strong: #5b21b6;
  --brand-soft: #ede7fd;
  --on-brand: #ffffff;
  --accent: #f2b53a;
  --ok: #0f8a5f;
  --shadow: 0 1px 2px rgb(29 23 51 / 6%), 0 12px 32px -12px rgb(29 23 51 / 18%);
  --font-display: 'Bricolage', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1eefb;
    --ink-soft: #cfc8e6;
    --muted: #a39cbd;
    --paper: #120f1d;
    --paper-2: #1a1629;
    --card: #1d1930;
    --line: #2e2945;
    --brand: #a78bfa;
    --brand-strong: #c4b5fd;
    --brand-soft: #2a2143;
    --on-brand: #150f26;
    --accent: #f5c563;
    --ok: #34d399;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px -12px rgb(0 0 0 / 60%);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font-body);
  font-feature-settings: 'cv11', 'ss01';
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--brand);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--brand-strong);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.9rem);
  font-weight: 750;
}
h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
}
h3 {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.narrow {
  max-width: 46rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 38rem;
}
.muted {
  color: var(--muted);
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--card);
  padding: 0.5rem 1rem;
  z-index: 10;
}

/* ---------- Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
}
.btn-primary:hover {
  background: var(--brand-strong);
  color: var(--on-brand);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--card);
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--brand);
}
.btn-small {
  padding: 0.5rem 0.95rem;
  font-size: 0.9rem;
}

/* ---------- En-tête */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo:hover {
  color: var(--ink);
}
.logo-mark {
  width: 2rem;
  height: 2rem;
  flex: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-left: auto;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--ink);
}
.nav-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.menu {
  display: none;
  margin-left: auto;
}
.menu summary {
  list-style: none;
  cursor: pointer;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu[open] .menu-panel {
  display: grid;
}
.menu-panel {
  display: none;
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 4.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.75rem;
  gap: 0.25rem;
}
.menu-panel a {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.menu-panel a:hover {
  background: var(--paper-2);
}
@media (max-width: 860px) {
  .nav,
  .nav-actions {
    display: none;
  }
  .menu {
    display: block;
  }
}

/* ---------- Portée musicale (motif) */
.staff {
  position: absolute;
  inset: auto 0 0 0;
  height: 9rem;
  pointer-events: none;
  opacity: 0.55;
}
.staff line {
  stroke: var(--line);
  stroke-width: 1.5;
}
.staff .note {
  fill: var(--brand);
  opacity: 0.18;
}

/* ---------- Héros */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
}
.hero-copy {
  display: grid;
  gap: 1.35rem;
  min-width: 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 45%, transparent) 62%);
  padding-inline: 0.08em;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.reassure {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0;
  margin: 0;
  list-style: none;
}
.reassure li::before {
  content: '✓ ';
  color: var(--ok);
  font-weight: 700;
}
.shot {
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--card);
}
.shot-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.shot-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.hero-visual {
  position: relative;
  min-width: 0;
}
.hero-visual .phone {
  position: absolute;
  width: 34%;
  right: -4%;
  bottom: -12%;
  border-radius: 22px;
  border: 6px solid var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--card);
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual .phone {
    right: 2%;
    width: 32%;
  }
}

/* ---------- Sections */
.section {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.section-alt {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}
.section-head {
  display: grid;
  gap: 0.9rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 44rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: grid;
  gap: 0.6rem;
  align-content: start;
  min-width: 0;
}
.card .icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}
.card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  justify-self: start;
}

/* ---------- Mise en avant (texte + capture) */
.feature-row + .feature-row {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.feature-row .copy {
  display: grid;
  gap: 1rem;
  min-width: 0;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.checks li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--ink-soft);
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.feature-row.reverse .copy {
  order: 2;
}
@media (max-width: 900px) {
  .feature-row.reverse .copy {
    order: 0;
  }
}

/* ---------- Étapes */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  counter-increment: step;
  border-top: 3px solid var(--brand);
  padding-top: 1rem;
  display: grid;
  gap: 0.5rem;
}
.steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--brand);
}
.steps p {
  color: var(--ink-soft);
}
@media (max-width: 760px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Tarifs */
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}
@media (max-width: 860px) {
  .pricing {
    grid-template-columns: minmax(0, 1fr);
  }
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.4rem, 3vw, 2rem);
  display: grid;
  gap: 1.1rem;
  align-content: start;
  min-width: 0;
}
.plan-main {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.price strong {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 3.6rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.price span {
  color: var(--muted);
}
.plan .note {
  font-size: 0.88rem;
  color: var(--muted);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 34rem;
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.compare th,
.compare td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 650;
}
.compare tr:last-child td {
  border-bottom: 0;
}
.compare td.num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.compare .us td {
  background: var(--brand-soft);
  font-weight: 600;
}

/* ---------- FAQ */
.faq {
  display: grid;
  gap: 0.6rem;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--brand);
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  margin-top: 0.7rem;
  color: var(--ink-soft);
}

/* ---------- Appel final */
.final {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  gap: 1.2rem;
  justify-items: start;
}
.final p {
  color: color-mix(in srgb, var(--paper) 78%, transparent);
  max-width: 36rem;
}
.final .btn-primary {
  background: var(--accent);
  color: #1d1733;
}
.final .btn-primary:hover {
  background: #f7c75f;
  color: #1d1733;
}
@media (prefers-color-scheme: dark) {
  .final {
    background: var(--brand-soft);
    color: var(--ink);
  }
  .final p {
    color: var(--ink-soft);
  }
}

/* ---------- Pages de texte (légal) */
.page-head {
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  display: grid;
  gap: 0.8rem;
}
.prose {
  padding-bottom: 4rem;
}
.prose h2 {
  font-size: 1.45rem;
  margin: 2.4rem 0 0.8rem;
}
.prose h3 {
  margin: 1.6rem 0 0.5rem;
}
.prose p,
.prose li {
  color: var(--ink-soft);
}
.prose p + p {
  margin-top: 0.8rem;
}
.prose ul {
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
}
.prose .table-scroll {
  margin-block: 1rem;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 36rem;
}
.prose th,
.prose td {
  text-align: left;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th {
  color: var(--ink);
  font-weight: 650;
}
.todo {
  background: color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 4px;
  padding: 0 0.25rem;
  color: var(--ink);
}
.toc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-size: 0.93rem;
}
.toc ol {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
  columns: 2;
  column-gap: 2rem;
}
@media (max-width: 640px) {
  .toc ol {
    columns: 1;
  }
}

/* ---------- Pied de page */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 3rem 2rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.footer-grid h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.7rem;
  font-family: var(--font-body);
  font-weight: 650;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}
.footer-grid a {
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-grid a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}
