/* =============================================
   PEINTURE RICHELIEU - DESIGN SYSTEM
   ============================================= */

/* ===== CSS VARIABLES ===== */
:root {
  /* Primary Colors - From Logo */
  --primary-dark: #0D1117;
  /* Dark navy background */
  --primary-blue: #4A90D9;
  /* Light blue from logo */
  --primary-blue-light: #6BA3E0;
  /* Lighter blue accent */
  --primary-blue-dark: #3A7BC8;
  /* Darker blue for hover */

  /* Neutral Colors */
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --gray-100: #E8ECF0;
  --gray-200: #D1D9E0;
  --gray-300: #9BA5B0;
  --gray-600: #4A5568;
  --gray-800: #2D3748;
  --dark: #1A1D23;

  /* Accent */
  --accent-gold: #D4A84B;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 30px rgba(74, 144, 217, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
  --white: #0D1117;
  --off-white: #161B22;
  --gray-100: #21262D;
  --gray-200: #30363D;
  --gray-300: #8B949E;
  --gray-600: #C9D1D9;
  --gray-800: #E6EDF3;
  --dark: #F0F6FC;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}

/* Dark mode specific overrides */
[data-theme="dark"] body {
  background-color: var(--white);
  color: var(--gray-800);
}

[data-theme="dark"] .service-card {
  background: var(--off-white);
  border-color: var(--gray-200);
}

[data-theme="dark"] .contact-form {
  background: var(--off-white);
}

[data-theme="dark"] .testimonial-card {
  background: var(--off-white);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: var(--dark);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
  background: var(--gray-100);
  border-color: var(--gray-200);
  color: var(--gray-800);
}

[data-theme="dark"] .filter-btn {
  border-color: var(--gray-200);
  color: var(--gray-600);
}

[data-theme="dark"] .section--light {
  background-color: var(--off-white);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin-bottom: var(--spacing-md);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-3xl) 0;
}

.section--dark {
  background-color: var(--primary-dark);
  color: var(--white);
}

.section--light {
  background-color: var(--off-white);
}

.grid {
  display: grid;
  gap: var(--spacing-xl);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .grid--4,
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(74, 144, 217, 0.1);
  transition: all var(--transition-base);
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.navbar__logo img {
  height: 50px;
  width: auto;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.navbar__link {
  color: var(--gray-200);
  font-weight: 500;
  padding: var(--spacing-sm) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width var(--transition-base);
}

.navbar__link:hover {
  color: var(--white);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__cta {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  color: var(--white);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.navbar__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--spacing-sm);
}

.navbar__toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all var(--transition-fast);
}

[data-theme="dark"] .navbar__toggle span {
  background: #ffffff;
}

/* Dark Mode Toggle Button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--gray-200);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-right: var(--spacing-md);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .sun-icon {
  display: none;
}

.theme-toggle .moon-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

@media (max-width: 1024px) {
  .navbar__toggle {
    display: flex;
  }

  .navbar__menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: var(--spacing-xl);
    gap: var(--spacing-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }

  .navbar__menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #141B24 100%);
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(20, 27, 36, 0.85) 0%, rgba(10, 15, 25, 0.9) 100%),
    url('/Photo/accueil_picture.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: linear-gradient(135deg, rgba(74, 144, 217, 0.25) 0%, rgba(74, 144, 217, 0.1) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--primary-blue-light);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--spacing-lg);
  border: 1px solid rgba(74, 144, 217, 0.4);
  box-shadow:
    0 0 20px rgba(74, 144, 217, 0.2),
    0 4px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: badgePulse 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.hero__badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: badgeShimmer 4s ease-in-out infinite;
}

.hero__badge svg {
  filter: drop-shadow(0 0 4px rgba(74, 144, 217, 0.6));
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow:
      0 0 20px rgba(74, 144, 217, 0.2),
      0 4px 15px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  50% {
    box-shadow:
      0 0 30px rgba(74, 144, 217, 0.35),
      0 4px 20px rgba(0, 0, 0, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
}

@keyframes badgeShimmer {
  0% {
    left: -100%;
  }

  50%,
  100% {
    left: 100%;
  }
}

.hero__title {
  color: var(--white);
  margin-bottom: var(--spacing-lg);
}

.hero__title span {
  color: var(--primary-blue);
}

.hero__description {
  color: var(--gray-300);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-2xl);
  max-width: 600px;
}

.hero__buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.hero__image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
}

@media (max-width: 1024px) {
  .hero__image {
    opacity: 0.3;
    width: 100%;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn svg {
  flex-shrink: 0;
  vertical-align: middle;
  margin-top: -1px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gray-300);
}

.btn--secondary:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.btn--outline-blue {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn--outline-blue:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn--large {
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: 1.125rem;
}

/* ===== SERVICE CARDS ===== */
.services {
  position: relative;
}

.services__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-3xl);
}

