/* =============================================
   Connect by Honest-Inn — DESIGN SYSTEM
   Entreprise IT : Dev logiciel, Web, Support
   Light / Dark mode
   ============================================= */

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

/* =============================================
   TOKENS — DARK (défaut)
   ============================================= */
:root {
  --orange: #E8531D;
  --orange-hover: #D4481A;
  --orange-light: rgba(232, 83, 29, 0.08);
  --orange-border: rgba(232, 83, 29, 0.2);

  --bg: #0F0F0F;
  --bg-2: #161616;
  --bg-3: #1C1C1C;
  --surface: #161616;
  --surface-2: #1C1C1C;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);

  --text-primary: #FFFFFF;
  --text-secondary: #888888;
  --text-muted: #555555;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);

  --font: 'Space Grotesk', sans-serif;
  --radius: 8px;
  --radius-lg: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /*
   * PICTO GEOMETRY — inspiré de la forme angulaire du pictogramme HIC
   * La forme a un coin intérieur rentrant en bas à droite.
   * On reproduit ce "notch" sur les composants via clip-path.
   *
   * Le pictogramme ressemble à un L inversé avec une encoche :
   *   ┌──────┐
   *   │      │
   *   └──┐   │
   *      │   │
   *      └───┘
   * On s'en inspire pour créer un coin coupé sur les boutons primaires.
   */
  --notch-size: 10px;
}

/* =============================================
   TOKENS — LIGHT
   ============================================= */
[data-theme="light"] {
  --bg: #FAFAFA;
  --bg-2: #F3F3F0;
  --bg-3: #EBEBEA;
  --surface: #FFFFFF;
  --surface-2: #F3F3F0;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.16);

  --text-primary: #111111;
  --text-secondary: #666666;
  --text-muted: #AAAAAA;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  transition: background 0.25s, color 0.25s;
}

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

img,
svg {
  display: block;
}

/* =============================================
   BOUTONS — géométrie unifiée (notch)

   Le pictogramme HIC a un angle rentrant
   asymmétrique. On le traduit par un coin
   supérieur droit coupé net sur TOUS les boutons
   — primary, outline et ghost partagent la même
   forme. Seul le remplissage change.
   ============================================= */

/* Forme commune : coin haut-droit coupé */
.btn {
  --notch-size: 10px;
  --border-size: 1px;
  border-top-right-radius: 16px;
  border-bottom-left-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
  letter-spacing: -0.01em;
  position: relative;
  text-decoration: none;

  /* clip-path: polygon(0% 0%,
      calc(100% - var(--notch-size)) 0%,
      100% var(--notch-size),
      100% 100%,
      var(--notch-size) 100%,
      0% calc(100% - var(--notch-size))); */
}

.btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  flex-shrink: 0;
  fill: none;
}

/*
 * PRIMARY — fond orange plein
 */
.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  filter: drop-shadow(0 6px 14px rgba(232, 83, 29, 0.35));
}

.btn-primary:active {
  transform: none;
  filter: none;
}

/*
 * OUTLINE — transparent with colored border
 */
.btn-outline {
  color: var(--text-primary);
  border: 1px solid var(--orange);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(232, 83, 29, 0.1);
  border-color: var(--orange-hover);
  color: var(--orange);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 83, 29, 0.15);
}

.btn-outline:active {
  transform: none;
  box-shadow: none;
}

/*
 * GHOST — même notch, fond très subtil
 */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 11px 18px;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--surface-2);
}

/* =============================================
   INPUTS
   ============================================= */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 14px;
  border-radius: 2px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.input::placeholder {
  color: var(--text-muted);
}

/*
 * Focus : la bordure gauche s'épaissit en orange
 * comme le côté vertical du pictogramme.
 */
.input:focus {
  border-color: var(--orange);
}

/* =============================================
   CHECKBOX
   ============================================= */
