:root {
  /* Primitive Color Tokens */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgba(245, 245, 245, 1);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgba(31, 33, 33, 1);
  --color-charcoal-800: rgba(38, 40, 40, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);

  /* RGB versions for opacity control */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  --color-slate-500-rgb: 98, 108, 113;
  --color-red-500-rgb: 192, 21, 47;
  --color-red-400-rgb: 255, 84, 89;
  --color-orange-500-rgb: 168, 75, 47;
  --color-orange-400-rgb: 230, 129, 97;

  /* Background color tokens (Light Mode) */
  --color-bg-1: rgba(59, 130, 246, 0.08);
  /* Light blue */
  --color-bg-2: rgba(245, 158, 11, 0.08);
  /* Light yellow */
  --color-bg-3: rgba(34, 197, 94, 0.08);
  /* Light green */
  --color-bg-4: rgba(239, 68, 68, 0.08);
  /* Light red */
  --color-bg-5: rgba(147, 51, 234, 0.08);
  /* Light purple */
  --color-bg-6: rgba(249, 115, 22, 0.08);
  /* Light orange */
  --color-bg-7: rgba(236, 72, 153, 0.08);
  /* Light pink */
  --color-bg-8: rgba(6, 182, 212, 0.08);
  /* Light cyan */

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for opacity control */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* Typography */
  --font-family-base: "DM Sans", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
  :root {
    /* RGB versions for opacity control (Dark Mode) */
    --color-gray-400-rgb: 119, 124, 124;
    --color-teal-300-rgb: 50, 184, 198;
    --color-gray-300-rgb: 167, 169, 169;
    --color-gray-200-rgb: 245, 245, 245;

    /* Background color tokens (Dark Mode) */
    --color-bg-1: rgba(29, 78, 216, 0.15);
    /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15);
    /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15);
    /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15);
    /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15);
    /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15);
    /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15);
    /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15);
    /* Dark cyan */

    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    /* RGB versions for dark mode */
    --color-success-rgb: var(--color-teal-300-rgb);
    --color-error-rgb: var(--color-red-400-rgb);
    --color-warning-rgb: var(--color-orange-400-rgb);
    --color-info-rgb: var(--color-gray-300-rgb);
  }
}

/* Data attribute for manual theme switching */
[data-color-scheme="dark"] {
  /* RGB versions for opacity control (dark mode) */
  --color-gray-400-rgb: 119, 124, 124;
  --color-teal-300-rgb: 50, 184, 198;
  --color-gray-300-rgb: 167, 169, 169;
  --color-gray-200-rgb: 245, 245, 245;

  /* Colorful background palette - Dark Mode */
  --color-bg-1: rgba(29, 78, 216, 0.15);
  /* Dark blue */
  --color-bg-2: rgba(180, 83, 9, 0.15);
  /* Dark yellow */
  --color-bg-3: rgba(21, 128, 61, 0.15);
  /* Dark green */
  --color-bg-4: rgba(185, 28, 28, 0.15);
  /* Dark red */
  --color-bg-5: rgba(107, 33, 168, 0.15);
  /* Dark purple */
  --color-bg-6: rgba(194, 65, 12, 0.15);
  /* Dark orange */
  --color-bg-7: rgba(190, 24, 93, 0.15);
  /* Dark pink */
  --color-bg-8: rgba(8, 145, 178, 0.15);
  /* Dark cyan */

  /* Semantic Color Tokens (Dark Mode) */
  --color-background: var(--color-charcoal-700);
  --color-surface: var(--color-charcoal-800);
  --color-text: var(--color-gray-200);
  --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
  --color-primary: var(--color-teal-300);
  --color-primary-hover: var(--color-teal-400);
  --color-primary-active: var(--color-teal-800);
  --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
  --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
  --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
  --color-border: rgba(var(--color-gray-400-rgb), 0.3);
  --color-error: var(--color-red-400);
  --color-success: var(--color-teal-300);
  --color-warning: var(--color-orange-400);
  --color-info: var(--color-gray-300);
  --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
  --color-btn-primary-text: var(--color-slate-900);
  --color-card-border: rgba(var(--color-gray-400-rgb), 0.15);
  --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
  --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

  /* Common style patterns - updated for dark mode */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for dark mode */
  --color-success-rgb: var(--color-teal-300-rgb);
  --color-error-rgb: var(--color-red-400-rgb);
  --color-warning-rgb: var(--color-orange-400-rgb);
  --color-info-rgb: var(--color-gray-300-rgb);
}

[data-color-scheme="light"] {
  /* RGB versions for opacity control (light mode) */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);

  /* RGB versions for light mode */
  --color-success-rgb: var(--color-teal-500-rgb);
  --color-error-rgb: var(--color-red-500-rgb);
  --color-warning-rgb: var(--color-orange-500-rgb);
  --color-info-rgb: var(--color-slate-500-rgb);
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-family-heading);
  font-weight: 600;
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--font-size-4xl);
}

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

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

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-primary-hover);
}

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

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

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

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

.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-text);
}

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

.btn--secondary:active {
  background: var(--color-secondary-active);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn--outline:hover {
  background: var(--color-secondary);
}

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

.btn--full-width {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
@media (prefers-color-scheme: dark) {
  select.form-control {
    background-image: var(--select-caret-dark);
  }
}

/* Also handle data-color-scheme */
[data-color-scheme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] select.form-control {
  background-image: var(--select-caret-light);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.form-group {
  margin-bottom: var(--space-16);
}

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

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

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(var(--color-success-rgb, 33, 128, 141),
      var(--status-bg-opacity));
  color: var(--color-success);
  border: 1px solid rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(var(--color-error-rgb, 192, 21, 47),
      var(--status-bg-opacity));
  color: var(--color-error);
  border: 1px solid rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(var(--color-warning-rgb, 168, 75, 47),
      var(--status-bg-opacity));
  color: var(--color-warning);
  border: 1px solid rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(var(--color-info-rgb, 98, 108, 113),
      var(--status-bg-opacity));
  color: var(--color-info);
  border: 1px solid rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}

@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

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

.gap-8 {
  gap: var(--space-8);
}

.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}

.mt-8 {
  margin-top: var(--space-8);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}

.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}

