/* ============================================
   MILLO DÉPANNAGE — DESIGN SYSTEM V2
   Sans-serif uniquement · jeu de graisses
   Thème sombre/clair · Multilangue FR/EN/IT
   ============================================ */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-weight: 300;
  line-height: 1.55;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* === DESIGN TOKENS === */
:root {
  /* Sans-serif uniquement — Inter pour partout, jeu de poids 100 à 900 */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Inter', system-ui, -apple-system, sans-serif;

  /* Palette signature */
  --red: #d4001f;
  --red-bright: #ff1733;
  --red-deep: #a30018;

  /* Thème sombre (par défaut) */
  --bg: #0a0a0a;
  --bg-elevated: #131313;
  --bg-elevated-2: #1a1a1a;
  --text: #ffffff;
  --text-soft: #c9c9c9;
  --text-muted: #888888;
  --text-faint: #555555;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --overlay: rgba(0, 0, 0, 0.6);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  --invert-imgs: 0;
}

/* Thème clair */
[data-theme="light"] {
  --bg: #f5f3ef;
  --bg-elevated: #ffffff;
  --bg-elevated-2: #f0ede7;
  --text: #0a0a0a;
  --text-soft: #2a2a2a;
  --text-muted: #6a6a6a;
  --text-faint: #b0b0b0;
  --line: rgba(0, 0, 0, 0.1);
  --line-strong: rgba(0, 0, 0, 0.22);
  --overlay: rgba(245, 243, 239, 0.85);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  --invert-imgs: 1;
}

/* === UTILITAIRES === */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow .bar {
  width: 32px;
  height: 1px;
  background: var(--red);
}

.hidden { display: none !important; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  background: transparent;
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
  padding: 14px 48px;
}
[data-theme="light"] .nav.scrolled {
  background: rgba(245, 243, 239, 0.85);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}
.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 4px;
  transition: transform 0.3s;
}
.nav-logo:hover img { transform: scale(1.04); }

/* Ancien logo (gardé pour compat — masqué par défaut) */
.nav-logo .logo-mark, .nav-logo .logo-text { display: none; }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
}
.nav-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  transition: color 0.3s;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-menu a:hover { color: var(--text); }
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-menu a.active { color: var(--text); font-weight: 600; }
.nav-menu a.active::after { transform: scaleX(1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme & lang switchers */
.switcher {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 4px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.switcher button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: 100px;
  transition: all 0.3s;
}
.switcher button.active {
  background: var(--red);
  color: #fff;
}
.switcher button:hover:not(.active) { color: var(--text); }

.theme-toggle {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all 0.3s;
  padding: 0;
}
.theme-toggle:hover { border-color: var(--red); color: var(--red); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--red);
  color: #fff !important;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.3s;
}
.nav-cta:hover { background: var(--red-bright); transform: translateY(-1px); }
.nav-cta .live-dot {
  width: 7px; height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  50% { opacity: 0.6; box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}

@media (max-width: 1100px) {
  .nav { padding: 18px 24px; }
  .nav.scrolled { padding: 12px 24px; }
  .nav-menu { 
    position: fixed; 
    top: 70px; right: -100%; 
    flex-direction: column; 
    background: var(--bg-elevated); 
    width: 80%; 
    height: calc(100vh - 70px); 
    padding: 40px 24px; 
    transition: right 0.4s; 
    border-left: 1px solid var(--line);
  }
  .nav-menu.open { right: 0; }
  .nav-menu a { padding: 14px 0; font-size: 16px; }
  .nav-burger { display: flex; }
  .nav-right .switcher { display: none; }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 48px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.75) 50%, var(--bg) 100%);
}
[data-theme="light"] .hero-bg::after {
  background: linear-gradient(180deg, rgba(245,243,239,0.3) 0%, rgba(245,243,239,0.6) 50%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(56px, 8vw, 132px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text);
  text-transform: uppercase;
}
.hero-title .strong {
  font-weight: 800;
}
.hero-title .accent {
  color: var(--red);
  font-weight: 800;
}
.hero-title em { font-style: normal; color: var(--text-soft); font-weight: 200; }

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  align-items: end;
}
.hero-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
  font-weight: 300;
  max-width: 440px;
}
.hero-phone {
  text-align: right;
}
.hero-phone .phone-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.hero-phone .phone-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color 0.3s;
  line-height: 1;
}
.hero-phone .phone-num:hover { color: var(--red); }

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.hero-stats div {
  display: flex; gap: 12px; align-items: center;
}
.hero-stats .live-dot {
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse-red 1.8s infinite;
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 0, 31, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(212, 0, 31, 0); }
}

