/* ===== BUREAU PAGE SPECIFIC STYLES ===== */

/* Délais d'animation stagger via nth-child (remplace les inline --delay) */
.spaces-grid .space-card:nth-child(1) { --delay: 0.1s; }
.spaces-grid .space-card:nth-child(2) { --delay: 0.2s; }
.spaces-grid .space-card:nth-child(3) { --delay: 0.3s; }
.spaces-grid .space-card:nth-child(4) { --delay: 0.4s; }
.spaces-grid .space-card:nth-child(5) { --delay: 0.5s; }

.team-grid .team-card:nth-child(1) { --delay: 0.1s; }
.team-grid .team-card:nth-child(2) { --delay: 0.2s; }
.team-grid .team-card:nth-child(3) { --delay: 0.3s; }
.team-grid .team-card:nth-child(4) { --delay: 0.4s; }

/* ===== BUREAU HERO ===== */
.bureau-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 64px 80px;
  overflow: hidden;
  gap: 4rem;
}

.bureau-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 60%, rgba(27,42,107,.5) 0%, transparent 60%),
              radial-gradient(ellipse at 75% 20%, rgba(61,188,172,.1) 0%, transparent 50%),
              var(--dark);
}
.bh-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61,188,172,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,188,172,.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.bh-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.g1 { width: 400px; height: 400px; background: rgba(27,42,107,.4); top: 0%; left: 5%; }
.g2 { width: 300px; height: 300px; background: rgba(61,188,172,.08); bottom: 10%; right: 10%; }

.bureau-hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 580px;
  animation: fadeInUp .8s ease both;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--teal); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-light); }
.breadcrumb span { opacity: .5; }
.breadcrumb span:last-child { opacity: 1; color: rgba(255,255,255,.6); }

.bureau-hero-content h1 { margin-bottom: 1rem; }
.bureau-hero-content > p { color: var(--gray); font-size: 1.05rem; line-height: 1.8; margin-bottom: 2.5rem; }

.bureau-hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.bh-stat { display: flex; flex-direction: column; }
.bh-num { font-size: 2.2rem; font-weight: 800; font-family: 'Space Grotesk', sans-serif; color: white; }
.bh-num + span { font-size: 1.5rem; font-weight: 800; color: var(--teal); display: inline; }
.bh-stat p { font-size: .78rem; color: var(--gray); margin-top: 2px; }

/* Office Illustration */
.bureau-hero-visual {
  position: relative;
  z-index: 2;
  flex: 0 0 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp .9s .2s ease both;
}

.office-illustration { position: relative; }

.office-building {
  width: 260px;
  background: linear-gradient(180deg, #1B2A6B 0%, #0D1B4B 100%);
  border-radius: 12px 12px 4px 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}

.ob-floor {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.ob-window {
  height: 30px;
  background: rgba(255,255,255,.04);
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,.06);
}
.ob-window.lit {
  background: rgba(255,220,100,.15);
  border-color: rgba(255,220,100,.2);
  box-shadow: 0 0 8px rgba(255,220,100,.1);
  animation: windowBlink 3s ease-in-out infinite;
}
.ob-window.lit:nth-child(2) { animation-delay: .5s; }
.ob-window.lit:nth-child(3) { animation-delay: 1s; }
.ob-window.lit:nth-child(4) { animation-delay: 1.5s; }
@keyframes windowBlink {
  0%,100% { opacity: 1; }
  50% { opacity: .6; }
}

.ob-door {
  width: 50px;
  height: 40px;
  background: rgba(61,188,172,.15);
  border: 1px solid rgba(61,188,172,.2);
  border-radius: 4px 4px 0 0;
  margin: 0 auto;
}

.ob-sign {
  text-align: center;
  padding: 6px;
  font-size: .7rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(61,188,172,.05);
  border-top: 1px solid rgba(61,188,172,.1);
}

.office-tag {
  position: absolute;
  padding: 8px 14px;
  background: rgba(17,22,49,.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite;
}
.tag-wifi { top: 20px; right: -40px; animation-delay: 0s; }
.tag-meeting { top: 50%; right: -60px; animation-delay: 1.5s; }
.tag-coffee { bottom: 40px; left: -40px; animation-delay: 3s; }

/* ===== ABOUT SECTION ===== */
.about-section { padding: 100px 0; }

.about-inner {
  display: flex;
  gap: 5rem;
  align-items: flex-start;
}
.about-content { flex: 1; }
.about-visual { flex: 1; }

.about-content h2 { margin: .5rem 0 1.2rem; }
.about-content p { color: var(--gray); font-size: .95rem; line-height: 1.8; margin-bottom: 1.5rem; }

.about-values { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2rem; }
.av-item { display: flex; gap: 1rem; align-items: flex-start; }
.av-icon { font-size: 1.4rem; margin-top: 2px; }
.av-item strong { display: block; margin-bottom: .25rem; font-size: .95rem; }
.av-item p { color: var(--gray); font-size: .875rem; }

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal) 0%, rgba(61,188,172,.1) 100%);
}

