/* ==========================================================================
   Prim Studio — Unified Apple-Native Widescreen Design System (primapp.dev)
   0 external fonts · 0 third-party trackers · WCAG 2.2 AA · Dark & Light
   ========================================================================== */

@view-transition {
  navigation: auto;
}

:root {
  color-scheme: dark light;

  /* Typography Stacks (0 KB network overhead) */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Motion Physics (SwiftUI Spring) */
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Radii & Full-Width Widescreen Layout */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --page-gutter: clamp(1.5rem, 5.5vw, 6.5rem);
  --doc-max: 980px;

  /* Dark Theme Tokens (Default — Apple Pro Dark) */
  --bg-canvas: #07090e;
  --bg-surface: rgba(16, 20, 30, 0.74);
  --bg-surface-solid: #10141e;
  --bg-elevated: rgba(24, 30, 45, 0.88);
  --bg-subtle: rgba(255, 255, 255, 0.045);
  --bg-subtle-hover: rgba(255, 255, 255, 0.085);
  --border-hairline: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.20);

  --text-primary: #f5f7fa;
  --text-secondary: #a7b0c4;
  --text-muted: #8c96ad;

  --accent: #5eaeff;
  --accent-editorial: #a8c2ff;
  --accent-soft: rgba(10, 132, 255, 0.13);
  --accent-border: rgba(94, 174, 255, 0.30);
  --btn-primary-bg: #0a70d9;
  --btn-primary-hover: #0a84ff;
  --btn-primary-text: #ffffff;

  --chef-accent: #fbbf24;
  --chef-soft: rgba(245, 158, 11, 0.13);
  --chef-border: rgba(251, 191, 36, 0.32);

  --ai-accent: #eb8a6b;
  --ai-soft: rgba(217, 119, 87, 0.14);
  --ai-border: rgba(235, 138, 107, 0.34);

  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.14);
  --gold: #fbbf24;

  --shadow-card: 0 24px 60px -16px rgba(0, 0, 0, 0.55);
  --shadow-nav: 0 12px 36px rgba(0, 0, 0, 0.42);
  --orb-blue: rgba(10, 132, 255, 0.15);
  --orb-amber: rgba(245, 158, 11, 0.09);
}

/* Automatic OS Light Theme (unless user explicitly selected Dark) */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg-canvas: #f5f6fa;
    --bg-surface: rgba(255, 255, 255, 0.86);
    --bg-surface-solid: #ffffff;
    --bg-elevated: #ffffff;
    --bg-subtle: rgba(15, 23, 42, 0.045);
    --bg-subtle-hover: rgba(15, 23, 42, 0.08);
    --border-hairline: rgba(15, 23, 42, 0.09);
    --border-strong: rgba(15, 23, 42, 0.20);

    --text-primary: #111520;
    --text-secondary: #3b4354;
    --text-muted: #535c70;

    --accent: #005bb5;
    --accent-editorial: #1d4ed8;
    --accent-soft: rgba(0, 91, 181, 0.08);
    --accent-border: rgba(0, 91, 181, 0.24);
    --btn-primary-bg: #005bb5;
    --btn-primary-hover: #00478f;
    --btn-primary-text: #ffffff;

    --chef-accent: #b45309;
    --chef-soft: rgba(180, 83, 9, 0.09);
    --chef-border: rgba(180, 83, 9, 0.26);

    --ai-accent: #b54728;
    --ai-soft: rgba(181, 71, 40, 0.09);
    --ai-border: rgba(181, 71, 40, 0.28);

    --green: #15803d;
    --green-soft: rgba(21, 128, 61, 0.11);
    --gold: #b45309;

    --shadow-card: 0 18px 44px -14px rgba(15, 23, 42, 0.09);
    --shadow-nav: 0 8px 28px rgba(15, 23, 42, 0.08);
    --orb-blue: rgba(0, 102, 204, 0.09);
    --orb-amber: rgba(217, 119, 6, 0.07);
  }
}

