/* Techline Services – thème corporate tech premium */

:root {
  --tl-primary: #0066ff;
  --tl-primary-hover: #0052cc;
  --tl-night: #0b1220;
  --tl-night-2: #111b2e;
  --tl-cyan: #00d4ff;
  --tl-white: #ffffff;
  --tl-muted: rgba(255, 255, 255, 0.72);
  --tl-glass: rgba(11, 18, 32, 0.65);
  --tl-glass-border: rgba(0, 212, 255, 0.18);
  --tl-gradient: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
  --tl-gradient-dark: linear-gradient(180deg, #0b1220 0%, #111b2e 50%, #0b1220 100%);
  --tl-glow: 0 0 40px rgba(0, 102, 255, 0.25);
  --tl-radius: 16px;
  --tl-radius-lg: 24px;
  --tl-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Navigation ─── */
.tl-nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  padding: 0.65rem clamp(0.75rem, 3vw, 1.5rem);
  pointer-events: none;
}

.tl-nav {
  pointer-events: auto;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.25rem);
  padding: 0.5rem clamp(0.65rem, 2vw, 1rem) 0.5rem clamp(0.85rem, 2vw, 1.25rem);
  background: rgba(11, 18, 32, 0.94);
  border: 1px solid var(--tl-glass-border);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.tl-nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  z-index: 2;
}

.tl-nav__brand img {
  width: auto;
  height: clamp(44px, 8vw, 64px);
  max-width: min(280px, 42vw);
  object-fit: contain;
}

.tl-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: end;
  z-index: 2;
}

.tl-nav__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.tl-nav__panel-header,
.tl-nav__panel-footer {
  display: none;
}

.tl-nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(0.35rem, 1.2vw, 1rem) clamp(0.5rem, 1.5vw, 1.15rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.tl-nav__links > li {
  display: flex;
  align-items: center;
}

.tl-nav__link,
.tl-nav__dropdown-toggle {
  color: var(--tl-muted);
  text-decoration: none;
  font-size: clamp(0.8rem, 1.1vw, 0.9rem);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.15rem;
}

.tl-nav__link:hover,
.tl-nav__link.is-active,
.tl-nav__dropdown-toggle:hover {
  color: var(--tl-cyan);
}

.tl-nav__dropdown {
  position: relative;
}

.tl-nav__dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 230px;
  background: rgba(11, 18, 32, 0.98);
  border: 1px solid var(--tl-glass-border);
  border-radius: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.tl-nav__dropdown-menu a {
  display: block;
  padding: 0.6rem 0.85rem;
  color: var(--tl-muted);
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.tl-nav__dropdown-menu a:hover {
  background: rgba(0, 102, 255, 0.15);
  color: var(--tl-white);
}

.tl-nav__dropdown:hover .tl-nav__dropdown-menu,
.tl-nav__dropdown.is-open .tl-nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.tl-nav__chevron {
  transition: transform 0.25s ease;
}

.tl-nav__dropdown.is-open .tl-nav__chevron {
  transform: rotate(180deg);
}

.tl-nav__cta {
  padding: 0.55rem clamp(0.75rem, 2vw, 1.1rem);
  background: var(--tl-gradient);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: clamp(0.78rem, 1vw, 0.85rem);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
}

.tl-nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
  color: #fff !important;
}

.tl-nav__cta-mobile {
  width: 100%;
  text-align: center;
}

.tl-nav__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--tl-glass-border);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.tl-nav__burger:hover {
  background: rgba(0, 102, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.35);
}