.checkbox-custom {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: inline-grid;
  place-content: center;
  margin: 0;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.checkbox-custom::before {
  content: "";
  width: 12px;
  height: 10px;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transform: scale(0);
  background-color: #fff;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.checkbox-custom:hover {
  border-color: var(--border-hover);
  background: var(--surface);
}

.checkbox-custom:checked {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 2px 6px rgba(232, 83, 29, 0.2);
}

.checkbox-custom:checked::before {
  transform: scale(1);
}

.checkbox-custom:focus-visible {
  outline: 2px solid rgba(232, 83, 29, 0.5);
  outline-offset: 2px;
}

/* =============================================
   BADGES
   ============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
}

.badge-orange {
  background: rgba(232, 83, 29, 0.1);
  color: var(--orange);
  border: 1px solid rgba(232, 83, 29, 0.2);
}

.badge-green {
  background: rgba(34, 197, 94, 0.08);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.badge-grey {
  background: var(--surface-2);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* =============================================
   THEME TOGGLE
   ============================================= */
.theme-toggle {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.2s var(--ease);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.06);
}

.theme-toggle:active {
  transform: scale(0.92);
}

.theme-toggle svg {
  position: absolute;
  width: 18px;
  height: 18px;
  stroke: var(--text-secondary);
  stroke-width: 1.75;
  fill: none;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.theme-toggle:hover svg {
  stroke: var(--text-primary);
}

.icon-moon {
  transform: translateY(0) rotate(0deg) scale(1);
  opacity: 1;
}

.icon-sun {
  transform: translateY(20px) rotate(-90deg) scale(0.5);
  opacity: 0;
}

[data-theme="light"] .icon-moon {
  transform: translateY(-20px) rotate(90deg) scale(0.5);
  opacity: 0;
}

[data-theme="light"] .icon-sun {
  transform: translateY(0) rotate(0deg) scale(1);
  opacity: 1;
}

/* =============================================
   NAV
   ============================================= */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  position: fixed;
  background: rgba(15, 15, 15, 0.65);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom-color: rgba(255, 255, 255, 0.03);
  box-shadow: none;
  animation: nav-slide-down 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes nav-slide-down {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

[data-theme="light"] .nav.scrolled {
  background: rgba(251, 251, 253, 0.72);
  border-bottom-color: rgba(0, 0, 0, 0.04);
  box-shadow: none;
}

.nav__logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s var(--ease);
}

.nav__logo:hover {
  transform: scale(1.05);
}

.nav__logo img {
  height: 26px;
  width: auto;
}

.nav__logo .logo-dark {
  display: block;
}

.nav__logo .logo-light {
  display: none;
}

[data-theme="light"] .nav__logo .logo-dark {
  display: none;
}

[data-theme="light"] .nav__logo .logo-light {
  display: block;
}

/* Forces nav to appear dark (white text/logo) when transparent on top of the dark hero */
.nav.nav--transparent-dark:not(.scrolled) {
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);
}

[data-theme="light"] .nav.nav--transparent-dark:not(.scrolled) .logo-dark {
  display: block;
  filter: brightness(0) invert(1);
}

[data-theme="light"] .nav.nav--transparent-dark:not(.scrolled) .logo-light {
  display: none;
}

.nav.nav--transparent-dark:not(.scrolled) .theme-toggle {
  color: #fff;
}

.nav.nav--transparent-dark:not(.scrolled) .theme-toggle svg {
  stroke: #fff;
}

.nav.nav--transparent-dark:not(.scrolled) .btn-ghost {
  color: #fff;
}

.nav.nav--transparent-dark:not(.scrolled) .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.nav.nav--transparent-dark:not(.scrolled) .nav-chevron {
  color: #fff;
}

/* Fix: The dropdown has a solid background, so it must not inherit the forced white text from transparent-dark */
.nav.nav--transparent-dark:not(.scrolled) .nav-dropdown {
  --text-primary: #FFFFFF;
  --text-secondary: #888888;
  --text-muted: #555555;
}