/* Explicit User Light Theme Override */
:root[data-theme="light"] {
  color-scheme: light;
  --bg-canvas: #f5f6fa;
  --bg-surface: rgba(255, 255, 255, 0.86);
  --bg-surface-solid: #ffffff;
  --bg-elevated: #ffffff;
  --bg-subtle: rgba(15, 23, 42, 0.045);
  --bg-subtle-hover: rgba(15, 23, 42, 0.08);
  --border-hairline: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.20);

  --text-primary: #111520;
  --text-secondary: #3b4354;
  --text-muted: #535c70;

  --accent: #005bb5;
  --accent-editorial: #1d4ed8;
  --accent-soft: rgba(0, 91, 181, 0.08);
  --accent-border: rgba(0, 91, 181, 0.24);
  --btn-primary-bg: #005bb5;
  --btn-primary-hover: #00478f;
  --btn-primary-text: #ffffff;

  --chef-accent: #b45309;
  --chef-soft: rgba(180, 83, 9, 0.09);
  --chef-border: rgba(180, 83, 9, 0.26);

  --ai-accent: #b54728;
  --ai-soft: rgba(181, 71, 40, 0.09);
  --ai-border: rgba(181, 71, 40, 0.28);

  --green: #15803d;
  --green-soft: rgba(21, 128, 61, 0.11);
  --gold: #b45309;

  --shadow-card: 0 18px 44px -14px rgba(15, 23, 42, 0.09);
  --shadow-nav: 0 8px 28px rgba(15, 23, 42, 0.08);
  --orb-blue: rgba(0, 102, 204, 0.09);
  --orb-amber: rgba(217, 119, 6, 0.07);
}

:root[data-theme="dark"] {
  color-scheme: dark;
}

/* Interactive Accessibility Demo Modifiers (Pillar 02) */
:root[data-a11y-scale="large"] {
  font-size: 112.5%;
}

:root[data-a11y-contrast="high"] {
  --border-hairline: rgba(140, 175, 255, 0.38);
  --border-strong: rgba(140, 175, 255, 0.65);
  --text-secondary: var(--text-primary);
}

/* ==========================================================================
   Base & Ambient Depth Layer
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  min-height: 100svh;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Light Mesh — makes backdrop-filter genuinely luminous (0 KB image) */
body::before {
  content: "";
  position: fixed;
  inset: -20% -10%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(760px circle at 14% 16%, var(--orb-blue), transparent 68%),
    radial-gradient(680px circle at 86% 68%, var(--orb-amber), transparent 68%);
}

@supports (animation-timeline: scroll()) {
  body::before {
    animation: ambientDrift linear both;
    animation-timeline: scroll(root);
  }
}

@keyframes ambientDrift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, -5%, 0); }
}

::selection {
  background: var(--btn-primary-bg);
  color: #ffffff;
}

/* Unified WCAG 2.2 AA Focus Appearance (2.4.7 & 2.4.11) */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.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;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 1.5rem;
  z-index: 1000;
  padding: 0.7rem 1.2rem;
  background: var(--btn-primary-bg);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s var(--ease-spring);
}

.skip-link:focus {
  top: 1rem;
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
  margin: 0;
  color: var(--text-primary);
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-editorial);
}

code, .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Full-Width Fluid Container with Generous Lateral Breathing Room */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-inline: var(--page-gutter);
}

/* ==========================================================================
   Full-Width Sticky Floating "Dynamic Pill" Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 1rem;
  z-index: 120;
  width: 100%;
  padding-inline: var(--page-gutter);
  margin-top: 1rem;
}

.nav-pill {
  width: 100%;
  padding: 0.65rem 0.85rem 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--bg-surface);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-nav);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text-primary);
  min-height: 44px;
  padding: 0 0.25rem;
  flex-shrink: 0;
}

.brand-squircle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1b253b, #0b0f19);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px rgba(10, 132, 255, 0.22);
  flex-shrink: 0;
}

.brand-wordmark {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.brand-wordmark em {
  color: var(--accent-editorial);
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.8vw, 1.85rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-subtle);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.control-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 40px;
  padding: 0.25rem 0.75rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.control-pill:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--bg-subtle-hover);
}

.lang-toggle {
  padding: 0.2rem;
  gap: 0.12rem;
}

.lang-opt {
  padding: 0.32rem 0.62rem;
  border-radius: var(--radius-pill);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-opt[aria-current="true"] {
  background: var(--btn-primary-bg);
  color: #ffffff;
}

.theme-btn {
  width: 40px;
  height: 40px;
  padding: 0;
}

.theme-btn svg {
  width: 17px;
  height: 17px;
  display: block;
}

/* ==========================================================================
   Buttons & Badges (Apple HIG >= 44px Tap Targets)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.78rem 1.55rem;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-spring), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s var(--ease-spring);
}

.btn:active {
  transform: scale(0.975);
}

.btn-sm {
  min-height: 40px;
  padding: 0.48rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: 0 6px 20px rgba(10, 112, 217, 0.28);
}

.btn-primary:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(10, 132, 255, 0.36);
}

.btn-secondary {
  background: var(--bg-subtle);
  color: var(--text-primary);
  border-color: var(--border-hairline);
}

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

.btn-chef {
  background: var(--chef-soft);
  color: var(--chef-accent);
  border-color: var(--chef-border);
}

.btn-chef:hover {
  background: rgba(245, 158, 11, 0.22);
  transform: translateY(-1px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
}

.badge-verified {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
  font-weight: 600;
}

.badge-open {
  background: var(--green-soft);
  border-color: transparent;
  color: var(--green);
  font-weight: 600;
}

.badge-closed {
  background: var(--bg-subtle);
  border-color: var(--border-hairline);
  color: var(--text-muted);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  flex-shrink: 0;
}

.pulse {
  animation: statusPulse 2.2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.8; }
  50% { transform: scale(1.28); opacity: 1; }
}

/* ==========================================================================
   Bento Surface Cards & Specular Pointer Glow
   ========================================================================== */
