/* =============================================================================
   MyWebShop Theme - Main Stylesheet
   Agence e-commerce & PrestaShop - Bordeaux
   ============================================================================= */

/* =============================================================================
   1. CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================================================= */
:root {
  --color-orange: #E8921A;
  --color-purple: #7B2882;
  --color-pink: #C41E6A;
  --color-green-dark: #2D6A2A;
  --color-green-mid: #558B2F;
  --color-white: #FFFFFF;
  --color-dark: #0F1117;
  --color-dark-2: #1A1D27;
  --color-gray-100: #F8F9FA;
  --color-gray-200: #E9ECEF;
  --color-gray-600: #6C757D;
  --color-gray-800: #343A40;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1200px;
  --section-padding: 100px 0;
  --header-height: 72px;
  --gradient-brand: linear-gradient(135deg, var(--color-purple) 0%, var(--color-pink) 50%, var(--color-orange) 100%);
  --gradient-dark: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-2) 100%);
  --gradient-green: linear-gradient(135deg, var(--color-green-dark) 0%, var(--color-green-mid) 100%);
}

/* =============================================================================
   2. CSS RESET & NORMALIZE
   ============================================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-gray-800);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

ul, ol {
  list-style: none;
}

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

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* =============================================================================
   3. TYPOGRAPHY SYSTEM
   ============================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.375rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  line-height: 1.8;
  color: var(--color-gray-600);
}

.text-lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--color-gray-600);
}

.text-small {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-orange { color: var(--color-orange); }
.text-purple { color: var(--color-purple); }
.text-pink { color: var(--color-pink); }
.text-green { color: var(--color-green-mid); }
.text-white { color: var(--color-white); }
.text-muted { color: var(--color-gray-600); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

strong, b { font-weight: 700; }
em, i { font-style: italic; }

/* =============================================================================
   4. LAYOUT UTILITIES
   ============================================================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-sm {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: var(--section-padding);
}

.section-sm {
  padding: 60px 0;
}

.section-lg {
  padding: 140px 0;
}

.section-bg-gray {
  background-color: var(--color-gray-100);
}

.section-bg-dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark h4 {
  color: var(--color-white);
}

.section-bg-dark p {
  color: rgba(255,255,255,0.75);
}

/* Grid */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Flex */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }

/* Spacing */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

/* =============================================================================
   5. SECTION HEADINGS
   ============================================================================= */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 146, 26, 0.1);
  color: var(--color-orange);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(232, 146, 26, 0.2);
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* =============================================================================
   6. NAVIGATION
   ============================================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--color-gray-200);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 42px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo-text span.my {
  color: var(--color-orange);
}

.logo-text span.web {
  color: var(--color-purple);
}

.logo-text span.shop {
  color: var(--color-dark);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav ul li {
  position: relative;
}

.primary-nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray-800);
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.primary-nav ul li a:hover,
.primary-nav ul li.current-menu-item > a,
.primary-nav ul li.current-page-ancestor > a {
  color: var(--color-orange);
  background: rgba(232, 146, 26, 0.08);
}

/* Dropdown */
.primary-nav ul li .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--color-gray-200);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
  z-index: 100;
}

.primary-nav ul li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  top: calc(100% + 4px);
}

.primary-nav ul li .sub-menu li a {
  padding: 10px 14px;
  font-size: 0.875rem;
  border-radius: 8px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-orange);
  color: var(--color-white) !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: var(--transition) !important;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #d07a12 !important;
  color: var(--color-white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232, 146, 26, 0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
  background: none;
  border: none;
  padding: 0;
}

.hamburger:hover {
  background: var(--color-gray-100);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 999;
  overflow-y: auto;
  padding: 24px 20px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav ul li a {
  display: block;
  padding: 14px 16px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-dark);
  border-radius: var(--radius);
  border-bottom: 1px solid var(--color-gray-200);
  transition: var(--transition);
}

.mobile-nav ul li a:hover {
  color: var(--color-orange);
  background: var(--color-gray-100);
}

.mobile-nav .mobile-cta {
  margin-top: 24px;
}