.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}

.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}

.hidden {
  display: none;
}

/* Accessibility */
.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;
}

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

/* Dark mode specifics */
[data-color-scheme="dark"] .btn--outline {
  border: 1px solid var(--color-border-secondary);
}

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2') format('woff2');
}

/* END PERPLEXITY DESIGN SYSTEM */
/* Nails By Hayat - Ultra-Modern Futuristic Design */

/* Palette Rose Gold/Dusty Rose/Blush Pink Ultra-Moderne */
:root {
  --primary: #bba998;
  /* Rose Gold */
  --secondary: #bba998;
  /* Dusty Rose */
  --accent: #bba998;
  /* Blush Pink */
  --neutral: #bba998;
  /* Champagne */
  --light: #FEFEFE;
  /* Pearl White */
  --dark: #2C2C2C;
  /* Charcoal */
  --gradient: linear-gradient(135deg, #bba998, #d4c4b5);
  --gradient-animated: linear-gradient(45deg, #bba998, #bba998, #d4c4b5, #bba998);
  --glass: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-neon: 0 0 20px rgba(187, 169, 152, 0.4);
  --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.1);
  --transition-smooth: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --header-height: 86px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: linear-gradient(135deg, #f8f9ff 0%, #fff0f3 100%);
  overflow-x: hidden;
  position: relative;
  width: 100%;
  max-width: 100vw;
}

/* Particules flottantes SVG */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-particle {
  position: absolute;
  opacity: 0.6;
  animation-duration: 20s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.floating-particle.p1 {
  width: 8px;
  height: 8px;
  top: 20%;
  left: 10%;
  animation-name: float1;
}

.floating-particle.p2 {
  width: 12px;
  height: 12px;
  top: 60%;
  left: 80%;
  animation-name: float2;
}

.floating-particle.p3 {
  width: 6px;
  height: 6px;
  top: 80%;
  left: 20%;
  animation-name: float3;
}

.floating-particle.p4 {
  width: 10px;
  height: 10px;
  top: 40%;
  left: 70%;
  animation-name: float4;
}

.floating-particle.p5 {
  width: 14px;
  height: 14px;
  top: 10%;
  left: 60%;
  animation-name: float5;
}

@keyframes float1 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }

  25% {
    transform: translateY(-100px) rotate(90deg);
    opacity: 0.8;
  }

  50% {
    transform: translateY(-200px) rotate(180deg);
    opacity: 0.6;
  }

  75% {
    transform: translateY(-150px) rotate(270deg);
    opacity: 0.9;
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translateX(0) rotate(0deg) scale(1);
  }

  33% {
    transform: translateX(-150px) rotate(120deg) scale(1.2);
  }

  66% {
    transform: translateX(-300px) rotate(240deg) scale(0.8);
  }
}

@keyframes float3 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(200px, -300px) rotate(180deg);
  }
}

@keyframes float4 {

  0%,
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }

  25% {
    transform: translateY(-80px) scale(1.3) rotate(90deg);
  }

  75% {
    transform: translateY(-120px) scale(0.7) rotate(-90deg);
  }
}

@keyframes float5 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.4;
  }

  20% {
    transform: translate(-80px, -160px) rotate(72deg);
    opacity: 0.8;
  }

  40% {
    transform: translate(-160px, -120px) rotate(144deg);
    opacity: 0.6;
  }

  60% {
    transform: translate(-120px, -200px) rotate(216deg);
    opacity: 0.9;
  }

  80% {
    transform: translate(-40px, -180px) rotate(288deg);
    opacity: 0.7;
  }
}

/* Loading Spinner Morphing */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, var(--light) 0%, #f8f0f3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: all 0.8s ease;
  overflow: hidden;
}

.morphing-loader {
  text-align: center;
}

.loader-shape {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--gradient);
  border-radius: 50%;
  position: relative;
  animation: morphLoader 2s ease-in-out infinite;
}

.loader-shape::before,
.loader-shape::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0.6;
  animation: morphLoader 2s ease-in-out infinite;
  animation-delay: 0.3s;
}

.loader-shape::after {
  animation-delay: 0.6s;
  opacity: 0.3;
}

.loader-text {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes morphLoader {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    border-radius: 50%;
  }

  25% {
    transform: scale(1.2) rotate(90deg);
    border-radius: 20%;
  }

  50% {
    transform: scale(0.8) rotate(180deg);
    border-radius: 0%;
  }

  75% {
    transform: scale(1.1) rotate(270deg);
    border-radius: 30%;
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Header Glassmorphism */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 10000;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

/* Header Social Links */
.header-social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.header-social-link {
  width: 40px;
  height: 40px;
  background: rgba(187, 169, 152, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid rgba(187, 169, 152, 0.2);
}

.header-social-link:hover {
  background: var(--gradient);
  color: white;
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 8px 20px rgba(187, 169, 152, 0.3);
}

.header-social-link i {
  font-size: 1.1rem;
}

/* Cacher les liens sociaux mobiles sur desktop */
.mobile-social-links {
  display: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Logo SVG Animé */
.logo-svg {
  width: 200px;
  height: 50px;
  transition: var(--transition-smooth);
}

.logo-svg:hover {
  transform: scale(1.05);
}

.logo-svg text {
  animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% {
    filter: drop-shadow(0 0 5px rgba(187, 169, 152, 0.5));
  }

  100% {
    filter: drop-shadow(0 0 15px rgba(187, 169, 152, 0.8));
  }
}

/* Navigation */
.nav-list {
  display: flex;
  list-style: none;
  gap: clamp(1.5rem, 2.5vw, 3rem);
}

.nav-link {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition-smooth);
  padding: 0.5rem 0;
}

.nav-link::before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--gradient);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  transform: translateY(-2px);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

/* Boutons Morphing avec Ripple Effects */
.morphing-btn {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 25px rgba(187, 169, 152, 0.3);
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.morphing-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.morphing-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(187, 169, 152, 0.4);
}

.morphing-btn:hover::before {
  transform: translateX(100%);
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 10001;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background: var(--primary);
  transition: all 0.3s ease;
  border-radius: 3px;
  display: block;
  position: absolute;
}

.mobile-toggle span:nth-child(1) {
  top: 12px;
}

.mobile-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.mobile-toggle span:nth-child(3) {
  bottom: 12px;
}

.mobile-toggle.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Hero Section avec Gradients Animés */
.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  padding: 0;
}

/* Full-screen background slider */
.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-slider .hero-slider-new {
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.08) 70%, transparent 100%);
  z-index: 2;
}