.bento-card {
  position: relative;
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1.85rem, 2.8vw, 2.65rem);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), border-color 0.25s ease, box-shadow 0.35s var(--ease-spring);
}

@media (hover: hover) and (pointer: fine) {
  .bento-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      520px circle at var(--mx, 50%) var(--my, 0%),
      rgba(94, 174, 255, 0.09),
      transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }

  .bento-card:hover::before {
    opacity: 1;
  }

  .bento-card:hover {
    border-color: var(--border-strong);
  }
}

/* ==========================================================================
   Widescreen Airy Hero + Authentic iPhone 17 Pro Max (78.0 × 163.4 mm)
   ========================================================================== */
.hero-section {
  min-height: calc(100svh - 6.25rem);
  display: flex;
  align-items: center;
  padding: clamp(3.25rem, 6vh, 5.5rem) 0 clamp(4.75rem, 9vh, 7.25rem);
}

.hero-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(350px, 0.68fr);
  gap: clamp(3.5rem, 7vw, 9rem);
  align-items: center;
}

.hero-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.85rem;
}

.hero-title {
  font-size: clamp(2.65rem, 4.6vw, 4.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.036em;
  margin-bottom: 1.65rem;
  max-width: 17ch;
}

.hero-lead {
  font-size: clamp(1.06rem, 1.25vw, 1.24rem);
  line-height: 1.74;
  color: var(--text-secondary);
  max-width: 64ch;
  margin-bottom: 2.35rem;
}

.hero-lead strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.share-feedback {
  display: none;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 1.25rem;
}

.share-feedback.is-visible {
  display: block;
}

.commitments-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  padding-top: 1.65rem;
  border-top: 1px solid var(--border-hairline);
}

.commitment-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.commitment-chip svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Google Reviews Conditional Strip */
.reviews-badge {
  display: none;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}

.reviews-badge a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--chef-soft);
  border: 1px solid var(--chef-border);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
}

.stars-group {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Authentic Apple iPhone 17 Pro Max Hardware Chassis
   Physical Specs: 163.4 mm × 78.0 mm (1 : 2.095 body · 19.55 : 9 Super Retina XDR)
   -------------------------------------------------------------------------- */
.iphone-stage-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  position: relative;
}

/* Subtle ambient studio halo behind the iPhone 17 Pro Max */
.iphone-stage-wrap::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.16) 0%, rgba(245, 158, 11, 0.08) 48%, transparent 72%);
  filter: blur(36px);
  z-index: 0;
  pointer-events: none;
}

.iphone-3d-chassis {
  position: relative;
  z-index: 1;
  width: 336px;
  height: 704px; /* Exact 78.0 × 163.4 mm iPhone 17 Pro Max ratio (1 : 2.095) */
  max-width: 100%;
  border-radius: 56px;
  padding: 3.5px; /* Precision machined unibody metallic outer rim */
  background: linear-gradient(
    135deg,
    #8690a6 0%,
    #313746 18%,
    #586278 44%,
    #1b1f29 74%,
    #6b758c 100%
  );
  box-shadow:
    0 42px 95px -18px rgba(0, 0, 0, 0.78),
    0 0 0 0.5px rgba(255, 255, 255, 0.25),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.6),
    inset 0 -1px 1.5px rgba(255, 255, 255, 0.22);
  transform: rotateY(var(--ry, -7deg)) rotateX(var(--rx, 2.5deg));
  transition: transform 0.24s ease-out;
  transform-style: preserve-3d;
}