.services__subtitle {
  color: var(--primary-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  margin-bottom: var(--spacing-sm);
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-light));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(74, 144, 217, 0.1), rgba(74, 144, 217, 0.05));
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-lg);
  font-size: 2rem;
}

.service-card__title {
  margin-bottom: var(--spacing-sm);
}

.service-card__description {
  color: var(--gray-600);
  margin-bottom: var(--spacing-lg);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--primary-blue);
  font-weight: 600;
  transition: gap var(--transition-fast);
}

.service-card__link:hover {
  gap: var(--spacing-md);
}

/* ===== VALUE PROPOSITIONS ===== */
.values {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #141B24 100%);
}

.value-item {
  text-align: center;
  padding: var(--spacing-xl);
}

.value-item__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 144, 217, 0.15);
  border: 2px solid rgba(74, 144, 217, 0.3);
  border-radius: var(--radius-full);
  margin: 0 auto var(--spacing-lg);
  font-size: 2rem;
  color: var(--primary-blue-light);
}

.value-item__title {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

.value-item__description {
  color: var(--gray-300);
}

/* ===== GALLERY / BEFORE-AFTER ===== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-xl);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.gallery-item__slider {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  user-select: none;
}

.gallery-item__before,
.gallery-item__after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.gallery-item__after {
  z-index: 1;
}

.gallery-item__before {
  z-index: 2;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.gallery-item__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--white);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.gallery-item__divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-lg);
}

.gallery-item__divider::after {
  content: '◄ ►';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  color: var(--primary-blue);
  font-weight: bold;
  z-index: 1;
  letter-spacing: 2px;
}

.gallery-item__label {
  position: absolute;
  bottom: var(--spacing-md);
  padding: var(--spacing-xs) var(--spacing-md);
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 5;
}

.gallery-item__label--before {
  left: var(--spacing-md);
}

.gallery-item__label--after {
  right: var(--spacing-md);
}


/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--off-white);
}

.testimonial-card {
  background: var(--white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card__quote {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  font-size: 4rem;
  color: var(--primary-blue);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-card__text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: var(--spacing-lg);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
}

.testimonial-card__name {
  font-weight: 600;
  color: var(--dark);
}

.testimonial-card__location {
  font-size: 0.875rem;
  color: var(--gray-300);
}

/* ===== CTA SECTION ===== */
.cta {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></svg>');
  background-size: 80px 80px;
}

.cta__content {
  position: relative;
  z-index: 1;
}

.cta__title {
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.cta__description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
}

.cta .btn--primary {
  background: var(--white);
  color: var(--primary-blue);
}

.cta .btn--primary:hover {
  background: var(--off-white);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: var(--gray-300);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-3xl);
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  height: 60px;
  margin-bottom: var(--spacing-lg);
}

.footer__description {
  margin-bottom: var(--spacing-lg);
}

.footer__social {
  display: flex;
  gap: var(--spacing-md);
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 144, 217, 0.15);
  border-radius: var(--radius-md);
  color: var(--primary-blue-light);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.footer__column h4 {
  color: var(--white);
  margin-bottom: var(--spacing-lg);
  font-size: 1rem;
}

.footer__links li {
  margin-bottom: var(--spacing-sm);
}

.footer__links a:hover {
  color: var(--primary-blue-light);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer__bottom p {
  margin: 0;
}

.footer__copyright {
  font-size: 0.875rem;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
}

@media (max-width: 1024px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  background: var(--white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.contact-info__icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 144, 217, 0.15);
  border-radius: var(--radius-md);
  color: var(--primary-blue);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info__title {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: var(--spacing-xs);
}

.contact-info__text {
  color: var(--gray-600);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}

/* ===== SCROLL REVEAL ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== UTILITIES ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

[data-theme="dark"] .glass-card {
  background: rgba(22, 27, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: var(--spacing-sm);
}

.mb-2 {
  margin-bottom: var(--spacing-md);
}

.mb-3 {
  margin-bottom: var(--spacing-lg);
}

.mb-4 {
  margin-bottom: var(--spacing-xl);
}

.mt-0 {
  margin-top: 0;
}

.mt-4 {
  margin-top: var(--spacing-xl);
}

/* ===== FLOATING SMS BUTTON ===== */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 144, 217, 0.5);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(74, 144, 217, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(74, 144, 217, 0);
  }
}