/* Content wrapper overlaid on top */
.hero-content-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: flex-end;
  padding: 0 4rem 4rem;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.orb1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation-name: orb1Move;
}

.orb2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  bottom: -150px;
  right: -150px;
  animation-name: orb2Move;
}

.orb3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-name: orb3Move;
}

@keyframes orb1Move {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(100px, -50px) scale(1.2);
  }

  50% {
    transform: translate(200px, 100px) scale(0.8);
  }

  75% {
    transform: translate(50px, 150px) scale(1.1);
  }
}

@keyframes orb2Move {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(-150px, -100px) scale(1.3);
  }

  66% {
    transform: translate(-100px, -200px) scale(0.9);
  }
}

/* Hero Slide-in Animations */
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero Visual Effects */
/* HERO LAYOUT - Desktop: full bg image + text overlay bottom-left */
.hero-content {
  text-align: left;
  max-width: 520px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 929px;
  height: 929px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.slider-nav:hover {
  background: var(--gradient);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(187, 169, 152, 0.3);
}

.slider-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

.slider-nav i {
  font-size: 1.2rem;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 2px solid rgba(255, 255, 255, 0.8);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.dot.active {
  background: var(--gradient);
  border-color: white;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.hero-shapes {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 420px;
}

@media (min-width: 1024px) {
  .hero-shapes {
    max-width: none;
  }
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  animation-duration: 10s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  filter: blur(0px);
}

.shape-1 {
  width: clamp(60px, 12vw, 110px);
  height: clamp(60px, 12vw, 110px);
  background: linear-gradient(45deg, var(--primary), var(--accent));
  top: 12%;
  left: 5%;
  animation-name: shape1Float;
}

.shape-2 {
  width: clamp(50px, 10vw, 90px);
  height: clamp(50px, 10vw, 90px);
  background: linear-gradient(45deg, var(--secondary), var(--primary));
  top: 65%;
  right: 5%;
  animation-name: shape2Float;
}

.shape-3 {
  width: clamp(80px, 15vw, 140px);
  height: clamp(80px, 15vw, 140px);
  background: linear-gradient(45deg, var(--accent), var(--neutral));
  bottom: 15%;
  left: 18%;
  animation-name: shape3Float;
}

.shape-4 {
  width: clamp(35px, 7vw, 70px);
  height: clamp(35px, 7vw, 70px);
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  top: 38%;
  left: 60%;
  animation-name: shape4Float;
}

.shape-5 {
  width: clamp(50px, 9vw, 100px);
  height: clamp(50px, 9vw, 100px);
  background: linear-gradient(45deg, var(--neutral), var(--accent));
  bottom: 35%;
  right: 12%;
  animation-name: shape5Float;
}

@keyframes shape1Float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(-15px, -25px) rotate(90deg);
  }

  50% {
    transform: translate(-30px, 5px) rotate(180deg);
  }

  75% {
    transform: translate(-10px, 30px) rotate(270deg);
  }
}

@keyframes shape2Float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(25px, -20px) scale(1.15);
  }

  66% {
    transform: translate(10px, 40px) scale(0.85);
  }
}

@keyframes shape3Float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(-25px, -35px) rotate(180deg);
  }
}

@keyframes shape4Float {

  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  25% {
    transform: translate(20px, -15px) scale(1.25) rotate(90deg);
  }

  75% {
    transform: translate(-15px, 25px) scale(0.75) rotate(-90deg);
  }
}

@keyframes shape5Float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  20% {
    transform: translate(-20px, 20px) rotate(72deg);
  }

  40% {
    transform: translate(-35px, -5px) rotate(144deg);
  }

  60% {
    transform: translate(-10px, -25px) rotate(216deg);
  }

  80% {
    transform: translate(12px, -15px) rotate(288deg);
  }
}

.floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  opacity: 0.4;
  animation-duration: 12s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.icon-1 {
  top: 10%;
  left: 28%;
  animation-name: icon1Float;
}

.icon-2 {
  top: 72%;
  right: 20%;
  animation-name: icon2Float;
}

.icon-3 {
  bottom: 18%;
  left: 12%;
  animation-name: icon3Float;
}

.icon-4 {
  top: 42%;
  right: 8%;
  animation-name: icon4Float;
}

@keyframes icon1Float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.4;
  }

  50% {
    transform: translate(-25px, -35px) rotate(180deg);
    opacity: 0.75;
  }
}

@keyframes icon2Float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }

  33% {
    transform: translate(35px, -25px) scale(1.2);
    opacity: 0.65;
  }

  66% {
    transform: translate(15px, 45px) scale(0.9);
    opacity: 0.5;
  }
}

@keyframes icon3Float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.4;
  }

  50% {
    transform: translate(-18px, 25px) rotate(-180deg);
    opacity: 0.85;
  }
}

@keyframes icon4Float {

  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0.4;
  }

  25% {
    transform: translate(20px, -18px) scale(0.8) rotate(90deg);
    opacity: 0.6;
  }

  75% {
    transform: translate(-12px, 30px) scale(1.15) rotate(-90deg);
    opacity: 0.8;
  }
}

/* Typewriter Effect */
.typewriter {
  display: inline-block;
  overflow: hidden;
  border-right: 3px solid var(--primary);
  white-space: nowrap;
  margin: 0 auto;
  animation: typewriter 4s steps(40) 1s both, blink 0.75s step-end infinite;
}

