/* Landing page Montor : fond blanc, typographie noire, accent bleu clair #8FD3FF.
   Pas de dégradés, pas de fonds sombres, pas d'effets décoratifs. */
:root {
  --bg: #ffffff;
  --bg-alt: #fafaf8;
  --surface: #ffffff;
  --surface-2: #f4f4f1;
  --line: #e9e9e5;
  --line-strong: #d9d9d4;
  --text: #0a0a0a;
  --muted: #66666b;
  --accent: #8fd3ff;
  --accent-ink: #0a0a0a;
  --ok: #138a4a;
  --radius: 16px;
  --shadow-soft: 0 1px 2px rgba(10, 10, 10, .04), 0 14px 34px -16px rgba(10, 10, 10, .18);
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.03em; line-height: 1.08; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 820px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 650; border-radius: 999px; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, border-color .2s, box-shadow .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.btn-block { width: 100%; padding: 14px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 1px rgba(10, 10, 10, .06) inset; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(10, 10, 10, .1) inset, 0 8px 20px -8px rgba(20, 110, 180, .45); }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); }
.btn .arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Navigation ---------- */
/* En haut de page : barre pleine largeur, sans fond. Au défilement, elle se resserre
   en pilule flottante, floutée et ombrée (classe .scrolled posée par landing.js). */
.nav { position: sticky; top: 0; z-index: 50; padding-top: 0; transition: padding-top .45s var(--ease); }
.nav-inner {
  display: flex; align-items: center; gap: 40px; height: 72px;
  border: 1px solid transparent; border-radius: 999px; background: rgba(255, 255, 255, 0);
  transition: max-width .55s var(--ease), height .45s var(--ease), padding .45s var(--ease),
              background-color .3s, border-color .3s, box-shadow .45s var(--ease), backdrop-filter .3s;
}
.nav.scrolled { padding-top: 12px; }
.nav.scrolled .nav-inner {
  max-width: 980px; height: 60px; padding: 0 10px 0 20px;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-color: rgba(10, 10, 10, .07); box-shadow: 0 10px 30px -12px rgba(10, 40, 80, .22);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: block; width: 36px; height: 36px; object-fit: contain; }
.brand-name { font-family: "Fredoka", var(--font); font-weight: 600; font-size: 28px; line-height: 1; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 30px; font-size: 15px; color: var(--muted); margin-left: auto; }
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 18px; }

/* ---------- Hero ---------- */
/* hero resserré : la démo doit être bien visible dès l'arrivée sur la page */
.hero { padding: 24px 0 12px; }
/* deux colonnes : le texte à gauche, l'avant / après à droite */
/* le hero occupe la hauteur de l'écran, moins la barre du haut et le haut de la démo qui doit dépasser
   en bas (environ 240 px) : texte et avant / après y sont centrés, quelle que soit la taille d'écran */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center;
  min-height: calc(100svh - 72px - 240px); }