[data-theme="light"] .nav.nav--transparent-dark:not(.scrolled) .nav-dropdown {
  --text-primary: #111111;
  --text-secondary: #666666;
  --text-muted: #AAAAAA;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  position: relative;
}

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

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transition: transform 0.3s var(--ease);
}

.nav__links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.nav-item-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

[data-theme="light"] .nav-dropdown {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.nav-item-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__links a.dropdown-item {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 14px 10px 14px;
  border-radius: var(--radius);
  transition: all 0.2s var(--ease);
  text-decoration: none;
  display: block;
  position: relative;
}

.nav__links a.dropdown-item::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 10px;
  height: 12px;
  background-image: url('/images/Primary_Logo/pictogramme.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.2s var(--ease);
  opacity: 0;
}

.nav__links a.dropdown-item::after {
  content: none;
}

.nav__links a.dropdown-item:hover {
  color: var(--text-primary);
  background: var(--surface-2);
  padding-left: 28px;
}

.nav__links a.dropdown-item:hover::before {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

[data-theme="light"] .nav__links a.dropdown-item:hover {
  background: #F3F3F0;
  color: var(--text-primary);
}

/* MEGA MENU SPECIFICS */
.nav-dropdown.mega-menu {
  min-width: 840px;
  padding: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mega-menu-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.mega-menu-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-menu-title {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.mega-menu-section {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.mega-menu-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mega-pill {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}

.mega-pill:hover {
  background: var(--surface-2);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

[data-theme="light"] .mega-pill {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .mega-pill:hover {
  background: #F3F3F0;
  border-color: rgba(0, 0, 0, 0.08);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 48px 100px;
  position: relative;
  overflow: hidden;

  /* Force un look "Dark Mode" quoi qu'il arrive */
  --bg: #080808;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  color: var(--text-primary);

  /* 1. Fond dominant noir et 2. Gris statique appliqués directement sur la section */
  background-color: var(--bg);
  background-image: radial-gradient(circle at 40% 40%, rgba(128, 128, 128, 0.08) 0%, transparent 40%);
}

/* 3. L'orange qui tourne en rond (séparé pour les performances) */
.hero::before {
  content: '';
  position: absolute;
  /* Taille doublée pour que l'excentration crée un cercle parfait lors de la rotation */
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: 0;
  /* Reste juste au-dessus du fond, mais sous le contenu */
  pointer-events: none;

  /* Lueur orange excentrée à 65% sur l'axe X */
  background-image: radial-gradient(circle at 65% 50%,
      color-mix(in srgb, var(--orange) 50%, transparent) 0%,
      transparent 25%);

  /* Rotation fluide en continu */
  animation: hero-glow-rotate 15s linear infinite;
}

@keyframes hero-glow-rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Trait fin orange en haut de la hero — simple et sobre */
.hero__topline {
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange) 40%, var(--orange) 60%, transparent);
  opacity: 0.3;
  z-index: 1;
  /* Assure que le trait passe au-dessus de la lueur orange */
}

.hero__content {
  position: relative;
  z-index: 2;
  /* Reste fermement au-dessus de tout le reste */
  max-width: 820px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  /* Assure-toi que cette variable est bien déclarée quelque part */
  margin-bottom: 28px;
}

/* Tiret orange inspiré du côté vertical du picto */
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero__title .accent {
  color: var(--orange);
}

.hero__sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 44px;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero__scroll-hint svg {
  width: 14px;
  height: 14px;
  animation: bounce 2s ease-in-out infinite;
  stroke: var(--text-muted);
  fill: none;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(4px)
  }
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: 96px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-divider {
  border-top: 1px solid var(--border);
}

/* Label de section : tiret orange à gauche */
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-primary);
}

.section-title .dim {
  color: var(--text-muted);
}

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  position: relative;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 24px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
  z-index: 0;
}

.service-card[data-bg="dev"]::before {
  background-image: url('/images/illustrations/home1.webp');
}

.service-card[data-bg="web"]::before {
  background-image: url('/images/illustrations/home2.webp');
}

.service-card[data-bg="support"]::before {
  background-image: url('/images/illustrations/home3.webp');
}

.service-card[data-bg="conseil"]::before {
  background-image: url('/images/illustrations/home4.webp');
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 15, 0.95) 0%, rgba(15, 15, 15, 0.4) 50%, transparent 100%);
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange-border);
}

