/* ═══════════════════════════════════════════════════
   ByMobility – Premium Showcase
   Vanilla CSS (converted from SCSS tokens + mixins)
   ═══════════════════════════════════════════════════ */

/* ─── Fonts chargées via <link> dans le HTML ─── */

/* ─── Custom Properties (Design Tokens) ─── */
:root {
  /* Colors - Palette Luxe Lumineux */
  /* Backgrounds clairs et élégants */
  --cream-50: #fdfcfa;
  --cream-100: #faf8f4;
  --cream-200: #f5f1ea;
  --cream-300: #ede7db;
  --sand-100: #f9f6f1;
  --sand-200: #f0ebe3;

  /* Navy doux - utilisé avec parcimonie pour les accents */
  --navy-50: #f7f9fc;
  --navy-100: #e8edf5;
  --navy-200: #d1dcea;
  --navy-300: #a8bbdb;
  --navy-500: #4a6ba3;
  --navy-700: #2c4570;
  --navy-900: #1a2b4a;

  /* Or champagne/rose - plus doux et raffiné */
  --gold-200: #f5e6d3;
  --gold-300: #e8d4b8;
  --gold-400: #d9c3a0;
  --gold-500: #c5a572;
  --gold-600: #b08d5b;
  --gold-700: #9a7548;

  --white: #ffffff;
  --black: #000000;

  /* Textes sur fond clair */
  --text-primary: #2c3e50;
  --text-secondary: #546e7a;
  --text-muted: #78909c;
  --text-light: #b0bec5;
  --text-on-dark: #fdfcfa;

  /* Typography */
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-display: "Cinzel", Georgia, serif;
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.75rem;
  --fs-7xl: 4.5rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1280px;
  --container-padding: 1.5rem;

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  --shadow-gold: 0 4px 20px rgba(201, 169, 110, 0.3);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 300ms;
  --duration-normal: 450ms;
  --duration-slow: 750ms;
  --duration-reveal: 1100ms;

  /* Z-index */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 50;
  --z-overlay: 100;
  --z-modal: 200;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

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

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

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

p {
  overflow-wrap: break-word;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-secondary);
}

::selection {
  background-color: var(--gold-200);
  color: var(--navy-700);
}

/* ─── Typography Scale ─── */
h1 {
  font-size: var(--fs-5xl);
}
h2 {
  font-size: var(--fs-3xl);
}
h3 {
  font-size: var(--fs-2xl);
}
h4 {
  font-size: var(--fs-xl);
}

@media (min-width: 768px) {
  h1 {
    font-size: var(--fs-6xl);
  }
  h2 {
    font-size: var(--fs-4xl);
  }
  h3 {
    font-size: var(--fs-3xl);
  }
  h4 {
    font-size: var(--fs-2xl);
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: var(--fs-7xl);
  }
  h2 {
    font-size: var(--fs-5xl);
  }
}

