/* Accueil FlashWatcher : la vraie extension (thème sombre) dans le haut de page, « Pourquoi FlashV ? » et deux offres. */

/* ── Haut de page ── */
.fw-hero { --fw-mint: #3fe9d4; position: relative; overflow: hidden; padding: calc(63px + clamp(20px, 4.5vh, 64px)) 0 clamp(40px, 6vh, 60px);
  background: radial-gradient(ellipse 55% 45% at 0% 0%, rgba(9, 177, 186, .15), transparent 62%),
              radial-gradient(ellipse 45% 55% at 100% 35%, rgba(9, 177, 186, .09), transparent 66%); }
/* Même largeur que le reste de la page, avec de l'air sur les côtés (laptops, Windows à 125 %). */
.fw-hero .container, .fw-why .container { max-width: clamp(1240px, 75vw, 1480px); padding-left: clamp(20px, 5vw, 64px); padding-right: clamp(20px, 5vw, 64px); }
.fw-hero-text { container-type: inline-size; }
.fw-hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.fw-pill { display: inline-block; margin: 0 0 clamp(14px, 3vh, 30px); padding: clamp(5px, 1vh, 8px) 22px; border: 1px solid rgba(63, 233, 212, .55); border-radius: 999px; color: #e8f0f2; font-size: 13px; font-weight: 600; letter-spacing: 2.5px; }
.fw-h1 { margin: 0 0 clamp(14px, 2.6vh, 24px); color: #fff; font-size: clamp(34px, min(9.4cqi, 7.2vh), 72px); font-weight: 700; letter-spacing: -.045em; line-height: 1.04; }
.fw-h1-accent { background: linear-gradient(90deg, #66f6e2, #2fd9c6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fw-lead { max-width: 34ch; margin: 0 0 clamp(20px, 4vh, 36px); color: #c6ced8; font-size: clamp(16px, min(1.45vw, 2.7vh), 21px); line-height: 1.5; }
.fw-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 44px; }
.fw-btn { display: inline-flex; align-items: center; gap: 14px; min-height: clamp(48px, 7vh, 58px); padding: 0 clamp(24px, 2.2vw, 34px); border-radius: 999px; background: linear-gradient(90deg, #66f6e2, #2fd9c6); color: #04201d; font-size: clamp(16px, min(1.2vw, 2.3vh), 18px); font-weight: 700; box-shadow: 0 12px 34px rgba(47, 217, 198, .22); transition: transform .2s ease, box-shadow .2s ease; }
.fw-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(47, 217, 198, .32); }
.fw-btn svg, .fw-feats svg { flex: none; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.fw-btn svg { width: 20px; height: 20px; stroke-width: 2.3; }
.fw-link { display: inline-flex; align-items: center; min-height: 44px; color: #f3f6f8; font-size: clamp(16px, min(1.2vw, 2.3vh), 18px); font-weight: 600; }
.fw-link:hover { color: var(--fw-mint); }
.fw-btn:focus-visible, .fw-link:focus-visible, .fw-price a:focus-visible { outline: 2px solid var(--fw-mint); outline-offset: 4px; }
.fw-small { margin: clamp(12px, 2.4vh, 22px) 0 0; color: #aab4bf; font-size: clamp(13px, 1.9vh, 15px); }
.fw-feats { display: flex; margin: clamp(18px, 3.6vh, 34px) 0 0; padding: 0; list-style: none; }
.fw-feats li { display: flex; align-items: center; gap: 14px; padding: 0 26px; border-left: 1px solid rgba(255, 255, 255, .14); color: #eef2f5; font-size: clamp(15px, min(1.15vw, 2.2vh), 17px); font-weight: 600; line-height: 1.25; }
.fw-feats li:first-child { padding-left: 0; border-left: 0; }
.fw-feats li span { max-width: 7.2em; }
.fw-feats svg { width: clamp(26px, 4vh, 32px); height: clamp(26px, 4vh, 32px); color: var(--fw-mint); stroke-width: 1.6; }
.fw-price { margin: clamp(14px, 2.8vh, 26px) 0 0; font-size: clamp(13px, 1.9vh, 15px); }
.fw-price a { color: #aab4bf; }
.fw-price a:hover { color: var(--fw-mint); }

/* ── La fenêtre de l'extension (la vraie, en sombre) ── */
.fw-demo { position: relative; width: 100%; max-width: 515px; margin: 0 0 0 auto; scroll-margin-top: 90px; }
.fw-win { width: max-content; max-width: 100%; margin-left: auto; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; background: #07080c; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 70px rgba(9, 177, 186, .10); }
.fw-win-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; background: #10141a; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.fw-win-bar span { width: 10px; height: 10px; border-radius: 50%; background: #48505a; }
.fw-win-bar b { margin-left: 10px; color: #c9d1da; font-size: 13px; font-weight: 600; }
.fw-win-screen { width: calc(460px * var(--sc, 1)); height: calc(600px * var(--sc, 1)); overflow: hidden; }
.fw-frame { display: block; width: 460px; height: 600px; border: 0; background: #07080c; transform: scale(var(--sc, 1)); transform-origin: 0 0; }
/* La légende passe sous la fenêtre sans compter dans sa hauteur : le texte se centre sur la fenêtre elle-même. */
.fw-demo-cap { position: absolute; top: 100%; right: 0; width: calc(460px * var(--sc, 1) + 2px); max-width: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 14px; margin-top: 14px; color: #aab4bf; font-size: 14px; text-align: center; }
.fw-demo-mode { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--fw-mint); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fw-demo-mode:focus-visible { outline: 2px solid var(--fw-mint); outline-offset: 2px; border-radius: 6px; }
.fw-demo-mode .fw-lbl-off, .fw-demo-mode[aria-pressed="false"] .fw-lbl-on { display: none; }
.fw-demo-mode[aria-pressed="false"] .fw-lbl-off { display: inline; }

/* ── Les trois étapes, sous le haut de page ── */
.fw-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(64px, 11vh, 104px) 0 0; padding: clamp(28px, 4.5vh, 40px) 0 0; border-top: 1px solid rgba(255, 255, 255, .13); list-style: none; scroll-margin-top: 90px; }
.fw-steps li { display: flex; gap: 22px; padding: 0 32px; border-left: 1px solid rgba(255, 255, 255, .13); }
.fw-steps li:first-child { padding-left: 0; border-left: 0; }
.fw-num { flex: none; align-self: flex-start; padding: 3px 11px; border: 1.5px solid var(--fw-mint); border-radius: 10px; color: var(--fw-mint); font-size: 16px; font-weight: 700; }
.fw-steps h2 { margin: 0 0 10px; color: #fff; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.fw-steps p { margin: 0; color: #b9c2cc; font-size: 16px; line-height: 1.55; }

/* Grand écran (2K, 4K à 150 %…) : tout grandit un peu pour ne pas flotter au milieu. */
@media (min-width: 1800px) and (min-height: 1000px) {
  .fw-lead { font-size: 23px; }
  .fw-demo { max-width: 580px; }
  .fw-why-title { font-size: clamp(62px, 3.4vw, 72px); }
}
@media (max-width: 1100px) {
  .fw-feats li { padding: 0 18px; font-size: 16px; }
  .fw-steps li { padding: 0 22px; gap: 16px; }
  .fw-steps h2 { font-size: 21px; }
}
@media (max-width: 960px) {
  .fw-hero { padding: 112px 0 48px; }
  .fw-demo-cap { position: static; }
  .fw-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .fw-h1 { font-size: clamp(34px, 5.6vw, 46px); }
  .fw-demo { margin: 0 auto; max-width: 460px; }
  .fw-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 52px; padding-top: 36px; }
  .fw-steps li, .fw-steps li:first-child { padding: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .fw-hero { padding-top: 110px; }
  .fw-pill { margin-bottom: 24px; padding: 7px 16px; font-size: 12px; letter-spacing: 2px; }
  .fw-cta { flex-direction: column; align-items: stretch; gap: 8px; }
  .fw-btn { justify-content: center; min-height: 54px; font-size: 17px; }
  .fw-link { justify-content: center; }
  .fw-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .fw-feats li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 0 0 12px; font-size: 14px; }
  .fw-feats li:first-child { padding-left: 0; }
  .fw-feats svg { width: 28px; height: 28px; }
}

/* ── Pourquoi FlashV ? : quatre points, icônes au trait qui s'animent à l'arrivée et au survol ── */
.fw-why { --fw-mint: #3fe9d4; --fw-line: rgba(255, 255, 255, .13); padding: clamp(72px, 12vh, 110px) 0 clamp(64px, 10vh, 96px); }
.fw-why-title { margin: 0 0 clamp(32px, 5.5vh, 52px); color: #fff; font-size: clamp(34px, min(4.4vw, 7.6vh), 62px); font-weight: 700; letter-spacing: -.05em; line-height: 1.05; }
.fw-why-accent { color: var(--fw-mint); white-space: nowrap; }
.fw-why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--fw-line); }
.fw-why-item { display: flex; align-items: flex-start; gap: 28px; min-width: 0; padding: clamp(24px, 4vh, 36px) 0; border-bottom: 1px solid var(--fw-line); }
.fw-why-item:nth-child(odd) { padding-right: 44px; }
.fw-why-item:nth-child(even) { padding-left: 44px; border-left: 1px solid var(--fw-line); }
.fw-why-item > div { min-width: 0; }
.fw-why-item h3 { margin: 0 0 8px; color: #fff; font-size: clamp(19px, 1.9vw, 23px); font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
.fw-why-item p { max-width: 44ch; margin: 0; color: #b9c2cc; font-size: 16px; line-height: 1.6; }
.fw-why-icon { flex: none; width: 64px; height: auto; color: var(--fw-mint); overflow: visible; }
.fw-scan-line { opacity: 0; }
.fw-knob { fill: #07080c; }

@media (prefers-reduced-motion: no-preference) {
  .fw-why.fw-anim .fw-scan-line { animation: fw-scan 840ms 300ms both paused; }
  .fw-why.fw-anim .fw-scan-check { animation: fw-check 850ms 300ms both paused; }
  .fw-why.fw-anim .fw-ref-badge { animation: fw-pop 600ms 900ms both paused; transform-origin: 47px 44px; }
  .fw-why.fw-anim .fw-knob-top { animation: fw-slide-top 750ms 1400ms both paused; }
  .fw-why.fw-anim .fw-knob-bottom { animation: fw-slide-bottom 750ms 1400ms both paused; }
  .fw-why.fw-anim .fw-bell { animation: fw-ring 650ms 1950ms both paused; transform-origin: 48px 19px; }
  .fw-why.fw-anim.is-on :is(.fw-scan-line, .fw-scan-check, .fw-ref-badge, .fw-knob-top, .fw-knob-bottom, .fw-bell) { animation-play-state: running; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .fw-why.fw-anim.is-on .fw-why-item:hover .fw-scan-line { animation: fw-scan-h 840ms both; }
  .fw-why.fw-anim.is-on .fw-why-item:hover .fw-scan-check { animation: fw-check-h 850ms both; }
  .fw-why.fw-anim.is-on .fw-why-item:hover .fw-ref-badge { animation: fw-pop-h 600ms both; }
  .fw-why.fw-anim.is-on .fw-why-item:hover .fw-knob-top { animation: fw-slide-top-h 750ms both; }
  .fw-why.fw-anim.is-on .fw-why-item:hover .fw-knob-bottom { animation: fw-slide-bottom-h 750ms both; }
  .fw-why.fw-anim.is-on .fw-why-item:hover .fw-bell { animation: fw-ring-h 650ms both; }
}
@keyframes fw-scan { 0% { opacity: 0; } 18%, 80% { opacity: .8; } 100% { opacity: 0; transform: translateY(23px); } }
@keyframes fw-scan-h { 0% { opacity: 0; } 18%, 80% { opacity: .8; } 100% { opacity: 0; transform: translateY(23px); } }
@keyframes fw-check { 0%, 60% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fw-check-h { 25%, 65% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fw-pop { 0% { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes fw-pop-h { 0% { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes fw-slide-top { from { transform: translateX(-11px); } to { transform: translateX(0); } }
@keyframes fw-slide-top-h { 40% { transform: translateX(-11px); } 100% { transform: translateX(0); } }
@keyframes fw-slide-bottom { from { transform: translateX(13px); } to { transform: translateX(0); } }
@keyframes fw-slide-bottom-h { 40% { transform: translateX(13px); } 100% { transform: translateX(0); } }
@keyframes fw-ring { 24% { transform: rotate(15deg); } 48% { transform: rotate(-12deg); } 72% { transform: rotate(7deg); } }
@keyframes fw-ring-h { 24% { transform: rotate(15deg); } 48% { transform: rotate(-12deg); } 72% { transform: rotate(7deg); } }
@media (max-width: 760px) {
  .fw-why { padding: 72px 0 64px; }
  .fw-why-title { margin-bottom: 36px; }
  .fw-why-list { grid-template-columns: minmax(0, 1fr); }
  .fw-why-item:nth-child(n) { gap: 20px; padding: 28px 0; border-left: 0; }
  .fw-why-icon { width: 48px; }
}

/* ── Offres : deux, côte à côte ── */
.restored-pricing .fw-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.restored-pricing .fw-plans .plan { display: flex; flex-direction: column; }
.restored-pricing .fw-plans .button { margin-top: auto; }
.restored-pricing .fw-plans .price { margin-bottom: 8px; }
.restored-pricing .fw-plans .plan-free .price { margin-bottom: 28px; }
.restored-pricing .fw-then { margin: 0 0 20px; color: #edf0f4; font-size: 15px; font-weight: 600; }
.restored-pricing .fw-plans .hint { line-height: 1.6; }

/* ── Guide d'installation ── */
.fw-guide { padding: 150px 0 90px; }
.fw-guide .container { max-width: 780px; }
.fw-guide-title { margin: 18px 0 14px; font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -2px; line-height: 1.08; }
.fw-guide-lead { max-width: 60ch; color: #c3cad5; font-size: 17px; line-height: 1.7; }
.fw-guide-hint { display: none; margin-top: 18px; max-width: 60ch; color: #c3cad5; font-size: 15px; line-height: 1.6; }
.fw-phone .fw-only-phone, .fw-not-windows .fw-only-os { display: block; }
.fw-phone #download, .fw-not-windows #download { display: none !important; }
.fw-guide-wait { margin-top: 30px; padding: 20px 22px; border: 1px solid rgba(232, 182, 87, .45); border-radius: 16px; background: #0e1118; color: #c3cad5; font-size: 15px; line-height: 1.6; }
.fw-guide-wait p { max-width: 68ch; }
.fw-guide-wait-t { color: #f3f6f8; font-weight: 600; }
.fw-guide-act .hero-btn { white-space: nowrap; }
.fw-guide-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 16px; }
.fw-guide-link { display: inline-flex; align-items: center; min-height: 44px; color: #5ee7ef; text-decoration: underline; text-underline-offset: 3px; }
.fw-guide-steps { list-style: none; margin: 40px 0 0; padding: 0; }
.fw-guide-steps li { padding: 26px 0; border-top: 1px solid var(--border2); }
.fw-guide-steps li:last-child { border-bottom: 1px solid var(--border2); }
.fw-guide-steps h2 { margin: 10px 0 8px; font-size: 21px; font-weight: 600; letter-spacing: -.5px; }
.fw-guide-steps p, .fw-guide-notes li { max-width: 68ch; color: #c3cad5; font-size: 15px; line-height: 1.7; }
.fw-guide-steps .hero-btn { margin-top: 16px; }
.fw-guide [hidden] { display: none !important; }
.fw-guide .hero-btn-primary { background: #09b1ba; color: #051012; border-color: #09b1ba; }
.fw-guide .hero-btn-primary:hover { background: #5ee7ef; border-color: #5ee7ef; }
.fw-guide-sub { margin: 44px 0 14px; font-size: 22px; font-weight: 600; letter-spacing: -.5px; }
.fw-guide-notes { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.fw-guide-notes li { position: relative; padding-left: 22px; }
.fw-guide-notes li::before { content: ''; position: absolute; left: 0; top: .78em; width: 10px; height: 2px; border-radius: 2px; background: #5ee7ef; }
.fw-guide-back { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 34px; }

@media (max-width: 700px) {
  .fw-guide { padding: 118px 0 60px; }
  .restored-pricing .fw-plans { grid-template-columns: 1fr; }
  .restored-pricing .fw-plans .plan-boost { order: 0; }
}
@media (prefers-reduced-motion: reduce) { .fw-btn { transition: none; } }

/* Tarifs v5 : 13 € barré en rouge (prix normal), 3 € = offre de lancement ; offre gratuite sans Autobuy. */
.restored-pricing .fw-was { position: relative; margin-right: 10px; color: #ff5a64; font-size: .6em; font-weight: 600; letter-spacing: -.5px; text-decoration: none; vertical-align: .18em; }
.restored-pricing .fw-was::after { content: ""; position: absolute; left: -3px; right: -3px; top: 52%; height: 2.5px; border-radius: 2px; background: #ff3b47; transform: rotate(-12deg); }
.fw-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.restored-pricing .plan li.fw-no { color: #8d97a3; }
.restored-pricing .plan li.fw-no::before { content: '✕'; color: #ff5a64; }

/* Page de téléchargement (/telecharger) : compléments du guide d'installation. */
.fw-guide-steps h3 { margin: 10px 0 8px; font-size: 21px; font-weight: 600; letter-spacing: -.5px; }
.fw-guide-steps h4 { margin: 20px 0 6px; color: #f3f6f8; font-size: 16px; font-weight: 600; }
.fw-guide-steps p + p { margin-top: 10px; }
.fw-guide-sublist { display: grid; gap: 8px; max-width: 68ch; margin: 10px 0 12px; padding-left: 22px; color: #c3cad5; font-size: 15px; line-height: 1.7; }
.fw-guide-sublist.fw-guide-wide { gap: 12px; }
.fw-guide-steps li li, .fw-guide-steps li li:last-child { padding: 0; border: 0; }
.fw-guide-get { margin-top: 30px; padding: 20px 22px; border: 1px solid rgba(94, 231, 239, .35); border-radius: 16px; background: #0e1118; color: #c3cad5; font-size: 15px; line-height: 1.6; }
.fw-guide-get p { max-width: 68ch; }
.fw-guide-get p + p { margin-top: 10px; }
.fw-guide-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 16px 0; }
.fw-guide-facts dt { color: #8d97a5; }
.fw-guide-facts dd { margin: 0; color: #f3f6f8; overflow-wrap: anywhere; }
.fw-guide code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 560px) { .fw-guide-facts { grid-template-columns: 1fr; gap: 2px; } .fw-guide-facts dd { margin-bottom: 8px; } }
/* /telecharger : deux choses à installer, côte à côte (l'une sous l'autre sur téléphone). */
.fw-guide-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.fw-guide-pair > div { padding: 14px 16px; border: 1px solid rgba(94, 231, 239, .2); border-radius: 12px; }
.fw-guide-get .fw-guide-pair-t { margin: 0 0 12px; color: #fff; font-weight: 600; }
.fw-guide-pair .hero-btn { white-space: normal; text-align: center; }
@media (max-width: 640px) { .fw-guide-pair { grid-template-columns: 1fr; } }
/* /telecharger : vérification du fichier, repliée par défaut (l'empreinte faisait penser à un mot de passe). */
.fw-guide-check { margin-top: 14px; }
.fw-guide-check summary { cursor: pointer; color: #8d97a5; }
.fw-guide-check summary:hover, .fw-guide-check[open] summary { color: #f3f6f8; }
.fw-guide-check p { margin-top: 10px; }
.fw-guide-check code { overflow-wrap: anywhere; }
