/* =========================================================
   LemonMind Agency — Design System & Master Stylesheet
   Pure Typography, Bold Art Direction, Real Portraits & Brand Logo
   ========================================================= */

:root {
  /* Primary LemonMind Palette */
  --color-yellow: #FFD400;
  --color-red: #D63B2C;
  --color-black: #111111;
  --color-white: #FFFFFF;

  /* Neutral Spectrum */
  --color-grey-50: #FAFAFB;
  --color-grey-100: #F3F3F5;
  --color-grey-200: #E5E5E8;
  --color-grey-300: #D1D1D6;
  --color-grey-400: #9E9EA7;
  --color-grey-600: #63636E;
  --color-grey-800: #26262B;

  /* Haute Joaillerie 24K Royal Gold Palette */
  --gold-bronze-dark: #785112;
  --gold-bronze: #8c621c;
  --gold-mid: #c59838;
  --gold-vibrant: #d9ab45;
  --gold-champagne: #f7e3a9;
  --gold-highlight: #fff6d8;
  --gold-text: #151109;
  --gold-text-muted: #3d2c10;

  /* Typography */
  --font-heading: 'Anton', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Geometry & Radius */
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Layout */
  --container-max: 1180px;
  --container-padding: 28px;
  --header-height: 84px;

  /* Dark Silver Palette (Non-featured Team Cards) */
  --silver-base: #1C1C22;
  --silver-surface: #222228;
  --silver-border: #3A3A44;
  --silver-sheen-1: #4A4A56;
  --silver-sheen-2: #5E5E6E;
  --silver-highlight: #8A8A9A;
  --silver-bright: #C0C0D0;
  --silver-text: #F0F0F8;
  --silver-text-muted: #9090A8;

  /* Transitions */
  --ease-out-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 180ms var(--ease-out-smooth);
  --transition-medium: 320ms var(--ease-out-smooth);
  --transition-slow: 550ms var(--ease-out-smooth);
}

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

html {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-black);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--color-white);
}

/* =========================================================
   HOMEPAGE — OBSIDIAN LUXURY PRESTIGE THEME
   ========================================================= */
body.homepage {
  background-color: #0c0d14 !important;
  color: #f0f0f5 !important;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Layer 1: Luxury Micro-Matrix Grid + Golden Caustics + Horizon Vignette */
body.homepage::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    /* Central luxury golden ambient pool behind intro and team showcase */
    radial-gradient(ellipse 85% 65% at 50% 28%, rgba(255, 212, 0, 0.22) 0%, rgba(212, 175, 55, 0.08) 50%, transparent 80%),
    /* Upper-left sapphire/indigo atmospheric pool for chromatic luxury depth */
    radial-gradient(circle 650px at 15% 15%, rgba(85, 100, 175, 0.14) 0%, transparent 70%),
    /* Lower-right warm champagne bounce */
    radial-gradient(circle 700px at 85% 85%, rgba(255, 225, 130, 0.12) 0%, transparent 65%),
    /* Ultra-fine precision luxury dot matrix */
    radial-gradient(circle, rgba(255, 255, 255, 0.10) 1px, transparent 1px),
    /* Faint secondary golden coordinate cross grid */
    linear-gradient(to right, rgba(212, 175, 55, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 175, 55, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 36px 36px, 144px 144px, 144px 144px;
  background-position: center center;
  mask-image: radial-gradient(ellipse 96% 92% at 50% 45%, black 50%, transparent 98%);
  -webkit-mask-image: radial-gradient(ellipse 96% 92% at 50% 45%, black 50%, transparent 98%);
}

/* Layer 2: Haute-Horlogerie Geometric Concentric Orbit Rings */
body.homepage::after {
  content: '';
  position: fixed;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1200px, 140vw);
  height: min(1200px, 140vw);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 24%, rgba(255, 215, 60, 0.09) 24.2%, transparent 24.8%),
    radial-gradient(circle, transparent 38%, rgba(255, 215, 60, 0.11) 38.3%, transparent 38.9%),
    radial-gradient(circle, transparent 54%, rgba(255, 255, 255, 0.06) 54.2%, transparent 54.6%),
    radial-gradient(circle, transparent 70%, rgba(255, 215, 60, 0.08) 70.3%, transparent 70.8%);
  mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 85%);
  animation: nfcCelestialDrift 160s linear infinite;
}

/* Homepage Header */
body.homepage .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Homepage Main Content & Intro */
body.homepage #main-content {
  position: relative;
  z-index: 2;
}

body.homepage .intro-badge {
  background: rgba(25, 18, 6, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-champagne);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

body.homepage .intro-heading {
  color: #ffffff;
}

body.homepage .intro-heading span {
  color: #ffffff;
  text-decoration-color: #FFD400;
}

body.homepage .intro-subtitle {
  color: var(--color-grey-400);
}


@media (prefers-reduced-motion: reduce) {
  body.homepage::after {
    animation: none;
  }
}

#root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Accessibility Focus States */
:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 3px;
}

/* Typography Utility */
.font-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* =========================================================
   HEADER SOPHISTIQUÉ DE LUXE (HAUTE CRÉATION LEMONMIND)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.88) 0%, rgba(6, 6, 9, 0.78) 100%);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  box-shadow: 
    0 20px 40px -15px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 242, 194, 0.08);
  transition: all var(--transition-medium);
}

/* Specular Golden Horizon light beam at bottom of header */
.site-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.06) 10%,
    rgba(255, 235, 160, 0.35) 30%,
    rgba(255, 214, 0, 0.65) 50%,
    rgba(255, 235, 160, 0.35) 70%,
    rgba(212, 175, 55, 0.06) 90%,
    transparent 100%
  );
  box-shadow: 0 1px 14px rgba(255, 214, 0, 0.3);
  pointer-events: none;
}

/* Subtle champagne reflection at the very top */
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 20%,
    rgba(255, 242, 194, 0.2) 50%,
    rgba(255, 255, 255, 0.04) 80%,
    transparent 100%
  );
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Brand & Atelier Badge */
.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

.header-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.4s var(--ease-luxury), filter 0.4s var(--ease-luxury);
  will-change: transform, filter;
}

.header-brand:hover .header-logo-img {
  transform: translateY(-1px) scale(1.025);
  filter: drop-shadow(0 0 16px rgba(255, 214, 0, 0.42));
}

/* Luxury Atelier Badge next to logo */
.header-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 10px;
  background: rgba(25, 18, 6, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: var(--radius-pill);
  box-shadow: 
    0 2px 10px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 242, 194, 0.2);
  transition: all var(--transition-fast);
}

.header-brand:hover .header-brand-badge {
  border-color: rgba(255, 214, 0, 0.55);
  background: rgba(25, 18, 6, 0.85);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.header-brand-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-yellow);
  box-shadow: 0 0 8px var(--color-yellow);
  animation: lemonBadgePulse 3s ease-in-out infinite;
  flex-shrink: 0;
}

.header-brand-badge-text {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-champagne);
  white-space: nowrap;
}

/* Navigation Container (Frosted Glass Dock) */
.header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 6px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

/* Base Nav Link */
.header-nav-link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(240, 240, 248, 0.72);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.28s var(--ease-luxury);
  white-space: nowrap;
  position: relative;
}

.header-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

/* Active Nav Link (Haute Équipe Pill) */
.header-nav-link.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16) 0%, rgba(138, 100, 29, 0.12) 100%) !important;
  border: 1px solid rgba(212, 175, 55, 0.42) !important;
  color: var(--gold-champagne) !important;
  font-weight: 700;
  box-shadow: 
    0 2px 14px rgba(212, 175, 55, 0.18),
    inset 0 1px 0 rgba(255, 242, 194, 0.3) !important;
}

.header-nav-link .nav-link-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-yellow);
  box-shadow: 0 0 7px var(--color-yellow);
  flex-shrink: 0;
  animation: lemonBadgePulse 2.5s ease-in-out infinite;
}

/* Luxury Agency Jewel CTA Button */
.header-nav-link.external,
.header-nav-link--external,
.header-agency-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  background: linear-gradient(145deg, #181822 0%, #0d0d13 100%) !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  color: #ffffff !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-pill) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 
    0 4px 18px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 242, 194, 0.35),
    inset 0 -1px 1px rgba(109, 76, 19, 0.4) !important;
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  transition: all 0.35s var(--ease-luxury) !important;
}

/* Shimmer metallic light sweep on hover */
.header-nav-link.external::before,
.header-nav-link--external::before,
.header-agency-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 85%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 242, 194, 0.38) 50%,
    rgba(255, 255, 255, 0.04) 75%,
    transparent 100%
  );
  transform: skewX(-22deg);
  transition: left 0.7s var(--ease-luxury);
  pointer-events: none;
  z-index: 2;
}

.header-nav-link.external:hover::before,
.header-nav-link--external:hover::before,
.header-agency-btn:hover::before {
  left: 160%;
}

.header-nav-link.external:hover,
.header-nav-link--external:hover,
.header-agency-btn:hover {
  background: linear-gradient(145deg, #22222e 0%, #121219 100%) !important;
  border-color: rgba(255, 214, 0, 0.85) !important;
  color: var(--color-yellow) !important;
  box-shadow: 
    0 8px 28px rgba(212, 175, 55, 0.38),
    0 0 18px rgba(255, 214, 0, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
  transform: translateY(-2px) !important;
}

.header-nav-link svg,
.header-nav-link.external svg,
.header-nav-link--external svg,
.header-agency-btn svg {
  width: 13px !important;
  height: 13px !important;
  min-width: 13px !important;
  max-width: 13px !important;
  min-height: 13px !important;
  max-height: 13px !important;
  stroke: var(--color-yellow) !important;
  stroke-width: 2.3 !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  transition: transform 0.3s var(--ease-luxury) !important;
}

.header-nav-link.external:hover svg,
.header-nav-link--external:hover svg,
.header-agency-btn:hover svg {
  transform: translate(2px, -2px) !important;
}

/* =========================================================
   HOMEPAGE INTRO (CENTERED)
   ========================================================= */
.intro-section {
  padding: 48px 0 36px;
}

.intro-section--centered {
  text-align: center;
}

.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--color-grey-100);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-black);
  margin-bottom: 16px;
}

