/* ==========================================================================
   CrocoClip — Landing Page Officielle (Design System CrocoVid Studio)
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans Variable";
  src: url("assets/jakarta.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Glass & Surfaces (Jetons officiels CrocoClip) */
  --panel-bg: rgba(255, 255, 255, 0.74);
  --panel-bg-strong: rgba(255, 255, 255, 0.88);
  --panel-bg-solid: #ffffff;
  --panel-blur: blur(24px) saturate(1.4);
  --panel-border: rgba(255, 255, 255, 0.72);
  --frame-bg: rgba(241, 245, 249, 0.34);
  --frame-border: rgba(255, 255, 255, 0.78);
  --hairline: rgba(15, 23, 42, 0.075);
  --hairline-strong: rgba(15, 23, 42, 0.13);

  /* Shape */
  --radius-card: 18px;
  --radius-control: 11px;
  --radius-pill: 999px;
  --radius-frame: 30px;

  /* Elevation */
  --shadow-card: 0 10px 34px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  --shadow-raised: 0 3px 10px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-pop: 0 22px 58px rgba(15, 23, 42, 0.16), 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-window: 0 32px 80px rgba(15, 23, 42, 0.18), 0 4px 16px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);

  /* Colours */
  --text: #0f172a;
  --text-2: #526176;
  --text-3: #5f6f85;
  --primary: #334155;
  --primary-hover: #1e293b;
  --navy: #19345f;
  --navy-hover: #102747;
  --accent: #3860e0;
  --accent-hover: #2c4fc4;
  --accent-soft: rgba(56, 96, 224, 0.12);
  --waveform: #34c08a;
  --chip: #e2e8f0;
  --chip-hover: #cbd5e1;
  --field-bg: rgba(255, 255, 255, 0.92);
  --field-border: rgba(15, 23, 42, 0.1);
  --hover: rgba(15, 23, 42, 0.045);
  --active: rgba(15, 23, 42, 0.075);
  --danger: #e5484d;
  --danger-soft: rgba(229, 72, 77, 0.12);
  --success: #1f9d6b;
  --success-soft: rgba(52, 192, 138, 0.15);
  --warning: #c27c0e;
  --warning-soft: rgba(245, 166, 35, 0.16);
  --focus: 0 0 0 3px rgba(56, 96, 224, 0.35);

  /* Dynamic Brand Kit Theme (modifiable live in the page!) */
  --brand-primary: #3860e0;
  --brand-accent: #ffd43b;
  --brand-surface: rgba(15, 23, 42, 0.86);

  /* Typography */
  --font: "Plus Jakarta Sans Variable", "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Red Hat Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: #dbe7f3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p {
  margin: 0;
}

button, input, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid transparent;
  box-shadow: var(--focus);
}

/* ==========================================================================
   Lagoon Backdrop (Identité visuelle CrocoClip)
   ========================================================================== */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(180deg, #e7f0f9 0%, #cfe1f2 50%, #dbe8f4 100%);
  pointer-events: none;
}

.backdrop__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  opacity: 0.92;
  transform: scale(1.01);
}

.backdrop__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(110% 70% at 50% 0%, rgba(255, 255, 255, 0.55), transparent 65%),
    linear-gradient(180deg, rgba(237, 245, 252, 0.25) 0%, rgba(219, 231, 243, 0.12) 45%, rgba(225, 236, 246, 0.48) 100%);
}