@keyframes typewriter {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink {

  0%,
  50% {
    border-color: var(--primary);
  }

  51%,
  100% {
    border-color: transparent;
  }
}

/* Hero Badge */
.hero-badge {
  display: none;
}

.hero-badge span {
  display: block;
}

.hero-title {
  font-family: var(--font-family-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-wrap: balance;
  word-break: break-word;
  line-height: 1.15;
  animation: slideUp 0.8s ease 0.3s forwards;
  opacity: 0;
  color: #ffffff;
}

.hero-title .pattaya-regular {
  font-family: "Pattaya", sans-serif;
  font-weight: 400;
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  max-width: 500px;
  line-height: 1.7;
  animation: fadeIn 0.8s ease 0.6s forwards;
  opacity: 0;
}

.hero-cta-link {
  display: inline-block;
  text-decoration: none;
  animation: fadeIn 0.8s ease 0.9s forwards;
  opacity: 0;
}

.hero .btn-hero {
  padding: 18px 48px;
  font-size: 1.05rem;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(135deg, #d4c4b5, #bba998);
  border-radius: 50px;
  color: #ffffff;
  font-weight: 600;
}

/* Hero Slider New - Discret */
.hero-slider-new {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider-wrapper-new {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide-new {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide-new.active {
  opacity: 1;
  z-index: 1;
}

.slide-new img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dots discrets en bas */
.slider-dots-new {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot-new {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.dot-new.active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.3);
}

.dot-new:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.15);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Counter Animations */

/* HERO STATS */
.hero-stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 2rem;
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 0.9s forwards;
  max-width: 500px;
  width: 100%;
}

.stat-item {
  text-align: center;
  padding: 0.8rem 0.5rem;
  background: transparent;
  border-radius: 0;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  transform: translateY(-3px);
}

.stat-number {
  font-family: var(--font-family-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  display: block;
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.stat-label {
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  color: #ffffff !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.schedule-list {
  display: grid;
  gap: clamp(0.8rem, 2vw, 1.2rem);
}

/* Section Styling */
section {
  padding: 120px 0;
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  font-family: var(--font-family-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-wrap: balance;
  word-break: break-word;
}

.section-subtitle {
  font-family: var(--font-family-base);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--dark);
  opacity: 0.7;
  max-width: 600px;
  margin: 0 auto;
  text-wrap: pretty;
  font-weight: 400;
}

.testimonials-subtitle {
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  color: white;
  opacity: 0.7;
  max-width: 600px;
  margin: 0 auto;
  text-wrap: pretty;
}

/* Mon Univers Section - Design Unique Mobile First */
.about-me-unique {
  position: relative;
  background: linear-gradient(135deg, #fff 0%, #f8f4f1 50%, #bba998 100%);
  padding: 3rem 0;
  overflow: hidden;
}

/* Arrière-plan avec orbes flottants */
.universe-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.12;
  animation: floatOrb 20s infinite ease-in-out;
}

.orb1 {
  width: 200px;
  height: 200px;
  background: #BBA997;
  top: -5%;
  left: -10%;
  animation-delay: 0s;
}

.orb2 {
  width: 180px;
  height: 180px;
  background: #D4A5A5;
  bottom: -10%;
  right: -10%;
  animation-delay: 5s;
}

.orb3 {
  width: 150px;
  height: 150px;
  background: #FFB6C1;
  top: 40%;
  right: -5%;
  animation-delay: 10s;
}

@keyframes floatOrb {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -40px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 30px) scale(0.9);
  }
}

.container-unique {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

/* Grid Layout - Mobile First */
.universe-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Carte Portrait Principale avec effet 3D - Mobile First */
.portrait-card-main {
  position: relative;
  width: 100%;
}

.portrait-inner {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(187, 169, 151, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portrait-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(187, 169, 151, 0.08), transparent 70%);
  pointer-events: none;
  animation: glowPulse 4s infinite ease-in-out;
  z-index: 0;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

.portrait-image-wrapper {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-bottom: 1rem;
  z-index: 1;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.portrait-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  padding: 1.5rem 1rem;
  z-index: 2;
}

.overlay-content h3 {
  color: white;
  font-size: 1.5rem;
  margin: 0 0 0.3rem 0;
  font-weight: 700;
}

.overlay-content p {
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-size: 0.95rem;
}

.portrait-decoration {
  display: none;
}

.portrait-quote {
  position: relative;
  padding: 1.2rem;
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  border-left: 3px solid #BBA997;
  z-index: 1;
}

.quote-icon {
  color: #BBA997;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  opacity: 0.5;
  display: block;
}

.portrait-quote p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
  font-style: italic;
}

/* Statistiques en cartes flottantes - Mobile First */
.stats-floating-container {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  width: 100%;
}

.stat-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(187, 169, 151, 0.08), rgba(212, 165, 165, 0.08));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.stat-decoration {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  opacity: 0.08;
  transition: transform 0.3s ease;
  z-index: 0;
}

.stat-1 .stat-decoration {
  background: #BBA997;
}

.stat-2 .stat-decoration {
  background: #D4A5A5;
}

.stat-3 .stat-decoration {
  background: #FFB6C1;
}

.stat-4 .stat-decoration {
  background: #BBA997;
}

.stat-icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #BBA997, #D4A5A5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.stat-icon-wrapper i {
  font-size: 1.5rem;
  color: white;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #BBA997;
  margin-bottom: 0.4rem;
  position: relative;
  z-index: 1;
  line-height: 1;
}

.stat-suffix {
  font-size: 1.8rem;
  color: #D4A5A5;
  margin-left: 0.2rem;
}

.stat-label {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* Valeurs en format Timeline - Mobile First */
.values-modern-container {
  width: 100%;
}

.values-title {
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.values-line {
  display: none;
}

.values-title h3 {
  font-size: 1.8rem;
  color: #BBA997;
  margin: 0;
  font-weight: 700;
}

.values-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-left: 0;
}

.value-point {
  position: relative;
  display: block;
  width: 100%;
}

.value-dot {
  display: none;
}

.value-card-modern {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #BBA997, #D4A5A5, #FFB6C1);
  transform: scaleY(1);
  z-index: 0;
}

.value-icon-modern {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #BBA997, #D4A5A5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.value-icon-modern i {
  color: white;
  font-size: 1.2rem;
}

.value-card-modern h4 {
  color: #BBA997;
  font-size: 1.2rem;
  margin: 0 0 0.6rem 0;
  font-weight: 700;
}

.value-card-modern p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive pour Tablette */
@media (min-width: 768px) {
  .about-me-unique {
    padding: 5rem 0;
  }

  .container-unique {
    padding: 0 2rem;
  }

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

  .portrait-card-main {
    grid-row: 1 / 3;
  }

  .portrait-inner {
    padding: 2rem;
  }

  .portrait-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(187, 169, 151, 0.25);
  }

  .portrait-inner:hover .portrait-img {
    transform: scale(1.05);
  }

  .portrait-overlay {
    transform: translateY(100%);
    transition: transform 0.4s ease;
  }

  .portrait-inner:hover .portrait-overlay {
    transform: translateY(0);
  }

  .portrait-decoration {
    display: block;
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    pointer-events: none;
    opacity: 0.25;
    animation: rotateSlow 20s linear infinite;
  }

  @keyframes rotateSlow {
    to {
      transform: rotate(360deg);
    }
  }

  .stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 50px rgba(187, 169, 151, 0.2);
  }

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

  .stat-card:hover .stat-decoration {
    transform: scale(1.3) translate(8px, 8px);
  }

  .stat-card:hover .stat-icon-wrapper {
    transform: rotateY(360deg);
  }

  .stats-floating-container {
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }

  .values-modern-container {
    grid-column: 2;
    grid-row: 2;
  }

  .values-title {
    flex-direction: row;
    margin-bottom: 2.5rem;
  }

  .values-line {
    display: block;
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #BBA997, transparent);
    max-width: 100px;
  }

  .value-point {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
  }

  .value-dot {
    display: block;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #BBA997, #D4A5A5);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 1.2rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(187, 169, 151, 0.15);
    transition: all 0.3s ease;
  }

  .value-dot::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(1.5rem + 100%);
    background: linear-gradient(to bottom, #BBA997, transparent);
  }

  .value-point:last-child .value-dot::before {
    display: none;
  }

  .value-point:hover .value-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(187, 169, 151, 0.25);
  }

  .value-card-modern {
    flex: 1;
  }

  .value-card-modern::before {
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
  }

  .value-point:hover .value-card-modern::before {
    transform: scaleY(1);
  }

  .value-card-modern:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 40px rgba(187, 169, 151, 0.18);
  }

  .value-point:hover .value-icon-modern {
    transform: rotateY(180deg);
  }
}