.intro-section--centered .intro-badge {
  margin: 0 auto 16px auto;
}

.intro-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-yellow);
}

.intro-heading {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  color: var(--color-black);
  letter-spacing: 0.03em;
}

.intro-heading--centered {
  margin: 0 auto;
}

.intro-heading span {
  position: relative;
  display: inline-block;
  color: var(--color-black);
  text-decoration: underline;
  text-decoration-color: #FFD400;
  text-underline-offset: 6px;
  text-decoration-thickness: 8px;
}

.intro-subtitle {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--color-grey-600);
  max-width: 580px;
  font-weight: 400;
}

.intro-subtitle--centered {
  margin: 14px auto 0 auto;
}

/* =========================================================
/* =========================================================
   FEATURED SPOTLIGHT GOLD CARDS (2 PAR LIGNE)
   ========================================================= */
.featured-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 920px;
  margin: 0 auto 30px auto;
}

.featured-card-wrapper {
  margin-bottom: 0;
  max-width: none;
  width: 100%;
  display: flex;
}

.amal-gold-card {
  position: relative;
  display: flex;
  width: 100%;
  text-decoration: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 
    0 14px 36px rgba(0, 0, 0, 0.45),
    0 4px 18px rgba(140, 98, 28, 0.22);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  isolation: isolate;
  background-color: var(--gold-vibrant);
}

.amal-gold-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 24px 58px rgba(0, 0, 0, 0.65),
    0 8px 30px rgba(212, 175, 55, 0.42),
    0 0 0 1px rgba(255, 248, 220, 0.75) inset;
}

/* Silky Brushed Gold Surface with LemonMind L-Squares Pattern */
.gold-surface {
  position: relative;
  width: 100%;
  background: 
    url('../assets/gold-pattern.svg') repeat,
    /* Soft diagonal silk wave sweep */
    linear-gradient(132deg,
      rgba(255, 255, 255, 0) 25%,
      rgba(255, 252, 235, 0.45) 45%,
      rgba(255, 255, 255, 0.75) 50%,
      rgba(255, 245, 210, 0.4) 55%,
      rgba(255, 255, 255, 0) 75%
    ),
    /* Fluid organic gold silk wave shading */
    radial-gradient(ellipse 110% 70% at 30% 20%, rgba(255, 250, 225, 0.95) 0%, rgba(245, 220, 140, 0.6) 30%, transparent 65%),
    linear-gradient(138deg,
      #c4962b 0%,
      #deb248 16%,
      #fae7a0 32%,
      #fff8d6 45%,
      #e2ba50 56%,
      #b88722 70%,
      #f7e29a 85%,
      #9c6e14 100%
    );
  background-size: 84px 84px, 100% 100%, 100% 100%, 100% 100%;
  border: 1px solid rgba(255, 246, 216, 0.85);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* Micro-Brushed Gold Grain */
.gold-surface::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.02) 0px,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* Moving Specular Sheen (Liquid Light Reflection) */
.gold-specular-sheen {
  position: absolute;
  inset: -120px;
  background: radial-gradient(
    circle 540px at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.65) 0%,
    rgba(255, 248, 220, 0.3) 28%,
    transparent 68%
  );
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.85;
  transition: opacity var(--transition-medium);
  z-index: 2;
}

/* Precision Watchmaking Double-Cut Bevel Rim */
.gold-bevel-rim {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.95),
    inset 0 -2px 3px rgba(90, 60, 10, 0.55),
    inset 1.5px 0 2px rgba(255, 250, 230, 0.55),
    inset -1.5px 0 2px rgba(110, 75, 15, 0.4),
    inset 0 0 0 1px rgba(255, 245, 215, 0.4);
  pointer-events: none;
  z-index: 10;
}

/* Integrated Gold Card Layout */
.gold-card-layout {
  display: flex;
  align-items: stretch;
  position: relative;
  z-index: 4;
  min-height: 290px;
  width: 100%;
}

.gold-portrait-container {
  flex: 0 0 42%;
  position: relative;
  overflow: hidden;
  background: #060608;
  border-right: 1px solid rgba(150, 105, 20, 0.35);
  box-shadow: inset -1px 0 0 rgba(255, 248, 220, 0.4);
}

.gold-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 650ms var(--ease-out-smooth);
}

.amal-gold-card:hover .gold-portrait-img {
  transform: scale(1.04);
}

/* Info Section on Gold Card */
.gold-card-content {
  flex: 1;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  overflow: hidden;
  z-index: 5;
}

.gold-info-block {
  flex: 1;
  position: relative;
  z-index: 4;
}

/* Signature Matte-Black & Gold Badge */
.gold-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  background: #14110b;
  color: #fae6a2;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  border: 1px solid rgba(242, 214, 117, 0.5);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 245, 215, 0.2);
  width: fit-content;
}

.gold-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd400;
  box-shadow: 0 0 8px #ffd400, 0 0 14px rgba(255, 212, 0, 0.6);
}

/* Laser-Etched Obsidian Name Typography with Signature Underline */
.gold-name {
  font-family: var(--font-heading);
  font-size: clamp(21px, 1.85vw, 26px);
  text-transform: uppercase;
  color: #14110b;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 0 rgba(255, 250, 235, 0.95);
}

.gold-name::after {
  content: '';
  display: block;
  width: 44px;
  height: 2.5px;
  background: #14110b;
  margin-top: 10px;
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(255, 250, 235, 0.7);
}

.gold-title {
  margin-top: 5px;
  font-size: 13.5px;
  font-weight: 700;
  color: #2b200e;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

/* Jet Obsidian & 24K Gold CTA Button */
.gold-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: #14110b;
  color: #f7f7f9;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(242, 214, 117, 0.3);
  border: none;
  width: fit-content;
  position: relative;
  z-index: 4;
}

.amal-gold-card:hover .gold-cta-button {
  background: #000000;
  color: #ffd400;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 212, 0, 0.7);
  transform: translateX(4px);
}

.gold-cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd400 0%, #d4af37 100%);
  color: #0c0a06;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease;
}

.amal-gold-card:hover .gold-cta-arrow {
  transform: translateX(3px) scale(1.08);
  background: #ffffff;
  color: #000000;
}

.gold-cta-arrow svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.6;
}


/* =========================================================
   TEAM GRID (PORTRAIT CARDS COMPACTES & HARMONIEUSES)
   ========================================================= */
.team-grid-section {
  padding-bottom: 64px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}

/* Adapts to 3 columns when 6 or more non-featured members exist */
.team-grid.three-cols {
  grid-template-columns: repeat(3, 1fr);
  max-width: 920px;
  gap: 20px;
}

/* =========================================================
   POLISHED GOLD LUXURY TEAM CARDS
   ========================================================= */
.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: 
    /* Specular light bloom from top-left */
    radial-gradient(circle 320px at 20% -10%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 248, 225, 0.35) 32%, transparent 70%),
    /* Anisotropic satin-brushed 24K gold metallic spectrum */
    linear-gradient(140deg, 
      #8c621c 0%, 
      #c59838 12%, 
      #ebcf7f 26%, 
      #fff6d8 38%, 
      #d9ab45 50%, 
      #b88827 64%, 
      #f6df9d 78%, 
      #b08022 90%, 
      #785112 100%
    );
  border: 1px solid rgba(255, 246, 216, 0.85);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--gold-text);
  cursor: pointer;
  transition: all var(--transition-medium);
  overflow: hidden;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 4px 14px rgba(140, 98, 28, 0.22);
  isolation: isolate;
}

/* Inner bevel for watchmaker gold depth */
.team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.95),
    inset 0 -2px 3px rgba(90, 60, 10, 0.55),
    inset 1.5px 0 2px rgba(255, 250, 230, 0.55),
    inset -1.5px 0 2px rgba(110, 75, 15, 0.4),
    inset 0 0 0 1px rgba(255, 245, 215, 0.35);
  pointer-events: none;
  z-index: 3;
  transition: opacity var(--transition-medium);
}

.team-card:hover {
  border-color: rgba(255, 250, 230, 0.95);
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.65),
    0 8px 30px rgba(212, 175, 55, 0.42),
    0 0 0 1px rgba(255, 248, 220, 0.75) inset;
  transform: translateY(-5px);
}

/* Portrait Wrapper */
.team-card-portrait-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.9;
  overflow: hidden;
  background: #060608;
  border-bottom: 1px solid rgba(150, 105, 20, 0.35);
  box-shadow: inset 0 -1px 0 rgba(255, 248, 220, 0.35);
}

.team-card-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 600ms var(--ease-out-smooth);
}

.team-card:hover .team-card-portrait-img {
  transform: scale(1.04);
}

/* Gold specular sheen over portrait */
.gold-portrait-sheen,
.silver-portrait-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 248, 220, 0.1) 0%,
    transparent 55%,
    rgba(15, 12, 6, 0.45) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Info Section with Silky Gold & LemonMind L-Squares Pattern */
