/* ============================================
   NS CAD - Site Professionnel
   Style Industriel / Robuste
   ============================================ */

@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.woff2") format("woff2");
}

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2") format("woff2");
}

/* --- Variables & Reset --- */
:root {
  /* Couleurs principales - basées sur le site actuel */
  --primary: #1a1a2e;
  /* Bleu très foncé / quasi noir */
  --primary-light: #16213e;
  /* Bleu foncé */
  --secondary: #0f3460;
  /* Bleu profond */
  --accent: #c8a951;
  /* Or / Doré - accent industriel */
  --accent-hover: #e0c068;
  /* Or plus clair au survol */
  --text-light: #f5f5f5;
  /* Texte clair */
  --text-muted: #b0b0b0;
  /* Texte grisé */
  --text-dark: #1a1a1a;
  /* Texte foncé */
  --bg-dark: #0d0d1a;
  /* Fond très sombre */
  --bg-section: #111122;
  /* Fond sections */
  --bg-card: #1a1a2e;
  /* Fond cartes */
  --bg-card-hover: #222240;
  /* Fond cartes au survol */
  --border-color: #2a2a4a;
  /* Bordures subtiles */
  --white: #ffffff;
  --danger: #e74c3c;
  --success: #27ae60;

  /* Typographie */
  --font-heading: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Espacement */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;

  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 4px 20px rgba(200, 169, 81, 0.2);

  /* URL GIF du hero intro (mettre url("...") ) */
  --hero-intro-gif-url: none;
}

/* --- Light Mode --- */
[data-theme="light"] {
  --primary: #f0f0f5;
  --primary-light: #e8e8f0;
  --secondary: #3a6ea5;
  --accent: #b8942e;
  --accent-hover: #d4aa3a;
  --text-light: #1a1a2e;
  --text-muted: #555566;
  --text-dark: #1a1a1a;
  --bg-dark: #ffffff;
  --bg-section: #f5f5fa;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f0f8;
  --border-color: #d8d8e8;
  --white: #1a1a2e;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-accent: 0 4px 20px rgba(184, 148, 46, 0.15);
}

/* --- Theme Toggle Button --- */
.theme-toggle {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  margin-left: 8px;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(200, 169, 81, 0.08);
}

.theme-toggle .fa-sun {
  display: none;
}

.theme-toggle .fa-moon {
  display: inline-block;
}

[data-theme="light"] .theme-toggle .fa-sun {
  display: inline-block;
}

[data-theme="light"] .theme-toggle .fa-moon {
  display: none;
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: var(--section-padding);
}

.page-first-section {
  padding-top: 150px;
}

.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-header .section-tag {
  display: inline-block;
  background: rgba(200, 169, 81, 0.1);
  border: 1px solid rgba(200, 169, 81, 0.3);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 24px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.nav-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 3px;
}

.nav-logo .logo-text span {
  color: var(--accent);
}

.nav-logo .logo-subtitle {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-top: -4px;
}

.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.footer-brand .logo-text span {
  color: var(--accent);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-header .underline {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--primary);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  transition: all var(--transition-medium);
}

.top-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-body);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.top-bar-item:hover {
  color: var(--accent);
}

.top-bar-item i {
  color: var(--accent);
  font-size: 0.8rem;
}

[data-theme="light"] .top-bar {
  background: var(--primary);
  border-bottom: 1px solid var(--border-color);
}

[data-theme="light"] .top-bar-item {
  color: var(--text-muted);
}

[data-theme="light"] .top-bar-item:hover {
  color: var(--accent);
}

.top-bar.hidden {
  transform: translateY(-100%);
}

