﻿/* ================================================================
   VA DÉVELOPPEMENT — ULTRA MODERN DESIGN
   Colors: #c43b3b (red), #4a4a4a (charcoal), #1a1a2e (dark), white
   ================================================================ */

/* ===================== RESET & CUSTOMS ===================== */

@font-face {
  font-family: 'Boss Signature';
  src: url('fonts/Boss Signature Demo.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --red: #c43b3b;
  --red-dark: #a83232;
  --red-glow: rgba(196, 59, 59, 0.25);
  --charcoal: #4a4a4a;
  --dark: #1a1a2e;
  --darker: #0f0f1a;
  --text: #2d2d2d;
  --text-light: #6b7280;
  --text-muted: #9ca3af;
  --bg: #ffffff;
  --bg-warm: #faf9f7;
  --bg-cool: #f3f4f6;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-red: 0 8px 30px rgba(196, 59, 59, 0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lato', 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===================== HEADER / NAV ===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 72px;
  width: auto;
  transition: transform var(--transition);
}

.logo:hover img {
  transform: scale(1.03);
}

/* Logo nav : masqué par défaut, visible après scroll */
.nav-logo {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.header.past-hero .nav-logo {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header.past-hero .nav-logo img {
  height: 48px;
}

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

.nav-links a {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--charcoal);
  padding: 8px 18px;
  border-radius: 40px;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--red);
  background: rgba(196, 59, 59, 0.06);
}

.nav-links a.active {
  color: #fff;
  background: var(--red);
  font-weight: 600;
}

.nav-cta {
  margin-left: 8px;
}

.nav-cta a {
  background: var(--dark) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
}

.nav-cta a:hover {
  background: var(--red) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-red);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 28px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 4px;
  transition: var(--transition);
  transform-origin: center;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===================== MOBILE MENU OVERLAY ===================== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: #ffffff;
  z-index: 1100;
  box-shadow: -4px 0 30px rgba(0,0,0,0.15);
  padding: 80px 24px 40px;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu-overlay.open {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--charcoal);
  cursor: pointer;
  padding: 4px 10px;
  transition: color var(--transition);
}

.mobile-menu-close:hover {
  color: var(--red);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-links a {
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--charcoal);
  padding: 10px 16px;
  border-radius: 8px;
  transition: all var(--transition);
  display: block;
  width: 100%;
}

.mobile-menu-links a:hover {
  color: var(--red);
  background: rgba(196, 59, 59, 0.06);
}

.mobile-menu-links .nav-cta a {
  background: var(--dark);
  color: #fff;
  font-weight: 600;
  padding: 10px 24px;
  margin-top: 12px;
  border-radius: 40px;
  text-align: center;
}

.mobile-menu-links .nav-cta a:hover {
  background: var(--red);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #f5f4f0;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 120px;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(196, 59, 59, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(196, 59, 59, 0.04) 0%, transparent 45%),
    linear-gradient(160deg, #ffffff 0%, #f5f4f0 60%, #ede9e4 100%);
}

.hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-left: 40px;
  padding-right: 40px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  min-height: calc(100vh - 200px);
}

/* ---- Colonne gauche ---- */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.hero-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

@media (min-width: 769px) {
  .hero-logos {
    flex-direction: row;
    gap: 18px;
  }
}

/* ---- Colonne droite ---- */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
}

.hero-headline {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: #1a1a2e;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--red);
}

.hero-desc {
  font-size: 1rem;
  color: rgba(87, 87, 86, 0.7);
  line-height: 1.8;
  max-width: 480px;
  border-left: 3px solid rgba(196, 59, 59, 0.25);
  padding-left: 16px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}

/* ---- Slider projets hero ---- */
.hero-photo-card {
  width: 100%;
  max-width: 380px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
  position: relative;
  animation: hero-wrapper-in 1s ease 0.5s both;
  height: 250px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 6s ease;
}

.hero-slide.active img {
  transform: scale(1.06);
}

.hero-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
}