.sms-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: all var(--transition-fast);
  animation: pulse 2s infinite;
}

/* ===== TESTIMONIAL CAROUSEL ===== */
.testimonial-carousel {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-2xl);
  text-align: center;
}

.testimonial-quote {
  font-size: 4rem;
  color: var(--primary-blue);
  line-height: 1;
  font-family: serif;
  opacity: 0.3;
  margin-bottom: var(--spacing-sm);
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: var(--spacing-xl);
  min-height: 80px;
}

.testimonial-author-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--dark);
}

.testimonial-location {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.t-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-blue);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.t-btn:hover {
  opacity: 1;
}

.t-dots {
  display: flex;
  gap: 8px;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.t-dot.active {
  background: var(--primary-blue);
  transform: scale(1.2);
}

[data-theme="dark"] .testimonial-text {
  color: var(--gray-300);
}

[data-theme="dark"] .testimonial-author {
  color: var(--white);
}

/* ===== FAQ ACCORDION ===== */
.faq-section {
  background: var(--off-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item__question {
  padding: var(--spacing-lg);
  padding-left: var(--spacing-xl);
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.faq-item__question:hover {
  color: var(--primary-blue);
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--primary-blue);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: rgba(74, 144, 217, 0.05);
}

.faq-item__answer p {
  padding: var(--spacing-lg);
  padding-left: var(--spacing-xl);
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
}

[data-theme="dark"] .faq-item {
  background: var(--gray-800);
}

[data-theme="dark"] .faq-item__question {
  color: var(--white);
}

[data-theme="dark"] .faq-item__answer p {
  color: var(--gray-300);
}

.sms-float .sms-tooltip {
  position: absolute;
  right: 70px;
  background: var(--dark);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all var(--transition-fast);
}

.sms-float .sms-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--dark);
}

.sms-float:hover .sms-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@media (max-width: 640px) {
  .sms-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }

  .sms-float .sms-tooltip {
    display: none;
  }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.lightbox__container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: zoom-in;
}

.lightbox__loader {
  position: absolute;
  display: none;
}

.lightbox__loader.active {
  display: flex;
}

.lightbox__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--primary-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev {
  left: 20px;
}

.lightbox__nav--next {
  right: 20px;
}

.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
  border-radius: var(--radius-md);
}

.lightbox__zoom-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 12px;
  border-radius: var(--radius-md);
}

.lightbox__zoom-btn {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.lightbox__zoom-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__zoom-level {
  color: white;
  font-size: 0.875rem;
  min-width: 45px;
  text-align: center;
}

@media (max-width: 768px) {
  .lightbox__container {
    padding: 20px;
  }

  .lightbox__nav {
    width: 40px;
    height: 40px;
  }

  .lightbox__nav--prev {
    left: 10px;
  }

  .lightbox__nav--next {
    right: 10px;
  }

  .lightbox__close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .lightbox__zoom-controls {
    display: none;
  }
}

/* ===== DARK MODE TOGGLE ===== */
.theme-toggle {
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(74, 144, 217, 0.15);
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue-light);
  transition: all var(--transition-fast);
  margin-right: var(--spacing-md);
}

.theme-toggle:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.theme-toggle .sun-icon {
  display: none;
}

.theme-toggle .moon-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

@media (max-width: 1024px) {
  .theme-toggle {
    order: -1;
    margin-right: auto;
    margin-left: var(--spacing-md);
  }
}

/* ===== DARK MODE THEME ===== */
[data-theme="dark"] {
  --off-white: #1A1D23;
  --gray-100: #2D3748;
  --gray-200: #4A5568;
  --gray-300: #CBD5E0;
  --gray-600: #E2E8F0;
  --dark: #FFFFFF;
}

[data-theme="dark"] body {
  background-color: #0D1117;
  color: #E2E8F0;
}

[data-theme="dark"] .section {
  background-color: #0D1117;
}