.tl-nav__burger-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.tl-nav__burger-lines span {
  display: block;
  height: 2px;
  background: var(--tl-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.tl-nav__burger.is-active .tl-nav__burger-lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.tl-nav__burger.is-active .tl-nav__burger-lines span:nth-child(2) {
  opacity: 0;
}

.tl-nav__burger.is-active .tl-nav__burger-lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.tl-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1998;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tl-nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.tl-nav-open {
  overflow: hidden;
}

/* Tablette & mobile : menu latéral */
@media (max-width: 1100px) {
  .tl-nav {
    grid-template-columns: 1fr auto;
    border-radius: clamp(16px, 4vw, 999px);
    padding: 0.45rem 0.5rem 0.45rem 0.85rem;
  }

  .tl-nav__brand img {
    height: clamp(40px, 10vw, 52px);
    max-width: min(220px, 50vw);
  }

  .tl-nav__burger {
    display: flex;
  }

  .tl-nav__cta--desk {
    display: none;
  }

  .tl-nav__panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(380px, 92vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: linear-gradient(180deg, #0b1220 0%, #111b2e 100%);
    border-left: 1px solid var(--tl-glass-border);
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2001;
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
  }

  .tl-nav__panel.is-open {
    transform: translateX(0);
  }

  .tl-nav__panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid var(--tl-glass-border);
    flex-shrink: 0;
  }

  .tl-nav__panel-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tl-cyan);
  }

  .tl-nav__close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--tl-glass-border);
    border-radius: 50%;
    color: var(--tl-white);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
  }

  .tl-nav__close:hover {
    background: rgba(0, 102, 255, 0.2);
  }

  .tl-nav__panel-footer {
    display: block;
    padding: 1.25rem;
    margin-top: auto;
    border-top: 1px solid var(--tl-glass-border);
    flex-shrink: 0;
  }

  .tl-nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 0;
    flex: 1;
  }

  .tl-nav__links > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .tl-nav__link,
  .tl-nav__dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    white-space: normal;
  }

  .tl-nav__link.is-active {
    color: var(--tl-cyan);
    background: rgba(0, 102, 255, 0.08);
  }

  .tl-nav__dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 0;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.35s ease, padding 0.35s ease;
  }

  .tl-nav__dropdown.is-open .tl-nav__dropdown-menu {
    max-height: 280px;
    padding: 0.25rem 0 0.5rem;
  }

  .tl-nav__dropdown-menu li a {
    padding: 0.75rem 1.25rem 0.75rem 2rem;
    font-size: 0.9rem;
  }
}

/* Petit mobile — header */
@media (max-width: 480px) {
  .tl-nav-wrap {
    padding: max(0.45rem, env(safe-area-inset-top)) 0.65rem 0.45rem;
  }

  .tl-nav {
    border-radius: 14px;
    padding: 0.4rem 0.45rem 0.4rem 0.7rem;
    gap: 0.5rem;
  }

  .tl-nav__panel {
    width: 100%;
    max-width: 100vw;
    border-left: none;
    border-radius: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .tl-nav__brand img {
    max-width: min(175px, 52vw);
    height: 42px;
  }

  .tl-nav__burger {
    width: 46px;
    height: 46px;
  }

  .tl-nav__link,
  .tl-nav__dropdown-toggle {
    padding: 1.05rem 1.15rem;
    font-size: 1.05rem;
  }

  .tl-nav__panel-footer {
    padding: 1rem 1.15rem max(1.25rem, env(safe-area-inset-bottom));
  }
}

/* Desktop large : plus d'espace */
@media (min-width: 1200px) {
  .tl-nav__links {
    gap: 0.5rem 1.35rem;
  }

  .tl-nav__brand img {
    height: 64px;
    max-width: 300px;
  }
}

/* Espace sous header fixe — voir section navigation */

* {
  box-sizing: border-box;
}
body.tl-page {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
}

/* Masquer header legacy Move Hotels */
.bm-header {
  display: none !important;
}

/* Page publique Techline */
.tl-page {
  background: var(--tl-night);
  color: var(--tl-white);
  overflow-x: hidden;
}

.tl-section {
  padding: 5rem 0;
  position: relative;
}

.tl-section--alt {
  background: var(--tl-night-2);
}

.tl-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.tl-overline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tl-cyan);
  margin-bottom: 0.75rem;
}

.tl-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--tl-white);
}