.hero-photo-caption span {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-photo-loc {
  font-size: 0.75rem !important;
  opacity: 0.75;
  font-weight: 400 !important;
}

.hero-slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.hero-slider-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.hero-slider-dots .dot.active {
  background: #fff;
  transform: scale(1.4);
}

/* ---- Bande KPI ---- */
.hero-kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(87, 87, 86, 0.15);
  width: 100%;
}

.hero-kpi-item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(87, 87, 86, 0.15);
}

.hero-kpi-item:last-child {
  border-right: none;
}

.hero-kpi-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.hero-kpi-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(87, 87, 86, 0.6);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(196, 59, 59, 0.15);
  border: 1px solid rgba(196, 59, 59, 0.3);
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-va {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.hero-favicon-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hero-favicon {
  width: auto;
  height: 130px;
  display: block;
  flex-shrink: 0;
  animation: favicon-pop 1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes favicon-pop {
  0%   { opacity: 0; transform: scale(0.3) rotate(-15deg); }
  60%  { opacity: 1; transform: scale(1.08) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.hero-devt-svg {
  height: 90px;
  width: auto;
  max-width: 100%;
  display: block;
  flex-shrink: 1;
  opacity: 0;
  animation: devt-svg-in 1.2s ease 0.8s forwards;
}

@keyframes devt-svg-in {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* hero-logo-group: contains filet + logos */
.hero-logo-group {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-filet-logo {
  position: absolute;
  left: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 120%;
  height: auto;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: filet-reveal 2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.hero-logo-group h1 {
  position: relative;
  z-index: 1;
}

.hero .tagline {
  font-size: 1.8rem;
  font-weight: 300;
  color: rgba(87, 87, 86, 0.85);
  margin-bottom: 28px;
  line-height: 1.6;
  font-style: italic;
}

.hero-text {
  font-size: 1.05rem;
  color: rgba(87, 87, 86, 0.7);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
  text-align: center;
}

.hero-text.hero-text-signature {
  font-family: 'Lato', sans-serif;
  font-size: 1.25rem;
  font-style: italic;
  max-width: 100%;
  width: 100%;
  line-height: 2.2;
  letter-spacing: 0.03em;
  color: rgba(87, 87, 86, 0.75);
  margin-top: 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-anim-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  animation: hero-wrapper-in 1s ease both;
}

@keyframes hero-wrapper-in {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-signature {
  max-width: 100%;
  width: 480px;
  filter: drop-shadow(0 0 40px rgba(196, 59, 59, 0.35)) drop-shadow(0 20px 40px rgba(0,0,0,0.4));
  animation: hero-wrapper-in 1.2s ease both, float 7s ease-in-out 1.2s infinite;
  opacity: 0;
  animation-fill-mode: forwards;
}

/* hero-filet-bg supprimé — filet maintenant dans .hero-logo-group via .hero-filet-logo */

@keyframes filet-reveal {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0.3;
    filter: grayscale(1) brightness(0.9);
  }
  to {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
    filter: grayscale(0) brightness(1);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 15px rgba(196, 59, 59, 0.3);
}

.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 59, 59, 0.4);
}

.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(87, 87, 86, 0.35);
  color: #575756;
  backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  background: rgba(87, 87, 86, 0.08);
  border-color: rgba(87, 87, 86, 0.6);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-dark:hover {
  background: #252542;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
}

.btn-arrow::after {
  content: '\2192';
  transition: transform var(--transition);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ===================== CTA BAND ===================== */
.cta-band {
  position: relative;
  padding: 80px 0;
  background: var(--dark);
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 59, 59, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-band h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ===================== SECTIONS ===================== */
.section {
  padding: 100px 0;
  position: relative;
}

/* Dark section variant */
.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-dark .section-title {
  color: #fff;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.55);
}

.section-dark .section-label {
  background: rgba(196, 59, 59, 0.15);
  border: 1px solid rgba(196, 59, 59, 0.25);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: rgba(196, 59, 59, 0.07);
  border-radius: 40px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.title-accent {
  color: var(--red);
  position: relative;
}

.section-subtitle {
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ===================== SECTEURS — BENTO GRID ===================== */
.sectors-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sector-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 44px 28px 36px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
  overflow: hidden;
  cursor: default;
  backdrop-filter: blur(10px);
}

/* Carte accentuée */
.sector-card--accent {
  background: rgba(196, 59, 59, 0.08);
  border-color: rgba(196, 59, 59, 0.25);
}

.sector-card--accent .sector-icon {
  background: rgba(196, 59, 59, 0.2);
}

.sector-card--accent::before {
  width: 100%;
}

.sector-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--red);
  border-radius: 0 0 4px 4px;
  transition: width var(--transition);
}

.sector-card:hover::before {
  width: 100%;
}

.sector-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(196, 59, 59, 0.15);
  border-color: rgba(196, 59, 59, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.sector-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: rgba(196, 59, 59, 0.1);
  color: var(--red);
  border: 1px solid rgba(196, 59, 59, 0.15);
  transition: all var(--transition);
}

.sector-card:hover .sector-icon {
  background: rgba(196, 59, 59, 0.2);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(196, 59, 59, 0.2);
}

.sector-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.sector-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

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

.service-card {
  position: relative;
  padding: 40px 36px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition);
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.service-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===================== PROGRAMMES — GALLERY CARDS ===================== */
.programmes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.programme-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark);
  transition: all var(--transition);
  cursor: default;
}

.programme-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.programme-img {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.programme-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.programme-card:hover .programme-img img {
  transform: scale(1.08);
}

.programme-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dark), #2a2a4a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.2);
}

.programme-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--dark) 0%, transparent 100%);
  pointer-events: none;
}

.programme-body {
  position: relative;
  padding: 0 28px 28px;
  margin-top: -40px;
  z-index: 1;
}

.programme-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.programme-body p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.programme-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(196, 59, 59, 0.2);
  border: 1px solid rgba(196, 59, 59, 0.3);
  border-radius: 40px;
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 600;
  backdrop-filter: blur(10px);
}