/* =============================================================================
   7. BUTTONS
   ============================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}

.btn-primary:hover {
  background: #d07a12;
  border-color: #d07a12;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 146, 26, 0.4);
}

.btn-secondary {
  background: var(--color-purple);
  color: var(--color-white);
  border-color: var(--color-purple);
}

.btn-secondary:hover {
  background: #6a2070;
  border-color: #6a2070;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(123, 40, 130, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-orange {
  background: transparent;
  color: var(--color-orange);
  border-color: var(--color-orange);
}

.btn-outline-orange:hover {
  background: var(--color-orange);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  border-color: transparent;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.0625rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.8125rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* =============================================================================
   8. HERO SECTION
   ============================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-dark);
  padding: calc(var(--header-height) + 60px) 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(123, 40, 130, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(196, 30, 106, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(232, 146, 26, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-brand);
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 146, 26, 0.15);
  color: var(--color-orange);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(232, 146, 26, 0.3);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
}

.hero h1 .highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: var(--transition);
}

.trust-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.trust-badge:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}

/* =============================================================================
   9. STATS COUNTER SECTION
   ============================================================================= */
.stats-section {
  padding: 80px 0;
  background: var(--color-dark-2);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  background: var(--color-dark-2);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
}

.stat-item:hover {
  background: rgba(255,255,255,0.04);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

/* =============================================================================
   10. CARDS - POURQUOI NOUS
   ============================================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

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

.why-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(232, 146, 26, 0.1), rgba(123, 40, 130, 0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-orange);
}

.why-card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  color: var(--color-dark);
}

.why-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-gray-600);
}

/* =============================================================================
   11. SERVICE CARDS
   ============================================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--color-gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(232, 146, 26, 0.2);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-card-icon.orange { background: rgba(232, 146, 26, 0.12); }
.service-card-icon.purple { background: rgba(123, 40, 130, 0.12); }
.service-card-icon.pink { background: rgba(196, 30, 106, 0.12); }
.service-card-icon.green { background: rgba(85, 139, 47, 0.12); }

.service-card-icon svg {
  width: 26px;
  height: 26px;
}

.service-card-icon.orange svg { color: var(--color-orange); }
.service-card-icon.purple svg { color: var(--color-purple); }
.service-card-icon.pink svg { color: var(--color-pink); }
.service-card-icon.green svg { color: var(--color-green-mid); }

.service-card h3 {
  font-size: 1.125rem;
  color: var(--color-dark);
  margin: 0;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  flex: 1;
  margin: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-orange);
  transition: var(--transition);
  margin-top: auto;
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* =============================================================================
   12. CASE STUDIES CARDS
   ============================================================================= */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.case-card-header {
  padding: 28px 28px 20px;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-2) 100%);
  position: relative;
}

.case-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(232, 146, 26, 0.2);
  color: var(--color-orange);
  margin-bottom: 12px;
}

.case-card-header h3 {
  color: var(--color-white);
  font-size: 1.125rem;
  line-height: 1.3;
}

.case-card-body {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-row {
  display: flex;
  gap: 10px;
}

.case-row-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 80px;
  padding-top: 2px;
}

.case-row-label.problem { color: var(--color-pink); }
.case-row-label.solution { color: var(--color-purple); }
.case-row-label.result { color: var(--color-green-mid); }

.case-row-text {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.6;
}

.case-results {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--color-gray-200);
}

.case-result-item {
  text-align: center;
  flex: 1;
}

.case-result-value {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: 4px;
}

.case-result-label {
  font-size: 0.75rem;
  color: var(--color-gray-600);
  line-height: 1.3;
}

/* =============================================================================
   13. TESTIMONIALS
   ============================================================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--color-gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 5rem;
  line-height: 1;
  color: var(--color-gray-200);
  font-family: Georgia, serif;
  font-weight: 700;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(123, 40, 130, 0.15);
}

.stars {
  display: flex;
  gap: 4px;
}

.stars svg {
  width: 16px;
  height: 16px;
  color: #F59E0B;
  fill: currentColor;
}

.testimonial-text {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-gray-800);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--color-gray-200);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.author-company {
  font-size: 0.8125rem;
  color: var(--color-gray-600);
}

/* =============================================================================
   14. TEAM SECTION
   ============================================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  text-align: center;
  transition: var(--transition);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  position: relative;
}

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

.team-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.875rem;
  color: var(--color-orange);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-bio {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.65;
}

/* =============================================================================
   15. BLOG CARDS
   ============================================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-gray-200);
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.06);
}

.blog-card-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-orange);
  background: rgba(232, 146, 26, 0.1);
  padding: 4px 10px;
  border-radius: 50px;
}

.blog-card h3 {
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--color-dark);
}

.blog-card h3 a {
  transition: color 0.2s ease;
}

.blog-card h3 a:hover {
  color: var(--color-orange);
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--color-gray-600);
  padding-top: 12px;
  border-top: 1px solid var(--color-gray-200);
  margin-top: auto;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-orange);
  transition: gap 0.2s ease;
}

.read-more:hover {
  gap: 8px;
}

/* =============================================================================
   16. CTA BANNER
   ============================================================================= */