@media (max-width: 768px) {
  .top-bar .container {
    gap: 15px;
    font-size: 0.75rem;
  }

  .top-bar-item {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .top-bar {
    padding: 6px 0;
  }

  .top-bar .container {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .top-bar .container::-webkit-scrollbar {
    display: none;
  }

  .top-bar-item {
    white-space: nowrap;
    font-size: 0.72rem;
  }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 36px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-medium);
  padding: 20px 0;
}

.navbar.scrolled {
  background: rgba(13, 13, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(200, 169, 81, 0.1);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--border-color);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  height: 50px;
  width: auto;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  margin-bottom: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 0px 3px 1px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 6px;
  transition: all var(--transition-fast);
  position: relative;
  letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(200, 169, 81, 0.08);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-cta {
  margin-left: 16px;
}

[data-theme="light"] .nav-links {
  background: var(--bg-dark);
}

.nav-cta a {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 12px 28px !important;
  border-radius: 6px !important;
  transition: all var(--transition-fast) !important;
}

.nav-cta a:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent) !important;
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.burger span {
  width: 28px;
  height: 2px;
  background: var(--text-light);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

[data-theme="light"] .hero {
  background: linear-gradient(135deg, #f0f0f5 0%, #e4e4f0 50%, #dcdcf0 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200, 169, 81, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(15, 52, 96, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: none;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  padding-top: 100px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 169, 81, 0.1);
  border: 1px solid rgba(200, 169, 81, 0.25);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 30px;
  margin-bottom: 30px;
}

.hero-badge i {
  font-size: 0.7rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 50px;
  line-height: 1;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 24px;
  text-transform: uppercase;
}


.hero h1 span {
  color: var(--accent);
  display: block;
}

section.hero:not(#heroSlider) .hero-content h1.hero-title-typing {
  white-space: normal;
}

section.hero:not(#heroSlider) .hero-title-line {
  display: block;
  min-height: 1.05em;
}

section.hero:not(#heroSlider) .hero-title-line-main {
  color: var(--white);
}

section.hero:not(#heroSlider) .hero-title-line-accent {
  color: var(--accent);
}

section.hero:not(#heroSlider) .hero-type-cursor {
  display: inline-block;
  margin-left: 0.03em;
  color: var(--accent);
  font-style: normal;
  animation: heroCursorBlink 0.85s steps(1, end) infinite;
}

.hero .hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 450px;
}

.hero-image {
  border-radius: 20px;
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-lg);
  position: absolute;
}

.hero-image-back {
  width: 80%;
  height: 60%;
  top: 0;
  right: -50px;
  z-index: 3;
}

.hero-image-front {
  width: 100%;
  height: 60%;
  bottom: 0;
  left: -50px;
  z-index: 2;
}

.hero-image-wrapper .stats-grid {
  position: absolute;
  bottom: 10px;
  right: -20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 230px;
  z-index: 3;
  max-height: 200px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all var(--transition-medium);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .stat-card {
  background: rgba(255, 255, 255, 0.92);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card .stat-label {
  font-size: 0.75rem;
  color: #555;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* ============================================
   EXPERTISE DOMAINS (Accueil)
   ============================================ */
.domains {
  background: var(--bg-section);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.domain-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.domain-card:hover {
  border-color: rgba(200, 169, 81, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.domain-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.domain-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.domain-card:hover .domain-card-img img {
  transform: scale(1.05);
}

.domain-card-content {
  padding: 28px 24px;
}

.domain-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

h3.title-card {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  margin-top: 10px;
}


.domain-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================
   ABOUT - ACTIVITY & INTERVENTION SECTION
   ============================================ */
.activity-domains {
  background: var(--bg-dark);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.activity-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px 22px;
  transition: all var(--transition-medium);
}

.activity-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 169, 81, 0.35);
  box-shadow: var(--shadow-md);
}

.activity-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
  background: rgba(200, 169, 81, 0.12);
  border: 1px solid rgba(200, 169, 81, 0.25);
  font-size: 1.1rem;
}

.activity-card h3 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.6rem;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
  line-height: 1.15;
}

.activity-card ul {
  list-style: disc;
  margin-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.activity-card li {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.activity-domain-header {
  margin-top: 72px;
}

.intervention-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.intervention-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.intervention-badge {
  align-self: center;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--text-light);
  background: var(--bg-card);
  font-weight: 600;
}

.intervention-image {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.intervention-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.intervention-item:hover .intervention-image img {
  transform: scale(1.05);
}

@media (max-width: 1100px) {
  .activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intervention-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .activity-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .activity-card {
    padding: 20px 18px;
  }

  .activity-domain-header {
    margin-top: 48px;
  }

  .intervention-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .intervention-badge {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 520px) {
  .intervention-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   TOOLS / LOGICIELS
   ============================================ */
.tools-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.tool-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-medium);
}

.tool-item:hover {
  transform: translateY(-4px);
}

.tool-item img {
  width: 200px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter var(--transition-medium);
}

/* Dark is default; show white-text logos unless light theme is explicitly active. */
.tool-item .tool-logo-light {
  display: none;
}

.tool-item .tool-logo-dark {
  display: block;
}

[data-theme="light"] .tool-item .tool-logo-light {
  display: block;
}

[data-theme="light"] .tool-item .tool-logo-dark {
  display: none;
}

.tool-item:hover img {
  filter: grayscale(0%);
}

.tool-item span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .tools-grid {
    gap: 30px;
  }

  .tool-item img {
    width: 60px;
    height: 60px;
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: all var(--transition-fast);
}

.about-feature:hover {
  border-color: rgba(200, 169, 81, 0.3);
}

.about-feature i {
  color: var(--accent);
  font-size: 1.2rem;
}

.about-feature span {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper .quote-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 30px;
}

.quote-box blockquote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.quote-box .quote-author {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.experience-badge {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-card);
  border: 1px solid rgba(200, 169, 81, 0.3);
  border-radius: 12px;
  padding: 20px 30px;
  margin-top: 24px;
}

.experience-badge .exp-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
}

.experience-badge .exp-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
}

/* ============================================
   SERVICES - Layout Alterné (inspiré bureau-detude-structure.fr)
   ============================================ */

/* Mini grille sur la page d'accueil */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.services-grid .service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-medium);
}

.services-grid .service-card:hover {
  transform: translateY(-6px);
}

.service-card-icon {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 3px solid var(--border-color);
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-md);
}

