/* ==========================================================================
   Douglasse Studio — Compiled Stylesheet (100 % synchronisé avec scss/main.scss)
   Palette monochrome : blanc cassé/crème (#F5F4F0), noir charbon (#111110), gris
   ========================================================================== */

:root {
  --bg: #f5f4f0;
  --bg-elevated: #ffffff;
  --bg-subtle: #eceae4;
  --bg-muted: #e3e0d8;

  --ink: #111110;
  --ink-secondary: #4e4d49;
  --ink-muted: #787670;

  --border: rgba(17, 17, 16, 0.12);
  --border-strong: rgba(17, 17, 16, 0.28);

  --shadow-soft: 0 12px 32px rgba(17, 17, 16, 0.06);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

[data-theme='dark'] {
  --bg: #111110;
  --bg-elevated: #191917;
  --bg-subtle: #181816;
  --bg-muted: #232320;

  --ink: #f5f4f0;
  --ink-secondary: #b9b7af;
  --ink-muted: #84827b;

  --border: rgba(245, 244, 240, 0.12);
  --border-strong: rgba(245, 244, 240, 0.28);

  --shadow-soft: 0 16px 36px rgba(0, 0, 0, 0.35);
}

/* Base & Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

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

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: var(--font-mono);
}

.section-heading {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-lead {
  font-size: 1rem;
  color: var(--ink-secondary);
  max-width: 50ch;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
}

/* Floating 3-Bubble Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: 0.85rem;
  pointer-events: none;
}

@media (min-width: 760px) {
  .site-header {
    padding-top: 1rem;
  }
}

.header-pills {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    'brand theme'
    'nav nav';
  align-items: center;
  gap: 0.65rem;
}

@media (min-width: 760px) {
  .header-pills {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: 'brand nav theme';
    gap: 0.75rem;
  }
}

.header-pills-compact {
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: 'brand nav theme';
}

.header-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  background-color: color-mix(in srgb, var(--bg-elevated) 84%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(17, 17, 16, 0.05);
  transition: border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.header-pill:hover {
  border-color: var(--border-strong);
}

.brand-pill {
  grid-area: brand;
  justify-self: start;
  gap: 0.6rem;
  height: 44px;
  padding: 0 1rem 0 0.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 0.9rem;
}

.brand-pill .brand-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.brand-pill-center {
  grid-area: nav;
  justify-self: center;
}

@media (max-width: 480px) {
  .brand-pill-center {
    padding: 0 0.5rem;
  }

  .brand-pill-center span {
    display: none;
  }
}

.back-pill {
  grid-area: brand;
  justify-self: start;
  gap: 0.3rem;
  height: 44px;
  padding: 0 0.95rem 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-secondary);
}

.back-pill:hover {
  color: var(--ink);
}

.nav-pill {
  grid-area: nav;
  justify-self: center;
  position: relative;
  height: 42px;
  padding: 4px;
  gap: 2px;
}

@media (min-width: 760px) {
  .nav-pill {
    height: 44px;
  }
}

.nav-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  border-radius: 999px;
  background-color: var(--ink);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), width 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, width;
  pointer-events: none;
}

.nav-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 0.95rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-secondary);
  white-space: nowrap;
  transition: color 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 760px) {
  .nav-link {
    padding: 0 1.05rem;
    font-size: 0.875rem;
  }
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link.is-active {
  color: var(--bg);
}

.theme-pill {
  grid-area: theme;
  justify-self: end;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
}

.theme-pill:active .theme-icon-wrap {
  transform: scale(0.86);
}

.theme-icon-wrap {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-icon-wrap svg {
  position: absolute;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-icon-wrap .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-icon-wrap .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.45);
}

[data-theme='dark'] .theme-icon-wrap .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.45);
}

[data-theme='dark'] .theme-icon-wrap .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Repère visuel discret sur le côté droit */
.side-dots {
  display: none;
}

@media (min-width: 1180px) {
  .side-dots {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 35;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }
}

.side-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: var(--border-strong);
  transition: height 0.28s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.side-dot::before {
  content: '';
  position: absolute;
  inset: -8px;
}

.side-dot:hover {
  background-color: var(--ink-secondary);
}

.side-dot:hover .side-dot-label {
  opacity: 1;
  transform: translate(0, -50%);
}

.side-dot.is-active {
  height: 22px;
  background-color: var(--ink);
}

.side-dot-label {
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translate(4px, -50%);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-secondary);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s cubic-bezier(0.22, 1, 0.36, 1), transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 1.75rem;
  background-color: var(--bg);
}