/* ===================== CONTACT PAGE ===================== */
.contact-hero {
  background: var(--dark);
  color: #fff;
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 59, 59, 0.1) 0%, transparent 70%);
}

.contact-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.contact-hero p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 12px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.contact-section {
  padding: 80px 0 100px;
  background: var(--bg-warm);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  padding: 40px 32px;
  background: var(--dark);
  border-radius: var(--radius-lg);
  color: #fff;
  position: sticky;
  top: 120px;
}

.contact-info h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(196, 59, 59, 0.15);
  border: 1px solid rgba(196, 59, 59, 0.25);
  color: var(--red);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-info-item p {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info-item strong {
  color: #fff;
}

.contact-info-item a {
  color: var(--red);
  transition: color var(--transition);
}

.contact-info-item a:hover {
  color: #fff;
}

/* Form */
.contact-form {
  padding: 48px 44px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-form h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.form-group label .required {
  color: var(--red);
  margin-left: 2px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: all var(--transition);
  background: var(--bg-warm);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(196, 59, 59, 0.08);
  background: var(--bg);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.captcha-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding: 18px 20px;
  background: var(--bg-cool);
  border-radius: var(--radius);
  border: 1.5px solid #e5e7eb;
}

.captcha-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.captcha-question {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--dark);
  white-space: nowrap;
}

.captcha-eq {
  font-weight: 700;
  color: var(--red);
  font-size: 1.1rem;
}

.captcha-input {
  width: 70px;
  padding: 10px 12px;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1.1rem;
  text-align: center;
  font-weight: 700;
  color: var(--dark);
  background: var(--bg);
  transition: all var(--transition);
}

.captcha-input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(196, 59, 59, 0.08);
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  border-radius: 50px;
}

.form-message {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--radius);
  display: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-message.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-message.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--darker);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
  position: relative;
  z-index: 1;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-brand .logo {
  margin-bottom: 8px;
  display: block;
}