/* ─── Utilities ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.section {
  padding-block: var(--space-16);
}

@media (min-width: 768px) {
  .section {
    padding-block: var(--space-20);
  }
}

@media (min-width: 1024px) {
  .section {
    padding-block: var(--space-24);
  }
}

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

.bg-cream-50 {
  background-color: var(--cream-50);
}
.bg-cream-100 {
  background-color: var(--cream-100);
}
.bg-cream-200 {
  background-color: var(--cream-200);
}
.bg-sand-100 {
  background-color: var(--sand-100);
}
.bg-navy-100 {
  background-color: var(--navy-100);
}
.bg-navy-700 {
  background-color: var(--navy-700);
}
.bg-navy-900 {
  background-color: var(--navy-900);
}

.text-on-dark {
  color: var(--text-on-dark);
}
.text-on-dark h1,
.text-on-dark h2,
.text-on-dark h3,
.text-on-dark h4 {
  color: var(--white);
}
.text-on-dark p {
  color: var(--text-on-dark);
}

.text-gold {
  color: var(--gold-600);
}

.gold-gradient-text {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.micro-label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-600);
}

/* ─── Keyframes ─── */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slide-left {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-right {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scroll-indicator {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(8px);
    opacity: 0.5;
  }
}

/* ─── Reveal on Scroll — pure transition, bidirectional ─── */
.reveal {
  opacity: 0;
  transition:
    opacity var(--duration-reveal) var(--ease-out),
    transform var(--duration-reveal) var(--ease-out);
  transition-delay: 0ms; /* exit: no delay */
}

.reveal--fade-up {
  transform: translateY(18px);
}
.reveal--slide-left {
  transform: translateX(40px);
}
.reveal--slide-right {
  transform: translateX(-40px);
}
.reveal--scale-in {
  transform: scale(0.95);
}
.reveal--fade-in {
  transform: none;
}

/* Enter state — delay only on entry */
.reveal.in-view {
  opacity: 1;
  transform: none;
  transition-delay: var(--delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ═══════════════════════════════════════════
   COMPONENTS
   ═══════════════════════════════════════════ */

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition:
    background-color var(--duration-normal) var(--ease-out),
    color var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    transform var(--duration-normal) var(--ease-out);
}

.btn:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

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

.btn--primary {
  background: linear-gradient(
    135deg,
    var(--gold-400),
    var(--gold-500),
    var(--gold-600)
  );
  color: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.2) 45%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.2) 55%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform var(--duration-slow) var(--ease-out);
}

.btn--primary:hover::after {
  transform: translateX(100%);
}

.btn--primary:hover {
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--gold-600);
  color: var(--navy-900);
}

.btn--outline:hover {
  background: var(--gold-600);
  color: var(--white);
  border-color: var(--gold-600);
}

/* ─── Section Heading ─── */
.section-heading {
  margin-bottom: var(--space-12);
  text-align: center;
}

@media (min-width: 768px) {
  .section-heading {
    margin-bottom: var(--space-16);
  }
}

.section-heading__label {
  display: block;
  margin-bottom: var(--space-3);
}

.section-heading__title {
  margin-bottom: var(--space-4);
}

.section-heading__subtitle {
  font-size: var(--fs-lg);
  max-width: 600px;
  margin-inline: auto;
}

.section-heading--left {
  text-align: left;
}

.section-heading--left .section-heading__subtitle {
  margin-inline: 0;
}

.section-heading--light .section-heading__title {
  color: var(--white);
}

.section-heading--light .section-heading__subtitle {
  color: var(--text-on-dark);
}

/* ─── Gold Separator ─── */
.gold-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.section-heading--left .gold-separator {
  justify-content: flex-start;
}

.gold-separator .line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold-500);
}

.gold-separator .diamond {
  color: var(--gold-500);
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

/* ─── Star Rating ─── */
.stars {
  display: flex;
  gap: 2px;
}

.star {
  color: var(--cream-300);
  width: 18px;
  height: 18px;
}

.star.filled {
  color: var(--gold-500);
}

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-6) 0;
  background-color: transparent;
  transition:
    padding var(--duration-normal) var(--ease-out),
    background-color var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
  background-color: rgba(253, 252, 250, 0.98);
  backdrop-filter: blur(12px);
  padding: var(--space-3) 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.navbar__logo .logo-text {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--white);
  transition: color var(--duration-normal) var(--ease-out);
}

.navbar.scrolled .navbar__logo .logo-text {
  color: var(--navy-900);
}

.navbar__logo .logo-accent {
  color: var(--gold-400);
  transition: color var(--duration-normal) var(--ease-out);
}

.navbar.scrolled .navbar__logo .logo-accent {
  color: var(--gold-600);
}

.navbar__actions {
  display: block;
}