/* ==========================================================================
   Outer Page Shell & Topbar (Style Studio .topbar + .topnav)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 100;
  max-width: 1360px;
  margin: 12px auto 0;
  padding: 0 20px;
}

.topbar-glass {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 68px;
  padding: 0 18px 0 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.88);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-link img {
  height: 36px;
  width: auto;
  display: block;
}

.beta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--success-soft);
  border: 1px solid rgba(31, 157, 107, 0.24);
  color: #15734f;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.beta-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--waveform);
  box-shadow: 0 0 0 3px rgba(52, 192, 138, 0.22);
}

.topnav__tab {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(100, 116, 139, 0.14);
  border-radius: 16px;
  background: rgba(241, 245, 249, 0.65);
}

.topnav__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border-radius: 11px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: all 0.15s var(--ease);
  white-space: nowrap;
}

.topnav__item svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.topnav__item:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.topnav__item.is-active {
  color: var(--text);
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.topbar-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   Buttons (Style Studio .btn)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-control);
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background-color 0.15s var(--ease),
    border-color 0.15s var(--ease),
    box-shadow 0.15s var(--ease),
    transform 0.12s var(--ease);
  user-select: none;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn--primary:hover {
  background: var(--primary-hover);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(56, 96, 224, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn--accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 10px 26px rgba(56, 96, 224, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--panel-bg-solid);
  color: var(--text);
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--shadow-raised);
}

.btn--secondary:hover {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.22);
  transform: translateY(-1px);
}

.btn--xl {
  height: 58px;
  padding: 0 24px;
  border-radius: 15px;
  font-size: 15.5px;
  font-weight: 700;
}

/* ==========================================================================
   Main Container & Section Rhythm
   ========================================================================== */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
  scroll-margin-top: 96px;
}

.section-header {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(56, 96, 224, 0.22);
  box-shadow: 0 2px 10px rgba(56, 96, 224, 0.08);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.section-subtitle {
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 660px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 44px 0 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.moat-banner {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
  margin-bottom: 22px;
}

.moat-banner__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #3860e0, #2347be);
  color: #fff;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.moat-banner__text {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--text);
}

.moat-banner__roles {
  display: inline-flex;
  gap: 5px;
  flex-wrap: wrap;
}

.role-chip {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.hero__title {
  max-width: 960px;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.07;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 18px;
}

.hero__title-accent {
  background: linear-gradient(135deg, #3860e0 0%, #1d4ed8 55%, #159968 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 740px;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.55;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 28px;
}

/* Download Dock in Hero */
.download-dock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 680px;
  padding: 18px;
  border-radius: 24px;
  background: var(--panel-bg-strong);
  border: 1px solid var(--panel-border);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  box-shadow: var(--shadow-card);
}

.download-dock__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.dl-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 18px;
  border-radius: 15px;
  text-align: left;
  text-decoration: none;
  transition: all 0.18s var(--ease);
  border: 1.5px solid transparent;
}

.dl-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.dl-btn--primary {
  background: linear-gradient(135deg, #3860e0 0%, #2648bc 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(56, 96, 224, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.dl-btn--primary:hover {
  box-shadow: 0 14px 32px rgba(56, 96, 224, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.dl-btn--secondary {
  background: #ffffff;
  color: var(--text);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow-raised);
}

.dl-btn--secondary:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.dl-btn__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.16);
  flex: none;
}

.dl-btn--secondary .dl-btn__icon {
  background: #f1f5f9;
  color: var(--text);
}

.dl-btn__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.dl-btn__title {
  font-size: 15px;
  font-weight: 750;
  line-height: 1.25;
}

.dl-btn__meta {
  font-size: 12px;
  opacity: 0.82;
  font-weight: 500;
}

.dl-btn__detected {
  position: absolute;
  top: -9px;
  right: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #1f9d6b;
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(31, 157, 107, 0.35);
}

.download-dock__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.trust-item svg {
  color: var(--success);
  flex: none;
}

/* ==========================================================================
   Interactive CrocoClip Studio Window Showcase (.frame replica)
   ========================================================================== */
.studio-showcase {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-margin-top: 96px;
}

/* Scenario Switcher Bar above the Studio window */
.scenario-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.scenario-bar__label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-2);
  margin-right: 4px;
}

.scenario-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 15px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 650;
  transition: all 0.16s var(--ease);
}

.scenario-pill:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.scenario-pill.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

.scenario-pill__tag {
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 700;
}

.scenario-pill:not(.is-active) .scenario-pill__tag {
  background: var(--chip);
  color: var(--text-2);
}