.footer-brand .logo img {
  height: 60px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer-brand a:not(.logo):not(.footer-contact-link) {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-brand a:not(.logo):not(.footer-contact-link):hover {
  color: #fff;
}

.footer h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 48px;
}

.footer-contact-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contact p {
  margin-bottom: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact p strong {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.footer-contact a {
  color: var(--red);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: #fff;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--red);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--transition);
}

.footer-contact-link:hover {
  gap: 12px;
  color: #fff;
}

.footer-bottom {
  padding-top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.04em;
}

/* ===================== WAVE SVG ===================== */
.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: auto;
}

/* ===================== FILET DECORATION ===================== */
.filet-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.06;
  z-index: 0;
}

/* ===================== ANIMATIONS ===================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }

/* ===================== COUNTER STATS ===================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: -60px;
  position: relative;
  z-index: 10;
  animation: stats-enter 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes stats-enter {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.stat-item:hover {
  background: var(--bg-warm);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===================== MISSION BANNER ===================== */
.mission-banner {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.mission-banner .filet-deco {
  top: -100px;
  right: -200px;
  width: 600px;
  height: auto;
}

.mission-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.mission-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 28px;
  padding: 6px 16px;
  background: rgba(196, 59, 59, 0.07);
  border-radius: 40px;
}

.mission-content blockquote {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.6;
  font-style: normal;
  position: relative;
  padding: 0 40px;
}

.mission-content blockquote em {
  font-style: italic;
  color: var(--red);
  font-weight: 500;
}

.mission-content blockquote::before {
  content: '\201C';
  position: absolute;
  top: -30px;
  left: 0;
  font-size: 6rem;
  color: var(--red);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.mission-content blockquote::after {
  content: '\201D';
  position: absolute;
  bottom: -20px;
  right: 0;
  font-size: 6rem;
  color: var(--red);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.mission-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.mission-sig-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,59,59,0.4));
}

.mission-sig-line:last-child {
  background: linear-gradient(to left, transparent, rgba(196,59,59,0.4));
}

.mission-sig-img {
  height: 52px;
  width: auto;
  opacity: 0.82;
  filter: brightness(0.3) sepia(0.2);
  display: block;
}