/* Responsive pour Desktop */
@media (min-width: 1200px) {
  .about-me-unique {
    padding: 7rem 0;
  }

  .container-unique {
    padding: 0 3rem;
  }

  .universe-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .stats-floating-container {
    grid-column: 2 / 4;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .values-modern-container {
    grid-column: 2 / 4;
  }

  .stat-icon-wrapper {
    width: 70px;
    height: 70px;
  }

  .stat-icon-wrapper i {
    font-size: 1.8rem;
  }

  .stat-number {
    font-size: 3rem;
  }

  .orb1 {
    width: 400px;
    height: 400px;
    filter: blur(60px);
    opacity: 0.15;
  }

  .orb2 {
    width: 350px;
    height: 350px;
    filter: blur(60px);
    opacity: 0.15;
  }

  .orb3 {
    width: 300px;
    height: 300px;
    filter: blur(60px);
    opacity: 0.15;
  }
}

/* Section Vidéo */
.video-section {
  background: var(--dark);
  color: white;
}

.video-section .section-title {
  background: linear-gradient(135deg, var(--light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.video-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.video-container {
  width: min(900px, 100%);
  margin: 0 auto;
  position: relative;
  padding: 0 1rem;
}

.video-thumbnail {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-deep);
}

.video-thumbnail:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-placeholder i {
  font-size: 6rem;
  color: white;
  opacity: 0.3;
  position: absolute;
}

.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: clamp(1.5rem, 4vw, 3rem);
  color: white;
}

.video-text h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin-bottom: 0.5rem;
  word-break: break-word;
  text-wrap: balance;
}

.video-text p {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  opacity: 0.9;
  margin-bottom: 1rem;
  text-wrap: pretty;
}

.duration {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  z-index: 5;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: white;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.play-icon {
  width: 30px;
  height: 30px;
  color: var(--primary);
  margin-left: 3px;
}

.play-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: playRipple 2s infinite;
}

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

  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

/* Modal Vidéo */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  height: 70%;
  background: var(--dark);
  border-radius: 20px;
  overflow: hidden;
  z-index: 10;
  animation: modalScale 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalScale {
  0% {
    transform: scale(0.7) translateY(50px);
    opacity: 0;
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-smooth);
  z-index: 15;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

#video-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Services Section Futuriste */
.services {
  background: #ffffff;
  color: #1a1a1a;
}

/* Services Carousel */
.services-carousel-wrapper {
  position: relative;
  padding: 0 50px;
}

.services-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1rem 0.5rem 2rem;
  scroll-snap-type: x mandatory;
  align-items: stretch;
}

.services-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(186, 169, 151, 0.3);
  border-radius: 50%;
  color: #baa997;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
  background: var(--gradient);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(187, 169, 152, 0.3);
}

.carousel-arrow-left {
  left: 0;
}

.carousel-arrow-right {
  right: 0;
}