/* Studio Window Frame */
.studio-frame {
  border-radius: var(--radius-frame);
  background: rgba(241, 245, 249, 0.42);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Native Studio Topbar inside the mockup */
.studio-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(100, 116, 139, 0.16);
  background: rgba(255, 255, 255, 0.42);
}

.studio-topbar__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.window-dots {
  display: flex;
  gap: 6px;
  margin-right: 6px;
}

.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.window-dot--close { background: #ff5f57; }
.window-dot--min { background: #febc2e; }
.window-dot--max { background: #28c840; }

.studio-topbar__logo {
  height: 26px;
  width: auto;
}

.studio-workspace-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 10px 0 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 650;
}

.studio-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3860e0, #1e3a8a);
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  display: grid;
  place-items: center;
}

.studio-nav {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(100, 116, 139, 0.12);
}

.studio-nav__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 9px;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--text-2);
}

.studio-nav__item.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.studio-topbar__right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.studio-ask-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--hairline-strong);
  font-size: 12px;
  color: var(--text-2);
}

/* 3-Column Studio Grid */
.studio-body {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr) 316px;
  gap: 14px;
  padding: 14px;
  min-height: 610px;
}

.studio-card {
  border-radius: var(--radius-card);
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Left Column: Tool Rail + Active Tool Panel */
.studio-left {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
}

.tool-rail {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 4px;
  border-right: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.35);
}

.tool-rail__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 48px;
  border-radius: 11px;
  font-size: 10px;
  font-weight: 650;
  color: var(--text-2);
  transition: all 0.14s var(--ease);
}

.tool-rail__btn:hover {
  background: rgba(255, 255, 255, 0.65);
  color: var(--text);
}

.tool-rail__btn.is-active {
  background: #ffffff;
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.left-inspector {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12.5px;
}

.inspector-head {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}

.inspector-head__title {
  font-size: 13.5px;
  font-weight: 750;
  color: var(--text);
}

.inspector-format-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--hairline-strong);
  font-size: 11px;
  font-weight: 650;
  color: var(--text-2);
}

.inspector-section-label {
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-3);
}

.media-card-mini {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.media-thumb-mini {
  width: 42px;
  height: 32px;
  border-radius: 7px;
  background: linear-gradient(135deg, #3860e0, #1e293b);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}

.media-card-mini__info {
  min-width: 0;
  flex: 1;
}

.media-card-mini__name {
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-card-mini__sub {
  font-size: 10.5px;
  color: var(--success);
  font-weight: 650;
}

/* Brand Kit Live Mini-Widget inside Left Panel */
.brand-kit-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--hairline);
}

.brand-swatches {
  display: flex;
  gap: 6px;
}

.brand-swatch-btn {
  flex: 1;
  height: 28px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.12);
  position: relative;
  transition: transform 0.14s var(--ease);
}

.brand-swatch-btn:hover {
  transform: scale(1.06);
}

.brand-swatch-btn.is-active {
  box-shadow: 0 0 0 2px var(--text), 0 4px 10px rgba(15, 23, 42, 0.18);
}

/* Center Column: Preview Card + Timeline Card */
.studio-center {
  display: grid;
  grid-template-rows: minmax(0, 1.45fr) minmax(230px, 1fr);
  gap: 14px;
  min-width: 0;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline);
}

.preview-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
  color: var(--text-2);
}

.preview-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.preview-badge-ai {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.preview-badge-ai.is-before {
  background: var(--warning-soft);
  color: var(--warning);
}

/* Video Canvas inside Preview */
.preview-stage-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.03);
  position: relative;
  min-height: 250px;
}