.team-card-info-section {
  padding: 18px 20px 20px;
  background: 
    url('../assets/gold-pattern.svg') repeat,
    /* Soft diagonal silk wave sweep */
    linear-gradient(132deg,
      rgba(255, 255, 255, 0) 25%,
      rgba(255, 252, 235, 0.45) 45%,
      rgba(255, 255, 255, 0.75) 50%,
      rgba(255, 245, 210, 0.4) 55%,
      rgba(255, 255, 255, 0) 75%
    ),
    /* Fluid organic gold silk wave shading */
    radial-gradient(ellipse 110% 70% at 30% 20%, rgba(255, 250, 225, 0.95) 0%, rgba(245, 220, 140, 0.6) 30%, transparent 65%),
    linear-gradient(138deg,
      #c4962b 0%,
      #deb248 16%,
      #fae7a0 32%,
      #fff8d6 45%,
      #e2ba50 56%,
      #b88722 70%,
      #f7e29a 85%,
      #9c6e14 100%
    );
  background-size: 80px 80px, 100% 100%, 100% 100%, 100% 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  position: relative;
  overflow: hidden;
  z-index: 4;
}

.team-card-body {
  position: relative;
  z-index: 2;
}

.team-card-role-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #fae6a2;
  margin-bottom: 6px;
  background: #131316;
  border: 1px solid rgba(242, 214, 117, 0.5);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 245, 215, 0.2);
}

.team-card-name {
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.6vw, 22px);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.025em;
  color: #12110e;
  text-shadow: 0 1px 0 rgba(255, 250, 235, 0.9);
}

.team-card-name::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: #131316;
  margin-top: 6px;
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(255, 250, 235, 0.7);
}

.team-card-footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(20, 20, 24, 0.18);
  position: relative;
  z-index: 2;
}

.team-card-hint {
  font-size: 11px;
  font-weight: 700;
  color: #141417;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.team-card:hover .team-card-hint {
  color: #000000;
}

.team-card-arrow-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #131316;
  border: 1px solid rgba(242, 214, 117, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd400;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-medium);
}

.team-card:hover .team-card-arrow-circle {
  background: #000000;
  border-color: #ffd400;
  color: #ffd400;
  box-shadow: 0 0 14px rgba(255, 212, 0, 0.45);
  transform: scale(1.1) translateX(2px);
}

.team-card-arrow-circle svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.6;
}

/* =========================================================
   INDIVIDUAL PROFILE PAGE
   ========================================================= */
.profile-page-container {
  padding: 36px 0 72px;
  flex: 1;
}

.profile-nav-back {
  margin-bottom: 24px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.back-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-grey-100);
  color: var(--color-black);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid var(--color-grey-200);
  cursor: pointer;
}

.back-link-btn:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
  transform: translateX(-3px);
}

.back-link-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.profile-layout-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  max-width: 840px;
  margin: 0 auto;
  align-items: start;
}

/* Standard Identity Panel */
.identity-panel {
  background: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
}

/* Portrait in Identity Panel */
.identity-portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.2;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  background: #1e1e24;
}

.identity-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}


.identity-content-block {
  position: relative;
  z-index: 3;
}

.identity-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-yellow);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  width: fit-content;
}

.identity-panel-name {
  font-family: var(--font-heading);
  font-size: clamp(34px, 3.8vw, 50px);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-white);
}

.identity-panel-job {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-yellow);
}

.identity-panel-footer {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  color: var(--color-grey-400);
}

.identity-panel-footer strong {
  color: var(--color-white);
}

/* Amal's Profile: Exclusive 24K Royal Gold Identity Panel with LemonMind L-Squares Pattern */
.identity-panel.gold {
  background: 
    url('../assets/gold-pattern.svg') repeat,
    /* Soft diagonal silk wave sweep */
    linear-gradient(132deg,
      rgba(255, 255, 255, 0) 25%,
      rgba(255, 252, 235, 0.45) 45%,
      rgba(255, 255, 255, 0.75) 50%,
      rgba(255, 245, 210, 0.4) 55%,
      rgba(255, 255, 255, 0) 75%
    ),
    /* Fluid organic gold silk wave shading */
    radial-gradient(ellipse 110% 70% at 30% 20%, rgba(255, 250, 225, 0.95) 0%, rgba(245, 220, 140, 0.6) 30%, transparent 65%),
    linear-gradient(138deg,
      #c4962b 0%,
      #deb248 16%,
      #fae7a0 32%,
      #fff8d6 45%,
      #e2ba50 56%,
      #b88722 70%,
      #f7e29a 85%,
      #9c6e14 100%
    );
  background-size: 84px 84px, 100% 100%, 100% 100%, 100% 100%;
  color: var(--gold-text);
  border: 1px solid rgba(255, 246, 216, 0.85);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 8px 30px rgba(212, 175, 55, 0.35),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.95),
    inset 0 -2px 3px rgba(90, 60, 10, 0.55);
  position: relative;
  overflow: hidden;
}

/* Micro-Brushed Gold Grain on Identity Panel */
.identity-panel.gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.02) 0px,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
  z-index: 1;
}

.identity-panel.gold .identity-content-block {
  position: relative;
  z-index: 4;
}

.identity-panel.gold .identity-panel-name {
  color: #12110e;
  text-shadow: 0 1px 0 rgba(255, 250, 235, 0.9);
}

.identity-panel.gold .identity-panel-name::after {
  content: '';
  display: block;
  width: 54px;
  height: 2.5px;
  background: #131316;
  margin-top: 12px;
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(255, 250, 235, 0.7);
}

.identity-panel.gold .identity-panel-job {
  color: #2b200e;
  font-weight: 800;
}

.identity-panel.gold .identity-panel-badge {
  background: #131316;
  color: #fae6a2;
  border: 1px solid rgba(242, 214, 117, 0.5);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.identity-panel.gold .identity-panel-footer {
  color: #141417;
  border-top-color: rgba(20, 20, 24, 0.2);
}

.identity-panel.gold .identity-panel-footer strong {
  color: #000000;
}

/* =========================================================
   LUXURIOUS SILVER TEAM CARDS
   ========================================================= */
.team-card.silver {
  background:
    radial-gradient(ellipse 90% 55% at 50% -20%, rgba(192, 192, 208, 0.55), transparent 70%),
    linear-gradient(145deg,
      #1C1C22 0%,
      #2A2A32 12%,
      #3A3A44 28%,
      #5E5E6E 42%,
      #8A8A9A 55%,
      #C0C0D0 68%,
      #8A8A9A 78%,
      #4A4A56 88%,
      #1C1C22 100%
    );
  border: 1px solid rgba(192, 192, 208, 0.45);
  color: var(--silver-text);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.5),
    0 1px 0px rgba(192, 192, 208, 0.4) inset,
    0 -1px 0px rgba(28, 28, 34, 0.6) inset;
}

.team-card.silver::before {
  box-shadow:
    inset 0 1.5px 2px rgba(192, 192, 208, 0.6),
    inset 0 -1.5px 2px rgba(28, 28, 34, 0.5),
    inset 1px 0 1.5px rgba(192, 192, 208, 0.3),
    inset -1px 0 1.5px rgba(28, 28, 34, 0.3);
}

.team-card.silver:hover {
  border-color: rgba(192, 192, 208, 0.85);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.6),
    0 6px 24px rgba(192, 192, 208, 0.2),
    0 1px 0px rgba(255, 255, 255, 0.5) inset;
  transform: translateY(-5px);
}

/* Silver card text overrides */
.team-card.silver .team-card-role-tag {
  background: rgba(240, 240, 248, 0.12);
  color: var(--silver-bright);
  border: 1px solid rgba(192, 192, 208, 0.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.team-card.silver .team-card-name {
  color: var(--silver-text);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.team-card.silver .team-card-footer {
  border-top-color: rgba(192, 192, 208, 0.18);
}

.team-card.silver .team-card-hint {
  color: var(--silver-text-muted);
}

.team-card.silver:hover .team-card-hint {
  color: var(--silver-text);
}

.team-card.silver .team-card-arrow-circle {
  background: rgba(240, 240, 248, 0.1);
  border: 1px solid rgba(192, 192, 208, 0.3);
  color: var(--silver-bright);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.team-card.silver:hover .team-card-arrow-circle {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-black);
  transform: scale(1.08) translateX(2px);
}

/* Silver portrait sheen (cool-toned overlay) */
.team-card.silver .silver-portrait-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(192, 192, 208, 0.10) 0%,
    transparent 55%,
    rgba(28, 28, 34, 0.55) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* =========================================================
   SILVER IDENTITY PANEL (Profile Pages)
   ========================================================= */
.identity-panel.silver {
  background:
    radial-gradient(ellipse 90% 60% at 50% -20%, rgba(192, 192, 208, 0.5), transparent 75%),
    linear-gradient(135deg,
      #1C1C22 0%,
      #2A2A32 12%,
      #3A3A44 28%,
      #5E5E6E 42%,
      #8A8A9A 55%,
      #C0C0D0 68%,
      #8A8A9A 78%,
      #4A4A56 88%,
      #1C1C22 100%
    );
  color: var(--silver-text);
  border: 1px solid rgba(192, 192, 208, 0.5);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.35),
    0 4px 14px rgba(0, 0, 0, 0.15);
}

.identity-panel.silver .identity-panel-name {
  color: var(--silver-text);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.identity-panel.silver .identity-panel-job {
  color: var(--silver-bright);
  font-weight: 800;
}

.identity-panel.silver .identity-panel-badge {
  background: rgba(240, 240, 248, 0.12);
  color: var(--silver-bright);
  border: 1px solid rgba(192, 192, 208, 0.35);
}

.identity-panel.silver .identity-panel-footer {
  color: var(--silver-text-muted);
  border-top-color: rgba(192, 192, 208, 0.18);
}

.identity-panel.silver .identity-panel-footer strong {
  color: var(--silver-text);
}

/* Silver specular sheen effect */
.silver-specular-sheen {
  position: absolute;
  inset: -100px;
  background: radial-gradient(
    circle 500px at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.45) 0%,
    rgba(192, 192, 208, 0.25) 25%,
    transparent 65%
  );
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.85;
  transition: opacity var(--transition-medium);
  z-index: 2;
}

/* Silver bevel rim */
.silver-bevel-rim {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  box-shadow:
    inset 0 2px 2px rgba(192, 192, 208, 0.6),
    inset 0 -2px 3px rgba(28, 28, 34, 0.5),
    inset 2px 0 2px rgba(192, 192, 208, 0.3),
    inset -2px 0 2px rgba(28, 28, 34, 0.3);
  pointer-events: none;
  z-index: 3;
}

/* Contact Details Panel */
.contact-details-panel {
  background:
    url('../assets/coord-pattern.svg') repeat,
    var(--color-grey-50);
  background-size: 60px 60px, auto;
  border: 2px solid var(--color-grey-200);
  border-radius: var(--radius-xl);
  padding: 38px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-section-title {
  font-family: var(--font-heading);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  color: var(--color-black);
}

.contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-item-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-item-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-grey-400);
}

.contact-item-value {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-black);
  user-select: all;
  letter-spacing: 0.01em;
  word-break: break-all;
}