.services-grid .service-card:hover .service-card-icon {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(200, 169, 81, 0.3);
}

.service-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.services-grid .service-card:hover .service-card-icon img {
  transform: scale(1.1);
}

.services-grid .service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- Service Showcase (page services - layout alterné) --- */
.service-showcase {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border-color);
}

.service-showcase:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-showcase.reverse {
  flex-direction: row-reverse;
}

.service-showcase-image {
  flex: 1;
  min-width: 0;
  position: relative;
}

.service-showcase-image .image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  position: relative;
}

.service-showcase-image .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.service-showcase:hover .image-wrapper img {
  transform: scale(1.04);
}

/* Placeholder icon quand pas d'image */
.service-showcase-image .image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: all var(--transition-medium);
}

.service-showcase:hover .image-placeholder {
  border-color: rgba(200, 169, 81, 0.3);
}

.image-placeholder i {
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.4;
}

.image-placeholder span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Numéro flottant */
.service-showcase-image .showcase-number {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: var(--shadow-accent);
}

[data-theme="light"] .service-showcase-image .showcase-number {
  color: #fff;
}

.service-showcase.reverse .service-showcase-image .showcase-number {
  left: auto;
  right: -16px;
}

.service-showcase-content {
  flex: 1;
  min-width: 0;
}

.service-showcase-content .showcase-tag {
  display: inline-block;
  background: rgba(200, 169, 81, 0.1);
  border: 1px solid rgba(200, 169, 81, 0.25);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.service-showcase-content h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.2;
}

.service-showcase-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-showcase-content .service-highlights {
  list-style: none;
  margin-bottom: 30px;
}

.service-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-highlights li i {
  color: var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
}