@media (max-width: 768px) {
  .services-carousel-wrapper {
    padding: 0;
  }

  .carousel-arrow {
    display: none;
  }

  .services-carousel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    overflow-x: visible;
    overflow-y: visible;
    scroll-snap-type: none;
    padding: 0.5rem;
  }

  .service-card {
    min-width: 0;
    max-width: none;
    padding: 1.2rem;
    border-radius: 16px;
  }

  .service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
  }

  .service-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .service-content p {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }

  .service-price {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }

  .service-duration {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .service-features {
    margin-bottom: 1rem;
    gap: 0.3rem;
  }

  .feature {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }

  .btn-service.morphing-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .popular-badge {
    top: 10px;
    right: 10px;
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .services-carousel {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  min-width: 320px;
  max-width: 380px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 1;
}

.service-card:hover::before {
  opacity: 0.05;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(187, 169, 152, 0.3);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}


.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* garde le bon cadrage */
}


.service-icon i {
  font-size: 2rem;
  color: white;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotateY(180deg);
}

.service-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-content > a:last-child {
  margin-top: auto;
}

.service-content h3 {
  font-family: var(--font-family-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
  word-break: break-word;
  text-wrap: pretty;
}

.service-content p {
  color: var(--dark);
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.service-duration {
  font-size: 0.9rem;
  color: var(--dark);
  opacity: 0.6;
  margin-bottom: 1.5rem;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.feature {
  background: rgba(187, 169, 152, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  color: var(--primary);
  border: 1px solid rgba(187, 169, 152, 0.2);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 3;
}

.btn-service {
  width: 100%;
  padding: 12px 24px;
  margin-top: auto;
  margin-bottom: 0;
}

/* Galerie avec Morphing Transitions */
.gallery {
  background: #ffffff;
  color: #1a1a1a;
}

.gallery .section-title {
  background: linear-gradient(135deg, #bba998, #d4c4b5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gallery .section-subtitle {
  color: rgba(0, 0, 0, 0.8);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(187, 169, 152, 0.1);
  color: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(187, 169, 152, 0.3);
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gradient);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(187, 169, 152, 0.3);
}

.gallery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.gallery-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gallery-placeholder.clickable-image {
  cursor: pointer;
}

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

.gallery-placeholder i {
  font-size: 3rem;
  color: white;
  opacity: 0.6;
  z-index: 2;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 2rem;
  color: white;
  transform: translateY(100%);
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.gallery-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* Gallery Modal */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.gallery-modal.active {
  opacity: 1;
  visibility: visible;
}

.gallery-modal .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.gallery-modal .modal-content {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  margin: 0;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: var(--dark);
  border-radius: 20px;
  overflow: hidden;
  z-index: 10;
  display: flex;
  flex-direction: column;
  animation: modalScale 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalScale {
  0% {
    transform: scale(0.7) translateY(50px);
    opacity: 0;
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.gallery-modal .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-smooth);
  z-index: 15;
}

.gallery-modal .close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

#modal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
  flex: 1;
}

.modal-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem;
  text-align: center;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Témoignages avec Étoiles Animées */
.testimonials {
  background: linear-gradient(135deg, #2C2C2C 0%, #3a3a3a 100%);
  color: #ffffff;
}

.testimonials .section-title {
  color: #ffffff;
}

.testimonials .section-subtitle,
.testimonials .testimonials-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.testimonials-carousel {
  max-width: 800px;
  margin: 0 auto 3rem;
  position: relative;
}

.testimonial-slide {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: var(--transition-smooth);
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 3rem;
  text-align: center;
  border: 1px solid rgba(210, 144, 139, 0.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-image {
  margin-bottom: 2rem;
}

.testimonial-placeholder {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(187, 169, 152, 0.3);
}

.testimonial-placeholder i {
  font-size: 2rem;
  color: white;
}

/* Formations Section - Style identique aux E-books */
.formations-section {
  padding: 80px 0;
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.formations-section h2 {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.formations-section p {
  color: #c2b8b8;
  font-size: 1.2rem;
}

.formations-grid {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding: 0 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #baa997 rgba(187, 169, 152, 0.2);
}

.formations-grid::-webkit-scrollbar {
  height: 8px;
}

.formations-grid::-webkit-scrollbar-track {
  background: rgba(187, 169, 152, 0.2);
  border-radius: 10px;
}

.formations-grid::-webkit-scrollbar-thumb {
  background: #baa997;
  border-radius: 10px;
}

.formations-grid::-webkit-scrollbar-thumb:hover {
  background: #867776;
}

.formation-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(210, 144, 139, 0.15);
  transition: all 0.3s ease;
  border: 1px solid rgba(210, 144, 139, 0.1);
  min-width: 350px;
  max-width: 350px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.formation-cover {
  height: 280px !important;
  object-fit: cover;
}

.formation-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.formation-info p {
  flex: 1;
}

.formation-actions {
  margin-top: auto;
}

.formation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(210, 144, 139, 0.25);
}

.formation-cover {
  width: 100%;
  max-width: 200px;
  height: 280px !important;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 1.5rem;
  display: block;
  box-shadow: 0 8px 25px rgba(210, 144, 139, 0.2);
}

.formation-info h3 {
  font-family: var(--font-family-heading);
  color: #000000;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.formation-info p {
  color: #baa997;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.formation-price {
  color: #D4A5A5;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 0.5rem;
  background: rgba(187, 169, 152, 0.1);
  border-radius: 10px;
}

.formation-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Bouton En savoir plus */
.btn-buy.formation-btn {
  background: linear-gradient(135deg, #867776 0%, #baa997 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  justify-content: center;
  min-width: 150px;
}

.btn-buy.formation-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(210, 144, 139, 0.3);
  background: linear-gradient(135deg, #baa997 0%, #867776 100%);
}

.btn-buy.formation-btn i {
  font-size: 1rem;
}

/* Responsive pour formations */
@media (max-width: 768px) {
  .formations-grid {
    padding: 0 1rem;
  }

  .formation-card {
    min-width: 280px;
    max-width: 280px;
    padding: 1.5rem;
  }

  .formation-info h3 {
    font-size: 1.2rem;
  }
}

.animated-stars {
  margin-bottom: 2rem;
}

.animated-stars i {
  font-size: 1.5rem;
  color: var(--accent);
  margin: 0 3px;
  animation: starTwinkle 2s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.1s);
}

.animated-stars i:nth-child(1) {
  --i: 0;
}

.animated-stars i:nth-child(2) {
  --i: 1;
}

.animated-stars i:nth-child(3) {
  --i: 2;
}

.animated-stars i:nth-child(4) {
  --i: 3;
}

.animated-stars i:nth-child(5) {
  --i: 4;
}

@keyframes starTwinkle {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.testimonial-text {
  font-size: 1.3rem;
  line-height: 1.6;
  color: rgb(0, 0, 0);
  font-style: italic;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.testimonial-author h4 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.testimonial-author span {
  color: var(--dark);
  opacity: 0.7;
  font-size: 0.9rem;
}

.testimonial-date {
  font-size: 0.8rem;
  color: var(--dark);
  opacity: 0.5;
  margin-top: 0.5rem;
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  position: relative;
  z-index: 10;
}

.nav-arrow {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 25px rgba(187, 169, 152, 0.3);
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

.nav-arrow:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 35px rgba(187, 169, 152, 0.4);
}

.nav-arrow:active {
  transform: scale(0.95);
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  color: white;
}

.contact .section-title {
  background: linear-gradient(135deg, #bba998, #d4c4b5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact .section-subtitle {
  color: rgba(0, 0, 0, 0.85);
}

.contact-content {
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .contact-content {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .contact-form {
    width: 800px;
  }

}

.contact-form {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 3rem;
  border: 1px solid rgba(187, 169, 152, 0.3);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(187, 169, 152, 0.3);
  border-radius: 15px;
  color: white;
  font-size: 1rem;
  transition: var(--transition-smooth);
  font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #bba998;
  box-shadow: 0 0 20px rgba(187, 169, 152, 0.4);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.btn-submit {
  width: 100%;
  padding: 18px 32px;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.contact-info {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.contact-card,
.schedule-card {
  background: rgba(187, 169, 152, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 22px;
  padding: clamp(2rem, 4vw, 2.8rem);
  border: 1px solid rgba(187, 169, 152, 0.3);
}

.contact-card h3,
.schedule-card h3 {
  color: #bba998;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  transition: var(--transition-smooth);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.2rem;
  color: white;
}

.contact-content .contact-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.contact-value {
  font-weight: 500;
  color: white;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 0.8rem;
  transition: var(--transition-smooth);
}

.schedule-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.day {
  font-weight: 500;
}

.hours {
  color: #bba998;
  font-weight: 600;
}

/* Footer Futuriste */
.footer {
  background: linear-gradient(175deg, #000000e0 0%, #23251e50 100%);
  color: white;
  padding: 80px 0 30px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gradient);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo svg {
  width: 180px;
  height: 45px;
  margin-bottom: 1.5rem;
}

.footer-col h3 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
}

.footer-col ul li a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: var(--gradient);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 25px rgba(187, 169, 152, 0.4);
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  color: white;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(187, 169, 152, 0.3);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.btn-newsletter {
  padding: 12px 24px;
  border-radius: 25px;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin-bottom: 2rem;
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}


.pattaya-regular {
  font-family: "Pattaya", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(40px, 8vw, 100px);
  line-height: 1.1;
}


/* Back to Top avec Progress */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  box-shadow: 0 8px 25px rgba(187, 169, 152, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 40px rgba(187, 169, 152, 0.4);
}

.progress-ring {
  position: absolute;
  top: 5px;
  left: 5px;
  transform: rotate(-90deg);
}

.progress-ring-circle {
  transition: stroke-dashoffset 0.35s;
  stroke-dasharray: 126;
  stroke-dashoffset: 126;
}

.back-to-top i {
  font-size: 1.2rem;
  color: white;
  z-index: 2;
}

/* Animations d'entrée */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: var(--transition-smooth);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {

  * {
    max-width: 100vw;
    box-sizing: border-box;
  }

  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
  }

  .container {
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  body {
    overflow-x: hidden;
  }

  section {
    padding: 60px 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-social-links {
    display: none;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 9999;
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    padding: 2rem 2rem 1rem 2rem;
    gap: 1rem;
  }

  /* Réseaux sociaux dans le menu mobile */
  .mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem 2rem 2rem;
    border-top: 1px solid rgba(187, 169, 152, 0.2);
    margin-top: 1rem;
  }

  .mobile-social-link {
    width: 45px;
    height: 45px;
    background: rgba(187, 169, 152, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid rgba(187, 169, 152, 0.2);
  }

  .mobile-social-link:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 20px rgba(187, 169, 152, 0.3);
  }

  .mobile-social-link i {
    font-size: 1.2rem;
  }

  .hero-badge {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 7vw, 3.5rem) !important;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1.05rem !important;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    margin-bottom: 1rem;
  }

  .stat-item {
    min-width: auto;
    padding: 0.5rem 0.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .stat-number {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    white-space: nowrap;
    font-weight: 700;
  }

  .stat-label {
    font-size: clamp(0.75rem, 2.8vw, 1rem);
    white-space: nowrap;
    color: #ffffff !important;
  }

  /* Disable AOS animations in hero on mobile */
  .hero [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Mobile Hero: Full background image, text overlaid centered */
  .hero {
    height: 100vh;
    min-height: 100vh;
    padding-top: 0;
    width: 100%;
    overflow-x: hidden;
  }

  .hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .hero-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.1) 70%, transparent 100%);
  }

  .hero-content-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 0 1.5rem 2.5rem;
    background: none;
    align-items: flex-end;
  }

  .hero-content {
    text-align: center;
    align-items: center;
    max-width: 100%;
    width: 100%;
  }

  .hero-badge {
    display: none;
  }

  .hero-title {
    text-align: center;
    font-size: clamp(1.8rem, 7vw, 2.8rem) !important;
  }

  .hero-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    padding: 0;
    font-size: 0.95rem !important;
  }

  .hero-cta-link {
    margin: 0 auto;
    width: 100%;
  }

  .hero .btn-hero {
    width: 100%;
    max-width: 100%;
    padding: 16px 40px;
    font-size: 1.05rem;
    color: #ffffff;
  }

  .shape {
    transform: scale(0.8);
  }

  .floating-icon {
    font-size: 1.5rem;
  }


  .expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .contact-content {
    gap: 3rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .newsletter-form {
    flex-direction: column;
    gap: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: calc(1.5rem + 20px);
  }

  .section-title {
    font-size: 2.8rem;
  }

  .stat-item {
    padding: 1rem;
  }

  .testimonial-card {
    padding: 2rem;
  }

  section {
    padding: 90px 0;
  }

  .hero-title {
    font-size: clamp(1.6rem, 6vw, 2.5rem) !important;
    margin-bottom: 0.6rem;
  }

  .hero-description {
    font-size: 0.9rem !important;
    margin-bottom: 0.8rem;
    line-height: 1.5;
  }

  .hero-content-wrapper {
    padding: 0 1rem 1.5rem;
  }

  .hero-stats {
    gap: 0.3rem;
    margin-bottom: 0.8rem;
    margin-top: 0.8rem;
  }

  .stat-number {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    margin-bottom: 0.1rem;
  }

  .stat-label {
    font-size: clamp(0.6rem, 2.2vw, 0.75rem);
    color: #ffffff !important;
  }

  .shape {
    transform: scale(0.75);
  }

  .floating-icon {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
  }

  .testimonial-card {
    padding: clamp(1.5rem, 6vw, 2.2rem);
  }

  .contact-form,
  .contact-card,
  .schedule-card {
    padding: clamp(1.5rem, 6vw, 2.2rem);
  }

  .gallery-grid {
    gap: 1.2rem;
  }

  .ebooks-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .nav-list {
    gap: 1.2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  /* Loader plus grand sur mobile */
  .loader-shape {
    width: 80px;
    height: 80px;
  }

  .loader-text {
    font-size: 1.3rem;
  }

  /* Désactiver les effets 3D sur mobile */
  .tilt-card {
    transform: none !important;
  }

  .tilt-card:hover {
    transform: none !important;
  }

  .gallery-item:hover .gallery-placeholder {
    transform: none !important;
  }

  .service-card:hover,
  .ebook-card:hover,
  .gallery-item:hover {
    transform: translateY(-4px) !important;
  }

  /* Réduire la visibilité des particules sur mobile */
  .particles-container {
    opacity: 0.3;
  }

  .floating-particle {
    display: none;
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Section E-books */
.ebooks-section {
  padding: 80px 0;
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.ebooks-section h2 {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.ebooks-section p {
  color: #c2b8b8;
  font-size: 1.2rem;
}

/* Ebooks Carousel Container */
.ebooks-carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 3rem auto 0;
  overflow: hidden;
  padding: 2rem 0;
}

.ebooks-grid {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding: 0 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #baa997 rgba(187, 169, 152, 0.2);
}

.ebooks-grid::-webkit-scrollbar {
  height: 8px;
}

.ebooks-grid::-webkit-scrollbar-track {
  background: rgba(187, 169, 152, 0.2);
  border-radius: 10px;
}

.ebooks-grid::-webkit-scrollbar-thumb {
  background: #baa997;
  border-radius: 10px;
}

.ebooks-grid::-webkit-scrollbar-thumb:hover {
  background: #867776;
}

.ebook-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(210, 144, 139, 0.15);
  transition: all 0.3s ease;
  border: 1px solid rgba(210, 144, 139, 0.1);
  min-width: 350px;
  max-width: 350px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.ebook-cover {
  height: 280px !important;
  object-fit: cover;
}

.ebook-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ebook-info p {
  flex: 1;
}

.ebook-actions {
  margin-top: auto;
}

.ebook-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(210, 144, 139, 0.25);
}

.ebook-cover {
  width: 100%;
  max-width: 200px;
  height: 280px !important;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 1.5rem;
  display: block;
  box-shadow: 0 8px 25px rgba(210, 144, 139, 0.2);
}

.ebook-info h3 {
  font-family: var(--font-family-heading);
  color: #000000;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.ebook-info p {
  color: #baa997;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.ebook-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Bouton Acheter avec cadenas */
.btn-buy.ebook-btn {
  background: linear-gradient(135deg, #867776 0%, #baa997 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  justify-content: center;
  min-width: 150px;
}

.btn-buy.ebook-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(210, 144, 139, 0.3);
  background: linear-gradient(135deg, #baa997 0%, #867776 100%);
}

.btn-buy.ebook-btn i {
  font-size: 16px;
}

/* Indicateurs de carrousel */
.ebooks-dots {
  display: none;
  /* Masqué car on utilise la scrollbar native */
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.ebook-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(187, 169, 152, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.ebook-dot.active {
  background: #baa997;
  width: 30px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .ebooks-grid {
    padding: 0 1rem;
  }

  .ebook-card {
    min-width: 280px;
    max-width: 280px;
  }

  .ebook-actions {
    flex-direction: column;
    align-items: center;
  }

  .ebook-btn {
    width: 200px;
    justify-content: center;
  }
}

/* Modal pour zoom des images */
.image-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  margin: auto;
  display: block;
  width: auto;
  height: auto;
  max-width: 85%;
  max-height: 85vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 15px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
  animation: zoomIn 0.3s ease;
  object-fit: contain;
}

@keyframes zoomIn {
  from {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
  }

  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: fixed;
  top: 30px;
  right: 50px;
  color: #ffffff;
  font-size: 60px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s ease;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  background: rgba(0, 0, 0, 0.3);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
  color: #BBA997;
  transform: rotate(90deg) scale(1.1);
  background: rgba(187, 169, 152, 0.2);
}

#modalCaption {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 80%;
  text-align: center;
  color: #ffffff;
  padding: 15px 30px;
  font-size: 1.1rem;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 25px;
  backdrop-filter: blur(10px);
  z-index: 10001;
}

.zoomable-image {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoomable-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(187, 169, 152, 0.3);
}

@media (max-width: 768px) {
  .modal-content {
    max-width: 95%;
    max-height: 80vh;
  }

  .modal-close {
    top: 15px;
    right: 15px;
    font-size: 40px;
    width: 50px;
    height: 50px;
  }

  #modalCaption {
    font-size: 0.9rem;
    padding: 10px 20px;
    max-width: 90%;
    bottom: 15px;
  }

  .gallery-modal .modal-content {
    width: 95%;
    height: auto;
    max-height: 85vh;
    border-radius: 12px;
    top: auto;
    left: auto;
    transform: none;
    margin: 0;
  }

  #modal-image {
    width: 100%;
    height: auto;
    max-height: 75vh;
    object-fit: contain;
  }

  .gallery-modal .close-btn {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* Bandeau défilant */
.auto-carousel {
  overflow: hidden;
  background: #2a2a2a;
  padding: 14px 0;
  position: relative;
}

.auto-carousel-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  animation: scroll-carousel 20s linear infinite;
  width: max-content;
  min-width: max-content;
}

.carousel-item {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  white-space: nowrap;
  padding: 0 40px;
}

.carousel-item i {
  color: #BBA997;
  font-size: 1.1rem;
}

@keyframes scroll-carousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .carousel-item {
    font-size: 0.85rem;
    padding: 0 30px;
  }
  .auto-carousel {
    padding: 12px 0;
  }
}