/* ==========================================
   AVENORA - MASTER STYLESHEET
   Futuristic Dark Luxury Design System
   Single comprehensive CSS file
   ========================================== */

/* ==========================================
   GOOGLE FONTS
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ==========================================
   1. CSS VARIABLES
   ========================================== */

:root {
  /* Core palette */
  --av-bg: #0A0A0A;
  --av-bg-alt: #111111;
  --av-bg-secondary: #111111;
  --av-bg-card: #1A1A1A;
  --av-card: #1A1A1A;
  --av-text: #FFFFFF;
  --av-text-muted: #888888;
  --av-text-dim: #666666;
  --av-gold: #C8A96E;
  --av-blue: #C8A96E;
  --av-teal: #D4B978;
  --av-border: rgba(255, 255, 255, 0.08);
  --av-gradient: linear-gradient(135deg, #C8A96E, #E8D5A8);
  --av-accent-gradient: linear-gradient(135deg, #C8A96E, #E8D5A8);

  /* Legacy aliases (used in some HTML inline styles) */
  --color-primary: #FFFFFF;
  --color-secondary: #C8A96E;
  --color-accent: #D4B978;
  --color-accent2: #C8A96E;
  --color-dark: #0A0A0A;
  --color-light: #111111;
  --color-white: #FFFFFF;
  --color-text: #CCCCCC;
  --color-text-light: #888888;
  --color-text-dark: #FFFFFF;
  --glass-bg: #1A1A1A;
  --glass-bg-medium: #161616;
  --glass-bg-strong: #111111;
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-bright: rgba(255, 255, 255, 0.15);
  --av-card-bg: #1A1A1A;
  --av-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --av-card-border: rgba(255, 255, 255, 0.08);
  --av-radius: 16px;
  --av-footer-bg: #0A0A0A;
  --av-text-heading: #FFFFFF;
  --av-text-body: #CCCCCC;
  --av-accent-1: #C8A96E;
  --av-accent-2: #D4B978;
  --av-gradient-main: linear-gradient(135deg, #C8A96E, #E8D5A8);

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.6);
  --shadow-glow-blue: 0 0 30px rgba(0, 168, 232, 0.15);
  --shadow-glow-accent: 0 0 30px rgba(0, 212, 170, 0.15);
  --shadow-glow-gold: 0 0 30px rgba(200, 169, 110, 0.15);

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Grotesk', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --av-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  --av-radius-sm: 12px;
  --av-radius-md: 16px;
  --av-radius-lg: 24px;
}

/* ==========================================
   2. RESET & BASE
   ========================================== */

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

html {
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--av-text);
  background: var(--av-bg);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--av-gold);
}

/* ==========================================
   3. TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

h1 { font-size: 3.5rem; font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: 3rem; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 2.5rem; }
h4 { font-size: 2rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: #CCCCCC;
  font-weight: 400;
}

/* Gradient text */
.gradient-text,
.av-gradient-text,
.av-gradient-text .word,
.av-gradient-text .line,
.av-gradient-text .char,
.av-gradient-text span {
  background: var(--av-accent-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.text-light { color: var(--av-text-muted); }
.text-center { text-align: center; }

/* ==========================================
   4. LAYOUT & STRUCTURE
   ========================================== */

.container,
.av-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.av-container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.av-section {
  padding: 120px 0;
  position: relative;
}

.av-section-label,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--av-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.av-section-label-line {
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--av-gold);
  opacity: 0.5;
}

.av-section-title,
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--av-text-muted);
  max-width: 600px;
  margin: 0 auto;
  margin-top: 1rem;
}

.section-description {
  color: #CCCCCC;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-footer {
  margin-top: 3rem;
  text-align: center;
}

/* Grid utilities */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Flex utilities */
.flex { display: flex; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-column { flex-direction: column; }

/* ==========================================
   5. SCROLL PROGRESS BAR
   ========================================== */

.scroll-progress,
.av-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--av-accent-gradient);
  z-index: 99999;
  transition: width 0.1s linear;
}

/* ==========================================
   6. HEADER & NAVIGATION
   ========================================== */

.av-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10002;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--av-border);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  height: 80px;
  will-change: transform;
  transform: translateZ(0);
}

.av-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.av-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* Logo */
.av-logo {
  display: flex;
  align-items: center;
  z-index: 10001;
  gap: 12px;
  text-decoration: none;
}

.av-logo img {
  width: 160px !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
  flex-shrink: 0;
}

.av-footer .av-logo img {
  width: 120px !important;
  height: auto !important;
  max-width: none !important;
}

.av-logo:hover {
  color: #FFFFFF;
}

.av-logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Navigation Desktop */
.av-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.av-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: #666666;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: color 0.2s ease;
  position: relative;
  letter-spacing: 0.5px;
}

.av-nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--av-accent-gradient);
  transition: width 0.2s ease;
  border-radius: 2px;
}

.av-nav-link:hover {
  color: #FFFFFF;
}

.av-nav-link:hover::after,
.av-nav-link.active::after {
  width: 60%;
}

.av-nav-link.active {
  color: #FFFFFF;
  font-weight: 600;
}

/* Dropdown */
.av-nav-dropdown {
  position: relative;
}

.av-nav-dropdown .av-nav-link {
  cursor: pointer;
}

/* Mega Menu */
.av-mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--av-bg-card);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--av-border);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  min-width: 600px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  z-index: 9999;
}

.av-nav-dropdown:hover .av-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  top: 100%;
}

.av-mega-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 8px solid var(--av-bg-card);
}

.av-mega-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: #FFFFFF;
}

.av-mega-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.av-mega-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  color: var(--av-text-muted);
  transition: all 0.2s ease;
}

.av-mega-icon.web { background: rgba(0, 168, 232, 0.1); color: #C8A96E; }
.av-mega-icon.app { background: rgba(0, 212, 170, 0.1); color: #D4B978; }
.av-mega-icon.video { background: rgba(124, 58, 237, 0.1); color: #7C3AED; }
.av-mega-icon.drone { background: rgba(0, 168, 232, 0.1); color: #C8A96E; }

.av-mega-title {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.av-mega-desc {
  font-size: 0.8rem;
  color: #666666;
  line-height: 1.4;
  margin: 0;
}

/* Header Right */
.av-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.av-header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: transparent;
  color: var(--av-gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--av-gold);
  border-radius: 50px;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.av-header-cta:hover {
  background: var(--av-gold);
  color: #0A0A0A;
}

.av-header-cta:hover svg {
  transform: translateX(4px);
}

/* ==========================================
   7. MOBILE MENU
   ========================================== */

/* Hamburger Toggle */
.av-mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 10001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.av-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: var(--av-transition);
}

.av-mobile-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.av-mobile-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Backdrop */
.av-mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.av-mobile-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Panel */
.av-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--av-bg);
  z-index: 10000;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  border-left: 1px solid var(--av-border);
  display: flex;
  flex-direction: column;
  padding: 100px 24px 32px;
}

.av-mobile-menu.open {
  right: 0;
}

.av-mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  border-bottom: 1px solid var(--av-border);
  width: 100%;
  cursor: pointer;
}

.av-mobile-nav-link:hover,
.av-mobile-nav-link.active {
  color: var(--av-gold);
  transform: translateX(5px);
}

.av-mobile-submenu {
  padding: 0 0 0 16px;
  display: none;
}

.av-mobile-submenu.open {
  display: block;
}

.av-mobile-submenu a {
  display: block;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--av-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.av-mobile-submenu a:hover {
  color: var(--av-gold);
  transform: translateX(5px);
}

.av-mobile-cta {
  margin-top: auto;
  padding-top: 32px;
}

.av-mobile-cta .av-btn-primary {
  width: 100%;
  justify-content: center;
}

/* ==========================================
   8. BUTTONS
   ========================================== */

.av-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  color: var(--av-gold);
  border: 1px solid var(--av-gold);
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.av-btn-primary:hover {
  background: var(--av-gold);
  color: #0A0A0A;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-gold);
}

.av-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.av-btn-secondary:hover {
  border-color: #FFFFFF;
  transform: translateY(-2px);
  color: #FFFFFF;
}

.av-btn-gold {
  border-color: var(--av-gold);
  color: var(--av-gold);
}

.av-btn-gold:hover {
  background: var(--av-gold);
  color: #0A0A0A;
}

/* Tag badge */
.av-tag {
  display: inline-block;
  background: rgba(200, 169, 110, 0.1);
  border: 1px solid rgba(200, 169, 110, 0.2);
  color: var(--av-gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ==========================================
   9. HERO SECTION
   ========================================== */

.av-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.av-hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.av-hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.av-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(10, 10, 10, 0.5) 40%,
    rgba(10, 10, 10, 0.8) 100%
  );
  z-index: 1;
}

.av-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.av-hero-eyebrow {
  color: var(--av-gold);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.av-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.05;
  margin-bottom: 24px;
}

.av-hero-line {
  width: 80px;
  height: 1px;
  background: var(--av-gold);
  margin: 24px auto;
  transition: width 1s ease;
}

.av-hero-subtitle {
  max-width: 600px;
  margin: 0 auto 40px;
  color: #999999;
  font-size: 1.1rem;
  line-height: 1.8;
}

.av-hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll Indicator */
.av-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #666666;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
}

.av-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--av-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ==========================================
   10. STATS SECTION
   ========================================== */

.av-stats-section {
  padding: 100px 0;
}

.av-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.av-stat-item {
  padding: 40px 20px;
  border-right: 1px solid var(--av-border);
}

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

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  color: #FFFFFF;
  display: inline-block;
  line-height: 1;
}