.service-showcase-content .btn {
  margin-top: 8px;
}

/* --- View Toggle --- */
.view-toggle {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 32px;
}

.view-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-muted);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.view-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.view-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

/* --- Services View: Card Mode --- */
.services-view.card-view {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.sv-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-medium);
}

.sv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 169, 81, 0.3);
  box-shadow: var(--shadow-lg);
}

.card-view .sv-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-card-hover);
}

.card-view .sv-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.sv-card:hover .sv-card-img img {
  transform: scale(1.05);
}

.card-view .sv-card-content {
  padding: 28px;
}

.sv-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.3;
}

.sv-card-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Services View: List Mode --- */
.services-view.list-view {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.list-view .sv-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.list-view .sv-card-img {
  width: 280px;
  min-height: 180px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-card-hover);
}

.list-view .sv-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.list-view .sv-card-content {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Services View: Responsive --- */
@media (max-width: 1024px) {
  .services-view.card-view {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .list-view .sv-card-img {
    width: 220px;
  }
}

@media (max-width: 768px) {
  .services-view.card-view {
    grid-template-columns: 1fr;
  }

  .list-view .sv-card {
    flex-direction: column;
  }

  .list-view .sv-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: auto;
  }
}

/* --- CTA Banner (bandeau puissant) --- */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #d4aa3a 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: none;
  pointer-events: none;
}

.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.cta-banner-text h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: #1a1a2e;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  min-width: 610px;
  display: grid;
}

.cta-banner-text p {
  color: rgba(26, 26, 46, 0.7);
  font-size: 1.05rem;
}

.cta-banner-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  align-items: center;
}

.cta-banner .btn-dark {
  background: #1a1a2e;
  color: #fff;
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}

.cta-banner .btn-dark:hover {
  background: #0d0d1a;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.cta-banner .btn-light-outline {
  background: transparent;
  color: #1a1a2e;
  border: 2px solid rgba(26, 26, 46, 0.3);
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.cta-banner .btn-light-outline:hover {
  border-color: #1a1a2e;
  background: rgba(26, 26, 46, 0.08);
  transform: translateY(-3px);
}

/* --- Service Detail Page --- */
.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.service-detail-text h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.service-detail-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-detail-text .detail-list {
  margin: 24px 0;
}

.service-detail-text .detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-detail-text .detail-list li:last-child {
  border-bottom: none;
}

.service-detail-text .detail-list li i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.service-detail-sidebar {
  position: sticky;
  top: 120px;
}

.service-detail-sidebar .sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}

.sidebar-card h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sidebar-nav {
  list-style: none;
}

.sidebar-nav li {
  margin-bottom: 6px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.sidebar-nav a:hover {
  background: rgba(200, 169, 81, 0.06);
  color: var(--accent);
  border-color: rgba(200, 169, 81, 0.15);
}

.sidebar-nav a.active {
  background: rgba(200, 169, 81, 0.1);
  color: var(--accent);
  border-color: rgba(200, 169, 81, 0.25);
  font-weight: 600;
}

.sidebar-nav a i {
  font-size: 0.8rem;
  width: 20px;
  text-align: center;
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--accent) 0%, #d4aa3a 100%);
  border: none !important;
  text-align: center;
}

.sidebar-cta h4 {
  color: #1a1a2e !important;
}