/* Action Buttons */
.profile-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
  min-height: 48px;
}

.profile-action-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.3;
}

.profile-action-btn.call-primary {
  background: var(--color-yellow);
  color: var(--color-black);
  border-color: var(--color-yellow);
}

.profile-action-btn.call-primary:hover {
  background: #E8C100;
  box-shadow: 0 6px 20px rgba(255, 212, 0, 0.35);
  transform: translateY(-2px);
}

.profile-action-btn.email-secondary {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.profile-action-btn.email-secondary:hover {
  background: var(--color-grey-800);
  box-shadow: 0 6px 20px rgba(17, 17, 17, 0.2);
  transform: translateY(-2px);
}

.profile-action-btn.vcard-outline {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-grey-300);
}

.profile-action-btn.vcard-outline:hover {
  background: var(--color-grey-100);
  border-color: var(--color-black);
  transform: translateY(-2px);
}

/* =========================================================
   FOOTER DE LUXE (OBSIDIAN NOIR & GOLD)
   ========================================================= */
.site-footer {
  margin-top: auto;
  padding: 38px 0 24px;
  background: linear-gradient(180deg, #09090d 0%, #050508 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.16);
  position: relative;
  z-index: 10;
}

/* Golden horizon line at top of footer */
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.06) 15%,
    rgba(255, 235, 160, 0.28) 35%,
    rgba(255, 214, 0, 0.5) 50%,
    rgba(255, 235, 160, 0.28) 65%,
    rgba(212, 175, 55, 0.06) 85%,
    transparent 100%
  );
  box-shadow: 0 -1px 12px rgba(255, 214, 0, 0.2);
  pointer-events: none;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  gap: 24px;
}

.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.92;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.footer-logo-img:hover {
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(255, 214, 0, 0.35));
}

.footer-tagline {
  font-size: 13px;
  font-weight: 600;
  color: rgba(240, 240, 248, 0.45);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 18px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Contacts Agence */
.footer-contacts-block {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: rgba(240, 240, 248, 0.8);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.footer-contact-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--gold-champagne, #f2d675);
  transition: transform 0.28s ease, color 0.28s ease;
}

.footer-contact-icon-wrapper svg {
  width: 15px;
  height: 15px;
}

.footer-contact-item:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(255, 214, 0, 0.55);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
}

.footer-contact-item:hover .footer-contact-icon-wrapper {
  color: #ffd400;
  transform: scale(1.1);
}

/* Social Media Buttons */
.footer-social-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(212, 175, 55, 0.22);
  color: rgba(240, 240, 248, 0.78);
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.footer-social-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.28s ease;
}

.footer-social-btn:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(138, 100, 29, 0.15) 100%);
  border-color: rgba(255, 214, 0, 0.6);
  color: #ffd400;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.25), 0 0 10px rgba(255, 214, 0, 0.25);
}

.footer-social-btn:hover svg {
  transform: scale(1.08);
}

/* Footer Bottom (Separator & Copyright) */
.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(240, 240, 248, 0.36);
  letter-spacing: 0.03em;
  margin: 0;
}

/* =========================================================
   RESPONSIVE DESIGN (390px, 768px, 1440px)
   ========================================================= */