.tl-heading--center {
  text-align: center;
}

.tl-subheading {
  font-size: 1.125rem;
  color: var(--tl-muted);
  line-height: 1.7;
  max-width: 640px;
}

.tl-subheading--center {
  text-align: center;
  margin: 0 auto 3rem;
}

/* Boutons */
.tl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--tl-transition), box-shadow var(--tl-transition), background var(--tl-transition);
}

.tl-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.tl-btn--primary {
  background: var(--tl-gradient);
  color: var(--tl-white);
  box-shadow: var(--tl-glow);
}

.tl-btn--primary:hover {
  color: var(--tl-white);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.35);
}

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

.tl-btn--outline:hover {
  border-color: var(--tl-cyan);
  color: var(--tl-cyan);
}

.tl-btn--whatsapp {
  background: #25d366;
  color: var(--tl-white);
}

.tl-btn--whatsapp:hover {
  color: var(--tl-white);
  background: #20bd5a;
}

/* Hero */
.tl-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tl-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tl-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tl-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 18, 32, 0.92) 0%,
    rgba(11, 18, 32, 0.75) 50%,
    rgba(0, 102, 255, 0.15) 100%
  );
  z-index: 1;
}

.tl-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

#chouchou-particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.tl-hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: clamp(6.5rem, 14vw, 9rem) 1.25rem 4rem;
  max-width: 900px;
}

.tl-hero__title {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  background: linear-gradient(135deg, #fff 0%, var(--tl-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: tl-fade-up 0.8s ease-out;
}

.tl-hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--tl-muted);
  line-height: 1.7;
  margin: 0 auto 2.5rem;
  max-width: 720px;
  animation: tl-fade-up 0.8s ease-out 0.15s both;
}

.tl-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: tl-fade-up 0.8s ease-out 0.3s both;
}

.tl-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 3rem;
  animation: tl-fade-up 0.8s ease-out 0.45s both;
}

.tl-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--tl-glass);
  border: 1px solid var(--tl-glass-border);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--tl-muted);
  backdrop-filter: blur(12px);
}

@keyframes tl-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Expertises */
.tl-expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.tl-expertise-card {
  background: var(--tl-glass);
  border: 1px solid var(--tl-glass-border);
  border-radius: var(--tl-radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  transition: transform var(--tl-transition), box-shadow var(--tl-transition), border-color var(--tl-transition);
}

.tl-expertise-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
}

.tl-expertise-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tl-gradient);
  border-radius: 14px;
  margin-bottom: 1.25rem;
  color: var(--tl-white);
}

.tl-expertise-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--tl-white);
}

.tl-expertise-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tl-expertise-card__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--tl-muted);
}

.tl-expertise-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--tl-cyan);
  border-radius: 50%;
}

/* Why us */
.tl-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.tl-why-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.tl-why-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 102, 255, 0.15);
  border: 1px solid var(--tl-glass-border);
  border-radius: 50%;
  color: var(--tl-cyan);
}

.tl-why-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.tl-why-card__text {
  font-size: 0.9rem;
  color: var(--tl-muted);
  line-height: 1.6;
  margin: 0;
}

.tl-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  padding: 2.5rem;
  background: var(--tl-glass);
  border: 1px solid var(--tl-glass-border);
  border-radius: var(--tl-radius-lg);
  backdrop-filter: blur(16px);
}

.tl-stat {
  text-align: center;
}

.tl-stat__value {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  background: var(--tl-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.tl-stat__label {
  font-size: 0.875rem;
  color: var(--tl-muted);
  margin-top: 0.5rem;
}

/* Portfolio */
.tl-portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.tl-portfolio-filter {
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid var(--tl-glass-border);
  border-radius: 999px;
  color: var(--tl-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tl-transition);
}

.tl-portfolio-filter:hover,
.tl-portfolio-filter.is-active {
  background: var(--tl-primary);
  border-color: var(--tl-primary);
  color: var(--tl-white);
}

.tl-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.tl-portfolio-card {
  position: relative;
  border-radius: var(--tl-radius);
  overflow: hidden;
  background: var(--tl-night-2);
  border: 1px solid var(--tl-glass-border);
  transition: transform var(--tl-transition), box-shadow var(--tl-transition);
}

.tl-portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tl-glow);
}