/* ─── Mobile Menu ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(253, 252, 250, 0.98);
  backdrop-filter: blur(20px);
  animation: fade-in 300ms var(--ease-out);
  display: none;
}

.mobile-menu.active {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: var(--space-20) var(--space-6);
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.mobile-menu__links li {
  opacity: 0;
  animation: fade-up 400ms var(--ease-out) forwards;
}

.mobile-menu__links li:nth-child(1) {
  animation-delay: 50ms;
}
.mobile-menu__links li:nth-child(2) {
  animation-delay: 100ms;
}
.mobile-menu__links li:nth-child(3) {
  animation-delay: 150ms;
}
.mobile-menu__links li:nth-child(4) {
  animation-delay: 200ms;
}
.mobile-menu__links li:nth-child(5) {
  animation-delay: 250ms;
}
.mobile-menu__links li:nth-child(6) {
  animation-delay: 300ms;
}
.mobile-menu__links li:nth-child(7) {
  animation-delay: 350ms;
}
.mobile-menu__links li:nth-child(8) {
  animation-delay: 400ms;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--navy-900);
  transition: color var(--duration-normal) var(--ease-out);
}

.mobile-menu__link:hover {
  color: var(--gold-600);
}

.mobile-menu__cta {
  margin-top: var(--space-10);
  opacity: 0;
  animation: fade-up 400ms var(--ease-out) forwards;
  animation-delay: 500ms;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Lens flare — points lumineux alignés comme le soleil sur une vitre */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    /* Source solaire — halo chaud diffus en haut à droite */
    radial-gradient(
      ellipse 140px 140px at 82% 8%,
      rgba(255, 248, 220, 0.7) 0%,
      transparent 100%
    ),
    /* Couronne autour de la source */
    radial-gradient(
        ellipse 120px 120px at 76% 20%,
        rgba(255, 248, 220, 0.5) 0%,
        transparent 100%
      ),
    /* Reflet 1 — petit point vif */
    radial-gradient(
        circle 7px at 76% 20%,
        rgba(255, 255, 255, 0.82) 0%,
        transparent 100%
      ),
    /* Couronne autour de la source */
    radial-gradient(
        ellipse 80px 80px at 70% 30%,
        rgba(255, 248, 220, 0.3) 0%,
        transparent 100%
      ),
    /* Reflet 1 — petit point vif */
    radial-gradient(
        circle 7px at 70% 30%,
        rgba(255, 255, 255, 0.82) 0%,
        transparent 100%
      );
}

.hero__bg {
  position: absolute;
  inset: -28% 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  /* Fond vitré — blanc très léger */
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.13) 50%,
    rgba(255, 255, 255, 0.22) 100%
  );

  /* Verre dépoli : flou de l'image en arrière-plan */
  backdrop-filter: blur(10px) saturate(0.8) brightness(1.04);
  -webkit-backdrop-filter: blur(20px) saturate(0.8) brightness(1.04);

  /* Épaisseur de vitre — bords luminescents sur les 4 côtés */
  box-shadow:
    /* Ligne fine lumineuse sur chaque bord */
    inset 0 2px 0 rgba(255, 255, 255, 0.72),
    inset 0 -2px 0 rgba(255, 255, 255, 0.52),
    inset 2px 0 0 rgba(255, 255, 255, 0.52),
    inset -2px 0 0 rgba(255, 255, 255, 0.38),
    /* Halo lumineux derrière chaque ligne */ inset 0 8px 16px -4px
      rgba(255, 255, 255, 0.38),
    inset 0 -8px 16px -4px rgba(255, 255, 255, 0.26),
    inset 8px 0 16px -4px rgba(255, 255, 255, 0.26),
    inset -8px 0 16px -4px rgba(255, 255, 255, 0.18);
}

/* Grain physique — texture de verre */
.hero__overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23grain)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.4;
  mix-blend-mode: soft-light;
  pointer-events: none;
  border-radius: inherit;
}