/* Physical Lateral Buttons of iPhone 17 Pro Max */
.hw-btn {
  position: absolute;
  background: linear-gradient(180deg, #747e94 0%, #2d3340 50%, #5b6478 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

/* Left Edge: Action Button + Volume Up + Volume Down */
.hw-action {
  left: -3px;
  top: 118px;
  width: 3px;
  height: 26px;
  border-radius: 3px 0 0 3px;
}

.hw-vol-up {
  left: -3px;
  top: 164px;
  width: 3px;
  height: 50px;
  border-radius: 3px 0 0 3px;
}

.hw-vol-down {
  left: -3px;
  top: 226px;
  width: 3px;
  height: 50px;
  border-radius: 3px 0 0 3px;
}

/* Right Edge: Side Power Button + Flush Camera Control Button */
.hw-power {
  right: -3px;
  top: 184px;
  width: 3px;
  height: 74px;
  border-radius: 0 3px 3px 0;
}

.hw-camera-ctrl {
  right: -2px;
  top: 432px;
  width: 2px;
  height: 46px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, #4b5366 0%, #1c2029 50%, #4b5366 100%);
  opacity: 0.9;
}

/* Ultra-Thin 1.15mm Black Ceramic Shield OLED Bezel */
.iphone-oled-bezel {
  width: 100%;
  height: 100%;
  background: #000000;
  border-radius: 52.5px;
  padding: 6.5px;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Top Earpiece Micro-Acoustic Slit */
.iphone-earpiece {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 2.5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

/* 6.9" Super Retina XDR Display (Concentric radius: 52.5 - 6.5 = 46px) */
.iphone-3d-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0c1018 0%, #080b11 100%);
  color: #f5f7fa;
  border-radius: 46px;
  padding: 0.7rem 0.95rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  overflow: hidden;
}

/* Subtle Optical Glass Reflection Sheen */
.iphone-3d-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.055) 0%,
    rgba(255, 255, 255, 0.015) 28%,
    transparent 46%
  );
  pointer-events: none;
}

/* Authentic iOS Status Bar + True Dynamic Island */
.ios-status-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.1rem 0.45rem 0;
  min-height: 30px;
}

.ios-time {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.dynamic-island-pill {
  width: 98px;
  height: 27px;
  border-radius: 999px;
  background: #000000;
  box-shadow: inset 0 0 0 0.75px rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 9px;
}

/* TrueDepth Front Camera Sapphire Lens inside Dynamic Island */
.di-camera-lens {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #38bdf8 0%, #0f1f3d 45%, #05070c 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.ios-status-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  color: #ffffff;
}

/* iOS Native Navigation Bar inside FicheChef */
.ios-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.15rem 0.15rem 0;
  font-size: 0.75rem;
}

.ios-back-link {
  color: #fbbf24;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.ios-action-pill {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.28);
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
}

.chef-screen-head {
  padding: 0 0.1rem;
}

.chef-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8e98ad;
  display: block;
  margin-bottom: 0.15rem;
}

.chef-dish-title {
  font-size: 1.16rem;
  font-weight: 700;
  color: #f5f7fa;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.chef-dish-sub {
  font-size: 0.73rem;
  color: #949eb3;
  margin-top: 0.15rem;
}

/* Segmented Control inside iPhone (iOS UISegmentedControl) */
.ios-segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px;
  border-radius: 10px;
}

.ios-seg-btn {
  min-height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #a3adc2;
  font-family: var(--font-sans);
  font-size: 0.71rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ios-seg-btn[aria-selected="true"] {
  background: #22293b;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.chef-tab-panel {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.chef-tab-panel[hidden] {
  display: none;
}

.chef-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.chef-kpi-box {
  background: #131825;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.65rem 0.75rem;
}

.chef-kpi-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8e98ad;
  display: block;
}

.chef-kpi-val {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: #f5f7fa;
  margin-top: 0.15rem;
  display: block;
}

.chef-kpi-val.is-positive {
  color: #34d399;
}

.chef-slider-card {
  background: #131825;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.68rem 0.78rem;
}

.chef-slider-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.73rem;
  color: #cbd5e1;
  margin-bottom: 0.35rem;
}

.chef-range {
  width: 100%;
  accent-color: #fbbf24;
  cursor: pointer;
  height: 20px;
}

.chef-ing-list {
  list-style: none;
  margin: 0;
  padding: 0.65rem 0.78rem;
  background: #131825;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.73rem;
}

.chef-ing-list li {
  display: flex;
  justify-content: space-between;
  color: #d6deeb;
}