@media (max-width: 900px) {
  .hero { padding: 110px 24px 60px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
  .hero-phone { text-align: left; }
}

/* === HERO SUB (pages internes) === */
.hero-sub {
  min-height: 75vh;
  padding-top: 140px;
}
.hero-sub .hero-title { 
  font-size: clamp(48px, 7vw, 112px); 
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.hero-sub .hero-bottom { grid-template-columns: 2fr 1fr; gap: 60px; }

/* === BREADCRUMB === */
.breadcrumb {
  padding: 24px 48px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.breadcrumb-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.breadcrumb-inner a { color: var(--text-muted); transition: color 0.3s; }
.breadcrumb-inner a:hover { color: var(--red); }
.breadcrumb-inner span:last-child { color: var(--text); }
@media (max-width: 700px) { .breadcrumb { padding: 20px 24px; } }

/* === SECTION HEADER (eyebrow AU-DESSUS du titre, alignés à gauche) === */
.section-header {
  padding: 100px 48px 60px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section-header.split {
  /* même comportement : eyebrow au-dessus, titre dessous, aligné à gauche */
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section-header .eyebrow { padding-top: 6px; }
.section-header .section-title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text);
  text-transform: uppercase;
  max-width: 100%;
}
.section-header .section-title .strong { font-weight: 800; }
.section-header .section-title .accent { color: var(--red); font-weight: 800; }

@media (max-width: 900px) {
  .section-header { padding: 70px 24px 40px; gap: 20px; }
}

/* === STATS BANNER === */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.stat {
  padding: 60px 40px;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat:hover { background: var(--bg-elevated); }
.stat-num {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
}
.stat-num strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 72px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}
.stat-num .unit {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--red);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 300;
  max-width: 280px;
}
@media (max-width: 1000px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .stat { padding: 40px 24px; }
  .stat-num strong { font-size: 56px; }
}
@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
}

/* === SERVICES GRID === */
.services {
  padding: 80px 48px 120px;
}
.services-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  padding: 60px 40px 50px;
  background: var(--bg);
  position: relative;
  transition: background 0.4s;
  display: flex;
  flex-direction: column;
  min-height: 480px;
}
.service-card:hover { background: var(--bg-elevated); }
.service-card .service-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 32px;
}
.service-card .service-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.service-card .service-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
  margin-bottom: 32px;
  flex: 1;
}
.service-card .service-features {
  list-style: none;
  padding: 24px 0;
  margin-bottom: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-card .service-features li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  align-items: center;
}
.service-card .service-features li::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--red);
}
.service-card .service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 28px;
  background: var(--red);
  border: 1.5px solid var(--red);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff !important;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  align-self: flex-start;
  box-shadow: 0 6px 16px rgba(212, 0, 31, 0.25);
}
.service-card .service-link svg { transition: transform 0.3s; }
.service-card:hover .service-link { 
  background: #0a0a0a; 
  border-color: #0a0a0a; 
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}
[data-theme="light"] .service-card:hover .service-link {
  background: #0a0a0a;
  border-color: #0a0a0a;
}
.service-card:hover .service-link svg { transform: translateX(6px); }

@media (max-width: 1000px) {
  .services-grid { grid-template-columns: 1fr; }
  .services { padding: 60px 24px 80px; }
  .service-card { min-height: auto; padding: 40px 28px; }
  .service-card .service-title { font-size: 36px; }
}

/* === CONTENT BLOCK (texte simple) === */
.content-block {
  padding: 100px 48px;
  max-width: 1400px;
  margin: 0 auto;
}
.content-block-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 100px;
  align-items: start;
}
.content-block-text { font-size: 16px; line-height: 1.75; color: var(--text-soft); margin-bottom: 24px; }
.content-block-text:last-child { margin-bottom: 0; }
.content-block-text strong { color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
  .content-block { padding: 60px 24px; }
  .content-block-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* === FEATURE LIST === */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}
.feature-item {
  padding: 40px 32px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex;
  gap: 32px;
  align-items: flex-start;
  transition: background 0.3s;
}
.feature-item:hover { background: var(--bg-elevated); }
.feature-item:nth-child(2n) { border-right: none; }
.feature-item .feature-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0.1em;
  min-width: 28px;
}
.feature-item .feature-content h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.feature-item .feature-content p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}
@media (max-width: 800px) {
  .feature-list { grid-template-columns: 1fr; padding: 0 24px; }
  .feature-item { padding: 32px 0; border-right: none !important; }
}

/* === CTA BAND === */
.cta-band {
  padding: 100px 48px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: end;
}
.cta-band-title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.cta-band-title .strong { font-weight: 800; }
.cta-band-title .accent { color: var(--red); font-weight: 800; }
.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: all 0.3s;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--red);
  color: #fff !important;
}
.btn-primary:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(212,0,31,0.3); }
.btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--red); color: var(--red) !important; }

@media (max-width: 800px) {
  .cta-band { padding: 60px 24px; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 32px; align-items: start; }
}