.stat-suffix {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--av-gold);
  line-height: 1;
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  color: #666666;
  margin-top: 8px;
  display: block;
}

/* ==========================================
   11. BENTO GRID (Services)
   ========================================== */

/* ==========================================
   SERVICE CARDS — Modern Image Cards
   ========================================== */

.av-services-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.av-svc-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #FFFFFF;
  display: block;
  aspect-ratio: 4 / 3;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.av-svc-card:hover {
  transform: translateY(-6px);
  color: #FFFFFF;
}

.av-svc-card-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.av-svc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.av-svc-card:hover .av-svc-card-img img {
  transform: scale(1.08);
}

.av-svc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%);
  transition: background 0.5s;
}

.av-svc-card:hover .av-svc-card-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.85) 100%);
}

.av-svc-card-body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.av-svc-card-tag {
  position: absolute;
  top: 24px;
  left: 28px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: #C8A96E;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(200,169,110,0.2);
  padding: 6px 14px;
  border-radius: 50px;
}

.av-svc-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.av-svc-card-body p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.av-svc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #C8A96E;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: gap 0.3s;
}

.av-svc-card:hover .av-svc-card-link {
  gap: 14px;
}

/* Keep old bento classes for other pages */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bento-item {
  background: var(--av-bg-card);
  border: 1px solid var(--av-border);
  border-radius: 20px;
  padding: 40px 32px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: #FFFFFF;
  transition: all 0.4s ease;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  color: #FFFFFF;
}

.bento-large { }

.bento-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(200, 169, 110, 0.06) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.bento-item:hover .bento-glow {
  opacity: 0.5;
}

.bento-content {
  position: relative;
  z-index: 1;
}

.bento-content svg {
  margin-bottom: 20px;
}

.bento-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.bento-content p {
  color: #888888;
  font-size: 0.95rem;
  line-height: 1.6;
}

.bento-link {
  margin-top: auto;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--av-gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-top: 16px;
}

/* ==========================================
   12. PORTFOLIO
   ========================================== */

.av-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.av-portfolio-item {
  background: var(--av-bg-card);
  border: 1px solid var(--av-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.av-portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.15);
}

.av-portfolio-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.av-portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.av-portfolio-item:hover .av-portfolio-img img {
  transform: scale(1.05);
}

.av-portfolio-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  pointer-events: none;
}

.av-portfolio-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(200, 169, 110, 0.15);
  border: 1px solid rgba(200, 169, 110, 0.3);
  color: var(--av-gold);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}

.av-portfolio-body {
  padding: 24px;
}

.av-portfolio-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.av-portfolio-desc {
  color: #888888;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.av-portfolio-techs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.av-portfolio-tech {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--av-border);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: #888888;
}

/* ==========================================
   13. HORIZONTAL SCROLL (Methodology)
   ========================================== */

.av-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.av-process-step {
  background: var(--av-bg-card);
  border: 1px solid var(--av-border);
  border-radius: 20px;
  padding: 40px 28px;
  transition: all 0.3s ease;
}

.av-process-step:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.av-process-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: var(--av-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 20px;
}

.av-process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.av-process-step p {
  color: #888888;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Keep horizontal classes for other pages that may use them */
.horizontal-section {
  overflow: hidden;
  position: relative;
  padding: 120px 0 60px;
}

.horizontal-track {
  display: flex;
  gap: 24px;
  padding: 60px 24px;
}

.horizontal-panel {
  min-width: 280px;
  max-width: 320px;
  background: var(--av-bg-card);
  border: 1px solid var(--av-border);
  border-radius: 20px;
  padding: 40px 28px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.horizontal-panel-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: var(--av-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
  line-height: 1;
}

.horizontal-panel h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin: 16px 0 10px;
  color: #FFFFFF;
}

.horizontal-panel p {
  color: #888888;
  font-size: 0.9rem;
  line-height: 1.6;
}

.horizontal-progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  margin: 40px 24px 0;
  border-radius: 2px;
}

.horizontal-progress-fill {
  height: 100%;
  background: var(--av-accent-gradient);
  width: 0;
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* ==========================================
   14. TESTIMONIALS
   ========================================== */

.av-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.av-testimonial-card {
  background: var(--av-bg-card);
  border: 1px solid var(--av-border);
  border-radius: 20px;
  padding: 40px 32px;
  transition: all 0.3s ease;
}

.av-testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.av-testimonial-quote-icon {
  margin-bottom: 20px;
}

.av-testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #CCCCCC;
  margin-bottom: 24px;
  font-style: italic;
}

.av-testimonial-author {
  display: flex;
  gap: 14px;
  align-items: center;
}

.av-testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--av-accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: #FFFFFF;
  flex-shrink: 0;
}

.av-testimonial-name {
  font-weight: 600;
  color: #FFFFFF;
  font-size: 0.9rem;
}

.av-testimonial-role {
  color: #666666;
  font-size: 0.8rem;
}

/* ==========================================
   15. CTA SECTION
   ========================================== */

.av-cta-section {
  padding: 120px 0;
  background: var(--av-bg-alt);
  text-align: center;
}

.av-cta-inner {
  max-width: 800px;
  margin: 0 auto;
}

.av-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.av-cta-desc {
  color: #888888;
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 20px 0 40px;
}

.av-cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================
   16. FOOTER
   ========================================== */

.av-footer {
  position: relative;
  background: var(--av-bg);
  color: #FFFFFF;
  overflow: hidden;
  border-top: 1px solid var(--av-border);
  padding: 80px 0 0;
}

.av-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.av-footer .av-logo {
  margin-bottom: 16px;
}

.av-footer .av-logo-text {
  color: #FFFFFF;
}

.av-footer-about-text {
  color: #666666;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
}