.video-canvas {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 60%, #1e3a5f 100%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}

/* Layout variations inside Video Canvas */
.video-canvas[data-layout="split"] .canvas-screen {
  position: absolute;
  inset: 10px 44% 10px 10px;
  border-radius: 10px;
  background: #f8fafc;
  color: var(--text);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.video-canvas[data-layout="split"] .canvas-speaker {
  position: absolute;
  inset: 10px 10px 10px 58%;
  border-radius: 10px;
}

.video-canvas[data-layout="cam-full"] .canvas-screen {
  display: none;
}

.video-canvas[data-layout="cam-full"] .canvas-speaker {
  position: absolute;
  inset: 0;
}

.video-canvas[data-layout="bubble"] .canvas-screen {
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  background: #f8fafc;
  color: var(--text);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.video-canvas[data-layout="bubble"] .canvas-speaker {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 3px solid var(--brand-primary);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  z-index: 3;
}

.canvas-speaker {
  background: radial-gradient(80% 90% at 50% 25%, #334155 0%, #0f172a 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}

.video-canvas.is-zoomed .canvas-speaker {
  transform: scale(1.14);
}

.speaker-svg {
  width: 82%;
  max-width: 240px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

/* Brand Logo Watermark in Video Canvas */
.canvas-brand-logo {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
}

.canvas-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-primary);
}

/* Remotion Animated Infographic Overlay inside Video Canvas */
.canvas-overlay-card {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 225px;
  padding: 12px 14px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.95);
  border-left: 4px solid var(--brand-primary);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.38);
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.28s var(--ease);
}

.video-canvas.is-before-mode .canvas-overlay-card {
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  pointer-events: none;
}

.overlay-kicker {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
}

.overlay-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.overlay-metric {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.overlay-metric__num {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: -0.03em;
}

.overlay-metric__label {
  font-size: 11px;
  color: var(--text-2);
  font-weight: 600;
}

/* Live Derived Captions inside Video Canvas */
.canvas-captions {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 5;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}

.video-canvas.is-before-mode .canvas-captions {
  opacity: 0;
}

.caption-pill {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.caption-word.is-active {
  color: #0f172a;
  background: var(--brand-accent);
  padding: 0 6px;
  border-radius: 5px;
  transform: scale(1.06);
}

/* Preview Control Bar */
.preview-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-top: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.preview-controls__left,
.preview-controls__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
}

.play-btn:hover {
  background: var(--accent);
}

.timecode-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 650;
  color: var(--text-2);
}

/* Timeline Card inside Studio Showcase (.tl-panel) */
.tl-proposal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 10px 4px;
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid rgba(56, 96, 224, 0.25);
  background: linear-gradient(90deg, rgba(56, 96, 224, 0.11), rgba(52, 192, 138, 0.09));
}

.tl-proposal-bar__left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tl-proposal-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}

.tl-proposal-stats {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.tl-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 21px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.tl-stat--cut { background: var(--danger-soft); color: #c4363b; }
.tl-stat--add { background: var(--success-soft); color: var(--success); }
.tl-stat--mod { background: var(--accent-soft); color: var(--accent); }

/* Avant / Après Segmented Switch */
.before-after-switch {
  display: inline-flex;
  padding: 2px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--hairline-strong);
}

.ba-btn {
  padding: 3px 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-2);
  transition: all 0.14s var(--ease);
}

.ba-btn.is-active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 6px rgba(56, 96, 224, 0.3);
}

/* Timeline Tracks */
.tl-tracks {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 4px 10px 10px;
  border-radius: 11px;
  background: rgba(251, 252, 254, 0.92);
  border: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}

.tl-ruler-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  height: 24px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  align-items: center;
}

.tl-ruler-corner {
  padding-left: 10px;
  font-weight: 650;
  border-right: 1px solid var(--hairline);
}

.tl-ruler-ticks {
  display: flex;
  justify-content: space-between;
  padding: 0 18px;
  position: relative;
}

.tl-track-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 36px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  align-items: center;
}

.tl-track-row:last-child {
  border-bottom: 0;
}

.tl-track-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 10px;
  font-size: 11px;
  font-weight: 650;
  color: var(--text);
  border-right: 1px solid var(--hairline);
  height: 100%;
  background: rgba(251, 252, 254, 0.96);
}