.footer-simple {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.footer-simple-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.footer-simple-links a,
.footer-simple-links button {
  color: var(--ink-secondary);
  transition: color 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-simple-links a:hover,
.footer-simple-links button:hover {
  color: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1), transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.btn-primary {
  background-color: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-secondary {
  background-color: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--ink);
}

.btn-sm {
  height: 36px;
  padding: 0 0.95rem;
  font-size: 0.8125rem;
}

/* Controls sans boîte blanche */
.products-controls {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

@media (min-width: 760px) {
  .products-controls {
    margin-bottom: 2.5rem;
  }
}

.controls-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

@media (min-width: 640px) {
  .controls-row {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.search-field .search-icon {
  position: absolute;
  left: 0.95rem;
  color: var(--ink-muted);
  pointer-events: none;
}

.search-field input {
  width: 100%;
  height: 44px;
  padding: 0 2.75rem 0 2.6rem;
  background-color: color-mix(in srgb, var(--bg-elevated) 72%, transparent);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.925rem;
  transition: border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-field input::-webkit-search-decoration,
.search-field input::-webkit-search-cancel-button,
.search-field input::-webkit-search-results-button,
.search-field input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.search-field input::placeholder {
  color: var(--ink-muted);
}

.search-field input:focus {
  outline: none;
  border-color: var(--ink);
  background-color: var(--bg-elevated);
}

.search-field .search-clear {
  position: absolute;
  right: 0.65rem;
  width: 26px;
  height: 26px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink-muted);
}

.search-field .search-clear:hover {
  background-color: var(--bg-muted);
  color: var(--ink);
}

.search-field .search-clear.is-visible {
  display: inline-flex;
}

.sort-control {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  height: 44px;
  padding: 0 1rem;
  background-color: color-mix(in srgb, var(--bg-elevated) 72%, transparent);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.sort-control label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.sort-control select {
  background: transparent;
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.sort-control select:focus {
  outline: none;
}

.filter-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.filter-pills::-webkit-scrollbar {
  display: none;
}

@media (min-width: 640px) {
  .filter-pills {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 34px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--ink-secondary);
  background-color: transparent;
  transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.filter-btn:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.filter-btn.is-active {
  background-color: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.results-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* Grille App Store Connect */
.apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 680px) {
  .apps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 2.25rem;
  }
}

.app-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  margin: -0.75rem;
  border-radius: 14px;
  transition: background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1), transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 760px) {
  .app-item {
    gap: 1.25rem;
    padding: 1rem;
    margin: -1rem;
  }
}

.app-item:hover {
  background-color: var(--bg-subtle);
}

.app-item:hover .app-squircle {
  transform: scale(1.025);
}

.app-item:hover .app-chevron {
  opacity: 1;
  transform: translateX(3px);
}

.app-squircle {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 26%;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(17, 17, 16, 0.06);
  background-color: var(--bg-elevated);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 640px) {
  .app-squircle {
    width: 76px;
    height: 76px;
  }
}

@media (min-width: 960px) {
  .app-squircle {
    width: 82px;
    height: 82px;
  }
}

@supports (corner-shape: squircle) {
  .app-squircle {
    border-radius: 45%;
    corner-shape: squircle;
  }
}

.app-squircle img,
.app-squircle svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-squircle-lg {
  width: 76px;
  height: 76px;
}

@media (min-width: 640px) {
  .app-squircle-lg {
    width: 92px;
    height: 92px;
  }
}

.app-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.app-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.app-name-row h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

@media (min-width: 760px) {
  .app-name-row h3 {
    font-size: 1.15rem;
  }
}

.app-chevron {
  color: var(--ink-muted);
  opacity: 0.45;
  transition: opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1), transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
}

.app-desc {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.45;
}

.app-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: var(--ink);
  opacity: 0.7;
  flex-shrink: 0;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
}

.empty-state p {
  color: var(--ink-secondary);
  margin: 0.5rem 0 1.25rem;
}

/* Page Produit Dédiée */
.product-hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 860px) {
  .product-hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 2.5rem;
  }
}

.product-hero-main {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .product-hero-main {
    gap: 1.5rem;
  }
}

.product-title {
  font-size: clamp(1.75rem, 4.5vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.product-subtitle {
  font-size: 0.96rem;
  color: var(--ink-secondary);
  margin-top: 0.35rem;
  max-width: 46ch;
}

@media (min-width: 640px) {
  .product-subtitle {
    font-size: 1.02rem;
  }
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.62rem 1.1rem;
  border-radius: 14px;
  background-color: var(--bg-elevated);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  transition: border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1), transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.store-btn:hover {
  border-color: var(--ink);
  background-color: var(--bg-subtle);
  transform: translateY(-1px);
}

.store-btn.is-disabled {
  opacity: 0.72;
  cursor: default;
  border-style: dashed;
}

.store-btn.is-disabled:hover {
  transform: none;
  background-color: var(--bg-elevated);
  border-color: var(--border-strong);
}

.store-btn .store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.store-btn .store-sub {
  font-size: 0.65rem;
  color: var(--ink-muted);
}

.store-btn .store-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.product-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 900px) {
  .product-split {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.5rem 3.5rem;
    align-items: center;
  }
}

.product-split-compact {
  padding-block: 0;
  border-bottom: none;
}

.product-split-text {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.product-split-text h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.product-split-text p {
  font-size: 1rem;
  color: var(--ink-secondary);
  line-height: 1.7;
}

.showcase-block-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 1.15rem;
}

/* Carrousel Téléphone / MacBook */
.carousel-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  touch-action: pan-y;
}

.carousel-viewport {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
}

@media (min-width: 640px) {
  .carousel-viewport {
    gap: 1rem;
  }
}

.carousel-arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background-color: var(--bg-elevated);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.18s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 640px) {
  .carousel-arrow {
    width: 40px;
    height: 40px;
  }
}