.tl-portfolio-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.tl-portfolio-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tl-portfolio-card:hover .tl-portfolio-card__img img {
  transform: scale(1.05);
}

.tl-portfolio-card__body {
  padding: 1.25rem;
}

.tl-portfolio-card__cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tl-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tl-portfolio-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0.5rem 0 0.25rem;
  color: var(--tl-white);
}

.tl-portfolio-card__desc {
  font-size: 0.875rem;
  color: var(--tl-muted);
  margin: 0;
}

.tl-portfolio-card.is-hidden {
  display: none;
}

/* Testimonials */
.tl-testimonials {
  padding-bottom: 3rem;
}

.tl-testimonial-card {
  background: var(--tl-glass);
  border: 1px solid var(--tl-glass-border);
  border-radius: var(--tl-radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  height: 100%;
}

.tl-testimonial-card__stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.tl-testimonial-card__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--tl-muted);
  margin: 0 0 1.5rem;
  font-style: italic;
}

.tl-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tl-testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--tl-cyan);
}

.tl-testimonial-card__name {
  font-weight: 700;
  font-size: 0.9375rem;
}

.tl-testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--tl-muted);
}

/* Partners */
.tl-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0.7;
}

.tl-partners img {
  max-height: 48px;
  width: auto;
  filter: grayscale(100%) brightness(1.5);
  transition: filter var(--tl-transition);
}

.tl-partners img:hover {
  filter: grayscale(0%) brightness(1);
}

/* CTA band */
.tl-cta-band {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--tl-gradient);
  border-radius: var(--tl-radius-lg);
  margin: 0 1.25rem;
}

.tl-cta-band__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 1rem;
  color: var(--tl-white);
}

.tl-cta-band__text {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.5rem;
}

.tl-cta-band .tl-btn--outline {
  border-color: var(--tl-white);
  color: var(--tl-white);
}

.tl-cta-band .tl-btn--outline:hover {
  background: var(--tl-white);
  color: var(--tl-primary);
}

/* Footer */
.tl-footer {
  background: #060a12;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--tl-glass-border);
}

.tl-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.tl-footer__brand img {
  height: clamp(56px, 12vw, 88px);
  width: auto;
  max-width: 340px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.tl-footer__brand p {
  font-size: 0.875rem;
  color: var(--tl-muted);
  line-height: 1.6;
}

.tl-footer__title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tl-cyan);
  margin: 0 0 1rem;
}

.tl-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tl-footer__links li {
  margin-bottom: 0.5rem;
}

.tl-footer__links a {
  color: var(--tl-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--tl-transition);
}

.tl-footer__links a:hover {
  color: var(--tl-cyan);
}

.tl-footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.tl-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--tl-white);
  transition: background var(--tl-transition), color var(--tl-transition);
}

.tl-footer__social a:hover {
  background: var(--tl-primary);
  color: var(--tl-white);
}

.tl-footer__copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--tl-glass-border);
  font-size: 0.8125rem;
  color: var(--tl-muted);
}

/* Contact */
.tl-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 991px) {
  .tl-contact-grid {
    grid-template-columns: 1fr;
  }
}

.tl-contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tl-contact-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 102, 255, 0.15);
  border-radius: 12px;
  color: var(--tl-cyan);
}

.tl-contact-info__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tl-cyan);
  margin-bottom: 0.25rem;
}

.tl-contact-info__value {
  color: var(--tl-white);
  text-decoration: none;
  font-size: 0.9375rem;
}

.tl-contact-info__value:hover {
  color: var(--tl-cyan);
}