.chef-ing-list li span:last-child {
  font-family: var(--font-mono);
  color: #9ba4b8;
}

.chef-target-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.52rem 0.75rem;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.10);
  border: 1px solid rgba(52, 211, 153, 0.24);
  font-size: 0.7rem;
  color: #a7f3d0;
}

.inco-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.inco-badge {
  padding: 0.58rem 0.65rem;
  border-radius: 11px;
  font-size: 0.72rem;
  font-weight: 600;
  background: #131825;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #949eb3;
}

.inco-badge.is-present {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(251, 191, 36, 0.36);
  color: #fcd34d;
}

/* Native iOS Translucent Bottom Tab Bar */
.ios-tabbar {
  margin-top: auto;
  padding: 0.45rem 0.35rem 0.3rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  font-size: 0.58rem;
  color: #8490a8;
}

.ios-tabbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.ios-tabbar-item.is-active {
  color: #fbbf24;
  font-weight: 600;
}

.iphone-home-indicator {
  width: 112px;
  height: 4.5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.42);
  margin: 0.2rem auto 0;
}

.stage-caption {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   Widescreen Airy Section Scaffolding
   ========================================================================== */
.section-block {
  padding: clamp(5.75rem, 10vh, 8.5rem) 0;
  border-top: 1px solid var(--border-hairline);
}

.section-header {
  max-width: 860px;
  margin-bottom: clamp(2.75rem, 5vh, 4rem);
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}

.section-desc {
  font-size: clamp(1.02rem, 1.15vw, 1.14rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   01 — Nos Services (6 Full-Width Bento Cards — 3x2 Grid on Desktop)
   ========================================================================== */
.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-pill {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 48px;
  padding: 2.15rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-spring), border-color 0.25s ease, background-color 0.25s ease;
  cursor: pointer;
}

.service-pill:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
  background: var(--bg-elevated);
}

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.service-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  flex-shrink: 0;
}

.service-icon-box.is-chef {
  background: var(--chef-soft);
  border-color: var(--chef-border);
  color: var(--chef-accent);
}

.service-icon-box.is-ai {
  background: var(--ai-soft);
  border-color: var(--ai-border);
  color: var(--ai-accent);
}

.service-pill.is-ai-card:hover {
  border-color: var(--ai-border);
}

.service-arrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  padding: 0.32rem 0.68rem;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  transition: transform 0.25s var(--ease-spring);
  white-space: nowrap;
}

.service-pill:hover .service-arrow {
  transform: translate(2px, -2px);
}

.service-name {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.018em;
  margin-bottom: 0.6rem;
}

.service-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.3rem 0.68rem;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
}

/* ==========================================================================
   02 — Flagship FicheChef & Studio Lab Pipeline
   ========================================================================== */
.flagship-card {
  border-color: var(--chef-border);
  background:
    radial-gradient(640px circle at 92% 12%, var(--chef-soft), transparent 65%),
    var(--bg-surface);
  margin-bottom: 1.75rem;
}

.flagship-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(2.25rem, 4.5vw, 5rem);
  align-items: center;
}

.chef-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin: 1.85rem 0 0;
}

.chef-feat-item {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
}

.chef-feat-item strong {
  display: block;
  font-size: 0.96rem;
  margin-bottom: 0.25rem;
}