.cta-banner {
  padding: 100px 0;
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(123, 40, 130, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(232, 146, 26, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.cta-banner h2 {
  color: var(--color-white);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

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

/* =============================================================================
   17. FOOTER
   ============================================================================= */
.site-footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.footer-brand .logo-text {
  font-size: 1.75rem;
  margin-bottom: 16px;
  display: block;
}

.footer-description {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: rgba(255,255,255,0.7);
}

.social-link:hover {
  background: var(--color-orange);
  color: var(--color-white);
  transform: translateY(-3px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a::before {
  content: '→';
  font-size: 0.75rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--color-orange);
}

.footer-links li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-orange);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
}

.footer-legal {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s ease;
}

.footer-legal li a:hover {
  color: var(--color-orange);
}

/* =============================================================================
   18. FORMS
   ============================================================================= */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-family: var(--font-primary);
  color: var(--color-dark);
  background: var(--color-white);
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(232, 146, 26, 0.12);
}

.form-control::placeholder {
  color: var(--color-gray-600);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236C757D' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-error {
  font-size: 0.8125rem;
  color: var(--color-pink);
  margin-top: 6px;
  display: none;
}

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

.form-control.error {
  border-color: var(--color-pink);
  box-shadow: 0 0 0 3px rgba(196, 30, 106, 0.08);
}

.form-control.success {
  border-color: var(--color-green-mid);
}

.form-success-message {
  padding: 20px 24px;
  background: rgba(45, 106, 42, 0.08);
  border: 1px solid rgba(85, 139, 47, 0.3);
  border-radius: var(--radius);
  color: var(--color-green-dark);
  font-weight: 500;
  display: none;
}

.form-success-message.visible {
  display: block;
}

/* =============================================================================
   19. BREADCRUMB
   ============================================================================= */
.breadcrumb-wrapper {
  padding: 16px 0;
  background: var(--color-gray-100);
  border-bottom: 1px solid var(--color-gray-200);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
}

.breadcrumb li + li::before {
  content: '/';
  color: var(--color-gray-600);
}

.breadcrumb li a {
  color: var(--color-gray-600);
  transition: color 0.2s ease;
}

.breadcrumb li a:hover {
  color: var(--color-orange);
}

.breadcrumb li.active {
  color: var(--color-dark);
  font-weight: 600;
}

/* =============================================================================
   20. PAGE HEADERS
   ============================================================================= */
.page-header {
  background: var(--color-dark);
  padding: calc(var(--header-height) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(123, 40, 130, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 0%, rgba(232, 146, 26, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.page-header h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.page-header .page-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  line-height: 1.7;
}

/* =============================================================================
   21. BADGES & TAGS
   ============================================================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-orange { background: rgba(232, 146, 26, 0.12); color: var(--color-orange); }
.badge-purple { background: rgba(123, 40, 130, 0.12); color: var(--color-purple); }
.badge-pink { background: rgba(196, 30, 106, 0.12); color: var(--color-pink); }
.badge-green { background: rgba(85, 139, 47, 0.12); color: var(--color-green-mid); }
.badge-dark { background: rgba(15, 17, 23, 0.08); color: var(--color-dark); }

/* =============================================================================
   22. ACCORDION / FAQ
   ============================================================================= */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.accordion-item.open {
  box-shadow: var(--shadow);
  border-color: rgba(232, 146, 26, 0.2);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.accordion-header:hover {
  background: var(--color-gray-100);
}

.accordion-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.accordion-item.open .accordion-icon {
  background: var(--color-orange);
  transform: rotate(180deg);
}

.accordion-icon svg {
  width: 14px;
  height: 14px;
  color: var(--color-gray-800);
  transition: color 0.2s ease;
}

.accordion-item.open .accordion-icon svg {
  color: var(--color-white);
}

.accordion-body {
  display: none;
  padding: 0 24px 24px;
}

.accordion-item.open .accordion-body {
  display: block;
}

.accordion-body p {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.8;
}

/* =============================================================================
   23. PROCESS STEPS
   ============================================================================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: step-counter;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 32px 24px;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 36px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: linear-gradient(to right, var(--color-orange), var(--color-purple));
}

.process-step:last-child::after {
  display: none;
}

.step-number {
  counter-increment: step-counter;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--color-white);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(232, 146, 26, 0.3);
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--color-dark);
}

.process-step p {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.65;
}

/* =============================================================================
   24. SINGLE POST & CONTENT STYLES
   ============================================================================= */
.post-content {
  max-width: 780px;
  margin: 0 auto;
}

.post-content h2 { margin: 2.5rem 0 1rem; }
.post-content h3 { margin: 2rem 0 0.875rem; }
.post-content h4 { margin: 1.75rem 0 0.75rem; }
.post-content p { margin-bottom: 1.25rem; color: var(--color-gray-800); }
.post-content ul, .post-content ol { margin: 1rem 0 1.5rem 1.5rem; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 0.5rem; color: var(--color-gray-800); font-size: 0.9375rem; line-height: 1.7; }
.post-content a { color: var(--color-orange); text-decoration: underline; text-decoration-color: rgba(232, 146, 26, 0.4); }
.post-content a:hover { text-decoration-color: var(--color-orange); }
.post-content blockquote {
  margin: 2rem 0;
  padding: 24px 32px;
  border-left: 4px solid var(--color-orange);
  background: var(--color-gray-100);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-dark);
}
.post-content img {
  border-radius: var(--radius);
  margin: 2rem 0;
}
.post-content code {
  font-family: 'Fira Code', 'Cascadia Code', Consolas, monospace;
  font-size: 0.875em;
  background: var(--color-gray-200);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--color-pink);
}
.post-content pre {
  background: var(--color-dark);
  color: #e2e8f0;
  padding: 24px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  line-height: 1.6;
}
.post-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}
.post-content hr {
  border: none;
  border-top: 1px solid var(--color-gray-200);
  margin: 2.5rem 0;
}

/* =============================================================================
   25. PAGINATION
   ============================================================================= */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 0;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid var(--color-gray-200);
  color: var(--color-dark);
}

.pagination a:hover,
.pagination .current {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}

.pagination .dots {
  border: none;
  color: var(--color-gray-600);
}

/* =============================================================================
   26. SCROLL ANIMATIONS
   ============================================================================= */
.animate-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* =============================================================================
   27. PORTFOLIO GRID
   ============================================================================= */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--color-white);
  color: var(--color-gray-800);
  border: 1.5px solid var(--color-gray-200);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}

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