.red-line {
  width: 60px;
  height: 3px;
  background: var(--red);
  border-radius: 3px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-right { align-items: center; }
  .hero-desc { border-left: none; padding-left: 0; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-headline { font-size: 2.4rem; }
  .hero-signature { width: 360px; }
  .hero-photo-card { max-width: 480px; margin: 0 auto; }
  .hero-logo-group { max-width: 400px; margin: 0 auto; }

  .sectors-bento { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .programmes-grid { grid-template-columns: 1fr; }

  .contact-wrapper { grid-template-columns: 1fr; }
  .contact-info { position: static; }

  .footer-grid { flex-direction: column; text-align: center; gap: 28px; }
  .footer-contact { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; }
  .footer-contact-inner { align-items: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .stats-bar { margin-top: -40px; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .section-title { font-size: 1.8rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero .tagline { font-size: 1.05rem; }
  .hero-signature { width: 260px; }
  .hero .container { padding-left: 28px; padding-right: 28px; }

  /* Logo hero mobile — colonne par défaut, tailles adaptées */
  .hero-favicon { height: 80px; }
  .hero-devt-svg { height: 50px; max-width: 90vw; }
  .hero-logo-group { max-width: 100%; }
  .hero-headline { font-size: 2rem; }
  .hero-photo-card { height: 200px; }

  /* Logo nav : toujours visible sur mobile */
  .nav-logo {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }
  .nav-logo img { height: 42px; }

  /* Masquer nav desktop sur mobile */
  .nav-desktop { display: none; }

  .burger { display: flex; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .contact-hero h1 { font-size: 1.8rem; }

  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; max-width: 280px; }

  .stats-bar { grid-template-columns: 1fr; margin-top: -30px; }
  .cta-band h2 { font-size: 1.6rem; }
  .mission-content blockquote { font-size: 1.2rem; padding: 0 20px; }
  .mission-content blockquote::before { font-size: 3rem; top: -15px; left: -5px; }
  .mission-content blockquote::after { font-size: 3rem; bottom: -10px; right: -5px; }
  .captcha-group { flex-wrap: wrap; }

  /* Footer mobile */
  .footer { padding: 40px 16px 24px; min-height: 650px; }
  .footer .container { padding: 0; }
  .footer-grid { gap: 16px; margin-bottom: 24px; padding-bottom: 24px; }
  .footer-brand { gap: 10px; }
  .footer-brand .logo img { height: 50px; }
  .footer-brand p { font-size: 1rem; }
  .footer-contact-link { font-size: 1rem; }
  .footer-bottom { padding-top: 16px; }
}

@media (max-width: 480px) {
  .sectors-bento { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sector-card { padding: 28px 16px 24px; }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero h1 { font-size: 1.8rem; }
  .marquee { display: none; }
}

/* ================================================================
   PREMIUM EFFECTS — LEVEL 10/10
   ================================================================ */

/* ===================== SCROLL PROGRESS BAR ===================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff6b6b, var(--red));
  z-index: 9999;
  transition: width 0.05s linear;
  box-shadow: 0 0 10px var(--red-glow);
}

/* ===================== HERO GLOW CURSOR ===================== */
.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 59, 59, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.hero:hover .hero-glow {
  opacity: 1;
}

/* ===================== GRADIENT ANIMATED TEXT ===================== */
.gradient-text {
  background: linear-gradient(135deg, #fff, var(--red), #ff8a8a, #fff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease-in-out infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===================== GRAIN TEXTURE OVERLAY ===================== */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ===================== MARQUEE TICKER ===================== */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 20px 0;
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-inner {
  display: inline-flex;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.marquee-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.6;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================== MAGNETIC BUTTON ===================== */
.btn-magnetic {
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===================== TILT 3D CARD ===================== */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.tilt-card .programme-body {
  transform: translateZ(30px);
}

/* ===================== VIDEO PROGRAMME CARD ===================== */
.programme-card.has-video .programme-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.programme-card .video-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(196, 59, 59, 0.4);
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(196, 59, 59, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(196, 59, 59, 0.7); }
}

/* ===================== ANIMATED COUNTER ===================== */
.stat-number[data-target] {
  font-variant-numeric: tabular-nums;
}

/* ===================== GLOW LINE SEPARATORS ===================== */
.glow-separator {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.3;
  margin: 0;
}

/* ===================== HERO PARTICLES ===================== */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(196, 59, 59, 0.4);
  animation: particle-float linear infinite;
}

@keyframes particle-float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* ===================== SECTION COUNTER ===================== */
.section-counter {
  position: absolute;
  left: 28px;
  top: 100px;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.4;
}

.section-counter::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: var(--red);
  margin-top: 12px;
  margin-left: 50%;
  transform: translateX(-50%);
}

/* ===================== SERVICE CARD GLOW ===================== */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  background: none;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.service-card:hover::before {
  opacity: 0;
}

/* ===================== ANIMATED BORDER GRADIENT ===================== */
.contact-form {
  position: relative;
}

.contact-form::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: linear-gradient(135deg, var(--red), transparent, var(--red));
  background-size: 200% 200%;
  animation: border-gradient 4s ease infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition);
}

.contact-form:focus-within::before {
  opacity: 0.5;
}

@keyframes border-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===================== CTA BAND ANIMATED BG ===================== */
.cta-band {
  background: linear-gradient(-45deg, var(--dark), #1e1e3a, #2a1525, var(--dark));
  background-size: 400% 400%;
  animation: cta-gradient 12s ease infinite;
}

@keyframes cta-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===================== RESPONSIVE EXTRAS ===================== */
@media (max-width: 1024px) {
  .section-counter { display: none; }
}

@media (max-width: 768px) {
  .hero-glow { display: none; }
  .marquee { padding: 14px 0; }
  .marquee-item { padding: 0 24px; font-size: 0.75rem; }
}