.service-card:hover::before {
  transform: scale(1.05);
}

.service-content {
  position: relative;
  z-index: 2;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(232, 83, 29, 0.1);
  border: 1px solid rgba(232, 83, 29, 0.2);
  border-top-right-radius: 12px;
  border-bottom-left-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--orange);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

/* =============================================
   FEATURES (POURQUOI HIC)
   ============================================= */
.features-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.feature-main-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top-right-radius: 24px;
  border-bottom-left-radius: 24px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature-main-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(232, 83, 29, 0.1) 0%, transparent 70%);
}

.feature-grid-right {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top-right-radius: 16px;
  border-bottom-left-radius: 16px;
  padding: 32px;
  transition: transform 0.2s, border-color 0.2s;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--text-primary);
  transition: all 0.2s;
}

.feature-card:hover .feature-icon-wrapper {
  color: var(--orange);
  background: rgba(232, 83, 29, 0.1);
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =============================================
   STATS (GLASSMORPHISM)
   ============================================= */
.stats-band {
  margin-top: 64px;
  margin-bottom: 64px;
  background: rgba(232, 83, 29, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(232, 83, 29, 0.1);
  border-bottom: 1px solid rgba(232, 83, 29, 0.1);
  padding: 64px 0;
}

[data-theme="light"] .stats-band {
  background: rgba(232, 83, 29, 0.02);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-block {
  text-align: center;
  position: relative;
}

.stat-block:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: var(--border);
}

.stat-value {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.stat-value .unit {
  color: var(--orange);
  font-size: 2rem;
}

.stat-desc {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =============================================
   PROCESS (TIMELINE)
   ============================================= */
.process-timeline {
  display: flex;
  justify-content: space-between;
  margin-top: 64px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  flex: 1;
  position: relative;
  z-index: 1;
  padding-right: 48px;
}

.process-step:last-child {
  padding-right: 0;
}

.step-marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.process-step:hover .step-marker {
  border-color: var(--orange);
  color: #fff;
  background: var(--orange);
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =============================================
   CTA
   ============================================= */
.cta-island {
  position: relative;
  padding: 120px 48px;
  text-align: center;
  overflow: hidden;
  border-top-right-radius: 32px;
  border-bottom-left-radius: 32px;
  margin: 48px auto;
  max-width: 1200px;
  border: 1px solid var(--border);
}

.cta-island::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/services/cta_bg.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.cta-island::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 15, 0.9), rgba(15, 15, 15, 0.5));
  z-index: 1;
}

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

.cta-content h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 48px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.4;
}

[data-theme="light"] .footer-logo {
  filter: none;
  opacity: 0.5;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--text-secondary);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.anim-fade-up {
  animation: fadeUp 0.6s var(--ease) both;
}

.anim-delay-1 {
  animation-delay: 0.1s;
}

.anim-delay-2 {
  animation-delay: 0.2s;
}

.anim-delay-3 {
  animation-delay: 0.3s;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal.delay-1 {
  transition-delay: 0.1s;
}

.reveal.delay-2 {
  transition-delay: 0.2s;
}

.reveal.delay-3 {
  transition-delay: 0.3s;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .nav {
    padding: 0 20px;
  }

  .nav__links {
    display: none;
  }

  .hero {
    padding: 100px 24px 80px;
  }

  .section {
    padding: 72px 24px;
  }

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

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

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3) {
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }

  .stat-item:nth-child(4) {
    border-top: 1px solid var(--border);
    border-right: none;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

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

/* =============================================
   FORM STYLES (Contact Page)
   ============================================= */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s var(--ease);
}

.form-control:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 83, 29, 0.15);
}

.form-control::placeholder {
  color: var(--text-muted);
}