.tl-track-lane {
  position: relative;
  height: 30px;
  margin: 0 8px;
  display: flex;
  align-items: center;
}

/* Timeline Items */
.tl-chip-overlay {
  position: absolute;
  height: 24px;
  padding: 0 8px 0 9px;
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 3px 0 0 var(--cat, #7c5cff), inset 0 0 0 1px rgba(15, 23, 42, 0.12);
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.tl-chip-overlay span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tl-tracks.is-before-mode .tl-chip-overlay,
.tl-tracks.is-before-mode .tl-chip-sub {
  opacity: 0.2;
}

.tl-chip-sub {
  position: absolute;
  height: 22px;
  padding: 0 7px;
  border-radius: 5px;
  background: #e2e8f0;
  color: #334155;
  font-size: 9.5px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tl-video-strip {
  position: relative;
  width: 100%;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, #475569, #1e293b);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: #fff;
  font-size: 10.5px;
  font-weight: 650;
  overflow: hidden;
}

/* Red Diagonal Cut Bands (.tl-cutmark--band from Studio) */
.tl-cut-band {
  position: absolute;
  top: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(229, 72, 77, 0.48) 0 4px,
    rgba(229, 72, 77, 0.18) 4px 8px
  );
  border-left: 1.5px solid #e5484d;
  border-right: 1.5px solid #e5484d;
  display: flex;
  align-items: flex-end;
  padding: 1px 3px;
  transition: opacity 0.2s var(--ease);
}

.tl-cut-band span {
  background: #e5484d;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  padding: 0 4px;
  border-radius: 3px;
  line-height: 12px;
  white-space: nowrap;
}

.tl-audio-strip {
  position: relative;
  width: 100%;
  height: 26px;
  border-radius: 7px;
  background: rgba(52, 192, 138, 0.12);
  box-shadow: inset 0 0 0 1px rgba(52, 192, 138, 0.42);
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 3px;
  overflow: hidden;
}

.wave-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  height: 18px;
}

.wave-bar {
  flex: 1;
  background: var(--waveform);
  border-radius: 2px;
  opacity: 0.85;
}

.wave-bar.is-silence {
  height: 2px !important;
  background: #e5484d;
  opacity: 0.5;
}

/* Playhead Line over Timeline */
.tl-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 42%;
  width: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(56, 96, 224, 0.45);
  z-index: 6;
  pointer-events: none;
  transition: left 0.25s linear;
}

.tl-playhead__pill {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
}

/* Right Column: Éditeur IA (.ai-panel replica) */
.studio-right {
  padding: 12px;
  gap: 10px;
}

.ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.ai-header__title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 750;
}

.ai-model-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--hairline);
  font-size: 10.5px;
  font-weight: 650;
  color: var(--text-2);
}

.ai-model-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--waveform);
}

/* AutoEdit Hero Card (.ai-hero from Studio) */
.ai-hero-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #334155 0%, #1e293b 55%, #2b3f7a 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(30, 41, 59, 0.24);
  text-align: left;
  overflow: hidden;
  transition: transform 0.16s var(--ease);
}

.ai-hero-card:hover {
  transform: translateY(-1px);
}

.ai-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(56, 96, 224, 0.45), transparent 55%);
  pointer-events: none;
}

.ai-hero-card__icon {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  flex: none;
}

.ai-hero-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ai-hero-card__kicker {
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.ai-hero-card__title {
  font-size: 13.5px;
  font-weight: 750;
}

.ai-hero-card__desc {
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
}

/* Quick Action 2x3 Grid (.ai-grid) */
.ai-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.ai-action-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  text-align: left;
  transition: all 0.14s var(--ease);
}

.ai-action-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-raised);
}

.ai-action-card.is-active {
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(56, 96, 224, 0.1), rgba(255, 255, 255, 0.95));
  box-shadow: 0 0 0 2px rgba(56, 96, 224, 0.18);
}

.ai-action-card__icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--chip);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 2px;
}