[data-theme="dark"] .section--light {
  background-color: #161B22;
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .team-card,
[data-theme="dark"] .testimonial-card {
  background: #1C2128;
  border: 1px solid #30363D;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .service-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 8px 24px rgba(74, 144, 217, 0.2);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 {
  color: #FFFFFF;
}

[data-theme="dark"] .service-card__title {
  color: #FFFFFF;
}

[data-theme="dark"] .service-card__description,
[data-theme="dark"] .team-card__description,
[data-theme="dark"] p {
  color: #A8B2C1;
}

[data-theme="dark"] .service-card__icon {
  background: rgba(74, 144, 217, 0.15);
  color: var(--primary-blue-light);
}

[data-theme="dark"] .service-card__link {
  color: var(--primary-blue-light);
}

[data-theme="dark"] .services__subtitle {
  color: var(--primary-blue-light);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
  background: #1C2128;
  border-color: #30363D;
  color: #FFFFFF;
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus,
[data-theme="dark"] .form-group select:focus {
  border-color: var(--primary-blue);
}

[data-theme="dark"] .filter-btn {
  border-color: #30363D;
  color: #A8B2C1;
  background: #1C2128;
}

[data-theme="dark"] .filter-btn:hover,
[data-theme="dark"] .filter-btn.active {
  border-color: var(--primary-blue);
  background: var(--primary-blue);
  color: var(--white);
}

/* Dark mode - Value items */
[data-theme="dark"] .value-item {
  background: rgba(28, 33, 40, 0.8);
  border: 1px solid rgba(48, 54, 61, 0.5);
}

[data-theme="dark"] .value-item__icon {
  background: rgba(74, 144, 217, 0.2);
  color: var(--primary-blue-light);
}

[data-theme="dark"] .value-item__title {
  color: #FFFFFF;
}

[data-theme="dark"] .value-item__description {
  color: #A8B2C1;
}

/* Dark mode - Hero section */
[data-theme="dark"] .hero__description {
  color: #CBD5E0;
}

/* Dark mode - Footer */
[data-theme="dark"] .footer {
  background: #0A0D12;
  border-top: 1px solid #30363D;
}

[data-theme="dark"] .footer__description {
  color: #A8B2C1;
}

[data-theme="dark"] .footer__links a {
  color: #A8B2C1;
}

[data-theme="dark"] .footer__links a:hover {
  color: var(--primary-blue-light);
}

[data-theme="dark"] .footer h4 {
  color: #FFFFFF;
}

[data-theme="dark"] .footer__bottom {
  border-top-color: #30363D;
  color: #6B7280;
}

/* Dark mode - Contact info */
[data-theme="dark"] .contact-info__item {
  border-color: #30363D;
}

[data-theme="dark"] .contact-info__title {
  color: #FFFFFF;
}

[data-theme="dark"] .contact-info__text {
  color: #A8B2C1;
}

[data-theme="dark"] .contact-info__icon {
  background: rgba(74, 144, 217, 0.15);
  color: var(--primary-blue-light);
}

/* Dark mode - CTA section */
[data-theme="dark"] .cta {
  background: linear-gradient(135deg, #1C2128 0%, #0D1117 100%);
}

[data-theme="dark"] .cta__title {
  color: #FFFFFF;
}

[data-theme="dark"] .cta__description {
  color: #CBD5E0;
}

/* Dark mode - Gallery items */
[data-theme="dark"] .gallery-item {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Dark mode - Navbar */
[data-theme="dark"] .navbar {
  background: rgba(13, 17, 23, 0.98);
  border-bottom: 1px solid rgba(48, 54, 61, 0.5);
}

[data-theme="dark"] .navbar__link {
  color: #CBD5E0;
}

[data-theme="dark"] .navbar__link:hover {
  color: var(--primary-blue-light);
}

/* Dark mode - SMS float button */
[data-theme="dark"] .sms-float {
  box-shadow: 0 4px 20px rgba(74, 144, 217, 0.4);
}

/* Dark mode - Buttons */
[data-theme="dark"] .btn--secondary {
  border-color: rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .btn--secondary:hover {
  border-color: var(--primary-blue);
  background: var(--primary-blue);
  color: var(--white);
}

/* Dark mode - FAQ */
[data-theme="dark"] .faq-item__question {
  color: var(--white);
}

[data-theme="dark"] .faq-item__question:hover {
  color: var(--primary-blue-light);
}

[data-theme="dark"] .faq-item__content {
  color: var(--gray-300);
}


/* ===== GALLERY AFTER-ONLY ===== */
.gallery-item--after-only {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
}

/* ===== COMPARISON SLIDER (Before/After) ===== */
.comparison-slider {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
}

.comparison-slider__before,
.comparison-slider__after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.comparison-slider__before img,
.comparison-slider__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.comparison-slider__after {
  clip-path: inset(0 0 0 50%);
}

.comparison-slider__handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: white;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.comparison-slider__handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-slider__handle::after {
  content: '↔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  color: var(--primary-blue);
  font-weight: bold;
}

.comparison-slider__label {
  position: absolute;
  bottom: 20px;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: white;
  z-index: 5;
}

.comparison-slider__label--before {
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
}

.comparison-slider__label--after {
  right: 20px;
  background: var(--primary-blue);
}

@media (max-width: 768px) {
  .comparison-slider {
    height: 300px;
  }
}

/* Before/After Gallery Item (legacy) */
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 400px;
  background: var(--gray-100);
}

/* Slider-based Before/After (Homepage) */
.gallery-item__slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.gallery-item__slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item__slider .gallery-item__label {
  position: absolute;
  bottom: 10px;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: white;
}

.gallery-item__slider .gallery-item__label--before {
  left: 10px;
  background: #ef4444;
}

.gallery-item__slider .gallery-item__label--after {
  right: 10px;
  background: #22c55e;
}

.gallery-item__divider {
  display: none;
}

/* Grid-based Before/After (Services page) */
.gallery-item__before,
.gallery-item__after {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
}

.gallery-item__before img,
.gallery-item__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.gallery-item__before:hover img,
.gallery-item__after:hover img {
  transform: scale(1.05);
}

.gallery-item__before .gallery-item__label {
  background: #ef4444;
}

.gallery-item__after .gallery-item__label {
  background: #22c55e;
}

@media (max-width: 768px) {
  .gallery-item {
    height: 250px;
  }

  .gallery-item__before,
  .gallery-item__after {
    height: 200px;
  }
}

.gallery-item--after-only img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.gallery-item--after-only:hover img {
  transform: scale(1.05);
}

.gallery-item--after-only .gallery-item__label {
  position: absolute;
  bottom: var(--spacing-md);
  right: var(--spacing-md);
  padding: var(--spacing-xs) var(--spacing-md);
  background: rgba(74, 144, 217, 0.9);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;

  border-radius: var(--radius-sm);
}

/* ===== CUSTOM CURSOR & SPLASH EFFECT ===== */
body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%234A90D9' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 21.9a9.776 9.776 0 0 1-7-3c-1.3-1.6-1.5-2.8-1.5-6.3A9.762 9.762 0 0 1 12.2 2h.2a9.775 9.775 0 0 1 7.2 2.8 9.762 9.762 0 0 1 2.9 7.2c0 2.9.2 4.1-.2 5.2a9.78 9.78 0 0 1-2.9 3.5'%3E%3C/path%3E%3Cpath d='M16.5 16.5 12 21l-4.5-4.5'%3E%3C/path%3E%3C/svg%3E") 0 24, auto;
  /* Utilisation d'un SVG de goutte/pinceau abstrait */
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='%234A90D9' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M19.5 12c-1.5 0-2.5-1-2.5-3 0-4 4-7 4-7h-14s4 3 4 7c0 2-1 3-2.5 3C6.5 12 5 14 5 16.5 5 19.5 7.5 22 10.5 22c1.5 0 3-.5 4.5-1.5 1.5 1 3 1.5 4.5 1.5 3 0 5.5-2.5 5.5-5.5 0-2.5-1.5-4.5-3.5-4.5z'/%3E%3C/svg%3E") 16 30, auto;
}

/* Paint Splash Animation */
.paint-splash-particle {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  background: var(--primary-blue);
  transform: translate(-50%, -50%) scale(0);
}

@keyframes splashDrop {

  0% {
    transform: translate(-50%, -50%) rotate(var(--rotation, 0deg)) scale(0);
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    /* tx/ty are 0 for the single splash, but keeping them allows flexibility */
    transform: translate(var(--tx), var(--ty)) rotate(var(--rotation, 0deg)) scale(var(--scale));
    opacity: 0;
  }
}

[data-theme="dark"] .paint-splash-particle {
  background: #60A5FA;
  /* Plus clair en dark mode */
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

/* ===== NEW CUSTOM CURSOR (USER SVG) ===== */
/* Cursor is 34px (30% smaller than original 48px), hotspot at top center */
body {
  cursor: url("/paint-brush-cursor.svg") 17 0, auto !important;
}

/* Fallback for links/buttons to also show brush or pointer */
a,
button,
.btn,
.gallery-item,
.service-card {
  cursor: url("/paint-brush-cursor.svg") 17 0, pointer !important;
}

/* ===== NEW SVG SPLASH EFFECT (TEST) ===== */
.paint-splash-particle {
  /* Override previous circle styles */
  border-radius: 0 !important;
  background-color: var(--primary-blue) !important;

  /* Use SVG as mask to keep the blue color */
  -webkit-mask-image: url("/paint-mark-1-svgrepo-com.svg");
  mask-image: url("/paint-mark-1-svgrepo-com.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;

  /* Remove box-shadow as it doesn't work well with masks */
  box-shadow: none !important;
}

[data-theme="dark"] .paint-splash-particle {
  background-color: #60A5FA !important;
  box-shadow: none !important;
}

/* ===== FAQ SECTION ===== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg) 0;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  transition: color var(--transition-fast);
}

.faq-item__question:hover {
  color: var(--primary-blue);
}

.faq-item__icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-left: var(--spacing-md);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--transition-base);
}

.faq-item__icon::before {
  width: 12px;
  height: 2px;
}

.faq-item__icon::after {
  width: 2px;
  height: 12px;
}

.faq-item.active .faq-item__question {
  color: var(--primary-blue);
}

.faq-item.active .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-item__content {
  padding-bottom: var(--spacing-lg);
  padding-left: var(--spacing-xl);
  color: #1a1a1a !important;
  line-height: 1.6;
}

/* ===== SCROLLYTELLING SECTION ===== */
.scrolly-section {
  padding: var(--spacing-3xl) 0;
  position: relative;
  background-color: var(--white);
}

.scrolly-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-3xl);
}

.scrolly-text {
  width: 45%;
  padding-bottom: 50vh;
  /* Allow scrolling past the last item */
}

.scrolly-text__block {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--spacing-xl) 0;
  opacity: 0.3;
  transition: opacity var(--transition-base);
}

.scrolly-text__block.active {
  opacity: 1;
}

.scrolly-text__title {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: var(--spacing-lg);
}

.scrolly-text__steps {
  list-style: none;
  counter-reset: step-counter;
}

.scrolly-text__steps li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: var(--spacing-lg);
}

.scrolly-text__steps li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--gray-100);
  color: var(--primary-blue);
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.scrolly-text__steps h4 {
  color: var(--dark);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
}