.av-footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.av-footer-social a {
  color: #666666;
  transition: color 0.2s ease;
}

.av-footer-social a:hover {
  color: var(--av-gold);
}

.av-footer-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--av-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.av-footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--av-gold);
  border-radius: 2px;
}

.av-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.av-footer-links li {
  margin-bottom: 12px;
}

.av-footer-links a {
  color: #666666;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.av-footer-links a:hover {
  color: #FFFFFF;
  padding-left: 8px;
}

.av-footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: center;
}

.av-footer-contact-icon {
  color: #666666;
  flex-shrink: 0;
}

.av-footer-contact-item a,
.av-footer-contact-item span {
  color: #666666;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.av-footer-contact-item a:hover {
  color: var(--av-gold);
}

.av-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  margin-top: 40px;
  border-top: 1px solid var(--av-border);
  flex-wrap: wrap;
  gap: 16px;
}

.av-footer-copyright {
  color: #444444;
  font-size: 0.85rem;
  margin: 0;
}

.av-footer-legal {
  display: flex;
  gap: 24px;
}

.av-footer-legal a {
  color: #444444;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.av-footer-legal a:hover {
  color: #FFFFFF;
}

/* ==========================================
   17. BACK TO TOP
   ========================================== */

.av-back-to-top,
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--av-bg-card);
  border: 1px solid var(--av-border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.av-back-to-top.visible,
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.av-back-to-top:hover,
.back-to-top:hover {
  transform: translateY(-5px);
  border-color: var(--av-gold);
  box-shadow: var(--shadow-glow-gold);
}

.av-back-to-top svg,
.back-to-top svg {
  transition: transform 0.3s ease;
}

.av-back-to-top:hover svg,
.back-to-top:hover svg {
  transform: translateY(-3px);
}

/* ==========================================
   18. FORMS (Contact Page)
   ========================================== */

.av-contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}

.av-form-container {
  max-width: 800px;
  background: var(--av-bg-card);
  padding: 48px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--av-border);
  box-shadow: var(--shadow-md);
}

.av-form-group {
  margin-bottom: 20px;
}

.av-form-label,
.av-form-group label {
  display: block;
  font-size: 0.85rem;
  color: #888888;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.av-form-group label .required {
  color: var(--av-gold);
  margin-left: 2px;
}

.av-form-input,
.av-form-select,
.av-form-textarea,
.av-form-group input,
.av-form-group select,
.av-form-group textarea {
  width: 100%;
  background: var(--av-bg-alt);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 18px;
  color: #FFFFFF;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.av-form-input::placeholder,
.av-form-textarea::placeholder,
.av-form-group input::placeholder,
.av-form-group textarea::placeholder {
  color: #555555;
}

.av-form-input:focus,
.av-form-select:focus,
.av-form-textarea:focus,
.av-form-group input:focus,
.av-form-group select:focus,
.av-form-group textarea:focus {
  outline: none;
  border-color: var(--av-gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.1);
}

.av-form-textarea,
.av-form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.av-form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4L6 8L10 4' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.av-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.av-form-submit,
.form-submit {
  width: 100%;
  margin-top: 16px;
  background: transparent;
  color: var(--av-gold);
  font-family: var(--font-body);
  font-weight: 600;
  padding: 16px 36px;
  border: 1px solid var(--av-gold);
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.av-form-submit:hover,
.form-submit:hover {
  background: var(--av-gold);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-gold);
}

.form-error {
  color: #EF4444;
  font-size: 0.875rem;
  margin-top: 8px;
  display: none;
}

.form-group.error .form-error { display: block; }

.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Form success */
.av-form-success {
  display: none;
  text-align: center;
  padding: 48px;
}

.av-form-success.show { display: block; }

.av-form-success svg {
  width: 64px;
  height: 64px;
  color: #D4B978;
  margin-bottom: 16px;
}

.av-form-success h3 {
  font-size: 2rem;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.av-form-success p {
  color: var(--av-text-muted);
}

/* Contact Sidebar */
.av-contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.av-contact-info-card,
.av-contact-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--av-bg-card);
  border: 1px solid var(--av-border);
  border-radius: var(--av-radius-md);
  transition: all 0.3s ease;
}

.av-contact-info-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.av-contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--av-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.av-contact-info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--av-gold);
}

.av-contact-info-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.av-contact-info-content p,
.av-contact-info-content a {
  font-size: 0.9rem;
  color: var(--av-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.av-contact-info-content a:hover { color: var(--av-gold); }

/* Hours card */
.av-horaires-card,
.av-hours-card {
  padding: 24px;
  background: var(--av-bg-card);
  border: 1px solid var(--av-border);
  border-radius: var(--av-radius-md);
}

.av-horaires-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.av-horaires-card h3 svg {
  width: 20px;
  height: 20px;
  color: var(--av-gold);
}

.av-horaires-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--av-border);
}