.ai-action-card.is-active .ai-action-card__icon {
  background: var(--accent);
  color: #fff;
}

.ai-action-card__title {
  font-size: 12px;
  font-weight: 750;
}

.ai-action-card__desc {
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--text-2);
}

/* ==========================================================================
   Section Moat: Les 4 Profils d'Experts (Coach, Consultant, Agence, Formateur)
   ========================================================================== */
.experts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.expert-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 22px;
  background: var(--panel-bg-strong);
  border: 1px solid var(--panel-border);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.expert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-pop);
}

.expert-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.expert-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.expert-time-pill {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--success-soft);
  color: #15734f;
  font-size: 11.5px;
  font-weight: 750;
}

.expert-card__role {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.expert-card__promise {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.48;
}

/* Visual Mini-Pipeline inside each Expert Card */
.expert-flow {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(241, 245, 249, 0.78);
  border: 1px solid var(--hairline);
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
}

.flow-step__badge {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--hairline-strong);
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}

.flow-step--out {
  color: var(--accent);
  font-weight: 750;
}

.flow-step--out .flow-step__badge {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ==========================================================================
   Bento Grid "Très Visuel" — Les 6 Super-Pouvoirs CrocoClip
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.bento-card {
  border-radius: 24px;
  background: var(--panel-bg-strong);
  border: 1px solid var(--panel-border);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  box-shadow: var(--shadow-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.bento-card--7 { grid-column: span 7; }
.bento-card--5 { grid-column: span 5; }
.bento-card--6 { grid-column: span 6; }
.bento-card--4 { grid-column: span 4; }
.bento-card--8 { grid-column: span 8; }

.bento-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bento-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.bento-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.bento-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

/* Visual Widget 1: Interactive Retake & Silence Hunter */
.retake-visualizer {
  margin-top: auto;
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--shadow-raised);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.transcript-Interactive {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 13.5px;
  line-height: 1.6;
}

.t-word {
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 550;
  transition: all 0.2s var(--ease);
}

.t-word--cut {
  background: var(--danger-soft);
  color: #b4232c;
  text-decoration: line-through;
  font-size: 12.5px;
}

.retake-visualizer.is-cleaned .t-word--cut {
  opacity: 0.28;
  transform: scale(0.96);
}

.t-word--keep {
  background: rgba(52, 192, 138, 0.14);
  color: #0f5132;
  font-weight: 700;
}

.retake-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
}

/* Visual Widget 2: Live Layout Switcher (Écran + Webcam) */
.layout-demo {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.layout-stage {
  height: 184px;
  border-radius: 15px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  position: relative;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.layout-stage__screen {
  position: absolute;
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.32s var(--ease);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.layout-stage__cam {
  position: absolute;
  background: linear-gradient(145deg, #3860e0, #1e3a8a);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 750;
  transition: all 0.32s var(--ease);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

/* Layout states for Widget 2 */
.layout-stage[data-mode="side"] .layout-stage__screen {
  inset: 12px 42% 12px 12px;
}
.layout-stage[data-mode="side"] .layout-stage__cam {
  inset: 12px 12px 12px 60%;
  border-radius: 10px;
}

.layout-stage[data-mode="bubble"] .layout-stage__screen {
  inset: 12px;
}
.layout-stage[data-mode="bubble"] .layout-stage__cam {
  width: 82px;
  height: 82px;
  right: 20px;
  bottom: 18px;
  border-radius: 50%;
}

.layout-stage[data-mode="presenter"] .layout-stage__screen {
  inset: 12px 12px 12px 36%;
}
.layout-stage[data-mode="presenter"] .layout-stage__cam {
  inset: 12px 66% 12px 12px;
  border-radius: 10px;
}

.layout-pills {
  display: flex;
  gap: 6px;
}

.layout-pill-btn {
  flex: 1;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--hairline-strong);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-2);
  transition: all 0.14s var(--ease);
}

.layout-pill-btn.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Visual Widget 3: Catalogue d'Animations & Infographies */
.anim-showcase-grid {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.anim-mini-card {
  padding: 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.anim-mini-card__tag {
  align-self: flex-start;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 750;
}

/* Visual Widget 4: Styles de Sous-titres Studio (.ai-styles) */
.sub-style-grid {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sub-preview-box {
  padding: 12px;
  border-radius: 13px;
  background: linear-gradient(155deg, #334155, #0f172a);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 74px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s var(--ease);
}

.sub-preview-box.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 96, 224, 0.22);
}

.sub-preview-box__tag {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 650;
}

/* Visual Widget 5: "Brancher une IA" (100% Local & Souverain) */
.ai-providers-row {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.provider-card {
  padding: 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--hairline-strong);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.provider-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 750;
  color: var(--success);
}

.provider-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--waveform);
}

/* ==========================================================================
   Comparatif Visuel: CrocoClip vs Outils Classiques
   ========================================================================== */
.compare-frame {
  border-radius: 26px;
  background: var(--panel-bg-strong);
  border: 1px solid var(--panel-border);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--hairline);
}

.compare-table th {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.55);
}

.compare-table th.is-croco,
.compare-table td.is-croco {
  background: rgba(56, 96, 224, 0.07);
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--success-soft);
  color: #15734f;
  font-size: 12.5px;
  font-weight: 750;
}

.cross-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  font-size: 13px;
}

/* ==========================================================================
   Download Center Section (Mac & Windows)
   ========================================================================== */
.download-center {
  padding: 38px;
  border-radius: 30px;
  background: var(--panel-bg-strong);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  box-shadow: var(--shadow-window);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.os-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.os-card {
  position: relative;
  padding: 28px;
  border-radius: 22px;
  background: #ffffff;
  border: 1.5px solid var(--hairline-strong);
  box-shadow: var(--shadow-raised);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.2s var(--ease);
}

.os-card.is-recommended {
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(56, 96, 224, 0.14), 0 0 0 3px rgba(56, 96, 224, 0.12);
}

.os-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 750;
}

.os-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.os-card__logo {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: #f1f5f9;
  color: var(--text);
  display: grid;
  place-items: center;
}

.os-card__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.os-card__sub {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 550;
}

.os-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-2);
}