.hero-copy { text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 { font-size: clamp(38px, 4.4vw, 60px); font-weight: 750; letter-spacing: -.045em; line-height: 1.03; }
.mark { position: relative; display: inline-block; z-index: 0; }
.mark::after {
  content: ""; position: absolute; z-index: -1; left: -.06em; right: -.06em; bottom: .08em; height: .34em;
  background: var(--accent); border-radius: .08em; transform-origin: left center;
  animation: mark-in .9s var(--ease) .35s both;
}
@keyframes mark-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-sub { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 540px; margin: 16px 0 24px; line-height: 1.5; text-wrap: pretty; }

/* Avant / après : deux téléphones, celui d'après un peu plus grand */
/* largeur limitée : la démo du podcast, juste en dessous, doit rester visible dès l'arrivée */
.before-after { margin: 0; width: 100%; max-width: clamp(400px, 57vh, 560px); justify-self: center; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr); align-items: center; gap: 14px; }
.ba-item { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.ba-label { font-size: 15px; font-weight: 600; color: var(--muted); }
.ba-after .ba-label { color: var(--text); }
.ba-phone {
  width: 100%; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--surface-2);
  border: 4px solid var(--surface); box-shadow: 0 0 0 1px rgba(10, 10, 10, .08), 0 24px 50px -20px rgba(10, 60, 110, .35);
}
.ba-phone video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ba-arrow { width: 36px; height: 18px; color: #2b9be8; margin-top: 26px; }

/* ---------- Démo : composition statique par défaut (sans JS / mouvement réduit) ---------- */
.demo { margin: 8px 0 0; }

.demo-stage { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1fr; gap: 18px; align-items: center; }
.demo-clips { display: contents; }
.demo-source { min-width: 0; }

.player, .demo-clip {
  position: relative; overflow: hidden; border-radius: 14px; background: #ecece8;
  border: 1px solid rgba(10, 10, 10, .08); box-shadow: var(--shadow-soft);
}
.player { aspect-ratio: 16 / 9; }
.demo-clip { aspect-ratio: 9 / 16; border-radius: 16px; }
.media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.ph-label { position: absolute; inset: 0; display: none; place-items: center; text-align: center; padding: 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.is-empty, .no-js .player, .no-js .demo-clip { background: var(--surface-2); border-style: dashed; border-color: var(--line-strong); box-shadow: none; }
.is-empty .media, .no-js .demo .media { display: none; }
.is-empty .ph-label, .no-js .demo .ph-label { display: grid; }
.no-js .demo .chip { display: none; }

.chip { position: absolute; z-index: 2; top: 12px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; background: rgba(255, 255, 255, .92); color: var(--text); }
.chip-tag { left: 12px; }
.chip-time { right: 12px; font-variant-numeric: tabular-nums; }
.is-empty .chip { display: none; }

.timeline { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; }
.tl-track { position: relative; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .45); overflow: hidden; }
.is-empty .tl-track { background: var(--line-strong); }
.tl-seg { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: var(--accent); min-width: 6px; }
.tl-sweep { position: absolute; inset: 0; transform: translateX(-100%); opacity: 0; }
.tl-sweep::after { content: ""; position: absolute; right: 0; top: -3px; bottom: -3px; width: 3px; border-radius: 3px; background: var(--accent); }

.score {
  position: absolute; z-index: 2; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px 4px 5px; border-radius: 999px; background: rgba(255, 255, 255, .95); font-size: 12px; font-weight: 650; color: var(--text);
}
.score b { background: var(--accent); border-radius: 999px; padding: 1px 7px; font-weight: 750; }
.demo-crops { display: none; }

/* ---------- Démo animée (classe ajoutée par landing.js) ---------- */
.demo-stage.is-live { display: block; position: relative; aspect-ratio: 16 / 7.4; }
.is-live .demo-source, .is-live .demo-clip, .is-live .crop {
  position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform, opacity;
}
.is-live .demo-clips, .is-live .demo-crops { display: block; position: absolute; inset: 0; pointer-events: none; }
.is-live .demo-source { opacity: 0; }
.is-live .demo-clip { opacity: 0; }
.crop { border: 2px solid var(--accent); border-radius: 10px; opacity: 0; box-shadow: 0 0 0 1px rgba(10, 10, 10, .15); }
.is-live .tl-seg { opacity: 0; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 1px rgba(10, 10, 10, .12); }
.section-head h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 720; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* ---------- Fonctionnalités ---------- */
/* Deux grandes rangées : la capture d'un côté, le texte de l'autre, en alternance */
.features { display: grid; gap: 24px; }
.feature {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, box-shadow .3s var(--ease);
}
.feature:hover { border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.feature-reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.feature-reverse .feature-visual { order: 2; border-right: 0; border-left: 1px solid var(--line); }
.feature-visual { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 26px; background: var(--bg-alt); border-right: 1px solid var(--line); }
.feature-copy { padding: 34px 36px; }
.feature-copy h3 { font-size: 24px; margin-bottom: 12px; font-weight: 700; }
.feature-copy > p { color: var(--muted); font-size: 16px; }
.feature-points { list-style: none; margin: 22px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; }
.feature-points li { position: relative; padding-left: 20px; }
.feature-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px rgba(10, 10, 10, .12); }

/* Captures vidéo de l'app dans une fenêtre d'application */
.fv-media { padding: 24px; }
.app-window { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-soft); }
.app-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.app-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.app-bar span { margin-left: 8px; font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-video { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 654; object-fit: cover; background: var(--bg-alt); }


/* ---------- Tarifs ---------- */
.billing { display: flex; justify-content: center; gap: 4px; width: max-content; margin: -24px auto 48px; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.bill-opt { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 650; padding: 9px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s; }
.bill-opt.active { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(10, 10, 10, .1); }
.save { font-size: 11px; padding: 2px 7px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plan { position: relative; padding: 34px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.plan-pop { border: 2px solid var(--text); padding: 33px 27px; }
.pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 99px; white-space: nowrap; }
.plan h3 { font-size: 22px; font-weight: 700; }
.plan-for { color: var(--muted); font-size: 15px; margin-top: 4px; }
.price { display: flex; align-items: baseline; gap: 2px; margin: 22px 0 4px; }
.amount { font-size: 54px; font-weight: 750; letter-spacing: -.05em; line-height: 1; }
.cur { font-size: 20px; font-weight: 700; margin-left: 6px; }
.per { color: var(--muted); margin-left: 6px; }
.billed { color: var(--muted); font-size: 13px; margin-bottom: 14px; min-height: 20px; }
.plan-videos { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft, #e6f5ff); font-size: 13px; color: #0b5c8f; display: grid; gap: 2px; }
.plan-videos strong { font-size: 17px; color: var(--text); letter-spacing: -.01em; }
.plan-videos span { color: var(--muted); font-size: 12px; margin-top: 2px; }
.plans-note { text-align: center; color: var(--muted); font-size: 14px; margin: 22px 0 0; }
.feat { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; font-size: 15px; }
.feat li { padding-left: 28px; position: relative; }
.feat li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%230a0a0a' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.feat em { color: var(--muted); font-style: normal; font-size: 13px; }

/* ---------- FAQ ---------- */
.faq-section { background: linear-gradient(180deg, var(--bg), #f3f9fe 30%, #f3f9fe); }
.faq-title { font-size: clamp(38px, 5.4vw, 68px); letter-spacing: -.045em; }
.faq-title em { font-style: italic; font-weight: 700; color: #2b9be8; letter-spacing: -.03em; padding-right: .06em; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.faq-col { display: grid; gap: 16px; }
.faq details {
  background: var(--surface); border: 1px solid #e3eef7; border-radius: 18px; padding: 0 26px;
  box-shadow: 0 1px 2px rgba(10, 40, 80, .04), 0 10px 26px -18px rgba(20, 90, 160, .35);
  transition: border-color .2s, box-shadow .25s var(--ease);
}
.faq details:hover, .faq details[open] { border-color: #cfe4f5; box-shadow: 0 1px 2px rgba(10, 40, 80, .05), 0 16px 34px -18px rgba(20, 90, 160, .45); }
.faq summary { cursor: pointer; list-style: none; padding: 26px 0; font-weight: 600; font-size: 19px; letter-spacing: -.015em; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--surface);
  box-shadow: 0 0 0 1px #e3eef7, 0 4px 10px -4px rgba(20, 90, 160, .3); transition: background-color .2s;
}
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; border-radius: 2px; background: var(--text); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover .faq-icon { background: var(--accent-soft, #e6f5ff); }
.faq details p { color: var(--muted); font-size: 16px; line-height: 1.6; margin-top: -6px; padding-bottom: 26px; }
.faq details[open] p { animation: faq-in .35s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Footer ---------- */

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  /* écran étroit : capture au-dessus, texte en dessous, pour les deux rangées */
  .features { max-width: 680px; margin: 0 auto; }
  .feature, .feature-reverse { grid-template-columns: 1fr; }
  .feature-reverse .feature-visual { order: 0; }
  .feature-visual, .feature-reverse .feature-visual { border-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .fv-media { padding: 18px; }
}
@media (max-width: 900px) {
  /* une colonne : le texte, puis l'avant / après */
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; min-height: 0; }
  .hero-copy { text-align: center; align-items: center; }
  .before-after { max-width: 440px; width: 100%; margin: 0 auto; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav-inner { height: 62px; gap: 16px; }
  .nav.scrolled { padding-top: 8px; }
  .nav.scrolled .nav-inner { height: 54px; margin: 0 10px; padding: 0 6px 0 14px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero { padding: 44px 0 24px; }
  .hero h1 { font-size: clamp(34px, 10vw, 46px); }
  .before-after { gap: 10px; }
  .ba-phone { border-radius: 16px; border-width: 3px; }
  .ba-arrow { width: 32px; height: 16px; }
  .hero-sub { margin: 20px 0 26px; }
  .hero-copy .btn-lg { width: 100%; }
  .demo { margin-top: 44px; }
  .demo-stage { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .demo-source { grid-column: 1 / -1; }
  .demo-stage.is-live { aspect-ratio: 4 / 5; }
  .chip { top: 8px; font-size: 11px; padding: 4px 8px; }
  .chip-tag { left: 8px; } .chip-time { right: 8px; }
  .timeline { left: 10px; right: 10px; bottom: 10px; }
  .score { font-size: 11px; left: 7px; top: 7px; }
  .section { padding: 80px 0; }
  .features, .plans, .faq { grid-template-columns: 1fr; }
  .faq summary { font-size: 17px; padding: 20px 0; }
  .faq details { padding: 0 20px; }
  .feature-visual { min-height: 0; padding: 20px 16px; }
  .fv-media { padding: 12px; }
  .app-bar { height: 24px; padding: 0 10px; }
  .app-bar i { width: 7px; height: 7px; }
  .feature-copy { padding: 24px 20px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