.av-horaires-row:last-child { border-bottom: none; }
.av-horaires-day { color: #CCCCCC; font-size: 0.9rem; }
.av-horaires-time { color: var(--av-gold); font-weight: 600; font-size: 0.9rem; }
.av-horaires-closed { color: #666666; font-size: 0.9rem; }

/* Contact Hero */
.av-hero-contact {
  background: var(--av-bg);
  padding: 140px 0 60px;
  text-align: center;
}

.av-hero-contact h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.av-hero-contact p {
  font-size: 1.15rem;
  color: var(--av-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.av-contact-section {
  background: var(--av-bg);
  padding: 80px 0;
}

/* ==========================================
   19. SERVICES PAGE SPECIFIC
   ========================================== */

.av-service-card {
  background: var(--av-bg-card);
  border: 1px solid var(--av-border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.3s ease;
}

.av-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
}

.av-service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.av-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.av-feature-list li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  color: #CCCCCC;
  font-size: 0.9rem;
}

.av-card-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--av-gold);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.av-card-link:hover {
  gap: 12px;
  color: var(--av-gold);
}

/* Pricing Cards */
.av-pricing-card {
  background: var(--av-bg-card);
  border: 1px solid var(--av-border);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.av-pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.av-pricing-card.featured {
  border-color: var(--av-gold);
  box-shadow: var(--shadow-glow-gold);
}

.av-pricing-badge {
  display: inline-block;
  background: var(--av-gold);
  color: #0A0A0A;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.av-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
}

/* ==========================================
   20. FAQ
   ========================================== */

.av-faq {
  background: var(--av-bg-secondary);
  padding: 80px 0;
}

.av-faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.av-faq-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #FFFFFF;
}

.av-faq-header p {
  color: var(--av-text-muted);
  max-width: 600px;
  margin: 12px auto 0;
}

.av-faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.av-faq-item {
  background: var(--av-bg-card);
  border: 1px solid var(--av-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.av-faq-item.open,
.av-faq-item.active {
  border-color: rgba(255, 255, 255, 0.15);
}

.av-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.av-faq-question:hover {
  color: var(--av-gold);
}

.av-faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--av-text-muted);
}

.av-faq-item.open .av-faq-question svg {
  transform: rotate(180deg);
}

.av-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.av-faq-item.active .av-faq-answer,
.av-faq-item.open .av-faq-answer {
  max-height: 500px;
}

.av-faq-answer-inner {
  padding: 0 24px 20px;
  color: #888888;
  line-height: 1.7;
}

/* ==========================================
   21. HISTOIRE PAGE
   ========================================== */

.av-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.av-value-card {
  background: var(--av-bg-card);
  border: 1px solid var(--av-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.av-value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.av-team-card {
  background: var(--av-bg-card);
  border: 1px solid var(--av-border);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  gap: 24px;
  transition: all 0.3s ease;
}

.av-team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================
   22. LEGAL PAGE
   ========================================== */

.av-hero-legal {
  padding: 180px 24px 120px;
  background: var(--av-bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.av-hero-legal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 168, 232, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.av-hero-legal h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #FFFFFF;
}

.av-hero-legal p {
  font-size: 1.15rem;
  color: var(--av-text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

.av-legal-container {
  max-width: 850px;
  margin: 0 auto;
  padding: 40px 24px;
}

.av-legal-section {
  margin-bottom: 40px;
}

.av-legal-section h2 {
  border-bottom: 1px solid rgba(200, 169, 110, 0.3);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.av-legal-info-card {
  background: var(--av-bg-card);
  border: 1px solid var(--av-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

.av-legal-main {
  padding: 80px 0;
  background: var(--av-bg);
}

/* ==========================================
   23. SERVICES PAGE SECTIONS (Legacy)
   ========================================== */

.services-hero-modern {
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  background: var(--av-bg);
  overflow: hidden;
}

.hero-gradient-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0, 168, 232, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content-modern {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title-gradient {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.hero-subtitle-modern {
  font-size: 1.25rem;
  color: #CCCCCC;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Services Grid Moderne */
.services-grid,
.services-grid-modern {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card,
.service-card-modern {
  background: var(--av-bg-card);
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--av-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover,
.service-card-modern:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.service-card::before,
.service-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--av-accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover::before,
.service-card-modern:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: #FFFFFF;
  transition: all var(--transition-base);
  border: 1px solid var(--av-border);
}

.service-card:hover .service-icon {
  transform: scale(1.05);
  background: var(--av-accent-gradient);
  border-color: transparent;
}

.service-card h3 { color: #FFFFFF; margin-bottom: 12px; }
.service-card p { color: #CCCCCC; margin-bottom: 16px; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--av-gold);
  font-weight: 600;
  transition: gap var(--transition-fast);
}

.service-link:hover {
  gap: 12px;
  color: var(--av-gold);
}

.service-features,
.service-features-modern {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.service-features li,
.service-features-modern li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
  color: #CCCCCC;
}

.service-features li::before,
.service-features-modern li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--av-gold);
  border-radius: 50%;
}

.service-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  color: #000000;
}

.service-badge.popular { background: var(--av-gold); }
.service-badge.trending { background: #D4B978; }
.service-badge.new { background: #C8A96E; }
.service-badge.premium { background: var(--av-gold); }

/* Site Types Grid */
.site-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.site-type-card {
  background: var(--av-bg-card);
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--av-border);
  transition: all 0.3s ease;
  position: relative;
}

.site-type-card.featured {
  border-color: var(--av-gold);
  box-shadow: var(--shadow-glow-gold);
}

.site-type-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.15);
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 6px 16px;
  background: var(--av-gold);
  color: #000000;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
}

.site-type-card h3 { font-size: 1.25rem; color: #FFFFFF; margin-bottom: 12px; }
.site-type-card p { color: #CCCCCC; margin-bottom: 16px; }

.type-features {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.type-features li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #CCCCCC;
}

.type-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--av-gold);
  font-weight: bold;
}

.type-price {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--av-border);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--av-gold);
}

/* Detail Section */
.service-detail-section { padding: 80px 0; background: var(--av-bg); }
.service-detail-section.alt { background: var(--av-bg-secondary); }
.detail-header { text-align: center; margin-bottom: 48px; }

.detail-content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.phone-frame {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  display: block;
}

.app-platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.platform-item {
  text-align: center;
  padding: 16px;
  background: var(--av-bg-card);
  border: 1px solid var(--av-border);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.platform-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Process Timeline */
.process-section { padding: 80px 0; background: var(--av-bg-secondary); }

.process-timeline-horizontal {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 48px;
}

.process-step { flex: 1; text-align: center; padding: 0 16px; }

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--av-bg-card);
  color: var(--av-gold);
  font-size: 2rem;
  font-weight: 700;
  border-radius: 50%;
  border: 1px solid var(--av-border);
}

.process-line { flex: 1; height: 2px; background: var(--av-border); margin-top: 40px; }
.process-step h4 { font-size: 1.15rem; color: #FFFFFF; margin-bottom: 8px; }
.process-step p { font-size: 0.95rem; color: #CCCCCC; }

/* Tech Stack */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.tech-item {
  background: var(--av-bg-card);
  padding: 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--av-border);
  transition: all 0.2s ease;
}

.tech-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
}

.tech-logo { font-weight: 600; color: #FFFFFF; }

/* Services CTA */
.services-cta-modern { padding: 80px 0; background: var(--av-bg); }

.cta-box-gradient {
  position: relative;
  padding: 80px;
  text-align: center;
  border-radius: var(--radius-xl);
  background: var(--av-bg-secondary);
  border: 1px solid var(--av-border);
  overflow: hidden;
}

.cta-title-modern { font-size: clamp(2rem, 5vw, 3rem); color: #FFFFFF; margin-bottom: 16px; }
.cta-description-modern { font-size: 1.15rem; color: #CCCCCC; margin-bottom: 32px; max-width: 700px; margin-left: auto; margin-right: auto; }

.cta-actions-modern {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================
   24. HISTOIRE PAGE SECTIONS (Legacy)
   ========================================== */

.histoire-hero-modern {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  background: var(--av-bg);
  overflow: hidden;
}

.hero-gradient-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0, 168, 232, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content-center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-label {
  display: inline-block;
  padding: 8px 24px;
  color: var(--av-gold);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  border: 1px solid var(--av-gold);
  margin-bottom: 24px;
}

.hero-title-xl {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.25rem;
  color: #CCCCCC;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* Timeline */
.timeline-section-modern { padding: 80px 0; background: var(--av-bg); }

.timeline-vertical {
  position: relative;
  max-width: 900px;
  margin: 80px auto 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--av-border);
  transform: translateX(-50%);
}

.timeline-card {
  position: relative;
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}

.timeline-card:nth-child(even) .timeline-card-content { order: 3; }
.timeline-card:nth-child(even) .timeline-year-badge { order: 2; }

.timeline-point {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 3;
  grid-column: 2;
}

.point-core {
  width: 24px;
  height: 24px;
  background: var(--av-gold);
  border-radius: 50%;
  border: 4px solid var(--av-bg);
  box-shadow: 0 0 0 2px var(--av-border);
  transition: all 0.3s ease;
}

.timeline-card:hover .point-core {
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(200, 169, 110, 0.3);
}

.timeline-year-badge {
  grid-column: 2;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--av-bg-card);
  color: var(--av-gold);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 50%;
  z-index: 2;
  border: 1px solid var(--av-border);
}

.timeline-card-content {
  background: var(--av-bg-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--av-border);
  transition: all 0.3s ease;
}

.timeline-card:hover .timeline-card-content {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
}

.timeline-card-content h3 { font-size: 1.25rem; color: #FFFFFF; margin-bottom: 12px; }
.timeline-card-content p { color: #CCCCCC; line-height: 1.7; margin-bottom: 16px; }

.timeline-stats {
  display: flex;
  gap: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--av-border);
}

/* Stats Counter Section */
.stats-counter-section { padding: 80px 0; background: var(--av-bg-secondary); }

.stats-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.counter-box {
  text-align: center;
  padding: 48px;
  background: var(--av-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--av-border);
  transition: all 0.3s ease;
}

.counter-box:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.counter-number {
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 12px;
}

.counter-label { font-size: 1.15rem; color: #CCCCCC; }

/* Values */
.values-section-modern { padding: 80px 0; background: var(--av-bg-secondary); }

.values-grid-modern {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.value-card-3d { perspective: 1000px; height: 400px; }

.card-3d-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.value-card-3d:hover .card-3d-inner { transform: rotateY(180deg); }

.value-card-front,
.value-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.value-card-front {
  background: var(--av-bg-card);
  border: 1px solid var(--av-border);
}

.value-card-back {
  background: var(--av-bg-card);
  color: #FFFFFF;
  transform: rotateY(180deg);
  border: 1px solid var(--av-gold);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.team-member {
  text-align: center;
  transition: transform var(--transition-base);
}

.team-member:hover { transform: translateY(-4px); }

.team-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin-bottom: 16px;
  border: 1px solid var(--av-border);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-member:hover .team-photo img { transform: scale(1.05); }

.team-name { font-size: 1.15rem; font-weight: 600; color: #FFFFFF; margin-bottom: 4px; }
.team-role { color: var(--av-text-muted); font-size: 0.9rem; }

/* ==========================================
   25. TEAM & ACHIEVEMENTS (Histoire Page)
   ========================================== */

.team-modern-flow { padding: 80px 0; background: var(--av-bg); }
.expertise-flow { display: flex; flex-direction: column; gap: 48px; }

.team-hero-block {
  background: var(--av-bg-card);
  border-radius: 30px;
  padding: 48px;
  border: 1px solid var(--av-border);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.stat-block {
  text-align: center;
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--av-border);
  transition: transform 0.2s ease;
}

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

.stat-block.primary {
  background: var(--av-bg-card);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px;
  text-align: left;
  border: 1px solid var(--av-gold);
}

.stat-number-large {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-desc { font-size: 0.9rem; color: var(--av-text-muted); line-height: 1.4; }

/* Expertise cards */
.expertise-horizontal-flow { display: flex; flex-direction: column; gap: 24px; }

.expertise-card-horizontal {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  background: var(--av-bg-card);
  border-radius: 25px;
  padding: 32px;
  border: 1px solid var(--av-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.expertise-card-horizontal::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--av-accent-gradient);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.expertise-card-horizontal:hover::before { transform: scaleY(1); }

.expertise-card-horizontal:hover {
  transform: translateX(5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.icon-container {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--av-border);
}

.skills-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.skill-tag {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--av-border);
  border-radius: 20px;
  font-size: 0.85rem;
  color: #FFFFFF;
  font-weight: 600;
}

.card-metric {
  text-align: center;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--av-border);
  border-radius: 15px;
  min-width: 120px;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--av-gold);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.metric-label { font-size: 0.75rem; color: var(--av-text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* Progress bars */
.team-progress-showcase {
  background: var(--av-bg-card);
  border-radius: 25px;
  padding: 40px;
  border: 1px solid var(--av-border);
}

.progress-item { margin-bottom: 32px; }
.progress-item:last-child { margin-bottom: 0; }
.progress-label { display: block; font-size: 0.95rem; font-weight: 600; color: #FFFFFF; margin-bottom: 12px; }

.progress-bar-modern {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--av-accent-gradient);
  border-radius: 10px;
  animation: progressSlide 1.5s ease-out forwards;
}

@keyframes progressSlide { from { width: 0 !important; } }

/* Team achievements */
.team-achievements-section { padding: 80px 0; background: var(--av-bg); }
.achievements-showcase { margin-top: 48px; display: flex; flex-direction: column; gap: 48px; }

.stats-hero-block {
  background: var(--av-bg-card);
  border-radius: 32px;
  padding: 48px;
  border: 1px solid var(--av-border);
}

.stats-grid-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}

.stat-card-primary {
  background: var(--av-bg-secondary);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  border: 1px solid var(--av-gold);
}

.stat-number-hero { font-family: var(--font-mono); font-size: 4rem; font-weight: 800; line-height: 1; margin-bottom: 8px; color: var(--av-gold); }
.stat-label-hero { font-size: 1.25rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; color: #FFFFFF; }

.stats-grid-secondary { display: grid; grid-template-columns: 1fr; gap: 24px; }

.stat-card-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  border: 1px solid var(--av-border);
  transition: all 0.2s ease;
}

.stat-card-secondary:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
}

.stat-number-secondary { font-family: var(--font-mono); font-size: 2.5rem; font-weight: 800; color: #FFFFFF; line-height: 1; margin-bottom: 8px; }
.stat-label-secondary { font-size: 0.95rem; color: #CCCCCC; font-weight: 600; }

/* Team presentation */
.team-presentation-block {
  background: var(--av-bg-card);
  border-radius: 28px;
  padding: 48px;
  border: 1px solid var(--av-border);
}

.team-content { max-width: 900px; margin: 0 auto; }
.team-presentation-title { font-size: 2rem; font-weight: 700; color: #FFFFFF; margin-bottom: 24px; }
.team-presentation-text { font-size: 1.125rem; color: #CCCCCC; line-height: 1.8; margin-bottom: 32px; }

.team-highlights-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--av-border);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.highlight-item:hover { transform: translateX(5px); border-color: rgba(255, 255, 255, 0.15); }
.highlight-item span { font-size: 0.95rem; font-weight: 600; color: #FFFFFF; }

/* Section Separator */
.section-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 0;
}

.separator-line { height: 1px; flex: 1; max-width: 300px; background: var(--av-border); }
.separator-icon { margin: 0 32px; animation: rotate 30s linear infinite; }

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

/* Expertise Skills Section */
.expertise-skills-section { padding: 80px 0; background: var(--av-bg); }

.expertise-cards-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.expertise-card-modern {
  background: var(--av-bg-card);
  border-radius: 28px;
  border: 1px solid var(--av-border);
  transition: all 0.3s ease;
  overflow: hidden;
}

.expertise-card-modern:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.expertise-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--av-accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.expertise-card-modern:hover::before { transform: scaleX(1); }

.expertise-card-header { padding: 48px 40px 32px; text-align: center; }

.expertise-icon-container {
  width: 100px;
  height: 100px;
  margin: 0 auto 32px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--av-border);
}

.expertise-card-title { font-size: 1.5rem; font-weight: 700; color: #FFFFFF; margin-bottom: 16px; }
.expertise-card-desc { font-size: 1rem; color: #CCCCCC; line-height: 1.6; }
.expertise-card-body { padding: 0 40px 48px; }

.skills-badge-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; justify-content: center; }

.skill-badge {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 25px;
  font-size: 0.875rem;
  color: #FFFFFF;
  font-weight: 600;
  border: 1px solid var(--av-border);
}

.skills-categories-block {
  margin-top: 48px;
  background: var(--av-bg-card);
  border-radius: 28px;
  padding: 48px;
  border: 1px solid var(--av-border);
}

.skills-categories-title { font-size: 1.75rem; font-weight: 700; text-align: center; color: #FFFFFF; margin-bottom: 48px; }

.skills-progress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.skill-progress-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.skill-progress-label { font-size: 1rem; font-weight: 600; color: #FFFFFF; }
.skill-progress-value { font-family: var(--font-mono); font-size: 1.25rem; font-weight: 700; color: var(--av-gold); }

.skill-progress-bar {
  height: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
}

.skill-progress-fill {
  height: 100%;
  background: var(--av-accent-gradient);
  border-radius: 20px;
  animation: progressSlide 1.5s ease-out forwards;
}

/* Story Modern Section */
.story-modern-section { padding: 80px 0; background: var(--av-bg); }

.story-grid-modern {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.story-card-large {
  grid-column: span 2;
  background: var(--av-bg-card);
  border-radius: 24px;
  padding: 48px;
  border: 1px solid var(--av-border);
  transition: all 0.2s ease;
}

.story-card-large:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.15); }

.story-card-title { font-size: 1.75rem; font-weight: 700; color: #FFFFFF; margin-bottom: 16px; }
.story-card-text { font-size: 1.125rem; color: #CCCCCC; line-height: 1.8; margin-bottom: 24px; }

.story-highlights { display: flex; gap: 16px; flex-wrap: wrap; }

.highlight-badge {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--av-border);
}

.story-card-medium {
  background: var(--av-bg-card);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--av-border);
  transition: all 0.2s ease;
}

.story-card-medium:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.15); }

.story-card-full {
  grid-column: span 2;
  background: var(--av-bg-card);
  border-radius: 24px;
  padding: 48px;
  border: 1px solid var(--av-border);
}

.philosophy-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.philosophy-quote { font-size: 1.25rem; font-style: italic; color: #CCCCCC; border-left: 4px solid var(--av-gold); padding-left: 24px; margin: 24px 0; }
.philosophy-author { color: var(--av-text-muted); font-size: 0.9rem; }

.story-card-stats {
  grid-column: span 2;
  background: var(--av-bg-card);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--av-border);
}

.stats-showcase { display: flex; gap: 48px; align-items: center; justify-content: center; }

/* Team compact */
.team-compact-section {
  margin-top: 48px;
  padding: 48px;
  background: var(--av-bg-card);
  border-radius: 24px;
  text-align: center;
  border: 1px solid var(--av-border);
}

.team-badges { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Legacy CTA sections */
.cta-section { padding: 80px 0; background: var(--av-bg); }
.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 48px;
  background: var(--av-bg-secondary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--av-border);
}

.cta-title { color: #FFFFFF; font-size: 2.5rem; font-weight: 700; margin-bottom: 12px; }
.cta-description { color: #CCCCCC; line-height: 1.6; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.cta-title-xl { font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 800; color: #FFFFFF; line-height: 1.2; margin-bottom: 24px; }

/* Key Numbers */
.key-numbers { padding: 80px 0; background: var(--av-bg-secondary); color: #FFFFFF; }

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.number-item {
  text-align: center;
  padding: 32px;
  background: var(--av-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--av-border);
  transition: all 0.2s ease;
}

.number-item:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.15); }

.number-value {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
}

.number-suffix { font-family: var(--font-mono); font-size: 3rem; font-weight: 700; color: var(--av-gold); }
.number-label { margin-top: 12px; font-size: 1rem; color: #CCCCCC; }

/* ==========================================
   26. KEYFRAME ANIMATIONS
   ========================================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-12px); }
  60% { transform: translateY(-6px); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(200, 169, 110, 0.05); }
  50% { box-shadow: 0 0 40px rgba(200, 169, 110, 0.15); }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

/* ==========================================
   27. SCROLL REVEAL ANIMATIONS
   ========================================== */

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  animation: avFallbackReveal 0s 2s forwards;
}

[data-animate].animate-in {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
}

.scroll-reveal.revealed,
.scroll-reveal.animated {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-30px);
}

.scroll-reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(30px);
}

.scroll-reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-scale {
  opacity: 0;
  transform: scale(0.95);
}

.scroll-reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.scroll-reveal-glass {
  opacity: 0;
  transform: translateY(20px);
}

.scroll-reveal-glass.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Animation utility classes */
.animate-fadeIn { animation: fadeIn 0.6s ease-out; }
.animate-fadeInUp { animation: fadeInUp 0.6s ease-out; }
.animate-fadeInDown { animation: fadeInDown 0.6s ease-out; }
.animate-fadeInLeft { animation: fadeInLeft 0.6s ease-out; }
.animate-fadeInRight { animation: fadeInRight 0.6s ease-out; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-glowPulse { animation: glowPulse 2.5s ease-in-out infinite; }

/* Hover effects */
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4); }

.hover-shine { position: relative; overflow: hidden; }
.hover-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}
.hover-shine:hover::before { left: 100%; }

/* ==========================================
   28. UTILITIES
   ========================================== */

.mt-xs { margin-top: 8px; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 32px; }
.mt-xl { margin-top: 48px; }
.mb-xs { margin-bottom: 8px; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 32px; }
.mb-xl { margin-bottom: 48px; }

.hidden { display: none; }
.block { display: block; }
.relative { position: relative; }

.badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid var(--av-border);
}

.divider {
  height: 1px;
  background: var(--av-border);
  margin: 32px 0;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.overlay.active { opacity: 1; visibility: visible; }

/* ==========================================
   29. RESPONSIVE - LAPTOP (1025px - 1439px)
   ========================================== */

@media screen and (max-width: 1439px) and (min-width: 1025px) {
  .av-container { padding: 0 20px; }

  .av-footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
  }

  .bento-grid { gap: 12px; }

  .horizontal-panel { min-width: 320px; }
  .av-process-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* ==========================================
   30. RESPONSIVE - TABLET (max 1024px)
   ========================================== */

@media screen and (max-width: 1024px) {
  .av-process-grid { grid-template-columns: repeat(2, 1fr); }
  /* Typography scale down */
  h1 { font-size: 2rem; line-height: 1.3; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }

  .av-container { padding: 0 24px; }

  /* Header: hide desktop nav, show mobile toggle */
  .av-nav { display: none; }
  .av-header-cta { display: none; }
  .av-mobile-toggle { display: flex; }
  .av-mobile-menu { max-width: 100%; }

  .av-logo img { width: 125px !important; }
  .av-footer .av-logo img { width: 100px !important; }

  .av-header-inner {
    padding: 0 16px;
  }

  .av-logo-text { font-size: 1.3rem; letter-spacing: 3px; }

  /* Hero */
  .av-hero h1 { font-size: clamp(2.5rem, 7vw, 4rem); }
  .av-hero-subtitle { font-size: 1rem; }
  .av-hero-actions { flex-direction: column; align-items: center; }

  /* Sections */
  .av-section { padding: 80px 0; }

  /* Stats grid */
  .av-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .av-stat-item { border-right: none; border-bottom: 1px solid var(--av-border); }
  .av-stat-item:nth-child(2n) { border-right: none; }
  .av-stat-item:nth-last-child(-n+2) { border-bottom: none; }

  /* Bento grid — min 2 col */
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .av-services-cards { grid-template-columns: repeat(2, 1fr) !important; max-width: none !important; }
  .av-svc-card { aspect-ratio: 16 / 9; }
  .bento-large { grid-column: span 1; grid-row: span 1; min-height: 280px; }

  /* Portfolio */
  .av-portfolio-grid { grid-template-columns: repeat(2, 1fr); }

  /* Process grid + horizontal fallback */
  .av-process-grid { grid-template-columns: repeat(2, 1fr); }
  .horizontal-section { overflow: visible; padding: 80px 0 40px; }
  .horizontal-track { flex-direction: column; width: 100%; }
  .horizontal-panel { min-width: 100%; max-width: 100%; }

  /* Testimonials → 2 col tablette via portrait rule below */
  .av-testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  /* Grids — min 2 col */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .services-grid-modern { grid-template-columns: repeat(2, 1fr); }
  .site-types-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-counter-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid-modern { grid-template-columns: repeat(2, 1fr); }
  .av-values-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-content-split { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }

  /* Process */
  .process-timeline-horizontal { flex-direction: column; align-items: center; gap: 24px; }
  .process-line { display: none; }

  /* Footer */
  .av-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .av-footer .av-logo { justify-content: center; }
  .av-footer-about-text { text-align: center; }
  .av-footer-social { justify-content: center; }
  .av-footer-links { text-align: center; }
  .av-footer-links li { justify-content: center; }
  .av-footer-title { text-align: center; }
  .av-footer-title::after { left: 50%; transform: translateX(-50%); }
  .av-footer-contact-item { justify-content: center; text-align: center; }
  .av-footer-contact-icon { display: none; }

  .av-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .av-footer-legal { flex-wrap: wrap; justify-content: center; }

  /* Contact */
  .av-contact-grid { grid-template-columns: 1fr; }
  .av-hero-contact { padding: 100px 0 40px; }
  .av-form-container { padding: 24px; }
  .av-form-row { grid-template-columns: 1fr; }

  /* Back to top */
  .av-back-to-top, .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }

  /* Buttons */
  .av-btn-primary, .av-btn-secondary { padding: 14px 28px; font-size: 0.8rem; }

  /* Scroll indicator hidden */
  .av-scroll-indicator { display: none; }

  /* Timeline */
  .timeline-card { grid-template-columns: 1fr; gap: 16px; }
  .timeline-year-badge { grid-column: 1; margin: 0 auto; }
  .timeline-point { display: none; }
  .timeline-line { left: 20px; }
  .timeline-card:nth-child(even) .timeline-card-content { order: unset; }

  /* Story */
  .story-grid-modern { grid-template-columns: 1fr; }
  .story-card-large, .story-card-full, .story-card-stats { grid-column: span 1; }
  .philosophy-content { grid-template-columns: 1fr; }

  /* Team hero */
  .hero-stats-grid { grid-template-columns: 1fr; }
  .stat-block.primary { flex-direction: column; text-align: center; }
  .expertise-card-horizontal { grid-template-columns: 1fr; text-align: center; }
  .skills-tags { justify-content: center; }
  .card-metric { margin: 0 auto; }

  /* Stats */
  .stats-grid-main { grid-template-columns: 1fr; }
  .expertise-cards-grid { grid-template-columns: 1fr; }
  .skills-progress-grid { grid-template-columns: 1fr; }

  /* Utilities */
  .hide-mobile { display: none !important; }
  .show-mobile { display: block !important; }
  .mobile-stack { flex-direction: column; }

  /* Value card */
  .value-card-3d { height: 350px; }
}

/* ==========================================
   31. RESPONSIVE - TABLET PORTRAIT (768px-1023px)
   ========================================== */

@media screen and (min-width: 768px) and (max-width: 1023px) {
  /* MAX 3 COLONNES TABLETTE */
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .av-portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .av-values-grid { grid-template-columns: repeat(2, 1fr); }
  .av-testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .av-services-cards { grid-template-columns: repeat(2, 1fr); }
  .av-process-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================
   32. RESPONSIVE - MOBILE (max 768px)
   ========================================== */

@media screen and (max-width: 768px) {
  .av-section { padding: 60px 0; }

  /* Team layout responsive */
  .av-team-layout { grid-template-columns: 1fr !important; gap: 32px !important; }

  /* MAX 2 COLONNES MOBILE */
  .av-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .av-stat-item { border-right: none; }

  .av-portfolio-grid { grid-template-columns: repeat(2, 1fr); }

  .av-process-grid { grid-template-columns: repeat(2, 1fr); }

  .av-values-grid { grid-template-columns: repeat(2, 1fr); }

  .av-testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  .av-services-cards { grid-template-columns: repeat(2, 1fr); }

  /* ---- TAILLES UNIFORMISÉES MOBILE ---- */

  /* Stats : compteurs trop gros */
  .stat-number { font-size: clamp(2rem, 6vw, 3rem) !important; }
  .stat-suffix { font-size: clamp(1.2rem, 4vw, 2rem) !important; }

  /* Numéros process (01, 02...) */
  .av-process-number { font-size: 2rem !important; }

  /* Titres sections */
  .av-section-title { font-size: clamp(1.4rem, 5vw, 2rem) !important; }

  /* Titres cartes services */
  .av-svc-card-body h3 { font-size: 1.15rem !important; }

  /* Titre CTA */
  .av-cta-title { font-size: clamp(1.4rem, 5vw, 2rem) !important; }

  /* Description CTA */
  .av-cta-desc { font-size: 0.95rem !important; }

  /* Hero H1 */
  .av-hero h1 { font-size: clamp(1.8rem, 7vw, 2.5rem) !important; }

  /* Hero subtitle */
  .av-hero-subtitle { font-size: 0.95rem !important; }

  /* Marquee */
  .marquee-text { font-size: 1.8rem !important; }

  /* Portfolio noms */
  .av-portfolio-name { font-size: 1rem !important; }
  .av-portfolio-desc { font-size: 0.85rem !important; }

  /* Testimonials */
  .av-testimonial-text { font-size: 0.9rem !important; }
  .av-testimonial-name { font-size: 0.9rem !important; }

  /* Section labels */
  .av-section-label { font-size: 0.8rem !important; }

  /* Parallax dividers */
  .av-parallax-divider-content h3 { font-size: 1.3rem !important; }
  .av-parallax-divider-content p { font-size: 0.88rem !important; }
  .av-parallax-quote-content blockquote { font-size: 1.15rem !important; }

  /* ---- FIN TAILLES ---- */

  /* CTA */
  .av-cta-actions { flex-direction: column; align-items: center; }

  /* Numbers — 2 col mobile */
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }

  /* Legacy CTA */
  .cta-content { flex-direction: column; text-align: center; padding: 24px; }
  .cta-actions { flex-direction: column; width: 100%; }

  /* Team achievements */
  .stats-hero-block, .team-presentation-block, .skills-categories-block { padding: 24px; }
  .stat-card-primary { flex-direction: column; text-align: center; padding: 24px; }
  .stat-number-hero { font-size: 2.5rem !important; }
  .team-highlights-list { grid-template-columns: repeat(2, 1fr); }
  .separator-line { max-width: 100px; }
  .separator-icon { margin: 0 16px; }

  /* Footer padding */
  .av-footer { padding: 60px 0 0; }
}

/* ==========================================
   33. RESPONSIVE - SMALL MOBILE (max 480px)
   ========================================== */

@media screen and (max-width: 480px) {
  .av-container { padding: 0 16px; }

  .av-hero h1 { font-size: clamp(1.5rem, 7vw, 2rem) !important; }

  .av-section { padding: 48px 0; }

  .av-btn-primary, .av-btn-secondary {
    padding: 12px 24px;
    font-size: 0.78rem;
    width: 100%;
    justify-content: center;
  }

  /* MAX 2 COLONNES PETIT MOBILE */
  .av-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .av-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .av-process-grid { grid-template-columns: repeat(2, 1fr); }
  .av-testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  /* Tailles réduites petit mobile */
  .stat-number { font-size: clamp(1.8rem, 5vw, 2.5rem) !important; }
  .stat-suffix { font-size: clamp(1rem, 3vw, 1.5rem) !important; }
  .av-process-number { font-size: 1.6rem !important; }
  .av-section-title { font-size: clamp(1.2rem, 5vw, 1.6rem) !important; }
  .av-svc-card-body h3 { font-size: 1rem !important; }
  .av-cta-title { font-size: clamp(1.2rem, 5vw, 1.6rem) !important; }
  .av-parallax-divider-content h3 { font-size: 1.15rem !important; }
  .av-parallax-quote-content blockquote { font-size: 1rem !important; }
}

/* Fallback : si le JS ne rend pas les éléments visibles après 2s, forcer l'affichage */
@keyframes avFallbackReveal {
  to { opacity: 1; transform: none; }
}

[data-split] {
  animation: avFallbackReveal 0s 2s forwards;
}

/* ==========================================
   35bis. CARROUSEL PROCESS MOBILE
   ========================================== */

.av-process-carousel {
  display: none;
  margin-top: 40px;
}

.av-process-carousel-viewport {
  overflow: hidden;
  border-radius: 16px;
}

.av-process-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.av-process-carousel-slide {
  width: 100%;
  min-width: 100%;
  flex-shrink: 0;
  background: #1A1A1A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  box-sizing: border-box;
}

.av-process-slide-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #C8A96E, #D4B978);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}

.av-process-carousel-slide h3 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.av-process-carousel-slide p {
  color: #888;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.av-process-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.av-process-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  padding: 0;
}

.av-process-arrow:active {
  background: #C8A96E;
  border-color: #C8A96E;
  color: #000;
  transform: scale(0.92);
}

.av-process-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.av-process-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  display: block;
}

.av-process-dot.active {
  background: #C8A96E;
  width: 24px;
  border-radius: 4px;
}

/* ==========================================
   35. MOBILE — Tailles titres/cartes uniformes
   Corrige les inline font-size trop gros
   ========================================== */

@media screen and (max-width: 768px) {
  /* "Sur devis" dans les pricing cards — trop gros en 2.8rem */
  .tilt-card div[style*="font-size:2.8rem"],
  .tilt-card div[style*="font-size:2.2rem"],
  .tilt-card div[style*="font-size:2rem"] {
    font-size: 1.5rem !important;
  }

  /* Numéros de process (01, 02, 03, 04) — trop gros en 2.5rem */
  div[style*="font-size:2.5rem"][style*="background:linear-gradient"] {
    font-size: 1.8rem !important;
    margin-bottom: 10px !important;
  }

  /* H3 cartes features : uniformiser à 1.1rem */
  .tilt-card h3[style*="font-size:1.3rem"] {
    font-size: 1.1rem !important;
  }

  /* H3 process steps : garder 1rem */
  h3[style*="font-size:1.1rem"] {
    font-size: 1rem !important;
  }

  /* Noms de plans pricing (Essentiel, Pro, Premium...) */
  .tilt-card div[style*="font-size:1.15rem"] {
    font-size: 1rem !important;
  }

  /* Tags hero (Agence Web, Production Vidéo...) */
  .av-tag {
    font-size: 0.75rem !important;
    padding: 6px 14px !important;
  }

  /* Descriptions cartes — lisibles sur mobile */
  .tilt-card p[style*="font-size:0.93rem"] {
    font-size: 0.88rem !important;
  }

  /* Technos grid labels */
  .av-grid-4 h3,
  .av-grid-6 h3 {
    font-size: 0.95rem !important;
  }

  .av-grid-4 p,
  .av-grid-6 p {
    font-size: 0.8rem !important;
  }
}

/* ==========================================
   34. RESPONSIVE GRILLES PAGES SERVICE
   Classes utilitaires pour inline grids
   PC: max 4 | Tablette: max 3 | Mobile: max 2
   ========================================== */

.av-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); }
.av-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.av-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.av-grid-6 { display: grid; grid-template-columns: repeat(4, 1fr); }

@media screen and (max-width: 1024px) {
  .av-grid-4 { grid-template-columns: repeat(3, 1fr) !important; }
  .av-grid-6 { grid-template-columns: repeat(3, 1fr) !important; }
  .av-grid-3 { grid-template-columns: repeat(3, 1fr) !important; }
  .av-grid-2 { grid-template-columns: repeat(2, 1fr) !important; }
  .av-grid-pricing.av-grid-pricing { grid-template-columns: repeat(2, 1fr) !important; max-width: none; }
}

@media screen and (max-width: 768px) {
  .av-grid-6 { grid-template-columns: repeat(2, 1fr) !important; }
  .av-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
  .av-grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .av-grid-2 { grid-template-columns: repeat(2, 1fr) !important; }

  /* Hero hauteur auto sur mobile — s'adapte au contenu */
  .av-hero { min-height: auto; padding: 140px 0 80px; }

  /* Process : grille masquée, carrousel affiché */
  .av-process-desktop { display: none !important; }
  .av-process-carousel { display: block !important; }

  /* Pricing cards : 2 col à 768px */
  .av-grid-pricing.av-grid-pricing { grid-template-columns: repeat(2, 1fr) !important; max-width: none; }
  .stat-suffix { font-size: clamp(1.5rem, 4vw, 2.5rem); }

  /* Bento */
  .bento-grid { gap: 8px; }
  .bento-item { border-radius: 12px; padding: 24px 20px; min-height: 220px; }

  /* Cards */
  .av-testimonial-card { padding: 24px 20px; }
  .service-card { padding: 24px; }
  .av-form-container { padding: 20px; }

  /* FAQ */
  .av-faq-question { font-size: 0.9rem; padding: 16px; }
  .av-faq-answer-inner { padding: 0 16px 16px; font-size: 0.9rem; }

  /* Footer */
  .av-footer-grid { gap: 24px; }

  /* Legal */
  .av-hero-legal { padding: 140px 20px 80px; }
  .av-hero-contact h1 { font-size: 1.5rem; }

  /* Team achievements */
  .team-hero-block { padding: 24px; }
  .stat-number-large { font-size: 2rem; }
  .expertise-card-horizontal { padding: 24px; }
  .expertise-icon-container { width: 80px; height: 80px; }
  .counter-number { font-size: 3rem; }

  /* Horizontal panel */
  .horizontal-panel { padding: 32px 20px; }

  /* Pricing : 1 colonne vrai petit mobile */
  .av-grid-pricing.av-grid-pricing { grid-template-columns: 1fr !important; max-width: 480px; margin-left: auto; margin-right: auto; }
  /* Services cards : 1 colonne petit mobile */
  .av-services-cards { grid-template-columns: 1fr !important; max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* ==========================================
   34. LANDSCAPE ORIENTATION
   ========================================== */

@media screen and (max-height: 600px) and (orientation: landscape) {
  .av-hero { min-height: auto; padding: 80px 0; }
  .av-section { padding: 60px 0; }
}

/* ==========================================
   35. LARGE SCREENS (1920px+)
   ========================================== */

@media screen and (min-width: 1920px) {
  .av-container { max-width: 1400px; }
  .av-hero h1 { font-size: 6rem; }
}

@media screen and (min-width: 2560px) {
  .av-container { max-width: 1600px; }
}

/* ==========================================
   36. ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {
  *:not(.marquee-inner),
  *:not(.marquee-inner)::before,
  *:not(.marquee-inner)::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .scroll-reveal,
  .scroll-reveal-left,
  .scroll-reveal-right,
  .scroll-reveal-scale,
  .scroll-reveal-glass,
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (prefers-contrast: high) {
  :root {
    --av-border: rgba(255, 255, 255, 0.25);
    --av-text-muted: #BBBBBB;
  }

  .av-btn-primary, .av-btn-secondary { border-width: 2px; }
  a { text-decoration: underline; }
}

@media (hover: none) {
  .hover-lift:hover,
  .hover-shine:hover {
    transform: none;
  }

  .av-nav-link::after { display: none; }

  .service-card:active {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
  }
}

/* ==========================================
   37. PRINT
   ========================================== */

@media print {
  .av-header,
  .av-nav,
  .av-mobile-toggle,
  .av-back-to-top,
  .back-to-top,
  .scroll-progress,
  .av-scroll-progress,
  .av-scroll-indicator,
  .marquee-band,
  .grain-overlay,
  .preloader,
  .cursor-dot,
  .cursor-outline,
  .phone-button-fixed {
    display: none !important;
  }

  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a { text-decoration: underline; }
  h1, h2, h3, h4, h5, h6 { page-break-after: avoid; }
  .service-card, .av-portfolio-item { page-break-inside: avoid; }
  .av-section { padding: 16px 0; }
  .av-container { max-width: 100%; padding: 0; }
}