.os-specs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.os-specs li svg {
  color: var(--success);
  flex: none;
}

/* 3-Step First Run Preview Strip */
.first-run-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--hairline-strong);
}

.step-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(241, 245, 249, 0.7);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}

/* ==========================================================================
   Download Modal (Style Studio .account-signin)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s var(--ease);
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: min(100%, 540px);
  padding: 34px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #ffffff;
  box-shadow: var(--shadow-window);
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--text-2);
}

.modal-close:hover {
  background: var(--hover);
  color: var(--text);
}

/* Footer */
.site-footer {
  padding: 40px 0 56px;
  text-align: center;
  color: var(--text-2);
  font-size: 13.5px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 26px;
  border-radius: 20px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  backdrop-filter: var(--panel-blur);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1120px) {
  .studio-body {
    grid-template-columns: 1fr;
  }
  .studio-left {
    display: none;
  }
  .experts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento-card--7,
  .bento-card--5,
  .bento-card--6,
  .bento-card--4,
  .bento-card--8 {
    grid-column: span 12;
  }
  .ai-providers-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 0 12px;
  }
  .topbar-glass {
    height: 58px;
    padding: 0 12px 0 14px;
    gap: 8px;
  }
  .brand-link img {
    height: 28px;
  }
  .beta-pill {
    display: none;
  }
  .topbar-actions .btn {
    height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }
  .topnav {
    display: none;
  }
  .download-dock__buttons,
  .os-cards,
  .first-run-strip,
  .experts-grid,
  .anim-showcase-grid {
    grid-template-columns: 1fr;
  }
  .download-center {
    padding: 22px;
  }
  .compare-table th,
  .compare-table td {
    padding: 12px 14px;
    font-size: 13px;
  }
}