.carousel-arrow:hover {
  border-color: var(--ink);
  background-color: var(--bg-subtle);
}

.phone-frame {
  width: min(255px, 64vw);
  aspect-ratio: 9 / 19.5;
  border-radius: 38px;
  border: 8px solid #171716;
  background-color: var(--bg-elevated);
  box-shadow: 0 20px 44px rgba(17, 17, 16, 0.12);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 1.75%;
  left: 50%;
  transform: translateX(-50%);
  width: 31%;
  height: 3.4%;
  border-radius: 999px;
  background-color: #171716;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.carousel-slide img,
.carousel-slide svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mockup MacBook */
.macbook-mockup {
  width: min(420px, 70vw);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.macbook-lid {
  width: 90%;
  aspect-ratio: 16 / 10.4;
  border-radius: 14px 14px 4px 4px;
  border: 6px solid #171716;
  border-bottom-width: 8px;
  background-color: var(--bg-elevated);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 36px rgba(17, 17, 16, 0.12);
}

.macbook-camera {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 10px;
  background-color: #171716;
  border-radius: 0 0 6px 6px;
  z-index: 3;
}

.macbook-camera::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background-color: #3a3a38;
}

.macbook-browser-bar {
  height: 24px;
  padding: 0 0.65rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--bg-subtle);
  flex-shrink: 0;
}

.macbook-browser-bar span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: var(--ink-muted);
  opacity: 0.45;
}

.macbook-screen {
  flex: 1;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.macbook-base {
  width: 100%;
  height: 11px;
  background: linear-gradient(180deg, #d8d6cf 0%, #b9b6ae 100%);
  border-radius: 2px 2px 10px 10px;
  position: relative;
  box-shadow: 0 10px 24px rgba(17, 17, 16, 0.14);
}

.macbook-base::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 4px;
  background-color: #9e9b93;
  border-radius: 0 0 4px 4px;
}

[data-theme='dark'] .macbook-base {
  background: linear-gradient(180deg, #3a3a37 0%, #242422 100%);
}

[data-theme='dark'] .macbook-base::before {
  background-color: #4f4f4b;
}

.carousel-caption {
  text-align: center;
}

.carousel-caption strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: var(--border-strong);
  transition: width 0.22s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-dots button.is-active {
  width: 24px;
  background-color: var(--ink);
}

/* Bloc Vidéo */
.video-stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 1px solid var(--border);
  background-color: var(--bg-subtle);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-stage video,
.video-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  padding: 1.5rem;
}

.video-placeholder .play-circle {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background-color: var(--ink);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder strong {
  font-size: 0.96rem;
  font-weight: 500;
}

.video-placeholder span {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--ink-secondary);
}

.product-features li::before {
  content: '—';
  font-family: var(--font-mono);
  color: var(--ink-muted);
}

.product-legal-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.product-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.product-legal-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--ink-secondary);
  transition: border-color 0.18s cubic-bezier(0.22, 1, 0.36, 1), color 0.18s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-legal-links a:hover {
  border-color: var(--ink);
  color: var(--ink);
  background-color: var(--bg-subtle);
}