/* Reflet spéculaire + vignette profondeur */
.hero__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* Vignette coins — profondeur de champ */
    radial-gradient(
      ellipse 88% 75% at 50% 50%,
      transparent 38%,
      rgba(18, 28, 48, 0.22) 100%
    ),
    /* Reflet spéculaire diagonal — lustre de verre */
    linear-gradient(
        148deg,
        rgba(255, 255, 255, 0.42) 0%,
        rgba(255, 255, 255, 0.1) 12%,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0) 78%,
        rgba(255, 255, 255, 0.09) 100%
      );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-24) var(--space-6) var(--space-16);
  max-width: 900px;
  animation: fade-up var(--duration-reveal) var(--ease-out);
}

.hero__label {
  display: block;
  margin-bottom: var(--space-6);
  font-size: var(--fs-sm);
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 400;
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-6);
  text-shadow:
    0 1px 4px rgba(255, 255, 255, 0.55),
    0 2px 12px rgba(255, 255, 255, 0.35);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: var(--fs-5xl);
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: var(--fs-6xl);
    letter-spacing: 0.01em;
  }
}

.hero__title .gold {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 1.15em;
  color: var(--gold-600);
  letter-spacing: 0;
}

.hero__subtitle {
  font-size: var(--fs-base);
  color: var(--text-primary);
  line-height: 1.75;
  max-width: 650px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  text-shadow:
    0 1px 3px rgba(255, 255, 255, 0.9),
    0 2px 8px rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: var(--fs-lg);
  }
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 640px) {
  .hero__ctas {
    flex-direction: row;
    justify-content: center;
  }
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.scroll-text {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-900);
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.9),
    0 1px 3px rgba(255, 255, 255, 0.7);
}

.scroll-line {
  width: 2px;
  height: 44px;
  background: linear-gradient(180deg, var(--gold-500) 0%, var(--gold-600) 100%);
  box-shadow:
    0 0 8px rgba(197, 165, 114, 0.7),
    0 0 2px rgba(197, 165, 114, 1);
  animation: scroll-indicator 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════ */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-300);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  transition:
    transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

@media (min-width: 768px) {
  .service-card {
    padding: var(--space-10);
  }
}

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

.service-card__header {
  margin-bottom: var(--space-6);
}

.service-card__title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-2);
  color: var(--navy-900);
}

.service-card__subtitle {
  margin-bottom: var(--space-4);
}

.service-card__commission {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.commission-value {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
}

.commission-label {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
}

.service-card__desc {
  margin-bottom: var(--space-6);
  line-height: 1.8;
  color: var(--text-secondary);
}

.service-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex: 1;
}

.service-card__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-primary);
}

.service-card__features li svg {
  color: var(--gold-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-card__cta {
  margin-top: auto;
}

/* ═══════════════════════════════════════════
   WHY BYMOBILITY
   ═══════════════════════════════════════════ */
.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

@media (min-width: 1024px) {
  .why__grid {
    gap: var(--space-8);
  }
}

.advantage-card {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--cream-300);
  transition:
    border-color var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

.advantage-card:hover {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
}

.advantage-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gold-200);
  color: var(--gold-600);
  margin-bottom: var(--space-5);
}

.advantage-card__title {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-3);
  color: var(--navy-900);
}

.advantage-card__desc {
  font-size: var(--fs-sm);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════
   KEY METRICS
   ═══════════════════════════════════════════ */
.metrics {
  text-align: center;
}

.metrics__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 768px) {
  .metrics__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.counter {
  font-family: var(--font-heading);
  font-size: var(--fs-5xl);
  font-weight: 700;
  line-height: 1;
}

@media (min-width: 768px) {
  .counter {
    font-size: var(--fs-6xl);
  }
}

.metric__label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 280px;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */
.testimonials__carousel {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: 800px;
  margin-inline: auto;
}

.carousel-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 1px solid var(--cream-300);
  color: var(--text-dark);
  flex-shrink: 0;
  transition:
    border-color var(--duration-normal) var(--ease-out),
    color var(--duration-normal) var(--ease-out),
    background-color var(--duration-normal) var(--ease-out);
}