.scrolly-images {
  width: 50%;
  height: 80vh;
  /* Reduced height to fit in viewport better */
  position: sticky;
  top: 10vh;
  /* Centered vertically */
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.scrolly-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transform: scale(1.05);
}

.scrolly-image.active {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 1024px) {
  .scrolly-container {
    flex-direction: column-reverse;
    /* Text on top on mobile? No, text on bottom usually better or stacked */
    display: block;
  }

  .scrolly-images {
    display: none;
  }

  .scrolly-text {
    width: 100%;
    padding-bottom: 0;
  }

  .scrolly-text__block {
    min-height: auto;
    padding: var(--spacing-3xl) 0;
    opacity: 1;
    /* Always visible on mobile */
  }
}

@media (max-width: 640px) {
  .faq-item__question {
    font-size: 0.95rem;
  }

  .faq-item__content {
    font-size: 0.9rem;
  }
}

/* ===== SAI BADGE - FOOTER ATTRIBUTION ===== */
.sai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(74, 144, 217, 0.1) 0%, rgba(74, 144, 217, 0.05) 100%);
  border: 1px solid rgba(74, 144, 217, 0.3);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.3s ease;
  /* Removed margin-top for better alignment */
}

.sai-badge:hover {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 144, 217, 0.3);
}

.sai-badge__text {
  font-size: 0.85rem;
  color: var(--gray-300);
  transition: color 0.3s ease;
}

.sai-badge:hover .sai-badge__text {
  color: rgba(255, 255, 255, 0.9);
}

.sai-badge__logo {
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-blue);
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.sai-badge:hover .sai-badge__logo {
  -webkit-text-fill-color: white;
  color: white;
}

.sai-badge__arrow {
  color: var(--primary-blue);
  transition: all 0.3s ease;
  opacity: 0.7;
}

.sai-badge:hover .sai-badge__arrow {
  color: white;
  opacity: 1;
  transform: translate(3px, -3px);
}

[data-theme="dark"] .sai-badge {
  background: linear-gradient(135deg, rgba(74, 144, 217, 0.15) 0%, rgba(74, 144, 217, 0.08) 100%);
  border-color: rgba(74, 144, 217, 0.4);
}

[data-theme="dark"] .sai-badge__text {
  color: var(--gray-300);
}