.chef-feat-item span {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.lab-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.lab-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.lab-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.lab-name {
  font-size: 1.15rem;
  font-weight: 700;
}

.lab-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   03 — Shipped Apps & Video Demos (True 19.5:9 iPhone Video Frames)
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 236px 1fr;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-spring), border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.project-visual {
  padding: 2rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.visual-srp { background: linear-gradient(145deg, #10162b, #1d1433); }
.visual-medi { background: linear-gradient(145deg, #0d2219, #0c2c1f); }
.visual-taj { background: linear-gradient(145deg, #1d1c2b, #2b1a12); }
.visual-evt { background: linear-gradient(145deg, #1b172c, #0f1d2e); }

.iphone-video-btn {
  width: 176px;
  height: 376px; /* True 19.5:9 Pro Max silhouette */
  background: linear-gradient(145deg, #687287, #1c202a);
  border-radius: 34px;
  border: 0;
  padding: 2.5px;
  position: relative;
  cursor: zoom-in;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s var(--ease-spring);
}

.iphone-video-btn:hover {
  transform: scale(1.045);
}

.iphone-notch-sm {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 15px;
  background: #000000;
  border-radius: 99px;
  z-index: 5;
}

.iphone-video-screen {
  position: absolute;
  inset: 5px;
  border-radius: 29px;
  overflow: hidden;
  background: #000000;
}

.iphone-video-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-body {
  padding: 2.15rem 2.15rem 2.15rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.project-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.4rem;
  display: block;
}

.project-title {
  font-size: 1.42rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.5rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.project-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   04 — Mes Dernières Créations de Sites (macOS Safari Studio Previews)
   ========================================================================== */
.websites-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.website-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-spring), border-color 0.25s ease;
}

.website-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.website-preview-stage {
  padding: 1.5rem 1.5rem 0;
  position: relative;
}

.stage-wm {
  background: linear-gradient(155deg, rgba(17, 31, 49, 0.92), rgba(10, 18, 30, 0.96));
}

.stage-nagua {
  background: linear-gradient(155deg, rgba(46, 33, 25, 0.90), rgba(20, 27, 25, 0.96));
}

.safari-window {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 0;
  background: #0d1119;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s var(--ease-spring);
}

.website-card:hover .safari-window {
  transform: translateY(-3px);
}

.safari-bar {
  height: 36px;
  padding: 0 0.9rem;
  background: #161c28;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
}

.safari-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.safari-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.safari-dots span:nth-child(1) { background: #ff5f57; }
.safari-dots span:nth-child(2) { background: #febc2e; }
.safari-dots span:nth-child(3) { background: #28c840; }

.safari-url {
  justify-self: center;
  max-width: 100%;
  padding: 0.2rem 0.7rem;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #dbe4f0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.safari-url svg {
  color: #34d399;
  flex-shrink: 0;
}

.safari-live-tag {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #34d399;
  white-space: nowrap;
}

/* Authentic Miniature Viewport Previews */
.safari-viewport {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 296px;
}

/* WM SOLUTIONS Miniature Viewport */
.vp-wm {
  background: #111f31;
  color: #ffffff;
}

.vp-wm-nav {
  background: #ffffff;
  color: #111f31;
  padding: 0.5rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px solid #e5e8eb;
}

.vp-wm-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.vp-wm-brand img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.vp-wm-brand small {
  font-weight: 600;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #536171;
  margin-left: 0.25rem;
}

.vp-wm-cta-top {
  background: #111f31;
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.24rem 0.55rem;
  border-radius: 4px;
}

.vp-wm-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.85rem;
  padding: 1rem 1rem 0.9rem;
  align-items: center;
  flex: 1;
}

.vp-wm-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6rem;
  color: #dce2e9;
  margin-bottom: 0.4rem;
}

.vp-wm-kicker::before {
  content: "";
  width: 14px;
  height: 2px;
  background: #f5c842;
  display: inline-block;
}

.vp-wm-headline {
  font-size: 1.12rem;
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.45rem;
}

.vp-wm-sub {
  font-size: 0.66rem;
  line-height: 1.45;
  color: #c6d0db;
  margin-bottom: 0.65rem;
}

.vp-wm-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.vp-wm-btn-yellow {
  background: #f5c842;
  color: #111f31;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

.vp-wm-btn-wa {
  background: #146c43;
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.3rem 0.55rem;
  border-radius: 4px;
}

.vp-wm-photo {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 168px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.vp-wm-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vp-wm-bolt {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 26px;
  border-radius: 4px;
  background: #f5c842;
  color: #111f31;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
}

/* NaguaTrans Miniature Viewport */
.vp-nagua {
  background: linear-gradient(180deg, #fffdf9 0%, #f4ece1 100%);
  color: #1f1916;
}

.vp-nagua-nav {
  background: #faf6f0;
  border-bottom: 1px solid #e5dac9;
  padding: 0.5rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.vp-nagua-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.vp-nagua-brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e5dac9;
  padding: 2px;
}

.vp-nagua-brand-txt strong {
  font-family: var(--font-serif);
  font-size: 0.84rem;
  color: #1f1916;
  display: block;
  line-height: 1;
}

.vp-nagua-brand-txt small {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b8502b;
}

.vp-nagua-track {
  background: #e6f4ee;
  color: #1b6b50;
  border: 1px solid rgba(27, 107, 80, 0.3);
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
}

.vp-nagua-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.85rem;
  padding: 0.95rem 1rem 0.85rem;
  align-items: center;
  flex: 1;
}

.vp-nagua-pill {
  display: inline-block;
  background: #1f1916;
  color: #fbf2e1;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

.vp-nagua-headline {
  font-family: var(--font-serif);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.14;
  color: #1f1916;
  margin-bottom: 0.35rem;
}

.vp-nagua-headline em {
  color: #b8502b;
  font-style: italic;
  font-weight: 400;
}

.vp-nagua-ar {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.72rem;
  color: #b8502b;
  margin-bottom: 0.55rem;
}

.vp-nagua-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.vp-nagua-btn-main {
  background: #b8502b;
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
}

.vp-nagua-btn-sec {
  background: #fffdf9;
  color: #1f1916;
  border: 1px solid #e5dac9;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.3rem 0.52rem;
  border-radius: 8px;
}

.vp-nagua-photo {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 168px;
  border: 1px solid #e5dac9;
  box-shadow: 0 8px 20px rgba(31, 25, 22, 0.12);
}

.vp-nagua-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vp-nagua-rate {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 7px;
  background: rgba(31, 25, 22, 0.88);
  color: #fbf2e1;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
  text-align: center;
}

/* Shared Miniature Footer Strip Showing Prim Studio Signature */
.vp-sig-bar {
  background: #0b111c;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 0.42rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.62);
}

.vp-sig-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  background: #0b0e16;
  border: 1px solid rgba(222, 207, 181, 0.42);
  color: #f5ecd9;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 600;
}

.vp-sig-pill strong {
  font-family: var(--font-serif);
  letter-spacing: 0.04em;
  color: #f5ecd9;
}

.website-body {
  padding: 1.95rem 2.15rem 2.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.35rem;
  flex: 1;
}

.website-domain-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
  display: block;
}

.website-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.35rem;
}

/* ==========================================================================
   05 — Intelligence Artificielle & Certifications Claude Academy
   ========================================================================== */
.ai-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.65rem;
  margin-bottom: 2.5rem;
}

.ai-number {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ai-accent);
  margin-bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--ai-soft);
  border: 1px solid var(--ai-border);
}

.cert-showcase-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.cert-showcase-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cert-showcase-sub {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.cert-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 1.5rem;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-spring), border-color 0.25s ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--ai-border);
}

.cert-badge-link {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
  transition: transform 0.3s var(--ease-spring);
}

.cert-card:hover .cert-badge-link {
  transform: scale(1.025);
}

.cert-badge-link img {
  width: 100%;
  height: auto;
  display: block;
}

.cert-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cert-issuer-pill {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.24rem 0.62rem;
  border-radius: var(--radius-pill);
  background: var(--ai-soft);
  border: 1px solid var(--ai-border);
  color: var(--ai-accent);
}

.cert-title {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cert-meta {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.cert-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cert-verify-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.cert-verify-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   06 — La Méthode Prim + Interactive A11y Lab + Vector Tech Stack
   ========================================================================== */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.25rem;
}

.method-number {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.85rem;
  display: inline-block;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
}

.method-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.method-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.66;
}

.a11y-playground {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.a11y-chip {
  min-height: 38px;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.a11y-chip[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.stack-card {
  padding: 1.5rem 1.65rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stack-svg {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.stack-name {
  font-size: 0.98rem;
  font-weight: 700;
}

.stack-detail {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   05 — Founder & KPIs
   ========================================================================== */
.founder-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2.25rem, 4.5vw, 4.5rem);
  align-items: stretch;
}

.founder-copy p + p {
  margin-top: 1.15rem;
}

.founder-copy p {
  color: var(--text-secondary);
  font-size: 1.04rem;
  line-height: 1.72;
}

.founder-copy strong {
  color: var(--text-primary);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.stats-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}

.stat-card {
  padding: 1.85rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 2.8vw, 2.65rem);
  color: var(--accent-editorial);
  line-height: 1.05;
  margin-bottom: 0.45rem;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* ==========================================================================
   06 — Contact CTA Card & Native <dialog> "Tiroir Brief Projet"
   ========================================================================== */
.contact-banner {
  text-align: center;
  padding: clamp(3.5rem, 7vh, 5.25rem) clamp(1.5rem, 4vw, 4rem);
  background:
    radial-gradient(640px circle at 50% 0%, var(--accent-soft), transparent 70%),
    var(--bg-surface);
}

.contact-banner h2 {
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  margin-bottom: 1rem;
}

.contact-banner p {
  color: var(--text-secondary);
  font-size: 1.06rem;
  max-width: 56ch;
  margin: 0 auto 2rem;
}

.contact-actions-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.direct-email-pill {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Native <dialog> Brief Configurator */
dialog.brief-dialog {
  width: min(580px, calc(100vw - 2rem));
  margin: auto;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-surface-solid);
  color: var(--text-primary);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
}

dialog.brief-dialog::backdrop {
  background: rgba(5, 7, 12, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dialog-inner {
  padding: 2rem;
}

.dialog-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.dialog-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-hairline);
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brief-field {
  margin-bottom: 1.2rem;
}

.brief-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.choice-chip {
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hairline);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}

.choice-chip[aria-checked="true"] {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
  font-weight: 600;
}

.brief-textarea {
  width: 100%;
  min-height: 84px;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hairline);
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  resize: vertical;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.dialog-actions .btn {
  flex: 1 1 200px;
}

.copy-toast {
  display: none;
  margin-top: 0.75rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--green);
  text-align: center;
}

.copy-toast.is-visible {
  display: block;
}

/* Video Zoom Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(5, 7, 12, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0s linear 0.28s;
}

.video-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.28s ease, visibility 0s linear 0s;
}

.video-modal-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.video-modal-frame {
  width: min(320px, 80vw);
  aspect-ratio: 780 / 1634;
  max-height: 82svh;
  background: #141824;
  border-radius: 46px;
  border: 4px solid rgba(255, 255, 255, 0.22);
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75);
}

.video-modal-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-modal-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.video-modal-caption {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cbd5e1;
}

body.modal-open {
  overflow: hidden;
}

/* ==========================================================================
   Footer & Visible LocalBusiness NAP
   ========================================================================== */
.site-footer {
  margin-top: 3rem;
  padding: 3.25rem 0 3.75rem;
  border-top: 1px solid var(--border-hairline);
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
}

.footer-nap {
  font-style: normal;
  line-height: 1.8;
  max-width: 600px;
}

.footer-nap strong {
  color: var(--text-primary);
}

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

.footer-nap a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  align-items: center;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.25rem 0.35rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
}

/* ==========================================================================
   Secondary Pages (Legal, Privacy, Support, FAQ <details>, 404)
   ========================================================================== */
.doc-main {
  max-width: var(--doc-max);
  margin: 0 auto;
  padding: 3.5rem var(--page-gutter) 5rem;
}

.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.doc-back:hover {
  text-decoration: underline;
}

.doc-main h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.14;
  margin-bottom: 0.75rem;
}

.doc-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
}

.doc-main h2 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.doc-main p,
.doc-main li {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.doc-main ul {
  padding-left: 1.25rem;
  margin: 0 0 1.35rem;
}

.doc-main a:not(.btn):not(.doc-back) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc-callout {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.65rem 1.85rem;
  margin: 1.75rem 0;
  box-shadow: var(--shadow-card);
}

/* Native HTML5 Accordion FAQ */
.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.35rem 0 2.25rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0.95rem 1.4rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
  border-top: 1px solid var(--border-hairline);
}

/* 404 Empty State */
.empty-404 {
  min-height: calc(100svh - 240px);
  display: grid;
  place-items: center;
  padding: 3.5rem var(--page-gutter);
}

.empty-404-card {
  max-width: 560px;
  text-align: center;
}

.code-404 {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

/* ==========================================================================
   Responsive Breakpoints (Ultrawide -> Laptop -> Tablet -> Mobile)
   ========================================================================== */
@media (max-width: 1380px) {
  .services-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1060px) {
  .hero-bento,
  .flagship-grid,
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .projects-grid,
  .websites-grid,
  .ai-pillars-grid,
  .cert-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .lab-strip,
  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .iphone-3d-chassis {
    transform: none !important;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .services-bento,
  .chef-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .bento-card,
  .service-pill {
    padding: 1.5rem;
  }

  .iphone-3d-chassis {
    width: 306px;
    height: 641px;
    border-radius: 50px;
  }

  .iphone-oled-bezel {
    border-radius: 46.5px;
    padding: 6px;
  }

  .iphone-3d-screen {
    border-radius: 40.5px;
  }

  .project-card,
  .cert-card,
  .vp-wm-hero,
  .vp-nagua-hero {
    grid-template-columns: 1fr;
  }

  .website-preview-stage {
    padding: 1rem 1rem 0;
  }

  .website-body {
    padding: 1.5rem;
  }

  .project-visual {
    padding: 1.75rem;
  }

  .project-body {
    padding: 1.5rem;
  }

  .lab-strip,
  .stack-grid,
  .stats-bento {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Strict Motion Accessibility (Apple HIG & WCAG 2.3.3)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .iphone-3d-chassis {
    transform: none !important;
  }
}