@media (min-width: 768px) {
  .carousel-btn {
    display: flex;
  }
}

.carousel-btn:hover {
  border-color: var(--gold-500);
  color: var(--gold-500);
  background: rgba(201, 169, 110, 0.05);
}

.carousel-track {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

@media (min-width: 768px) {
  .carousel-track {
    min-height: 280px;
  }
}

.testimonial-card {
  position: absolute;
  inset: 0;
  padding: var(--space-8);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
  pointer-events: none;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.quote-mark {
  color: var(--gold-300);
  margin-bottom: var(--space-4);
  width: 32px;
  height: 26px;
}

.testimonial-card__content {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  flex: 1;
}

@media (min-width: 768px) {
  .testimonial-card__content {
    font-size: var(--fs-lg);
  }
}

.testimonial-card__footer {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.testimonial-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--navy-900);
}

.testimonial-card__role {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--cream-300);
  border: none;
  cursor: pointer;
  transition:
    background-color var(--duration-normal) var(--ease-out),
    transform var(--duration-normal) var(--ease-out);
}

.dot.active {
  background: var(--gold-500);
  transform: scale(1.2);
}

.dot:hover:not(.active) {
  background: var(--gold-400);
}

/* ═══════════════════════════════════════════
   PROCESS (Timeline)
   ═══════════════════════════════════════════ */
.process__timeline {
  position: relative;
  padding-left: 0;
  max-width: 800px;
  margin-inline: auto;
}

.timeline-line {
  position: absolute;
  left: 25px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--gold-500),
    rgba(201, 169, 110, 0.2)
  );
}

@media (min-width: 768px) {
  .timeline-line {
    left: 32px;
  }
}

.timeline-step {
  display: flex;
  gap: var(--space-4);
  padding-bottom: var(--space-8);
  position: relative;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .timeline-step {
    gap: var(--space-6);
    padding-bottom: var(--space-12);
  }
}

.timeline-step__marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: linear-gradient(
    135deg,
    var(--gold-400),
    var(--gold-500),
    var(--gold-600)
  );
  flex-shrink: 0;
  z-index: var(--z-base);
  box-shadow: 0 4px 12px rgba(197, 165, 114, 0.3);
}

@media (min-width: 768px) {
  .timeline-step__marker {
    width: 64px;
    height: 64px;
  }
}

.step-number {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--navy-900);
}

@media (min-width: 768px) {
  .step-number {
    font-size: var(--fs-2xl);
  }
}

.timeline-step__content {
  flex: 1;
  padding-top: var(--space-1);
}

@media (min-width: 768px) {
  .timeline-step__content {
    padding-top: var(--space-3);
  }
}

.timeline-step__title {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-3);
  color: var(--navy-900);
  line-height: 1.3;
}

@media (min-width: 768px) {
  .timeline-step__title {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-4);
  }
}

.timeline-step__desc {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .timeline-step__desc {
    font-size: var(--fs-base);
  }
}

/* ═══════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════ */
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  max-width: 900px;
  margin-inline: auto;
}

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

.pricing-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition:
    border-color var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

@media (min-width: 768px) {
  .pricing-card {
    padding: var(--space-10);
  }
}

.pricing-card:hover {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
}

.pricing-card.highlight {
  border-color: var(--gold-500);
  background: var(--gold-200);
  box-shadow: var(--shadow-gold);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    135deg,
    var(--gold-400),
    var(--gold-500),
    var(--gold-600)
  );
  color: var(--navy-900);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
}

.pricing-card__title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-4);
  color: var(--navy-900);
}

.pricing-card__price {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--cream-300);
}

.price-value {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--gold-600);
}

.price-desc {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

.pricing-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex: 1;
}