/* === TESTIMONIALS === */
.testimonials {
  padding: 100px 48px;
}
.testimonials-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  padding: 40px 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 6px;
  position: relative;
}
.testimonial .stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  color: var(--red);
}
.testimonial .stars svg { width: 14px; height: 14px; }
.testimonial blockquote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
  margin-bottom: 24px;
  font-weight: 300;
}
.testimonial .author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.testimonial .author .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.testimonial .author .info { display: flex; flex-direction: column; }
.testimonial .author .name { font-weight: 600; font-size: 14px; }
.testimonial .author .src { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--text-muted); }
@media (max-width: 900px) { 
  .testimonials { padding: 60px 24px; } 
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* === PROCESS STEPS === */
.process {
  padding: 100px 48px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
}
.process-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.process-step {
  padding: 48px 32px;
  border-right: 1px solid var(--line);
  position: relative;
}
.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--bg); }
.process-step .step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 80px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--red);
  margin-bottom: 24px;
}
.process-step h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.process-step p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}
@media (max-width: 900px) {
  .process { padding: 60px 24px; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--line); padding: 32px 0; }
  .process-step:last-child { border-bottom: none; }
}

/* === LOGOS PARTNERS === */
.partners {
  padding: 100px 48px;
}
.partners-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.partner-logo {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: all 0.4s;
  background: #ffffff;
  position: relative;
}
.partner-logo:hover {
  background: #fafafa;
  transform: scale(1.02);
  z-index: 2;
  box-shadow: 0 0 0 1px var(--red);
}
.partner-logo:nth-child(6n) { border-right: none; }
.partner-logo:nth-last-child(-n+6) { border-bottom: none; }
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s;
}
.partner-logo:hover img { transform: scale(1.05); }
.partner-logo svg {
  max-width: 100%;
  max-height: 60px;
  width: auto;
}
@media (max-width: 1000px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-logo:nth-child(6n) { border-right: 1px solid var(--line); }
  .partner-logo:nth-child(3n) { border-right: none; }
  .partner-logo:nth-last-child(-n+6) { border-bottom: 1px solid var(--line); }
  .partner-logo:nth-last-child(-n+3) { border-bottom: none; }
}
@media (max-width: 600px) {
  .partners { padding: 60px 24px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-logo:nth-child(3n) { border-right: 1px solid var(--line); }
  .partner-logo:nth-child(2n) { border-right: none; }
}

/* === AGENCES GRID === */
.agences {
  padding: 100px 48px;
  background: var(--bg);
}
.agences-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.agence-card {
  padding: 48px 36px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.agence-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.5s;
}
.agence-card:hover {
  background: var(--bg-elevated-2);
  border-color: var(--line-strong);
  transform: translateY(-4px);
}
.agence-card:hover::before { width: 100%; }
.agence-tag {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(212, 0, 31, 0.15);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 24px;
}
.agence-num {
  position: absolute;
  top: 28px;
  right: 36px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.agence-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.agence-zone {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}
.agence-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}
.agence-info li { display: flex; flex-direction: column; gap: 4px; }
.info-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.info-value {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
  transition: color 0.3s;
}
a.info-value:hover { color: var(--red); }
.info-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text) !important;
  letter-spacing: -0.01em;
}
.info-phone:hover { color: var(--red) !important; }
.info-mail { font-size: 13px; word-break: break-all; }

.agence-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
  width: 100%;
  font-weight: 600;
  transition: color 0.3s;
}
.agence-link svg { width: 14px; height: 14px; transition: transform 0.3s; }
.agence-link:hover { color: var(--red); }
.agence-link:hover svg { transform: translate(3px, -3px); }

@media (max-width: 1000px) {
  .agences-grid { grid-template-columns: 1fr; }
  .agences { padding: 60px 24px; }
}

/* === MAP === */
.map-section {
  padding: 60px 48px 100px;
}
.map-frame {
  max-width: 1400px;
  margin: 0 auto;
  height: 600px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.map-frame iframe {
  width: 100%; height: 100%; border: none;
  filter: var(--map-filter, grayscale(0.4) invert(0.92) hue-rotate(180deg));
}
[data-theme="light"] .map-frame iframe { filter: none; }
@media (max-width: 800px) { .map-section { padding: 40px 24px 60px; } .map-frame { height: 460px; } }

/* === CONTACT FORM === */
.contact-section {
  padding: 100px 48px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
}
.contact-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}
.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.contact-direct-block { display: flex; flex-direction: column; gap: 8px; }
.direct-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.direct-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color 0.3s;
}
.direct-phone:hover { color: var(--red); }
.direct-mail { font-size: 18px; color: var(--text-soft); transition: color 0.3s; }
.direct-mail:hover { color: var(--red); }