/* Tablet & Smaller Desktops */
@media (max-width: 960px) {
  :root {
    --container-padding: 24px;
    --header-height: 76px;
  }

  .profile-layout-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .identity-panel {
    padding: 30px;
  }

  .contact-details-panel {
    padding: 30px;
  }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .header-brand-badge {
    display: none !important;
  }

  .header-logo-img {
    height: 40px;
  }

  .header-nav {
    gap: 6px;
    padding: 3px 5px;
  }

  .header-nav-link {
    padding: 7px 12px;
    font-size: 11px;
    letter-spacing: 0.05em;
  }

  .header-agency-btn {
    padding: 7px 13px !important;
    font-size: 11px !important;
    gap: 6px !important;
  }

  /* Featured cards: 2 per line */
  .featured-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }

  .gold-card-layout {
    flex-direction: column;
    min-height: auto;
  }

  .gold-portrait-container {
    flex: none;
    height: 155px;
    min-height: auto;
  }

  .gold-card-content {
    padding: 12px 12px 14px;
    gap: 10px;
  }

  .gold-badge {
    font-size: 8.5px;
    padding: 2px 7px;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
  }

  .gold-name {
    font-size: 16px;
    line-height: 1.1;
  }

  .gold-title {
    font-size: 11px;
    margin-top: 2px;
  }

  .gold-cta-button {
    width: 100%;
    justify-content: center;
    padding: 6px 10px;
    font-size: 10.5px;
    gap: 6px;
  }

  .gold-cta-arrow {
    width: 20px;
    height: 20px;
  }

  /* Other cards: 2 per line in mobile mode */
  .team-grid,
  .team-grid.three-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .team-card-info-section {
    padding: 10px 12px 12px;
  }

  .team-card-role-tag {
    font-size: 8.5px;
    padding: 2px 6px;
    margin-bottom: 4px;
  }

  .team-card-name {
    font-size: 15px;
  }

  .team-card-footer {
    margin-top: 8px;
    padding-top: 6px;
  }

  .team-card-hint {
    font-size: 9px;
  }

  .team-card-arrow-circle {
    width: 24px;
    height: 24px;
  }

  .team-card-arrow-circle svg {
    width: 10px;
    height: 10px;
  }

  .intro-heading {
    font-size: 34px;
  }

  .intro-subtitle {
    font-size: 15px;
  }

  .footer-inner {
    text-align: center;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-brand-block {
    flex-direction: column;
    gap: 8px;
  }

  .footer-tagline {
    border-left: none;
    padding-left: 0;
  }

  .footer-contacts-block {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: center;
  }

  .footer-contact-item {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .footer-social-block {
    justify-content: center;
    gap: 14px;
  }

  .footer-bottom {
    margin-top: 20px;
    padding-top: 16px;
  }
}

/* Compact Phones (390px) */
@media (max-width: 390px) {
  :root {
    --container-padding: 14px;
    --header-height: 64px;
  }

  .header-logo-img {
    height: 35px;
  }

  .header-nav {
    gap: 4px;
    padding: 2px 4px;
  }

  .header-nav-link {
    padding: 5px 8px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .header-agency-btn {
    padding: 5px 9px !important;
    font-size: 10px !important;
    letter-spacing: 0.04em !important;
  }

  .featured-cards-grid,
  .team-grid,
  .team-grid.three-cols {
    gap: 10px;
  }

  .gold-portrait-container {
    height: 135px;
    min-height: auto;
  }

  .gold-card-content {
    padding: 10px 10px 12px;
  }

  .gold-name {
    font-size: 15px;
  }

  .gold-title {
    font-size: 10.5px;
  }

  .team-card-info-section {
    padding: 8px 10px 10px;
  }

  .team-card-name {
    font-size: 14px;
  }

  .identity-panel {
    padding: 20px 16px;
  }

  .identity-panel-name {
    font-size: 26px;
  }

  .identity-panel-job {
    font-size: 15px;
  }

  .contact-details-panel {
    padding: 20px 16px;
  }

  .contact-item-value {
    font-size: 15px;
  }

  .profile-action-btn {
    width: 100%;
  }
}

/* Ultra-Wide Screens (>= 1440px) */
@media (min-width: 1440px) {
  :root {
    --container-max: 1200px;
  }
}

/* =========================================================
   LEMONMIND HOMEPAGE — SOPHISTICATED ENTRANCE & MOTION SYSTEM
   Creative-agency grade, hardware-accelerated, luxurious
   ========================================================= */

:root {
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-cinematic: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Page fade-in fallback for profile pages */
.page-fade-in {
  animation: pageFadeIn 0.35s var(--ease-luxury) both;
}

/* On homepage, bypass main-content fade so children animate with staged luxury rhythm */
.homepage #main-content.page-fade-in {
  animation: none;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------------------------------
   1. Homepage Entrance Keyframes (Progressive Stagger)
   --------------------------------------------------------- */
@keyframes lemonNavEntrance {
  0% {
    opacity: 0;
    transform: translateY(-16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lemonBadgeEntrance {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes lemonBadgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 212, 0, 0);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 10px 2px rgba(255, 212, 0, 0.65);
  }
}

@keyframes lemonHeadlineEntrance {
  0% {
    opacity: 0;
    transform: translateY(32px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes lemonSubtitleEntrance {
  0% {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes lemonCardEntrance {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth Metallic Reflection Sweep */
@keyframes metallicLightSweep {
  0% {
    left: -130%;
    opacity: 0;
  }
  25% {
    opacity: 0.85;
  }
  75% {
    opacity: 0.85;
  }
  100% {
    left: 170%;
    opacity: 0;
  }
}

/* ---------------------------------------------------------
   2. Staggered Homepage Entrance Timeline
   Snappy luxury cadence: fast, crisp, zero scroll interference
   --------------------------------------------------------- */
.homepage .site-header {
  animation: lemonNavEntrance 0.5s var(--ease-luxury) 0.02s both;
  will-change: transform, opacity;
}

.homepage .intro-badge {
  animation: lemonBadgeEntrance 0.5s var(--ease-luxury) 0.08s both;
  will-change: transform, opacity;
}

.homepage .intro-badge-dot {
  animation: lemonBadgePulse 3.5s ease-in-out 1.2s infinite;
}

.homepage .intro-heading {
  animation: lemonHeadlineEntrance 0.55s var(--ease-luxury) 0.14s both;
  will-change: transform, opacity;
}

.homepage .intro-subtitle {
  animation: lemonSubtitleEntrance 0.5s var(--ease-luxury) 0.20s both;
  will-change: transform, opacity;
}

/* Top Row Featured Gold Cards (Hero Visuals) */
.homepage .featured-cards-grid .featured-card-wrapper {
  will-change: opacity, transform;
}

.homepage .featured-cards-grid .featured-card-wrapper:nth-child(1) {
  animation: lemonCardEntrance 0.45s var(--ease-luxury) 0.08s both;
}

.homepage .featured-cards-grid .featured-card-wrapper:nth-child(2) {
  animation: lemonCardEntrance 0.45s var(--ease-luxury) 0.14s both;
}

.homepage .featured-cards-grid .featured-card-wrapper:nth-child(3) {
  animation: lemonCardEntrance 0.45s var(--ease-luxury) 0.20s both;
}

.homepage .featured-cards-grid .featured-card-wrapper:nth-child(4) {
  animation: lemonCardEntrance 0.45s var(--ease-luxury) 0.26s both;
}

/* ---------------------------------------------------------
   3. Metallic Sheen & Specular Light Reflection
   No glitter, no neon - authentic brushed metal light sweep
   --------------------------------------------------------- */
.gold-surface::after,
.team-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 90%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.02) 25%,
    rgba(255, 242, 194, 0.20) 45%,
    rgba(255, 255, 255, 0.38) 50%,
    rgba(255, 242, 194, 0.20) 55%,
    rgba(255, 255, 255, 0.02) 75%,
    transparent 100%
  );
  transform: skewX(-22deg);
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  will-change: transform, left, opacity;
}

/* Subtle entrance light sweep across each gold card */
.homepage .featured-cards-grid .featured-card-wrapper:nth-child(1) .gold-surface::after {
  animation: metallicLightSweep 1.6s var(--ease-luxury) 1.30s forwards;
}

.homepage .featured-cards-grid .featured-card-wrapper:nth-child(2) .gold-surface::after {
  animation: metallicLightSweep 1.6s var(--ease-luxury) 1.42s forwards;
}

.homepage .featured-cards-grid .featured-card-wrapper:nth-child(3) .gold-surface::after {
  animation: metallicLightSweep 1.6s var(--ease-luxury) 1.54s forwards;
}

.homepage .featured-cards-grid .featured-card-wrapper:nth-child(4) .gold-surface::after {
  animation: metallicLightSweep 1.6s var(--ease-luxury) 1.66s forwards;
}

/* Gentle metallic light reflection on card hover */
@media (hover: hover) and (pointer: fine) {
  .amal-gold-card:hover .gold-surface::after,
  .team-card:hover::after {
    animation: metallicLightSweep 1.25s var(--ease-luxury) forwards;
  }
}

/* ---------------------------------------------------------
   4. Scroll Animations (Team Cards Cascading Reveal)
   --------------------------------------------------------- */
/* Progressive fallback: visible by default */
.reveal-on-scroll {
  will-change: opacity, transform;
}

/* If JavaScript is active and observer attaches, start slightly offset and transition smoothly */
html.js-ready .reveal-on-scroll {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.32s var(--ease-luxury),
    transform 0.32s var(--ease-luxury);
}

html.js-ready .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Once fully revealed, anchor element permanently to eliminate any scroll/resizing recalculations */
html.js-ready .reveal-on-scroll.is-revealed {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
}

/* Prevent pointer thrashing & accidental hover tilt during high-speed scrolling */
body.is-scrolling .amal-gold-card,
body.is-scrolling .team-card,
body.is-scrolling .gold-surface,
body.is-scrolling .gold-cta-button,
body.is-scrolling .team-card-arrow-circle {
  pointer-events: none !important;
}

/* ---------------------------------------------------------
   5. Interactive Micro-Interactions: Cards & Buttons
   --------------------------------------------------------- */
.featured-card-wrapper,
.team-card-wrapper {
  perspective: 1200px;
}

.amal-gold-card,
.team-card {
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition:
    transform 0.45s var(--ease-luxury),
    box-shadow 0.45s var(--ease-luxury),
    border-color 0.4s var(--ease-luxury);
}

.gold-portrait-img,
.team-card-portrait-img {
  will-change: transform;
  transition: transform 0.75s var(--ease-luxury);
}

.amal-gold-card:hover .gold-portrait-img,
.team-card:hover .team-card-portrait-img {
  transform: scale(1.035);
}

/* Magnetic Button Smooth Transition */
.gold-cta-button,
.team-card-arrow-circle,
.header-nav-link,
.back-link-btn {
  will-change: transform;
  transition:
    transform 0.35s var(--ease-luxury),
    background 0.25s var(--ease-luxury),
    color 0.25s var(--ease-luxury),
    border-color 0.25s var(--ease-luxury),
    box-shadow 0.35s var(--ease-luxury);
}

.gold-cta-arrow svg,
.team-card-arrow-circle svg {
  will-change: transform;
  transition: transform 0.35s var(--ease-luxury);
}

.amal-gold-card:hover .gold-cta-arrow svg,
.team-card:hover .team-card-arrow-circle svg {
  transform: translateX(3px);
}

/* ---------------------------------------------------------
   6. Minimal Luxury Custom Cursor (Desktop Only)
   --------------------------------------------------------- */
.lm-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--color-black);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.15s ease,
    background-color 0.3s ease;
}

.lm-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background-color: rgba(255, 212, 0, 0.04);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition:
    width 0.3s var(--ease-luxury),
    height 0.3s var(--ease-luxury),
    border-color 0.3s var(--ease-luxury),
    background-color 0.3s var(--ease-luxury),
    opacity 0.3s ease;
}

.lm-cursor-dot.is-active,
.lm-cursor-ring.is-active {
  opacity: 1;
}

.lm-cursor-ring.is-hovering {
  width: 48px;
  height: 48px;
  border-color: rgba(212, 175, 55, 0.85);
  background-color: rgba(255, 212, 0, 0.12);
  backdrop-filter: blur(0.5px);
  -webkit-backdrop-filter: blur(0.5px);
}

.lm-cursor-dot.is-hovering {
  background-color: var(--gold-vibrant);
  transform: translate(-50%, -50%) scale(0.8);
}

/* Completely remove cursor on mobile / tablets or touch pointer */
@media (max-width: 1024px), (pointer: coarse) {
  .lm-cursor-dot,
  .lm-cursor-ring {
    display: none !important;
  }
}

/* ---------------------------------------------------------
   7. Mobile Version (Optimized, Zero Blur, Fast & Fluid)
   --------------------------------------------------------- */
@media (max-width: 768px) {
  @keyframes lemonNavEntranceMobile {
    0% {
      opacity: 0;
      transform: translateY(-8px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes lemonBadgeEntranceMobile {
    0% {
      opacity: 0;
      transform: translateY(12px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes lemonHeadlineEntranceMobile {
    0% {
      opacity: 0;
      transform: translateY(16px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes lemonSubtitleEntranceMobile {
    0% {
      opacity: 0;
      transform: translateY(12px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes lemonCardEntranceMobile {
    0% {
      opacity: 0;
      transform: translateY(16px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .homepage .site-header {
    animation: lemonNavEntranceMobile 0.5s var(--ease-luxury) 0.02s both;
  }

  .homepage .intro-badge {
    animation: lemonBadgeEntranceMobile 0.5s var(--ease-luxury) 0.10s both;
  }

  .homepage .intro-heading {
    animation: lemonHeadlineEntranceMobile 0.55s var(--ease-luxury) 0.18s both;
    filter: none !important;
  }

  .homepage .intro-subtitle {
    animation: lemonSubtitleEntranceMobile 0.5s var(--ease-luxury) 0.26s both;
    filter: none !important;
  }

  .homepage .featured-cards-grid .featured-card-wrapper:nth-child(1) {
    animation: lemonCardEntranceMobile 0.55s var(--ease-luxury) 0.32s both;
    filter: none !important;
  }

  .homepage .featured-cards-grid .featured-card-wrapper:nth-child(2) {
    animation: lemonCardEntranceMobile 0.55s var(--ease-luxury) 0.40s both;
    filter: none !important;
  }

  .homepage .featured-cards-grid .featured-card-wrapper:nth-child(3) {
    animation: lemonCardEntranceMobile 0.55s var(--ease-luxury) 0.48s both;
    filter: none !important;
  }

  .homepage .featured-cards-grid .featured-card-wrapper:nth-child(4) {
    animation: lemonCardEntranceMobile 0.55s var(--ease-luxury) 0.56s both;
    filter: none !important;
  }

  html.js-ready .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  html.js-ready .reveal-on-scroll.is-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .featured-card-wrapper,
  .team-card-wrapper {
    perspective: none !important;
  }

  .amal-gold-card,
  .team-card {
    transform-style: flat !important;
  }
}

/* ---------------------------------------------------------
   8. Accessibility: Prefers-Reduced-Motion
   Instant, clean, accessible opacity transitions
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .homepage .site-header,
  .homepage .intro-badge,
  .homepage .intro-badge-dot,
  .homepage .intro-heading,
  .homepage .intro-subtitle,
  .homepage .featured-cards-grid .featured-card-wrapper,
  .reveal-on-scroll,
  .amal-gold-card,
  .team-card,
  .back-link-btn,
  .profile-action-btn {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: opacity 0.15s ease !important;
  }

  .gold-surface::after,
  .team-card::after,
  .gold-specular-sheen,
  .silver-specular-sheen {
    display: none !important;
  }

  .lm-cursor-dot,
  .lm-cursor-ring {
    display: none !important;
  }
}

/* =========================================================
   LEMONMIND NFC PERSONALIZED DIGITAL BUSINESS CARD
   Mobile-first, physical-to-digital transformation experience
   ========================================================= */

/* Dark obsidian luxury background with multi-dimensional atmospheric depth */
body.nfc-page {
  background-color: #0c0d14 !important;
  color: #f0f0f5 !important;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Layer 1: Luxury Micro-Matrix Grid + Deep Caustics + Horizon Vignette */
body.nfc-page::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    /* Central luxury golden ambient pool */
    radial-gradient(ellipse 75% 60% at 50% 38%, rgba(255, 212, 0, 0.22) 0%, rgba(212, 175, 55, 0.08) 50%, transparent 80%),
    /* Upper-left sapphire/indigo atmospheric pool for chromatic luxury depth */
    radial-gradient(circle 550px at 15% 15%, rgba(85, 100, 175, 0.14) 0%, transparent 70%),
    /* Lower-right warm champagne bounce */
    radial-gradient(circle 600px at 85% 85%, rgba(255, 225, 130, 0.12) 0%, transparent 65%),
    /* Ultra-fine precision luxury dot matrix */
    radial-gradient(circle, rgba(255, 255, 255, 0.10) 1px, transparent 1px),
    /* Faint secondary golden coordinate cross grid */
    linear-gradient(to right, rgba(212, 175, 55, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 175, 55, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 36px 36px, 144px 144px, 144px 144px;
  background-position: center center;
  mask-image: radial-gradient(ellipse 95% 90% at 50% 45%, black 45%, transparent 96%);
  -webkit-mask-image: radial-gradient(ellipse 95% 90% at 50% 45%, black 45%, transparent 96%);
}

/* Layer 2: Haute-Horlogerie Geometric Concentric Orbit Rings & Precision Watermark */
body.nfc-page::after {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, 130vw);
  height: min(1100px, 130vw);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 24%, rgba(255, 215, 60, 0.09) 24.2%, transparent 24.8%),
    radial-gradient(circle, transparent 38%, rgba(255, 215, 60, 0.11) 38.3%, transparent 38.9%),
    radial-gradient(circle, transparent 54%, rgba(255, 255, 255, 0.06) 54.2%, transparent 54.6%),
    radial-gradient(circle, transparent 70%, rgba(255, 215, 60, 0.08) 70.3%, transparent 70.8%);
  mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 85%);
  animation: nfcCelestialDrift 160s linear infinite;
}

@keyframes nfcCelestialDrift {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

body.nfc-page .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

body.nfc-page .back-link-btn {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.14);
}

body.nfc-page .back-link-btn:hover {
  background: var(--color-yellow);
  color: var(--color-black);
  border-color: var(--color-yellow);
}

/* Ambient Presentation Spotlight & Floating Caustic Orbs */
.nfc-stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  z-index: 2;
}

.nfc-stage-wrapper::before {
  content: '+';
  position: absolute;
  top: -24px;
  left: 0;
  font-family: var(--font-heading);
  font-size: 13px;
  color: rgba(212, 175, 55, 0.25);
  pointer-events: none;
}

.nfc-stage-wrapper::after {
  content: '+';
  position: absolute;
  top: -24px;
  right: 0;
  font-family: var(--font-heading);
  font-size: 13px;
  color: rgba(212, 175, 55, 0.25);
  pointer-events: none;
}

.nfc-ambient-spotlight {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -20%);
  width: min(720px, 94vw);
  height: min(720px, 94vw);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 212, 0, 0.32) 0%,
    rgba(212, 175, 55, 0.14) 35%,
    rgba(138, 100, 29, 0.05) 55%,
    transparent 75%
  );
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
  animation: nfcSpotlightBloom 1.2s var(--ease-luxury) 0.08s both, nfcSpotlightBreathe 9s ease-in-out infinite alternate 1.2s;
}

.nfc-ambient-spotlight::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 15%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 235, 160, 0.25) 0%, transparent 70%);
  filter: blur(35px);
  animation: nfcOrbDrift1 14s ease-in-out infinite alternate;
}

.nfc-ambient-spotlight::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 15%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.20) 0%, transparent 70%);
  filter: blur(30px);
  animation: nfcOrbDrift2 18s ease-in-out infinite alternate;
}

@keyframes nfcOrbDrift1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -35px) scale(1.15); }
  100% { transform: translate(-25px, 45px) scale(0.9); }
}

@keyframes nfcOrbDrift2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-45px, 25px) scale(1.12); }
  100% { transform: translate(35px, -30px) scale(0.95); }
}

@keyframes nfcSpotlightBloom {
  0% {
    opacity: 0;
    transform: translate(-50%, -20%) scale(0.85);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -20%) scale(1);
  }
}

@keyframes nfcSpotlightBreathe {
  0% {
    opacity: 0.85;
    transform: translate(-50%, -20%) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -20%) scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.nfc-page::after {
    animation: none;
  }
  .nfc-ambient-spotlight {
    animation: none;
    opacity: 1;
  }
  .nfc-ambient-spotlight::before,
  .nfc-ambient-spotlight::after {
    animation: none;
  }
}

/* NFC Top Bar with Status Badge */
.nfc-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
  gap: 12px;
  flex-wrap: wrap;
}