.portfolio-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--color-dark);
  cursor: pointer;
}

.portfolio-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,17,23,0.9) 0%, rgba(15,17,23,0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-item-image {
  transform: scale(1.08);
}

.portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
}

.portfolio-item-title {
  color: var(--color-white);
  font-size: 1.125rem;
  margin-bottom: 6px;
}

.portfolio-item-cat {
  font-size: 0.8rem;
  color: var(--color-orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =============================================================================
   28. CONTACT PAGE
   ============================================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: flex-start;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-info-card h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--color-dark);
}

.contact-map-placeholder {
  aspect-ratio: 4/3;
  background: var(--color-gray-200);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-600);
  font-size: 0.875rem;
  overflow: hidden;
}

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

.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.w-full { width: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

.bg-gradient-brand { background: var(--gradient-brand); }
.bg-gradient-dark { background: var(--gradient-dark); }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 50px; }

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

/* =============================================================================
   30. RESPONSIVE BREAKPOINTS
   ============================================================================= */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --section-padding: 70px 0; }
  .primary-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  :root { --section-padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
  .process-step::after { display: none; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .container { padding-left: 16px; padding-right: 16px; }
  .hero h1 { font-size: 1.875rem; }
}

/* =============================================================================
   31. PRINT STYLES
   ============================================================================= */
@media print {
  .site-header,
  .mobile-nav,
  .hamburger,
  .cta-banner,
  .site-footer,
  .hero-actions,
  .btn,
  .nav-cta {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  h1, h2, h3, h4, h5, h6 {
    color: #000;
    page-break-after: avoid;
  }

  .hero {
    padding-top: 20px;
    min-height: auto;
    background: #f0f0f0;
  }

  .hero h1 { color: #000; }
  .hero-subtitle { color: #444; }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.75em;
    color: #666;
  }

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

/* =============================================================================
   32. URGENCE PAGE
   ============================================================================= */
.urgence-hero {
  background: linear-gradient(135deg, #8B0000 0%, #C41E6A 50%, #1a0a0a 100%);
}

.btn-urgence {
  background: #ff2d2d;
  animation: pulse-urgence 1.5s infinite;
  border-radius: 50px;
  padding: 20px 40px;
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

@keyframes pulse-urgence {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 45, 45, 0.7); }
  50%       { box-shadow: 0 0 0 20px rgba(255, 45, 45, 0); }
}

/* =============================================================================
   33. RÉALISATIONS — REVOLUTIONARY GRID
   ============================================================================= */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 80px;
  gap: 20px;
}

.realisation-card:nth-child(odd) {
  grid-column: span 7;
  grid-row: span 6;
}

.realisation-card:nth-child(even) {
  grid-column: span 5;
  grid-row: span 6;
}

.realisation-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  background: var(--color-dark-2);
  border: 1px solid rgba(255,255,255,0.08);
}

.realisation-card::before {
  content: attr(data-number);
  position: absolute;
  font-size: 200px;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  right: -20px;
  bottom: -40px;
  line-height: 1;
  pointer-events: none;
}

.realisation-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  border-color: var(--color-orange);
}

.card-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: height 0.3s;
}