.tl-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
  position: relative;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 10px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--dark);
  box-shadow: 0 0 0 3px rgba(61,188,172,.2);
}
.tl-current::before {
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(61,188,172,.3);
  animation: tl-pulse 2s ease-in-out infinite;
  will-change: transform, opacity;
}
/* transform+opacity → Composite uniquement, pas de repaint */
@keyframes tl-pulse {
  0%,100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.3); opacity: .6; }
}

.tl-year {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
  margin-top: .1rem;
  min-width: 42px;
}
.tl-content strong { display: block; font-size: .95rem; margin-bottom: .25rem; }
.tl-content p { color: var(--gray); font-size: .85rem; }

/* ===== OFFICE SPACES ===== */
.office-spaces { padding: 100px 0; }

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.space-card {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.space-card:hover {
  border-color: rgba(61,188,172,.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.sc-large { grid-column: 1 / -1; }
.sc-large .sc-icon-wrap { float: right; margin-left: 2rem; }

.sc-icon-wrap {
  width: 60px; height: 60px;
  background: rgba(61,188,172,.1);
  border: 1px solid rgba(61,188,172,.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.sc-icon { font-size: 1.6rem; }

.sc-content h3 { margin-bottom: .6rem; }
.sc-content p { color: var(--gray); font-size: .9rem; line-height: 1.7; margin-bottom: 1rem; }
.sc-features { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.sc-features li { font-size: .85rem; color: rgba(255,255,255,.7); }

.sc-tag {
  position: absolute;
  top: 16px; right: 16px;
  padding: 4px 12px;
  background: rgba(61,188,172,.1);
  border: 1px solid rgba(61,188,172,.2);
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 600;
  color: var(--teal);
}

/* ===== TEAM ===== */
.team-section { padding: 100px 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.team-card:hover { border-color: rgba(61,188,172,.2); transform: translateY(-5px); box-shadow: var(--shadow-md); }

.tc-avatar {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.av1 { background: linear-gradient(135deg, #1B2A6B, #2A4090); }
.av2 { background: linear-gradient(135deg, #2A3F8F, #3DBCAC); }
.av3 { background: linear-gradient(135deg, #0D3B6B, #3DBCAC); }
.av4 { background: linear-gradient(135deg, #1B2A6B, #2A9A8C); }

.av-letter {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
}

.tc-info { padding: 1.4rem; }
.tc-info h3 { font-size: 1rem; margin-bottom: .3rem; }
.tc-role { font-size: .75rem; color: var(--teal); font-weight: 600; display: block; margin-bottom: .6rem; }
.tc-info p { color: var(--gray); font-size: .82rem; line-height: 1.6; margin-bottom: .8rem; }
.tc-skills { display: flex; gap: 6px; flex-wrap: wrap; }
.tc-skills span {
  padding: 3px 10px;
  background: rgba(255,255,255,.05);
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
}

/* ===== LOCATION ===== */
.location-section { padding: 100px 0; }

.location-inner {
  display: flex;
  gap: 5rem;
  align-items: flex-start;
}
.location-info { flex: 1; }
.location-map { flex: 1; }

.location-info h2 { margin: .5rem 0 1rem; }
.location-info > p { color: var(--gray); line-height: 1.8; margin-bottom: 2rem; }

.location-details { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2.5rem; }
.ld-item { display: flex; gap: 1rem; align-items: flex-start; }
.ld-icon { font-size: 1.2rem; margin-top: 2px; }
.ld-item strong { display: block; font-size: .875rem; color: rgba(255,255,255,.6); margin-bottom: .25rem; }
.ld-item p { font-size: .9rem; color: white; line-height: 1.6; }

/* Map Placeholder */
.map-placeholder {
  position: relative;
  height: 380px;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61,188,172,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,188,172,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.road {
  position: absolute;
  background: rgba(255,255,255,.06);
}
.r-h { left: 0; right: 0; height: 12px; }
.r-v { top: 0; bottom: 0; width: 12px; }
.r1 { top: 30%; }
.r2 { top: 65%; }
.r3 { left: 25%; }
.r4 { left: 70%; }

.mb {
  position: absolute;
  background: rgba(27,42,107,.3);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 4px;
}
.mb1 { width: 80px; height: 60px; top: 10%; left: 5%; }
.mb2 { width: 60px; height: 50px; top: 10%; left: 35%; }
.mb3 { width: 90px; height: 70px; top: 45%; left: 5%; }
.mb4 { width: 70px; height: 55px; top: 10%; right: 5%; }
.mb5 { width: 100px; height: 60px; bottom: 10%; right: 5%; }

.map-pin {
  position: absolute;
  top: 50%; left: 48%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}
.pin-circle {
  width: 30px; height: 30px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(61,188,172,.4);
  animation: pinBounce 2s ease-in-out infinite;
}
.pin-dot {
  width: 8px; height: 8px;
  background: white;
  border-radius: 50%;
}
.pin-shadow {
  width: 10px; height: 4px;
  background: rgba(0,0,0,.2);
  border-radius: 50%;
  margin-top: 2px;
}
.pin-label {
  background: rgba(17,22,49,.95);
  border: 1px solid rgba(61,188,172,.3);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
  margin-top: 4px;
  color: var(--teal-light);
}
@keyframes pinBounce {
  0%,100% { transform: rotate(-45deg) translateY(0); }
  50% { transform: rotate(-45deg) translateY(-6px); }
}

/* ===== BUREAU CTA ===== */
.bureau-cta { padding: 80px 0; }
.cta-inner {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, rgba(27,42,107,.6) 100%);
  border: 1px solid rgba(61,188,172,.15);
  border-radius: var(--radius-lg);
  padding: 4rem;
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 400px; height: 200px;
  background: radial-gradient(ellipse, rgba(61,188,172,.15) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.cta-inner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-inner p { color: var(--gray); margin-bottom: 2.5rem; position: relative; z-index: 1; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ===== BUREAU RESPONSIVE ===== */

/* ── Tablette large (≤1100px) — logo 190px → navbar ≈ 198px ── */
@media (max-width: 1100px) {
  .bureau-hero { padding: 212px 40px 80px; }
  .spaces-grid { grid-template-columns: 1fr; }
  .sc-large { grid-column: 1; }
  .sc-large .sc-icon-wrap { float: none; margin-left: 0; }
}

/* ── Tablette (≤900px) — logo 90px → navbar ≈ 98px ── */
@media (max-width: 900px) {
  .bureau-hero { flex-direction: column; padding: 118px 24px 60px; }
  .bureau-hero-visual { display: none; }
  .about-inner { flex-direction: column; gap: 2.5rem; }
  .location-inner { flex-direction: column; gap: 2.5rem; }
}

/* ── Mobile (≤600px) — logo 60px → navbar ≈ 68px ── */
@media (max-width: 600px) {
  .bureau-hero { padding: 82px 16px 50px; }
  .bureau-hero-content h1 { font-size: clamp(1.7rem, 7.5vw, 2.4rem); }
  .bureau-hero-content > p { font-size: .88rem; }

  .about-section, .office-spaces, .location-section, .bureau-cta { padding: 56px 0; }

  .space-card { padding: 1.4rem; }
  .sc-features li { font-size: .82rem; }

  .cta-inner { padding: 2rem 1.2rem; }
  .cta-inner h2 { font-size: clamp(1.3rem, 6vw, 1.8rem); }
  .cta-btns { flex-direction: column; gap: .8rem; }
  .cta-btns .btn-primary,
  .cta-btns .btn-secondary { width: 100%; justify-content: center; }

  .location-map { width: 100%; }
  .map-placeholder { height: 240px; }

  .av-item { gap: .7rem; }
  .about-values { gap: .9rem; }
  .about-content p { font-size: .88rem; }
}