.contact-form {
  padding: 56px 48px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.form-field label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-field input, .form-field select, .form-field textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  font-weight: 400;
  transition: all 0.3s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--bg);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-faint); }
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.5'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  cursor: pointer;
  padding-right: 46px;
}
.form-field select option { background: var(--bg-elevated); color: var(--text); }
.form-field textarea { min-height: 140px; resize: vertical; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.form-consent input[type="checkbox"] {
  appearance: none;
  width: 16px; height: 16px;
  min-width: 16px;
  margin-top: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
}
.form-consent input[type="checkbox"]:checked { background: var(--red); border-color: var(--red); }
.form-consent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute; left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-consent label { font-size: 12px; color: var(--text-muted); line-height: 1.5; cursor: pointer; }

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 22px 32px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.form-submit:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(212,0,31,0.3); }
.form-submit svg { width: 16px; height: 16px; }

@media (max-width: 1000px) {
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .contact-section { padding: 60px 24px; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* === GALLERY (parc auto) === */
.gallery-section {
  padding: 40px 48px 120px;
}
.filters {
  max-width: 1400px;
  margin: 0 auto 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-btn {
  padding: 12px 20px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: all 0.3s;
}
.filter-btn:hover { border-color: var(--text-soft); color: var(--text); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

.gallery-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-elevated);
  transition: all 0.4s;
}
.gallery-item:hover { transform: translateY(-4px); border-color: var(--red); }
.gallery-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.gallery-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.gallery-item:hover .gallery-img img { transform: scale(1.06); }
.gallery-meta {
  padding: 24px;
}
.gallery-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.gallery-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.gallery-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

@media (max-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-section { padding: 20px 24px 80px; }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* === PILLARS (RSE) === */
.pillars {
  padding: 60px 48px 100px;
}
.pillars-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pillar {
  padding: 56px 44px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 3px;
  background: var(--red);
}
.pillar .pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 28px;
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1;
}
.pillar p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 28px;
}
.pillar ul {
  list-style: none;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.pillar ul li {
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pillar ul li::before {
  content: '→';
  color: var(--red);
  font-weight: 700;
}
@media (max-width: 900px) {
  .pillars { padding: 40px 24px 60px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { padding: 36px 28px; }
}

/* === TEAM GRID === */
.team-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.team-cell {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  transition: background 0.3s;
}
.team-cell:hover { background: var(--bg-elevated); }
.team-cell:nth-child(3n) { border-right: none; }
.team-cell:nth-last-child(-n+3) { border-bottom: none; }
.team-cell .team-num {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: 80px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--red);
  margin-bottom: 14px;
}
.team-cell .team-role {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}
@media (max-width: 800px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-cell:nth-child(3n) { border-right: 1px solid var(--line); }
  .team-cell:nth-child(2n) { border-right: none; }
  .team-cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .team-cell:nth-last-child(-n+2) { border-bottom: none; }
}

/* === QUALIFICATIONS === */
.qualif-list {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}
.qualif-bar {
  display: grid;
  grid-template-columns: 1fr 60px;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.qualif-bar:last-child { border-bottom: none; }
.qualif-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.qualif-bar .qualif-track {
  position: absolute;
  bottom: 0; left: 0;
  height: 1px;
  background: var(--red);
  width: 0;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.qualif-bar { position: relative; }
.qualif-bar.visible .qualif-track { width: 100%; }
.qualif-value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  text-align: right;
}
@media (max-width: 700px) { .qualif-list { padding: 0 24px; } .qualif-label { font-size: 16px; } }

/* === FOOTER === */
.footer {
  padding: 80px 48px 32px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.footer-top {
  max-width: 1400px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14px;
  color: var(--text-soft);
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.footer-social a:hover { border-color: var(--red); color: var(--red); }
.footer-social svg { width: 14px; height: 14px; }

@media (max-width: 900px) {
  .footer { padding: 60px 24px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 20px; }
}

/* === URGENT FLOATING CALL === */
.urgent-call {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 64px; height: 64px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(212,0,31,0.4);
  animation: float-pulse 2.4s infinite;
  transition: all 0.3s;
}
.urgent-call:hover { transform: scale(1.08); box-shadow: 0 15px 40px rgba(212,0,31,0.6); }
.urgent-call svg { width: 26px; height: 26px; fill: #fff; }
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(212,0,31,0.4), 0 0 0 0 rgba(212,0,31,0.6); }
  50% { box-shadow: 0 10px 30px rgba(212,0,31,0.4), 0 0 0 14px rgba(212,0,31,0); }
}
@media (max-width: 600px) {
  .urgent-call { width: 56px; height: 56px; bottom: 20px; right: 20px; }
  .urgent-call svg { width: 22px; height: 22px; }
}

/* === MARQUEE / TICKER === */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  gap: 80px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; }
.marquee-track span::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