.pricing-card__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--text-primary);
}

.pricing-card__list li svg {
  color: var(--gold-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card__cta {
  margin-top: auto;
}

/* ═══════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════ */
.team__members {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  max-width: 1000px;
  margin-inline: auto;
}

.member {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 768px) {
  .member {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
  .member.reverse .member__image {
    order: 2;
  }
  .member.reverse .member__info {
    order: 1;
    text-align: right;
  }
}

.member__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 6;
}

.member__image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold-300);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.member__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.member__image:hover img {
  transform: scale(1.03);
}

.member__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.member__name {
  font-size: var(--fs-2xl);
  color: var(--navy-900);
}

.member__role {
  /* uses .micro-label class */
}

.member__bio {
  margin-top: var(--space-2);
  font-size: var(--fs-base);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════════ */
.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

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

@media (min-width: 1024px) {
  .portfolio__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
  }
  .property-card.large {
    grid-column: span 2;
  }
}

.property-card__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 250px;
}

.property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.property-card__image:hover img {
  transform: scale(1.05);
}

.property-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(7, 14, 26, 0.85) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.property-card__image:hover .property-card__overlay {
  opacity: 1;
}

.property-card__type {
  font-size: 0.65rem;
  margin-bottom: var(--space-2);
}

.property-card__title-text {
  font-size: var(--fs-xl);
  color: var(--white);
  margin-bottom: var(--space-1);
}

.property-card__location {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
  }
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--cream-300);
}

.contact__item svg {
  color: var(--gold-500);
  flex-shrink: 0;
}

.contact__item a,
.contact__item span {
  font-size: var(--fs-sm);
  color: var(--text-primary);
  transition: color var(--duration-normal) var(--ease-out);
}

.contact__item a:hover {
  color: var(--gold-600);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  background: var(--white);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-300);
  box-shadow: var(--shadow-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--cream-50);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: var(--fs-sm);
  transition:
    border-color var(--duration-normal) var(--ease-out),
    background-color var(--duration-normal) var(--ease-out);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--gold-200);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: var(--space-10);
}

.form-group select option {
  background: var(--white);
  color: var(--text-primary);
}

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

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background-color: var(--navy-900);
  padding: var(--space-20) 0 var(--space-8);
  color: var(--text-on-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

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

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer__brand .logo-text {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--white);
}

.footer__brand .logo-accent {
  color: var(--gold-500);
}

.footer__tagline {
  margin-top: var(--space-4);
  color: var(--text-on-dark);
  font-size: var(--fs-sm);
  line-height: 1.75;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gold-500);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__col li,
.footer__col a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--duration-normal) var(--ease-out);
}

.footer__col a:hover {
  color: var(--gold-500);
}