.nfc-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(25, 18, 6, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-champagne);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  animation: nfcPillEntrance 0.6s var(--ease-luxury) 0.05s both;
}

@keyframes nfcPillEntrance {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.nfc-live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 8px #25d366;
  animation: nfcPulseGlow 2s infinite ease-in-out;
}

@keyframes nfcPulseGlow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.25);
    box-shadow: 0 0 12px #25d366;
  }
}

.nfc-icon-contactless {
  width: 14px;
  height: 14px;
}

/* NFC Mode Toggle Buttons (Recto / Verso) */
.nfc-view-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nfc-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-grey-400);
  border: none;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nfc-view-btn:hover {
  color: #ffffff;
}

.nfc-view-btn.active {
  background: var(--color-yellow);
  color: var(--color-black);
  box-shadow: 0 2px 8px rgba(255, 212, 0, 0.35);
}

.nfc-view-btn svg {
  width: 13px;
  height: 13px;
}

/* Card Reveal Animation (Under 1 Second Experience) */
.nfc-experience .profile-layout-grid,
.nfc-experience .nfc-card-stage {
  animation: nfcCardEntrance 0.65s var(--ease-luxury) 0.12s both;
  will-change: transform, opacity, filter;
  position: relative;
  z-index: 1;
}

@keyframes nfcCardEntrance {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.955);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Card Metallic Foil Sheen Sweep across NFC gold panel */
.nfc-page .identity-panel.gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 90%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.02) 25%,
    rgba(255, 242, 194, 0.22) 45%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(255, 242, 194, 0.22) 55%,
    rgba(255, 255, 255, 0.02) 75%,
    transparent 100%
  );
  transform: skewX(-22deg);
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  animation: metallicLightSweep 1.35s var(--ease-luxury) 0.65s forwards;
}

/* NFC Contactless Chip Emblem on Front - Removed per user request */
.nfc-chip-stamp {
  display: none !important;
}

/* NFC White Luxury Contact Panel — Blanc Pur & Or Haute Horlogerie */
body.nfc-page .contact-details-panel {
  background:
    url('../assets/coord-pattern.svg') repeat,
    linear-gradient(175deg, #ffffff 0%, #fafafc 45%, #f4f4f7 100%);
  background-size: 60px 60px, 100% 100%;
  border: 1.5px solid rgba(212, 175, 55, 0.38);
  color: var(--color-black);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.38),
    0 0 35px rgba(212, 175, 55, 0.12),
    inset 0 1.5px 1px #ffffff,
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
}

/* Subtle ambient gold top highlight on white contact panel */
body.nfc-page .contact-details-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.85) 50%, transparent);
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Header with high-contrast text and gold badge */
body.nfc-page .contact-section-title {
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  letter-spacing: 0.06em;
  position: relative;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-grey-200);
  margin-bottom: 18px;
}

.contact-title-with-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-black);
}

.contact-title-with-badge .gold-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-yellow);
  box-shadow: 0 0 10px var(--color-yellow);
}

.luxury-coords-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.luxury-coords-list,
.luxury-coords-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
  width: 100% !important;
}

/* Individual Interactive Luxury Contact Tile — White Card Surface */
.luxury-coord-tile {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 14px 18px !important;
  background: #ffffff !important;
  border: 1.5px solid var(--color-grey-200) !important;
  border-radius: 16px !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.luxury-coord-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3.5px;
  height: 100%;
  background: linear-gradient(to bottom, #ffd400, #d4af37);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.luxury-coord-tile:hover {
  background: #ffffff !important;
  border-color: var(--color-yellow) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 0 16px rgba(255, 212, 0, 0.22) !important;
  transform: translateY(-2px) !important;
}

.luxury-coord-tile:hover::before {
  opacity: 1;
}

.luxury-coord-icon,
.luxury-tile-icon-box {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border-radius: 50% !important;
  background: #111111 !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--color-yellow) !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.25s ease !important;
}

.luxury-coord-tile:hover .luxury-coord-icon,
.luxury-coord-tile:hover .luxury-tile-icon-box {
  background: var(--color-yellow) !important;
  color: #111111 !important;
  border-color: var(--color-yellow) !important;
  transform: scale(1.06) !important;
  box-shadow: 0 0 14px rgba(255, 212, 0, 0.45) !important;
}

.luxury-coord-icon svg,
.luxury-tile-icon-box svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}