.sidebar-cta p {
  color: rgba(26, 26, 46, 0.7);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.sidebar-cta .btn-dark {
  background: #1a1a2e;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  width: 100%;
  justify-content: center;
}

.sidebar-cta .btn-dark:hover {
  background: #0d0d1a;
  transform: translateY(-2px);
}

/* Responsive Services Showcase */
@media (max-width: 1024px) {
  .service-showcase {
    flex-direction: column !important;
    gap: 30px;
  }

  .service-showcase-image .showcase-number {
    left: 16px !important;
    right: auto !important;
    top: -14px;
  }

  .service-showcase-content h3 {
    font-size: 1.8rem;
  }

  .service-detail-content {
    grid-template-columns: 1fr;
  }

  .service-detail-sidebar {
    position: static;
  }

  .cta-banner .container {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .service-showcase {
    margin-bottom: 50px;
    padding-bottom: 50px;
  }

  .service-showcase-content h3 {
    font-size: 1.5rem;
  }

  .cta-banner {
    padding: 40px 0;
  }

  .cta-banner-text h2 {
    font-size: 1.8rem;
  }

  .cta-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-banner .btn-dark,
  .cta-banner .btn-light-outline {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   COMPETENCES
   ============================================ */
.competences-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(260px, 1fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.competence-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  transition: all var(--transition-medium);
}

.competence-card-main {
  grid-row: 1 / span 2;
}

.competence-card:hover {
  border-color: rgba(200, 169, 81, 0.3);
  transform: translateY(-4px);
}

.competence-card .comp-icon {
  width: 64px;
  height: 64px;
  background: rgba(200, 169, 81, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--accent);
}

.competence-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.2;
}

.competence-card ul li {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  padding-left: 18px;
  text-align: left;
}

.competence-card ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

.competence-card ul li:last-child {
  border-bottom: none;
}

/* About page variant: compact 3-card competency layout */
.about-competences .section-header {
  margin-bottom: 44px;
}

.about-competences .competences-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}

.about-competences .competence-card {
  border-radius: 28px;
  border: 1.5px solid var(--border-color);
  padding: 30px 28px;
  text-align: left;
}

.about-competences .competence-card h3 {
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.about-competences .competence-card ul li {
  border-bottom: none;
  font-size: 1.06rem;
  line-height: 1.6;
  padding: 3px 0 3px 18px;
}

.about-competences .competence-card ul li::before {
  content: '\2022';
  font-size: 1rem;
}

@media (max-width: 1100px) {
  .about-competences .competences-grid {
    max-width: none;
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .about-competences .competences-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   REALISATIONS / GALLERY
   ============================================ */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 24px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  transition: background var(--transition-medium);
  padding: 14px;
}

.gallery-item:hover .gallery-overlay {
  background: linear-gradient(180deg, rgba(13, 13, 26, 0) 45%, rgba(13, 13, 26, 0.45) 100%);
}

.gallery-more-btn {
  margin-top: 0;
  border: none;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.gallery-more-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.gallery-item.hidden {
  display: none;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(200, 169, 81, 0.2);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
}

.faq-question i {
  color: var(--accent);
  font-size: 0.9rem;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
}

.faq-answer-content {
  padding: 0 28px 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all var(--transition-fast);
}

.contact-info-card:hover {
  border-color: rgba(200, 169, 81, 0.3);
}

.contact-info-card .icon-box {
  width: 52px;
  height: 52px;
  background: rgba(200, 169, 81, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.2rem;
}

.contact-info-card h4 {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
}

.contact-form-wrapper h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.file-upload {
  border: 2px dashed var(--border-color);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.file-upload:hover {
  border-color: rgba(200, 169, 81, 0.4);
  background: rgba(200, 169, 81, 0.03);
}

.file-upload i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.file-upload p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.file-upload .file-formats {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  opacity: 0.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   PARTNER SECTION
   ============================================ */
.partner-section {
  background: var(--bg-section);
  border-top: 1px solid var(--border-color);
}

.partner-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  max-width: 420px;
  margin: 0 auto;
  transition: all var(--transition-fast);
}

.partner-box:hover {
  border-color: rgba(200, 169, 81, 0.3);
}

.partner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.partner-link:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.partner-logo-img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.footer-brand .logo-text span {
  color: var(--accent);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact-info li i {
  color: var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--accent);
}

/* ============================================
   PAGE HEADER (pages intérieures)
   ============================================ */
.page-header {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: none;
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--white);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.page-header .breadcrumb a {
  color: var(--accent);
}

.page-header .breadcrumb span {
  color: var(--text-muted);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-fast);
  z-index: 999;
  box-shadow: var(--shadow-accent);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  background: var(--accent-hover);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger animation delays */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

.stagger-5 {
  transition-delay: 0.5s;
}

.stagger-6 {
  transition-delay: 0.6s;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-visual {
    width: 100%;
  }

  .hero .hero-description {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .cta-banner-text h2 {
    min-width: 0px !important;
  }

  :root {
    --section-padding: 70px 0;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--bg-dark);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    padding: 100px 30px 40px;
    transition: right var(--transition-medium);
    gap: 4px;
    align-items: stretch;
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
  }

  .nav-cta a {
    width: 100%;
    text-align: center;
  }

  .burger {
    display: flex;
  }

  /* Mobile overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
  }

  .nav-overlay.active {
    display: block;
  }

  .hero.hero-intro {
    min-height: auto;
    padding: 50px 0 80px;
    overflow: visible;
    height: 100% !important;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-visual {
    width: 100%;
  }

  .hero-image-wrapper {
    max-width: 100%;
    min-height: 280px;
    overflow: visible;
  }

  .hero-image-back {
    width: 60%;
    height: 70%;
    right: 10px;
    top: 0;
  }

  .hero-image-front {
    width: 65%;
    height: 60%;
    left: 10px;
    bottom: 0;
  }

  .hero-image-wrapper .stats-grid {
    right: 5px;
    bottom: 5px;
    gap: 8px;
    max-width: 180px;
  }

  .stat-card {
    padding: 14px 10px;
  }

  .stat-card .stat-number {
    font-size: 1.8rem;
  }

  .domains-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .competences-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .competence-card-main {
    grid-row: auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .partner-box {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-image-wrapper {
    min-height: 230px;
  }

  .hero-image-back {
    width: 55%;
    height: 65%;
    right: 5px;
  }

  .hero-image-front {
    width: 60%;
    height: 55%;
    left: 5px;
  }

  .hero-image-wrapper .stats-grid {
    max-width: 150px;
    gap: 6px;
    right: 0;
    bottom: 0;
  }

  .stat-card {
    padding: 8px 6px;
    border-radius: 10px;
  }

  .stat-card .stat-number {
    font-size: 1.3rem;
  }

  .stat-card .stat-label {
    font-size: 0.55rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 90%;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 9px 16px;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  white-space: normal;
  width: 80%;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.25;
  font-size: 25px;
  background-color: #909090c0;
  backdrop-filter: blur(3px);
}

.lightbox-caption.lightbox-caption-typing {
  white-space: normal;
}

.lightbox-caption .hero-type-cursor {
  display: inline-block;
  margin-left: 0.03em;
  color: var(--accent);
  font-style: normal;
  animation: heroCursorBlink 0.85s steps(1, end) infinite;
}

@media (max-width: 768px) {
  .lightbox-caption {
    bottom: 10px;
    font-size: 0.82rem;
    padding: 8px 14px;
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  transition: color var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--accent);
}

/* ============================================
   LOADING
   ============================================ */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0d0f1b;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cad-loader {
  width: min(360px, 84vw);
  text-align: center;
  padding: 16px 18px;
}

.cad-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15em;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cad-brand span {
  color: var(--text-light);
  opacity: 0;
  transform: translateY(6px);
  animation: cadLetterIn 0.34s ease forwards;
}

.cad-brand span:nth-child(1) {
  animation-delay: 0.2s;
}

.cad-brand span:nth-child(2) {
  animation-delay: 0.32s;
}

.cad-brand span:nth-child(4) {
  animation-delay: 0.44s;
}

.cad-brand span:nth-child(5) {
  animation-delay: 0.56s;
}

.cad-brand span:nth-child(6) {
  animation-delay: 0.68s;
}

.cad-brand .space {
  width: 0.38em;
  opacity: 1;
  transform: none;
  animation: none;
}

.cad-brand span:last-child,
.cad-brand span:nth-child(4),
.cad-brand span:nth-child(5) {
  color: var(--accent);
}

.cad-progress {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.cad-loading-text {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-top: 10px;
}

.cad-progress span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  animation: cadProgressMove 1s ease-in-out infinite;
}

@keyframes cadLetterIn {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cadProgressMove {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(250%);
  }
}

[data-theme="light"] .preloader {
  background: #f5f7fb;
}

[data-theme="light"] .cad-brand span {
  color: #1a1a2e;
}

[data-theme="light"] .cad-brand span:last-child,
[data-theme="light"] .cad-brand span:nth-child(4),
[data-theme="light"] .cad-brand span:nth-child(5) {
  color: var(--accent);
}

[data-theme="light"] .cad-loading-text {
  color: #6d7284;
}

[data-theme="light"] .cad-progress {
  background: rgba(26, 26, 46, 0.12);
}

@media (max-width: 480px) {
  .cad-loader {
    padding: 14px 10px;
  }

  .cad-brand {
    margin-bottom: 6px;
    letter-spacing: 0.1em;
  }
}

/* ============================================
   LIGHT MODE OVERRIDES
   ============================================ */
[data-theme="light"] .hero::before {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(184, 148, 46, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(58, 110, 165, 0.08) 0%, transparent 50%);
}

[data-theme="light"] .hero::after {
  background-image: none;
}

[data-theme="light"] .section-header .section-tag {
  background: rgba(184, 148, 46, 0.08);
  border-color: rgba(184, 148, 46, 0.25);
}

[data-theme="light"] .service-card .service-icon,
[data-theme="light"] .comp-icon {
  background: rgba(184, 148, 46, 0.08);
  border-color: rgba(184, 148, 46, 0.15);
}

[data-theme="light"] .stat-card {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .service-number {
  color: rgba(184, 148, 46, 0.12);
}

[data-theme="light"] .faq-question {
  color: var(--text-light);
}

[data-theme="light"] .cta-section {
  background: linear-gradient(135deg, #e8e8f0 0%, #d0d0e4 100%);
}

[data-theme="light"] .cta-section::before {
  background-image: none;
}

[data-theme="light"] .page-header {
  background: linear-gradient(135deg, #f0f0f5 0%, #e0e0ee 100%);
}

[data-theme="light"] .page-header::after {
  background-image: none;
}

[data-theme="light"] .btn-primary {
  color: #fff;
}

[data-theme="light"] .btn-outline {
  border-color: #c8c8d8;
  color: var(--text-light);
}

[data-theme="light"] .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

[data-theme="light"] .footer-social a:hover {
  color: #fff;
}

[data-theme="light"] .scroll-top {
  color: #fff;
}

[data-theme="light"] .lightbox-close {
  color: #fff;
}

[data-theme="light"] .burger span {
  background: var(--text-light);
}

[data-theme="light"] .about-feature:hover {
  border-color: rgba(184, 148, 46, 0.3);
}

[data-theme="light"] .contact-info-card:hover {
  border-color: rgba(184, 148, 46, 0.3);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select {
  background: #f5f5fa;
  border-color: #d8d8e8;
  color: #1a1a2e;
}

[data-theme="light"] .file-upload {
  border-color: #d8d8e8;
}

[data-theme="light"] .file-upload:hover {
  border-color: rgba(184, 148, 46, 0.4);
  background: rgba(184, 148, 46, 0.03);
}

/* Theme transition for smooth switching */
body,
body *:not(.preloader):not(.preloader *) {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Exclude elements that have their own transitions */
.btn,
.nav-links a,
.domain-card,
.service-card,
.gallery-item,
.faq-answer {
  transition: all var(--transition-fast);
}

/* Mobile theme toggle position */
@media (max-width: 768px) {
  .theme-toggle {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
  }

  @supports (position: fixed) {
    .navbar .container {
      position: relative;
    }
  }
}


/* essais */
.hero {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  isolation: isolate;
}

.hero.hero-intro {
  background: linear-gradient(135deg, #090b16 0%, #101427 48%, #151a31 100%);
}

.hero.hero-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: var(--hero-intro-gif-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.05;
  animation: introGifDrift 14s ease-in-out infinite alternate;
}

.hero.hero-intro::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(120% 100% at 10% 16%, rgba(200, 169, 81, 0.12), transparent 56%),
    radial-gradient(95% 90% at 88% 12%, rgba(15, 52, 96, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(9, 11, 22, 0.45) 0%, rgba(9, 11, 22, 0.3) 44%, rgba(9, 11, 22, 0.6) 100%);
}

[data-theme="light"] .hero.hero-intro {
  background: linear-gradient(135deg, #eef1f9 0%, #e3e8f4 48%, #dde4f0 100%) !important;
}

[data-theme="light"] .realisations-section {
  background-color: white;
}

[data-theme="light"] .hero.hero-intro::before {
  opacity: 0.1;
}

[data-theme="light"] .hero.hero-intro::after {
  background:
    radial-gradient(120% 100% at 10% 16%, rgba(184, 148, 46, 0.16), transparent 56%),
    radial-gradient(95% 90% at 88% 12%, rgba(58, 110, 165, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.1) 46%, rgba(230, 235, 245, 0.3) 100%);
}

@keyframes introGifDrift {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1.05) translate3d(-1.2%, -0.8%, 0);
  }
}

@media (max-width: 768px) {
  .hero.hero-intro::before {
    opacity: 0.2;
    animation-duration: 18s;
  }

  .hero.hero-intro::after {
    opacity: 1;
  }
}



.hero-track {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

#heroSlider {
  position: relative;
  z-index: 2;
  isolation: isolate;
}

.hero-slide {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  flex: 0 0 100%;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg-image-mono {
  filter: grayscale(1) contrast(1.1);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.22) 52%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18));
}

.hero-slide-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 150px;
  padding-bottom: 110px;
}

.hero .container {
  max-width: 1360px;
}

.hero-content-card {
  width: min(100%, 550px);
  background: rgba(14, 18, 34, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(3px);
  border-radius: 2px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  padding: 30px 30px 20px;
}

.hero .hero-description {
  font-size: clamp(1.02rem, 1.25vw, 1.45rem);
  color: var(--text-muted);
  line-height: 1.34;
  margin-bottom: 24px;
  max-width: none;
}

.hero-domain-tag {
  position: absolute;
  right: 0;
  top: 50px;
}

.hero-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hero-content-card .btn-primary {
  color: #fff;
}

.hero-slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-content-card {
  margin: auto;
}

.hero-content-card .btn-outline {
  border-color: #d7d7e5;
  color: #2f3149;
  background: rgba(245, 246, 252, 0.8);
}

.hero-content-card .btn-outline:hover {
  border-color: #2f3149;
  color: #2f3149;
}

.hero-domain-tag {
  margin-left: auto;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 40px;
  line-height: 1.03;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.34);
  padding: 12px 18px;
  font-family: var(--font-heading);
  letter-spacing: 5px;
}


.hero-controls {
  position: absolute;
  left: 28px;
  bottom: 26px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(11, 16, 33, 0.45);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-arrow:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(20, 28, 56, 0.75);
}

.hero-dots {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 4px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

[data-theme="light"] .hero-content-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.75);
}

[data-theme="light"] .hero-domain-tag {
  background: rgba(0, 0, 0, 0.38);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 10px 25px;
  font-size: 14px;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

div#topBar {
  background-color: var(--primary);
}

@keyframes heroCursorBlink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

section#heroSlider {
  min-height: 50vh;
  height: 80vh;
}

[data-theme="light"] body {
  background: linear-gradient(135deg, #eef1f9 0%, #e3e8f4 48%, #dde4f0 100%);
}