.realisation-card:hover .card-accent { height: 6px; }

/* Full screen overlay */
.case-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  backdrop-filter: blur(10px);
}

.case-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.case-overlay-inner {
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-dark-2);
  border-radius: var(--radius-lg);
  padding: 60px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
}

/* =============================================================================
   34. PARTNER LOGOS WALL
   ============================================================================= */
.partners-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.partner-badge {
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gray-600);
  transition: var(--transition);
  background: rgba(255,255,255,0.03);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: default;
}

.partner-badge:hover {
  color: var(--color-orange);
  border-color: var(--color-orange);
  background: rgba(232, 146, 26, 0.08);
}

.partner-badge-primary {
  color: var(--color-orange);
  border-color: rgba(232,146,26,0.3);
  background: rgba(232,146,26,0.06);
}

/* =============================================================================
   35. SECTEURS PILLS
   ============================================================================= */
.secteur-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
  cursor: default;
}

.secteur-pill:hover {
  background: rgba(232, 146, 26, 0.15);
  border-color: var(--color-orange);
  color: var(--color-orange);
}

/* =============================================================================
   36. EXPERTISE TAGS
   ============================================================================= */
.expertise-category {
  margin-bottom: 32px;
}

.expertise-category h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-orange);
  margin-bottom: 12px;
  font-weight: 700;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  padding: 6px 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #ccc;
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
  cursor: default;
}

.tech-tag:hover {
  background: rgba(123, 40, 130, 0.2);
  border-color: var(--color-purple);
  color: #fff;
}

.tech-tag-highlight {
  background: rgba(232,146,26,0.1);
  border-color: rgba(232,146,26,0.3);
  color: var(--color-orange);
}

.tech-tag-highlight:hover {
  background: rgba(232,146,26,0.2);
  border-color: var(--color-orange);
  color: white;
}

/* =============================================================================
   37. ADDONS PROMO BANNER
   ============================================================================= */