.other-products-compact {
  padding-top: 0.5rem;
}

/* Page Légale */
.legal-page {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4rem, 7vw, 6rem);
}

.legal-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.legal-tabs::-webkit-scrollbar {
  display: none;
}

@media (min-width: 640px) {
  .legal-tabs {
    flex-wrap: wrap;
  }
}

.legal-tabs a {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 34px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--ink-secondary);
  transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.legal-tabs a:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.legal-tabs a.is-active {
  background-color: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.legal-article {
  max-width: 72ch;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.legal-article h1 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.legal-article .legal-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.legal-article .legal-doc-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  padding-block: 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.legal-article .legal-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-secondary);
}

.legal-article h2 {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 0.65rem;
}

.legal-article p {
  font-size: 0.96rem;
  color: var(--ink-secondary);
  line-height: 1.72;
}

@media print {
  .site-header,
  .site-footer,
  .legal-tabs,
  .side-dots,
  .no-print {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #111110 !important;
  }

  .legal-page {
    padding: 0 !important;
  }

  .legal-article {
    max-width: 100% !important;
  }
}

/* Sections & Scroll-Snap Responsive */
html.home-snap {
  scroll-behavior: smooth;
}

html.home-snap .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

@media (min-width: 960px) and (min-height: 740px) {
  html.home-snap {
    scroll-snap-type: y mandatory;
  }
}

.snap-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 7.75rem 3.25rem;
}

@media (min-width: 760px) {
  .snap-section {
    padding-block: 6rem 3.5rem;
  }
}

@media (min-width: 960px) and (min-height: 740px) {
  .snap-section {
    min-height: 100svh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding-block: 5.75rem 2.75rem;
  }
}

.snap-content {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3.2vh, 2.5rem);
}

.snap-section-last {
  justify-content: space-between;
  padding-bottom: 0;
}

.snap-last-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: 0.75rem 3rem;
}

.section-divider {
  border-top: 1px solid var(--border);
}

/* Intro */
.intro-inner {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.intro-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.intro-description {
  font-size: clamp(0.95rem, 1.4vw, 1.06rem);
  color: var(--ink-secondary);
  line-height: 1.55;
}

.products-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Studio */
.studio-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 820px) {
  .studio-layout {
    grid-template-columns: 0.65fr 1.35fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.studio-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 0.45rem;
}

.studio-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;
  color: var(--ink-secondary);
  line-height: 1.65;
}

.studio-right strong {
  color: var(--ink);
  font-weight: 500;
}

.studio-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 2rem;
  margin-top: 0.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 580px) {
  .studio-facts {
    grid-template-columns: repeat(3, 1fr);
  }
}

.studio-facts dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}

.studio-facts dd {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--ink);
}

/* Contact & Réseaux */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.75rem;
    align-items: start;
  }
}

.contact-direct {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.contact-email-link {
  font-size: 0.98rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
}

.contact-email-link:hover {
  border-color: var(--ink);
}

.copy-btn {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-secondary);
  transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.copy-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.social-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  max-width: 340px;
}

.social-list li {
  border-bottom: 1px solid var(--border);
}

.social-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0.65rem 0.35rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color 0.18s cubic-bezier(0.22, 1, 0.36, 1), padding-left 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.social-list a:hover {
  color: var(--ink);
  padding-left: 0.6rem;
}

.social-list a:hover .social-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.social-list .social-left {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.social-list .social-arrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-muted);
  opacity: 0.5;
  transition: opacity 0.18s cubic-bezier(0.22, 1, 0.36, 1), transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 580px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background-color: color-mix(in srgb, var(--bg-elevated) 76%, transparent);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 0.9375rem;
  transition: border-color 0.18s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ink);
  background-color: var(--bg-elevated);
}

.form-group textarea {
  min-height: 112px;
  resize: vertical;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.form-feedback {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-secondary);
  min-height: 1.2em;
}