.footer__bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__bottom p,
.footer__bottom a {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom a:hover {
  color: var(--gold-500);
}

/* ═══════════════════════════════════════════
   MENTIONS LÉGALES
   ═══════════════════════════════════════════ */
.legal {
  padding-top: calc(var(--space-24) + 80px);
  background-color: var(--cream-100);
}

.legal h1 {
  margin-bottom: var(--space-10);
}

.legal__content {
  max-width: 800px;
}

.legal__content h2 {
  font-size: var(--fs-2xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.legal__content p {
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.legal__content a {
  color: var(--gold-500);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--duration-normal) var(--ease-out);
}

.legal__content a:hover {
  color: var(--gold-600);
}

.legal__back {
  display: inline-block;
  margin-top: var(--space-12);
  color: var(--gold-500);
  font-weight: 500;
  transition: color var(--duration-normal) var(--ease-out);
}

.legal__back:hover {
  color: var(--gold-400);
}

/* ═══════════════════════════════════════════════════
   Contact Form – états dynamiques
   ═══════════════════════════════════════════════════ */

/* ─── Wrapper ─── */
.contact__form-wrapper {
  position: relative;
}

/* ─── Honeypot (invisible pour les humains) ─── */
.contact__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  tab-size: 0;
}

/* ─── Bannière d'erreur ─── */
.form-banner {
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  overflow: hidden;
  max-height: 0;
  padding: 0 1rem;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    max-height 0.35s ease,
    padding 0.3s ease,
    margin-bottom 0.3s ease;
  margin-bottom: 0;
}
.form-banner.visible {
  max-height: 6rem;
  padding: 0.75rem 1rem;
  opacity: 1;
  margin-bottom: 1.25rem;
}
.form-banner--error {
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.22);
  color: #c42b2b;
}

/* ─── Animation shake ─── */
@keyframes form-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-7px);
  }
  40% {
    transform: translateX(7px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}
.form-banner.shake {
  animation: form-shake 0.42s ease;
}

/* ─── Bouton – état chargement ─── */
.btn--loading {
  opacity: 0.68;
  cursor: not-allowed !important;
  pointer-events: none;
}

/* ─── Spinner inline ─── */
@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}
.btn-spinner {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.65s linear infinite;
  vertical-align: -3px;
  margin-right: 8px;
  flex-shrink: 0;
}

/* ─── Panneau de succès ─── */
.contact__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
  gap: 1.1rem;
  opacity: 0;
  transform: scale(0.95) translateY(18px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.contact__success.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

/* Icône cercle doré */
.contact__success__icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(201, 169, 110, 0.12),
    rgba(201, 169, 110, 0.04)
  );
  border: 1.5px solid rgba(201, 169, 110, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400, #c9a96e);
  flex-shrink: 0;
  animation: icon-pop 0.5s 0.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes icon-pop {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.contact__success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900, #0b1528);
  margin: 0;
}
.contact__success p {
  color: var(--navy-600, #445068);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  max-width: 26rem;
}

/* ═══════════════════════════════════════════
   LUXURY ANIMATION ENHANCEMENT LAYER
   ═══════════════════════════════════════════ */

/* ─── Gold separator — line draw from center ─── */
/* Gold separator — pure transitions, bidirectional */
.gold-separator .line {
  transform: scaleX(0);
  opacity: 0;
  transition:
    transform 700ms var(--ease-out),
    opacity 700ms var(--ease-out);
  transition-delay: 0ms; /* exit: no delay */
}

.gold-separator .line:first-child {
  transform-origin: right center;
}

.gold-separator .line:last-child {
  transform-origin: left center;
}

.gold-separator .diamond {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out);
  transition-delay: 0ms;
}

/* Enter state with staggered delays */
.reveal.in-view .gold-separator .line:first-child {
  transform: scaleX(1);
  opacity: 1;
  transition-delay: 300ms;
}

.reveal.in-view .gold-separator .line:last-child {
  transform: scaleX(1);
  opacity: 1;
  transition-delay: 420ms;
}

.reveal.in-view .gold-separator .diamond {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  transition-delay: 180ms;
}

/* ─── Advantage card — add lift to existing transition ─── */
.advantage-card {
  transition:
    border-color var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    transform var(--duration-normal) var(--ease-out);
}

.advantage-card:hover {
  transform: translateY(-6px);
}

/* ─── Timeline step — horizontal slide on hover ─── */
.timeline-step {
  transition: transform var(--duration-normal) var(--ease-out);
}

.timeline-step:hover {
  transform: translateX(8px);
}

/* ─── Service card hover — gold accent inset shadow ─── */
.service-card:hover {
  transform: translateY(-4px);
  box-shadow:
    var(--shadow-xl),
    inset 3px 0 0 var(--gold-500);
}

/* ─── Button outline — smooth fill with sliding background ─── */
.btn--outline {
  background-image: linear-gradient(
    to right,
    var(--gold-600) 50%,
    transparent 50%
  );
  background-size: 200% 100%;
  background-position: right center;
  transition:
    background-position var(--duration-slow) var(--ease-out),
    color var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

.btn--outline:hover {
  background-image: linear-gradient(
    to right,
    var(--gold-600) 50%,
    transparent 50%
  );
  background-size: 200% 100%;
  background-position: left center;
  background-color: transparent;
  color: var(--white);
  border-color: var(--gold-600);
}

/* ─── Testimonial card slight warmth on hover ─── */
.testimonial-card.active {
  box-shadow: 0 6px 28px rgba(197, 165, 114, 0.15);
}

/* ─── Custom luxury cursor ─── */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(197, 165, 114, 0.65);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  transition:
    width 220ms var(--ease-out),
    height 220ms var(--ease-out),
    border-color 220ms var(--ease-out),
    opacity 220ms var(--ease-out);
  mix-blend-mode: multiply;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--gold-500);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  will-change: transform;
  transition: transform 50ms linear;
}