.addons-banner {
  background: linear-gradient(135deg, var(--color-green-dark) 0%, var(--color-green-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.addons-banner h2 {
  color: white;
  margin-bottom: 12px;
}

.addons-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin: 0;
}

/* =============================================================================
   38. HUMAN AGENCY SECTION
   ============================================================================= */
.human-agency {
  background: var(--color-dark-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 146, 26, 0.15);
  border: 1px solid var(--color-orange);
  color: var(--color-orange);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* Pulse dot */
.pulse-dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
  flex-shrink: 0;
  display: inline-block;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

/* =============================================================================
   39. EMERGENCY FLOATING BUTTON
   ============================================================================= */
.emergency-float-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #C41E6A, #7B2882);
  color: white;
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(196, 30, 106, 0.5);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.emergency-float-btn:hover {
  transform: translateY(-3px) scale(1.03);
  color: white;
  box-shadow: 0 12px 40px rgba(196, 30, 106, 0.65);
}

@media (max-width: 768px) {
  .emergency-float-btn span.emergency-float-label { display: none; }
  .emergency-float-btn {
    padding: 14px;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    justify-content: center;
  }

  /* Realisations responsive */
  .realisations-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .realisation-card:nth-child(odd),
  .realisation-card:nth-child(even) {
    grid-column: 1;
    grid-row: auto;
  }
  .case-overlay-inner {
    padding: 30px 20px;
  }
  .addons-banner {
    flex-direction: column;
    padding: 30px;
    text-align: center;
  }
}

/* =============================================================================
   32. DARK MODE
   ============================================================================= */
@media (prefers-color-scheme: dark) {
  /* We keep the site in its designed state even in dark mode OS preference
     as the design intentionally uses dark sections already */
  .section-bg-gray {
    background-color: #1a1d27;
  }
}

/* =============================================================================
   33. FOCUS & ACCESSIBILITY
   ============================================================================= */
:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .animate-fade-in,
  .animate-slide-left,
  .animate-slide-right,
  .animate-scale {
    opacity: 1;
    transform: none;
  }
}

/* =============================================================================
   34. WORDPRESS SPECIFIC
   ============================================================================= */
.alignleft { float: left; margin: 0.5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.5rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1rem auto; }
.alignwide { max-width: 1000px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }

.wp-caption { text-align: center; }
.wp-caption-text { font-size: 0.8125rem; color: var(--color-gray-600); font-style: italic; margin-top: 8px; }

.gallery { display: grid; gap: 12px; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item img { width: 100%; height: auto; border-radius: 8px; }

.sticky-post { border-top: 3px solid var(--color-orange); }

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Widget styles */
.widget { margin-bottom: 32px; }
.widget-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-orange);
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid var(--color-gray-200); font-size: 0.9375rem; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--color-gray-800); transition: color 0.2s ease; }
.widget ul li a:hover { color: var(--color-orange); }

/* Sidebar */
.sidebar-area { display: flex; flex-direction: column; gap: 28px; }
.sidebar-widget {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  padding: 24px;
}

/* Content with sidebar layout */
.content-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .content-sidebar-layout { grid-template-columns: 1fr; }
}

/* =============================================================================
   35. LOADING & SKELETON
   ============================================================================= */
.skeleton {
  background: linear-gradient(90deg, var(--color-gray-200) 25%, var(--color-gray-100) 50%, var(--color-gray-200) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =============================================================================
   36. NOTIFICATION BARS & ALERTS
   ============================================================================= */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.5;
  border: 1px solid transparent;
  margin-bottom: 16px;
}

.alert-success {
  background: rgba(45, 106, 42, 0.08);
  border-color: rgba(85, 139, 47, 0.3);
  color: var(--color-green-dark);
}

.alert-warning {
  background: rgba(232, 146, 26, 0.08);
  border-color: rgba(232, 146, 26, 0.3);
  color: #8B5000;
}

.alert-error {
  background: rgba(196, 30, 106, 0.07);
  border-color: rgba(196, 30, 106, 0.25);
  color: var(--color-pink);
}

/* =============================================================================
   37. NOT FOUND PAGE
   ============================================================================= */
.error-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 80px 20px;
}

.error-404 .error-code {
  font-size: 10rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.error-404 h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.error-404 p {
  color: var(--color-gray-600);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================================================
   38. SEARCH RESULTS
   ============================================================================= */
.search-results-header {
  padding: 40px 0;
  border-bottom: 1px solid var(--color-gray-200);
  margin-bottom: 40px;
}

.search-form {
  display: flex;
  gap: 12px;
  max-width: 560px;
}

.search-form .form-control {
  flex: 1;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.search-result-item {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-gray-200);
}

.search-result-item h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.search-result-item h3 a:hover {
  color: var(--color-orange);
}

.search-result-meta {
  font-size: 0.8125rem;
  color: var(--color-gray-600);
  margin-bottom: 8px;
}

.search-result-excerpt {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.7;
}

.search-result-excerpt mark {
  background: rgba(232, 146, 26, 0.2);
  color: var(--color-dark);
  padding: 0 2px;
  border-radius: 2px;
}

/* =============================================================================
   END OF STYLESHEET
   ============================================================================= */