.luxury-coord-info,
.luxury-tile-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 3px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  text-align: left !important;
}

.luxury-coord-label,
.luxury-tile-label {
  display: block !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #777777 !important;
  line-height: 1.2 !important;
}

.luxury-coord-value,
.luxury-tile-val {
  display: block !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  letter-spacing: 0.015em !important;
  line-height: 1.3 !important;
  transition: color 0.18s ease !important;
}

.luxury-coord-value:hover,
.luxury-tile-val:hover {
  color: var(--gold-bronze) !important;
}

.luxury-coord-actions,
.luxury-tile-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.luxury-tile-action-btn {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  border: 1px solid var(--color-grey-200) !important;
  background: var(--color-grey-100) !important;
  color: var(--color-black) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

.luxury-tile-action-btn svg {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0 !important;
}

.luxury-tile-action-btn.call:hover,
.luxury-tile-action-btn.phone:hover {
  background: var(--color-yellow) !important;
  color: #000000 !important;
  border-color: var(--color-yellow) !important;
  box-shadow: 0 0 14px rgba(255, 212, 0, 0.45) !important;
  transform: scale(1.1) !important;
}

.luxury-tile-action-btn.whatsapp:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
  box-shadow: 0 0 14px rgba(37, 211, 102, 0.45);
  transform: scale(1.1);
}

.luxury-tile-action-btn.mail:hover {
  background: #111111;
  color: var(--color-yellow);
  border-color: #111111;
  box-shadow: 0 0 14px rgba(17, 17, 17, 0.35);
  transform: scale(1.1);
}

.luxury-tile-action-btn.web:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
  box-shadow: 0 0 14px rgba(17, 17, 17, 0.35);
  transform: scale(1.1);
}

/* Sophisticated Luxury VIP Action Footer (Enregistrer vCard only) */
.luxury-coord-footer {
  display: flex;
  width: 100%;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}

.luxury-action-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 46px;
  box-sizing: border-box;
}

.luxury-action-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Primary Gold VCF Action */
.luxury-action-pill.vcard-btn {
  width: 100%;
  background: linear-gradient(135deg, #ffd400 0%, #d4af37 60%, #b8860b 100%);
  color: #111111;
  border: 1px solid rgba(255, 242, 194, 0.65);
  box-shadow:
    0 4px 18px rgba(255, 212, 0, 0.32),
    0 0 10px rgba(212, 175, 55, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

.luxury-action-pill.vcard-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ffe033 0%, #e0bd47 60%, #c79212 100%);
  box-shadow:
    0 8px 25px rgba(255, 212, 0, 0.48),
    0 0 16px rgba(212, 175, 55, 0.3),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.85);
}

/* Secondary Email Action (Replacing Partager on phone / all views) */
.luxury-action-pill.email-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-champagne);
  border: 1.5px solid rgba(212, 175, 55, 0.38);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 242, 194, 0.08);
}

.luxury-action-pill.email-btn:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-champagne);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.28), inset 0 1px 0 rgba(255, 242, 194, 0.15);
}

/* Retain subtle share button styling if used elsewhere */
.luxury-action-pill.share-btn {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
}

.luxury-action-pill.share-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 5px 18px rgba(255, 255, 255, 0.2);
}

/* Corporate Agency Badge in Header */
.contact-badge-corp {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-yellow);
  background: var(--color-black);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

/* Secondary Email Action (Black & Yellow LemonMind signature) */
.luxury-action-pill.email-btn {
  background: #111111;
  color: #ffffff;
  border: 1.5px solid #111111;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.luxury-action-pill.email-btn:hover {
  background: #26262b;
  border-color: var(--color-yellow);
  color: var(--color-yellow);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   RESPONSIVE DESIGN: MOBILE VS DESKTOP ADAPTATION
   Mobile: Identity Card + Coordonnées Card (Stacked Elegantly)
   Desktop: Identity Card & Coordonnées Card (SIDE-BY-SIDE)
   ========================================================= */
@media (max-width: 960px) {
  .profile-page-container {
    padding: 20px 0 44px;
  }

  .nfc-stage-wrapper {
    max-width: 440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .nfc-card-container {
    width: 100%;
    position: relative;
  }

  .nfc-card-container .identity-panel.gold,
  .nfc-card-container .identity-panel {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
      0 16px 45px rgba(0, 0, 0, 0.55),
      0 0 25px rgba(212, 175, 55, 0.12),
      inset 0 1px 1px rgba(255, 242, 194, 0.4);
  }

  /* Coordonnées card RESTORED in White Luxury on mobile */
  body.nfc-page .contact-details-panel,
  .contact-details-panel {
    display: flex !important;
    width: 100%;
    box-sizing: border-box;
    padding: 28px 22px;
    border-radius: var(--radius-xl);
    background: linear-gradient(175deg, #ffffff 0%, #fafafc 45%, #f4f4f7 100%) !important;
    border: 1.5px solid rgba(212, 175, 55, 0.38) !important;
    color: var(--color-black) !important;
    box-shadow:
      0 18px 48px rgba(0, 0, 0, 0.38),
      0 0 28px rgba(212, 175, 55, 0.12),
      inset 0 1.5px 1px #ffffff !important;
  }

  .luxury-coord-tile {
    padding: 12px 14px;
    gap: 12px;
    background: #ffffff !important;
    border: 1.5px solid var(--color-grey-200) !important;
  }

  .luxury-coord-icon {
    width: 36px;
    height: 36px;
  }

  .luxury-coord-icon svg {
    width: 16px;
    height: 16px;
  }

  .luxury-coord-value {
    font-size: 14px;
    color: var(--color-black) !important;
  }

  .luxury-tile-action-btn {
    width: 30px;
    height: 30px;
  }

  .luxury-tile-action-btn svg {
    width: 13px;
    height: 13px;
  }

  .luxury-coord-footer {
    display: flex;
    width: 100%;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--color-grey-200) !important;
  }

  .luxury-action-pill {
    padding: 11px 10px;
    font-size: 11.5px;
    gap: 6px;
    min-height: 44px;
  }

  /* Obsolete floating dock is permanently hidden */
  .nfc-quick-bar-mobile {
    display: none !important;
  }
}

/* Desktop Presentation Mode: Side-by-side Layout (Card beside Coordonnées) */
@media (min-width: 961px) {
  .nfc-stage-wrapper {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 28px;
    align-items: stretch;
  }

  .nfc-top-bar {
    grid-column: 1 / -1;
    margin-bottom: 12px;
  }

  .nfc-card-container {
    width: 100%;
    height: 100%;
  }

  .nfc-card-container .identity-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  body.nfc-page .contact-details-panel {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    margin-top: 0;
  }

  .nfc-quick-bar-mobile {
    display: none !important;
  }
}

/* Floating Toast Notification for Link Copying */
.nfc-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(20, 20, 26, 0.95);
  border: 1px solid var(--color-yellow);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 212, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s var(--ease-luxury);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nfc-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nfc-toast-icon {
  color: var(--color-yellow);
  display: flex;
  align-items: center;
}

/* =========================================================
   4D / 3D LUXURY BACKGROUND CANVAS & PARALLAX DEPTH
   ========================================================= */
.luxury-4d-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* =========================================================
   CINEMATIC LUXURY CARD CLICK TRANSITION (PORTAL EFFECT)
   Fast, ultra-responsive, haute-horlogerie tactile animation
   ========================================================= */
.card-portal-active {
  z-index: 60 !important;
  transform: scale3d(1.028, 1.028, 1.028) translateY(-4px) !important;
  box-shadow:
    0 0 0 1.5px rgba(255, 242, 194, 0.95),
    0 0 35px rgba(247, 190, 25, 0.65),
    0 0 70px rgba(212, 175, 55, 0.35),
    0 20px 45px rgba(0, 0, 0, 0.9) !important;
  border-color: rgba(255, 235, 160, 1) !important;
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.16s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.16s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

/* High-velocity specular diamond-cut gold laser sweep across clicked card */
.card-portal-active::after {
  content: '';
  position: absolute;
  inset: -100% -60%;
  background: linear-gradient(
    112deg,
    transparent 20%,
    rgba(255, 242, 194, 0.2) 38%,
    rgba(255, 255, 255, 0.95) 48%,
    rgba(247, 190, 25, 0.95) 52%,
    rgba(212, 175, 55, 0.4) 60%,
    transparent 75%
  );
  transform: translateX(-120%) rotate(24deg);
  animation: cardLuxuryLaserSweep 0.16s cubic-bezier(0.1, 0.8, 0.25, 1) forwards;
  pointer-events: none;
  z-index: 100;
  border-radius: inherit;
}

/* Subtle luminous golden radial pulse ring inside card */
.card-portal-active::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 30px rgba(247, 190, 25, 0.5);
  pointer-events: none;
  z-index: 99;
  animation: cardLuxuryPulse 0.16s ease-out forwards;
}

@keyframes cardLuxuryLaserSweep {
  0% {
    transform: translateX(-120%) rotate(24deg);
    opacity: 0.3;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateX(120%) rotate(24deg);
    opacity: 0;
  }
}

@keyframes cardLuxuryPulse {
  0% {
    opacity: 0.2;
    transform: scale(0.97);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
}

/* Surrounding elements graceful dimming - fast, smooth, zero blur lag */
body.body-portal-active .intro-section,
body.body-portal-active .site-header,
body.body-portal-active .site-footer {
  opacity: 0.32;
  transition: opacity 0.14s ease-out;
  pointer-events: none;
}

body.body-portal-active .featured-card-wrapper:not(:has(.card-portal-active)),
body.body-portal-active .team-card-wrapper:not(:has(.card-portal-active)) {
  opacity: 0.28;
  transform: scale(0.985);
  transition: opacity 0.14s ease-out, transform 0.14s ease-out;
  pointer-events: none;
}

/* Atmospheric champagne vignette flash */
.portal-flash-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at var(--portal-x, 50%) var(--portal-y, 50%),
    rgba(247, 190, 25, 0.16) 0%,
    rgba(7, 7, 10, 0.55) 45%,
    rgba(7, 7, 10, 0.96) 100%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.09s ease-out;
}

.portal-flash-overlay.is-active {
  opacity: 1;
}

/* =========================================================
   LEMONMIND BRAND SIGNATURE INTRO ANIMATION
   Luxurious, minimal, cinematic logo reveal on page load/refresh
   ========================================================= */

.brand-intro-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #07070a;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.brand-intro-overlay.is-hiding {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  pointer-events: none;
}

/* Subtle ambient spotlight behind logo */
.brand-intro-ambient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(550px, 90vw);
  height: min(550px, 90vw);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.16) 0%,
    rgba(212, 175, 55, 0.05) 45%,
    transparent 70%
  );
  filter: blur(50px);
  pointer-events: none;
  opacity: 0;
  animation: brandIntroAmbientFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