.tl-form {
  background: var(--tl-glass);
  border: 1px solid var(--tl-glass-border);
  border-radius: var(--tl-radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
}

.tl-form__group {
  margin-bottom: 1.25rem;
}

.tl-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--tl-white);
}

.tl-form__input,
.tl-form__select,
.tl-form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--tl-glass-border);
  border-radius: 10px;
  color: var(--tl-white);
  font-size: 0.9375rem;
  transition: border-color var(--tl-transition);
}

.tl-form__input:focus,
.tl-form__select:focus,
.tl-form__textarea:focus {
  outline: none;
  border-color: var(--tl-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.tl-form__select option {
  background: var(--tl-night);
  color: var(--tl-white);
}

.tl-form__textarea {
  min-height: 120px;
  resize: vertical;
}

.tl-form__error {
  color: #f87171;
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

.tl-form__success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.tl-map {
  border-radius: var(--tl-radius);
  overflow: hidden;
  border: 1px solid var(--tl-glass-border);
  margin-top: 2rem;
}

.tl-map iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* WhatsApp FAB */
.tl-whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9990;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tl-white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--tl-transition);
}

.tl-whatsapp-fab:hover {
  transform: scale(1.08);
  color: var(--tl-white);
}

/* Blog */
.tl-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.tl-blog-card {
  background: var(--tl-glass);
  border: 1px solid var(--tl-glass-border);
  border-radius: var(--tl-radius-lg);
  overflow: hidden;
  transition: transform var(--tl-transition), box-shadow var(--tl-transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.tl-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tl-glow);
  color: inherit;
}

.tl-blog-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.tl-blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tl-blog-card__body {
  padding: 1.5rem;
}

.tl-blog-card__meta {
  font-size: 0.75rem;
  color: var(--tl-cyan);
  margin-bottom: 0.5rem;
}

.tl-blog-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--tl-white);
}

.tl-blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--tl-muted);
  margin: 0;
  line-height: 1.6;
}

.tl-article {
  max-width: 760px;
  margin: 0 auto;
}

.tl-article__img {
  border-radius: var(--tl-radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.tl-article__img img {
  width: 100%;
  height: auto;
}

.tl-article__content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--tl-muted);
}

.tl-article__content h2 {
  color: var(--tl-white);
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.tl-article__content ul {
  padding-left: 1.5rem;
}

.tl-article__content li {
  margin-bottom: 0.5rem;
}

/* Page hero (secondary pages) */
.tl-page-hero {
  padding: clamp(6rem, 12vw, 8rem) 0 4rem;
  text-align: center;
  background: var(--tl-gradient-dark);
  position: relative;
}

.tl-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 102, 255, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.tl-page-hero .tl-heading {
  position: relative;
}

/* Services page sections */
.tl-service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--tl-glass-border);
}

.tl-service-block:nth-child(even) .tl-service-block__visual {
  order: 2;
}

@media (max-width: 991px) {
  .tl-service-block {
    grid-template-columns: 1fr;
  }
  .tl-service-block:nth-child(even) .tl-service-block__visual {
    order: 0;
  }
}

.tl-service-block__visual img {
  width: 100%;
  border-radius: var(--tl-radius-lg);
  border: 1px solid var(--tl-glass-border);
}

.tl-service-block__items {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.tl-service-block__items li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--tl-muted);
}

.tl-service-block__items li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--tl-cyan);
  font-weight: 700;
}

/* Pill nav dropdown */
.chouchou-pill-nav__dropdown {
  position: relative;
}

.chouchou-pill-nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: rgba(11, 18, 32, 0.95);
  border: 1px solid var(--tl-glass-border);
  border-radius: 12px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tl-transition), visibility var(--tl-transition);
  backdrop-filter: blur(16px);
  z-index: 100;
}

.chouchou-pill-nav__dropdown:hover .chouchou-pill-nav__dropdown-menu,
.chouchou-pill-nav__dropdown.is-open .chouchou-pill-nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.chouchou-pill-nav__dropdown-menu a {
  display: block;
  padding: 0.625rem 1rem;
  color: var(--tl-muted);
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: 8px;
  transition: background var(--tl-transition), color var(--tl-transition);
}