.cursor-ring.cursor--hover {
  width: 52px;
  height: 52px;
  border-color: rgba(197, 165, 114, 0.9);
}

.cursor-ring.cursor--hidden {
  opacity: 0;
}

/* Hide custom cursor on touch devices */
@media (hover: none) {
  .cursor-ring,
  .cursor-dot {
    display: none;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE STYLES FOR SMALL SCREENS (<450px)
   ═══════════════════════════════════════════ */

@media (max-width: 450px) {
  /* Reduce container padding on very small screens */
  .container {
    padding-inline: var(--space-4);
  }

  /* Navbar adjustments */
  .navbar {
    padding: var(--space-4) 0;
  }

  .navbar.scrolled {
    padding: var(--space-2) 0;
  }

  .navbar__inner {
    gap: var(--space-2);
  }

  .navbar__logo .logo-text {
    font-size: var(--fs-xl);
    letter-spacing: 0.04em;
  }

  /* Button adjustments */
  .btn {
    padding: var(--space-3) var(--space-5);
    font-size: var(--fs-sm);
    white-space: nowrap;
  }

  .navbar__actions .btn {
    padding: var(--space-2) var(--space-4);
    font-size: var(--fs-xs);
  }

  /* Mobile menu adjustments */
  .mobile-menu__content {
    padding: var(--space-16) var(--space-4);
  }

  .mobile-menu__links {
    gap: var(--space-4);
  }

  .mobile-menu__link {
    font-size: var(--fs-xl);
  }

  /* Hero section adjustments */
  .hero__title {
    font-size: var(--fs-3xl);
  }

  .hero__subtitle {
    font-size: var(--fs-sm);
  }

  .hero__ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* Typography adjustments */
  h1 {
    font-size: var(--fs-3xl);
  }

  h2 {
    font-size: var(--fs-2xl);
  }

  h3 {
    font-size: var(--fs-xl);
  }

  h4 {
    font-size: var(--fs-lg);
  }

  /* Section heading adjustments */
  .section-heading__title {
    font-size: var(--fs-2xl);
  }

  .section-heading__subtitle {
    font-size: var(--fs-sm);
  }

  /* Card adjustments */
  .service-card,
  .advantage-card,
  .pricing-card {
    padding: var(--space-6);
  }

  /* Form adjustments */
  .contact__grid {
    gap: var(--space-8);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: var(--fs-sm);
    padding: var(--space-3);
  }

  /* Footer adjustments */
  .footer__grid {
    gap: var(--space-8);
  }

  /* Reduce overall spacing */
  .section {
    padding-block: var(--space-12);
  }

  /* Counter adjustments */
  .counter {
    font-size: var(--fs-4xl);
  }

  /* Testimonial adjustments */
  .testimonial-card__content {
    font-size: var(--fs-sm);
  }

  /* Timeline adjustments */
  .timeline-step__title {
    font-size: var(--fs-lg);
  }

  .timeline-step__desc {
    font-size: var(--fs-sm);
  }
}