@keyframes brandIntroAmbientFade {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.brand-intro-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Logo container with blur-to-sharp & subtle scale reveal */
.brand-intro-logo-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: var(--radius-md);
  opacity: 0;
  transform: scale(0.95);
  filter: blur(8px) drop-shadow(0 0 30px rgba(212, 175, 55, 0.15));
  animation: brandIntroLogoReveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes brandIntroLogoReveal {
  0% {
    opacity: 0;
    transform: scale(0.95);
    filter: blur(8px) drop-shadow(0 0 10px rgba(212, 175, 55, 0));
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px) drop-shadow(0 0 25px rgba(212, 175, 55, 0.25));
  }
}

.brand-intro-logo {
  width: min(250px, 72vw);
  max-height: 150px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Moving gold studio reflection sweep */
.brand-intro-gold-sweep {
  position: absolute;
  inset: -60%;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 242, 194, 0.3) 44%,
    rgba(255, 212, 0, 0.8) 49%,
    rgba(255, 255, 255, 0.95) 51%,
    rgba(255, 212, 0, 0.75) 54%,
    transparent 68%
  );
  transform: translateX(-130%) rotate(22deg);
  opacity: 0;
  pointer-events: none;
  animation: brandIntroGoldSweep 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s forwards;
  mix-blend-mode: screen;
}

@keyframes brandIntroGoldSweep {
  0% {
    transform: translateX(-130%) rotate(22deg);
    opacity: 0;
  }
  20% {
    opacity: 0.95;
  }
  80% {
    opacity: 0.95;
  }
  100% {
    transform: translateX(130%) rotate(22deg);
    opacity: 0;
  }
}

/* Tagline reveal */
.brand-intro-tagline {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-grey-400);
  opacity: 0;
  transform: translateY(6px);
  animation: brandIntroTaglineFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.95s forwards;
}

@keyframes brandIntroTaglineFade {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 0.85;
    transform: translateY(0);
  }
}

/* Accessibility: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .brand-intro-ambient,
  .brand-intro-gold-sweep {
    animation: none;
    display: none;
  }
  .brand-intro-logo-wrapper {
    animation: brandIntroReducedReveal 0.4s ease forwards;
    filter: none;
    transform: none;
  }
  .brand-intro-tagline {
    animation: brandIntroReducedReveal 0.4s ease 0.3s forwards;
    transform: none;
  }
  @keyframes brandIntroReducedReveal {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  .brand-intro-overlay.is-hiding {
    transition: opacity 0.3s ease;
    transform: none;
  }
}

/* =========================================================
   NFC PROFILE PAGES — EQUIPE HTML SPECIFIC STYLES
   ========================================================= */

/* NFC page body tweaks */
.nfc-page {
  background: var(--color-white);
}

.nfc-experience {
  position: relative;
}

/* Ambient spotlight glow behind the card */
.nfc-ambient-spotlight {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Stage wrapper — contains everything on the NFC page */
.nfc-stage-wrapper {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* Top bar (back btn + NFC pill) */
.nfc-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* NFC status pill */
.nfc-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--color-grey-100);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-grey-800);
}

.nfc-live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: nfcPulse 2s ease-in-out infinite;
}

@keyframes nfcPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(34, 197, 94, 0.6); }
  50% { opacity: 0.5; box-shadow: 0 0 16px rgba(34, 197, 94, 0.9); }
}

.nfc-icon-contactless {
  width: 16px;
  height: 16px;
}

/* Card container in NFC page */
.nfc-card-container {
  max-width: 440px;
}

/* =========================================================
   NFC PAGE — CONTACT DETAILS PANEL & LUXURY TILES
   ========================================================= */

.contact-details-panel {
  background: var(--color-grey-50);
  border: 2px solid var(--color-grey-200);
  border-radius: var(--radius-xl);
  padding: 38px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-section-title {
  font-family: var(--font-heading);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  color: var(--color-black);
}

.contact-title-with-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-black);
}

.contact-title-with-badge .gold-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-yellow);
  box-shadow: 0 0 10px var(--color-yellow);
}

.luxury-coords-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.luxury-coords-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.luxury-coord-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  background: #ffffff;
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.luxury-coord-tile:hover {
  border-color: var(--color-black);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.luxury-coord-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-grey-100);
  border: 1px solid var(--color-grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.luxury-coord-tile:hover .luxury-coord-icon {
  background: var(--color-black);
  color: var(--color-yellow);
  border-color: var(--color-black);
  transform: scale(1.05);
}

.luxury-coord-icon svg {
  width: 17px;
  height: 17px;
}

.luxury-coord-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.luxury-coord-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-grey-600);
}

.luxury-coord-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-black);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
  transition: color 0.18s ease;
}

.luxury-coord-value:hover {
  color: #c9972b;
}

.luxury-coord-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.luxury-tile-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--color-grey-200);
  background: var(--color-grey-100);
  color: var(--color-black);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.luxury-tile-action-btn svg {
  width: 14px;
  height: 14px;
}

.luxury-tile-action-btn.call:hover {
  background: var(--color-yellow);
  color: #000000;
  border-color: var(--color-yellow);
  box-shadow: 0 0 14px rgba(255, 212, 0, 0.45);
  transform: scale(1.1);
}

.luxury-tile-action-btn.whatsapp:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
  box-shadow: 0 0 14px rgba(37, 211, 102, 0.45);
  transform: scale(1.1);
}

.luxury-tile-action-btn.mail:hover {
  background: var(--color-black);
  color: #ffffff;
  border-color: var(--color-black);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.25);
  transform: scale(1.1);
}

.luxury-tile-action-btn.web:hover {
  background: var(--color-black);
  color: #ffffff;
  border-color: var(--color-black);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.25);
  transform: scale(1.1);
}

.luxury-coord-footer {
  display: flex;
  width: 100%;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--color-grey-200);
}

.luxury-action-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--color-grey-300);
  background: var(--color-black);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.luxury-action-pill svg {
  width: 14px;
  height: 14px;
}

.luxury-action-pill:hover {
  background: var(--color-yellow);
  color: var(--color-black);
  border-color: var(--color-yellow);
  box-shadow: 0 5px 18px rgba(255, 212, 0, 0.35);
  transform: translateY(-2px);
}

.luxury-action-pill.share-btn {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-grey-300);
}

.luxury-action-pill.share-btn:hover {
  background: var(--color-grey-100);
  border-color: var(--color-black);
  color: var(--color-black);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1);
}

/* =========================================================
   NFC MOBILE QUICK ACTION BAR (Floating bottom bar)
   ========================================================= */
.nfc-quick-bar-mobile {
  display: none; /* Hidden on desktop by default */
}

/* =========================================================
   NFC PAGE — DESKTOP LAYOUT (Side-by-side card + details)
   ========================================================= */
@media (min-width: 961px) {
  .nfc-stage-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
  }

  .nfc-top-bar {
    grid-column: 1 / -1;
  }

  .nfc-card-container {
    max-width: none;
  }

  .contact-details-panel {
    display: flex !important;
    height: 100%;
  }

  .nfc-quick-bar-mobile {
    display: none !important;
  }
}

/* =========================================================
   NFC PAGE — MOBILE LAYOUT (Card stacked, quick bar docked)
   ========================================================= */
@media (max-width: 960px) {
  .nfc-stage-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nfc-card-container {
    max-width: 100%;
  }

  /* Hide Coordonnées on mobile, rely on quick bar */
  .contact-details-panel {
    display: none !important;
  }

  /* Show the mobile quick action bar */
  .nfc-quick-bar-mobile {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: center;
    gap: 8px;
  }

  .nfc-quick-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
  }

  .nfc-quick-action-item svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.3;
  }

  .nfc-quick-action-item:active,
  .nfc-quick-action-item:hover {
    color: #ffffff;
    transform: scale(1.05);
  }

  .nfc-quick-action-item.call:active,
  .nfc-quick-action-item.call:hover {
    color: var(--color-yellow);
  }

  .nfc-quick-action-item.whatsapp:active,
  .nfc-quick-action-item.whatsapp:hover {
    color: #25d366;
  }

  .nfc-quick-action-item.vcard:active,
  .nfc-quick-action-item.vcard:hover {
    color: var(--color-yellow);
  }

  .nfc-quick-action-item.share:active,
  .nfc-quick-action-item.share:hover {
    color: #ffffff;
  }

  /* Add bottom padding so content doesn't hide behind quick bar */
  .nfc-experience {
    padding-bottom: 90px;
  }
}

/* NFC Page compact phone adjustments */
@media (max-width: 390px) {
  .nfc-status-pill {
    font-size: 9px;
    padding: 5px 10px;
    gap: 6px;
  }

  .nfc-ambient-spotlight {
    width: 280px;
    height: 280px;
  }
}