.chouchou-pill-nav__dropdown-menu a:hover {
  background: rgba(0, 102, 255, 0.15);
  color: var(--tl-white);
}

/* Swiper overrides */
.tl-testimonials .swiper-pagination-bullet {
  background: var(--tl-muted);
  opacity: 0.5;
}

.tl-testimonials .swiper-pagination-bullet-active {
  background: var(--tl-cyan);
  opacity: 1;
}

/* Chatbot Techline */
.techline-chat-widget {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 9989;
  font-family: 'Inter', sans-serif;
}
.techline-chat-fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--tl-gradient);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--tl-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.techline-chat-panel {
  position: absolute;
  bottom: 64px;
  right: 0;
  width: min(360px, calc(100vw - 2rem));
  max-height: 480px;
  background: rgba(11, 18, 32, 0.98);
  border: 1px solid var(--tl-glass-border);
  border-radius: var(--tl-radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.techline-chat-panel[hidden] {
  display: none !important;
}
.techline-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  background: var(--tl-night-2);
  border-bottom: 1px solid var(--tl-glass-border);
}
.techline-chat-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--tl-white);
}
.techline-chat-close {
  background: none;
  border: none;
  color: var(--tl-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.techline-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 320px;
}
.techline-chat-msg {
  padding: 0.625rem 0.875rem;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 90%;
}
.techline-chat-user {
  align-self: flex-end;
  background: var(--tl-primary);
  color: #fff;
}
.techline-chat-bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: var(--tl-muted);
}
.techline-chat-bot a {
  color: var(--tl-cyan);
}
.techline-chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.25rem;
}
.techline-chat-suggestions button {
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  background: rgba(0, 102, 255, 0.2);
  border: 1px solid var(--tl-glass-border);
  border-radius: 999px;
  color: var(--tl-cyan);
  cursor: pointer;
}
.techline-chat-input-wrap {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--tl-glass-border);
}
.techline-chat-input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--tl-glass-border);
  border-radius: 8px;
  color: var(--tl-white);
  font-size: 0.875rem;
}
.techline-chat-send {
  padding: 0.5rem 1rem;
  background: var(--tl-primary);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.8125rem;
}

/* ─── Responsive mobile ─── */
@media (max-width: 767px) {
  .tl-nav-wrap {
    padding: max(0.5rem, env(safe-area-inset-top)) 0.75rem 0.5rem;
  }

  .tl-nav {
    border-radius: 16px;
    padding: 0.45rem 0.5rem 0.45rem 0.75rem;
  }

  .tl-nav__brand img {
    height: 44px;
    max-width: min(200px, 48vw);
  }

  .tl-nav__panel {
    width: 100%;
    max-width: 100vw;
    border-left: none;
    border-radius: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .tl-nav__panel-footer {
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  }

  .tl-nav__burger {
    width: 48px;
    height: 48px;
  }

  .tl-container {
    padding: 0 1rem;
  }

  .tl-section {
    padding: 3rem 0;
  }

  .tl-heading {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
    line-height: 1.2;
  }

  .tl-subheading {
    font-size: 1rem;
    line-height: 1.65;
  }

  .tl-subheading--center {
    margin-bottom: 2rem;
  }

  /* Hero */
  .tl-hero {
    min-height: 100svh;
    min-height: 100dvh;
    align-items: flex-start;
  }

  .tl-hero__content {
    padding: clamp(5.5rem, 18vw, 7rem) 1rem 3rem;
    width: 100%;
  }

  .tl-hero__title {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    margin-bottom: 1rem;
    line-height: 1.15;
  }

  .tl-hero__subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    line-height: 1.65;
  }

  .tl-hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .tl-hero__ctas .tl-btn {
    width: 100%;
    padding: 0.8rem 1.25rem;
    font-size: 0.9rem;
  }

  .tl-hero__badges {
    margin-top: 2rem;
    gap: 0.5rem;
  }

  .tl-hero__badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  /* Boutons généraux */
  .tl-btn {
    padding: 0.8rem 1.35rem;
    font-size: 0.9rem;
  }

  /* Grilles */
  .tl-expertise-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tl-expertise-card {
    padding: 1.5rem;
  }

  .tl-why-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .tl-why-card {
    padding: 1.25rem 1rem;
  }

  .tl-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.75rem;
    padding: 1.5rem 1rem;
  }

  .tl-stat__value {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .tl-stat__label {
    font-size: 0.8rem;
  }

  .tl-portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tl-portfolio-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 0.5rem;
  }

  .tl-portfolio-filters::-webkit-scrollbar {
    display: none;
  }

  .tl-portfolio-filter {
    flex-shrink: 0;
    padding: 0.45rem 1rem;
    font-size: 0.8125rem;
  }

  .tl-blog-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .tl-blog-card__body {
    padding: 1.15rem;
  }

  /* Témoignages & partenaires */
  .tl-testimonial-card {
    padding: 1.25rem;
  }

  .tl-partners {
    gap: 1.25rem;
  }

  .tl-partners img {
    max-height: 36px;
    max-width: 120px;
    object-fit: contain;
  }

  /* CTA band */
  .tl-cta-band {
    margin: 0;
    padding: 2.25rem 1.25rem;
    border-radius: var(--tl-radius);
  }

  .tl-cta-band__title {
    font-size: clamp(1.25rem, 5.5vw, 1.5rem);
  }

  .tl-cta-band__text {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .tl-cta-band .tl-btn {
    width: 100%;
    max-width: 280px;
  }

  /* Footer */
  .tl-footer {
    padding: 2.5rem 0 1.5rem;
  }

  .tl-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  .tl-footer__brand img {
    margin-left: auto;
    margin-right: auto;
    height: 56px;
  }

  .tl-footer__copyright {
    font-size: 0.75rem;
    padding-top: 1.5rem;
  }

  /* Pages secondaires */
  .tl-page-hero {
    padding: clamp(5rem, 16vw, 6.5rem) 0 2.5rem;
  }

  .tl-page-hero .tl-heading {
    font-size: clamp(1.4rem, 6vw, 1.85rem);
    padding: 0 0.25rem;
  }

  .tl-service-block {
    gap: 1.5rem;
    padding: 2rem 0;
  }

  /* Contact */
  .tl-contact-grid {
    gap: 2rem;
  }

  .tl-form {
    padding: 1.25rem;
    border-radius: var(--tl-radius);
  }

  .tl-form__input,
  .tl-form__select,
  .tl-form__textarea {
    font-size: 16px; /* évite le zoom iOS */
  }

  .tl-map iframe {
    height: 220px;
  }

  /* FAB & chatbot */
  .tl-whatsapp-fab {
    bottom: calc(1rem + env(safe-area-inset-bottom));
    right: 1rem;
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
  }

  .techline-chat-widget {
    bottom: calc(4.75rem + env(safe-area-inset-bottom));
    right: 1rem;
  }

  .techline-chat-fab {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
  }

  .techline-chat-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    max-height: min(75vh, 520px);
    border-radius: var(--tl-radius-lg) var(--tl-radius-lg) 0 0;
    border-bottom: none;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .techline-chat-messages {
    max-height: min(45vh, 360px);
  }

  /* Désactiver effets hover lourds au tactile */
  @media (hover: none) {
    .tl-expertise-card:hover,
    .tl-portfolio-card:hover,
    .tl-blog-card:hover {
      transform: none;
      box-shadow: none;
    }
  }
}

@media (max-width: 380px) {
  .tl-hero__title {
    font-size: 1.65rem;
  }

  .tl-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 0.5rem;
  }

  .tl-nav__brand img {
    max-width: 155px;
    height: 38px;
  }
}
