/* ========================================
   LANDING PAGE - V2 BOLD DESIGN
   ======================================== */

body.menu-open {
  overflow: hidden;
}

/* ═══════════════════════════════════════════
   HERO - Dark immersive
   ═══════════════════════════════════════════ */
.landing-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f6fc 0%, #ffffff 50%, #fef8f8 100%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0, 121, 193, 0.06) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 80% 80%, rgba(238, 28, 37, 0.04) 0%, transparent 60%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: heroGlow 15s ease-in-out infinite alternate;
}

.hero-glow--blue {
  background: var(--primary-blue);
  top: -15%;
  left: -10%;
}

.hero-glow--red {
  background: var(--primary-red);
  bottom: -20%;
  right: -10%;
  animation-delay: 7s;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); opacity: 0.1; }
  100% { transform: translate(40px, -30px) scale(1.15); opacity: 0.2; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 120px 2rem 80px;
}


.hero-headline {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #1a1a2e;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-headline__accent {
  color: var(--primary-blue);
}

.hero-headline__red {
  color: var(--primary-red);
}

.hero-subline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #555;
  line-height: 1.8;
  max-width: 650px;
  margin: 0 auto 3rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-btn--primary {
  background: var(--primary-red);
  color: white;
  box-shadow: 0 8px 30px rgba(238, 28, 37, 0.35);
}

.hero-btn--primary:hover {
  background: #ff2d36;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(238, 28, 37, 0.5);
  color: white;
}

.hero-btn--primary i {
  transition: transform 0.3s ease;
}

.hero-btn--primary:hover i {
  transform: translateX(4px);
}

.hero-btn--ghost {
  background: rgba(0, 0, 0, 0.03);
  color: #1a1a2e;
  border: 1px solid rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}

.hero-btn--ghost:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.25);
  transform: translateY(-3px);
  color: #1a1a2e;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero-scroll-mouse__wheel {
  width: 4px;
  height: 8px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ═══════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════ */
.landing-stats {
  background: white;
  border-bottom: 1px solid #f0f0f0;
  padding: 3.5rem 2rem;
}

.landing-stats__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

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

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, #e0e0e0, transparent);
}

.stat-item__number {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-item__label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.4rem;
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   SECTION COMMONS
   ═══════════════════════════════════════════ */
.landing-section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.8rem;
}

.landing-section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 2px;
  background: var(--primary-blue);
}

.landing-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.15;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.landing-section-title span {
  color: var(--primary-blue);
}

/* ═══════════════════════════════════════════
   ABOUT - Editorial
   ═══════════════════════════════════════════ */
.landing-about {
  background: white;
  padding: 6rem 2rem;
}

.landing-about__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-content__text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 1.5rem;
}

.about-content__text p:last-child {
  margin-bottom: 0;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-pillar {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 16px;
  background: #f8f9fc;
  border: 1px solid #eef1f6;
  transition: all 0.3s ease;
}

.about-pillar:hover {
  background: white;
  border-color: var(--lighter-blue);
  box-shadow: 0 8px 30px rgba(0, 121, 193, 0.08);
  transform: translateX(8px);
}

.about-pillar__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-pillar__icon i {
  font-size: 1.2rem;
  color: white;
}

.about-pillar__content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.3rem;
}

.about-pillar__content p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ═══════════════════════════════════════════
   SERVICES - Bold cards
   ═══════════════════════════════════════════ */
.landing-services {
  background: #f7f8fc;
  padding: 6rem 2rem;
}

.landing-services__inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.svc-card {
  position: relative;
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid #eef1f6;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.svc-card:hover::before {
  opacity: 1;
}

.svc-card__number {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 3.5rem;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  color: #f0f2f5;
  line-height: 1;
  user-select: none;
  transition: color 0.3s ease;
}

.svc-card:hover .svc-card__number {
  color: rgba(0, 121, 193, 0.08);
}

.svc-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 121, 193, 0.1), rgba(0, 121, 193, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.svc-card:hover .svc-card__icon {
  background: var(--gradient-primary);
}

.svc-card__icon i {
  font-size: 1.4rem;
  color: var(--primary-blue);
  transition: color 0.3s ease;
}

.svc-card:hover .svc-card__icon i {
  color: white;
}

.svc-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.8rem;
}

.svc-card__desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* ═══════════════════════════════════════════
   AGENCIES
   ═══════════════════════════════════════════ */
.landing-agencies {
  background: white;
  padding: 6rem 2rem;
}

.landing-agencies__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.landing-agencies__intro {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: 3rem;
}

.interactive-map-container {
  width: 100%;
}

.map-wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.map-svg-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  background: #f8f9fc;
  border-radius: 24px;
  border: 1px solid #eef1f6;
}

.map-svg-container svg {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.08));
}

.map-svg-container .map-icon {
  cursor: pointer;
  transition: filter 0.3s ease, transform 0.3s ease;
  transform-box: fill-box;
  transform-origin: center bottom;
  transform: scale(1.3);
}

.map-svg-container .map-icon:hover {
  filter: brightness(1.15) drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3));
}

.map-svg-container .map-icon.active-pin {
  animation: pulse 1.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1.2);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
  }
  50% { 
    transform: scale(1.35);
    filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.5)) brightness(1.15);
  }
}

.map-svg-container .nord path:first-child { fill: var(--acr-nord); }
.map-svg-container .centre path:first-child { fill: var(--acr-centre); }
.map-svg-container .idf path:first-child { fill: var(--acr-idf); }
.map-svg-container .aquitaine path:first-child { fill: var(--acr-aquitaine); }

.map-info-panel {
  background: white;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid #eef1f6;
  padding: 2.5rem;
  min-height: 350px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.info-panel-content {
  width: 100%;
}

.info-welcome {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.info-welcome.active {
  opacity: 1;
  transform: translateY(0);
}

.info-welcome i {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.info-welcome h3 {
  font-size: 1.4rem;
  color: #1a1a1a;
  margin-bottom: 0.8rem;
}

.info-welcome p {
  color: #666;
  line-height: 1.6;
}

.info-agency {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.5s ease;
}

.info-agency.active {
  opacity: 1;
  transform: translateX(0);
}

.info-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
}

.info-header img {
  height: 45px;
  width: auto;
}

.info-header h3 {
  font-size: 1.4rem;
  color: #1a1a1a;
  margin: 0;
}

.info-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-address {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: #f8f9fc;
  border-radius: 12px;
}

.info-address i {
  font-size: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.info-agency.acr-nord .info-address i { color: var(--acr-nord); }
.info-agency.acr-centre .info-address i { color: var(--acr-centre); }
.info-agency.acr-idf .info-address i { color: var(--acr-idf); }
.info-agency.acr-aquitaine .info-address i { color: var(--acr-aquitaine); }

.info-address span {
  line-height: 1.6;
  color: #333;
  font-size: 0.95rem;
}

.info-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.info-agency.acr-nord .info-link { background: var(--acr-nord); }
.info-agency.acr-nord .info-link:hover { background: var(--acr-nord-dark); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(52, 112, 191, 0.3); }

.info-agency.acr-centre .info-link { background: var(--acr-centre); }
.info-agency.acr-centre .info-link:hover { background: var(--acr-centre-dark); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(217, 41, 41, 0.3); }

.info-agency.acr-idf .info-link { background: var(--acr-idf); }
.info-agency.acr-idf .info-link:hover { background: var(--acr-idf-dark); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 145, 77, 0.3); }

.info-agency.acr-aquitaine .info-link { background: var(--acr-aquitaine); }
.info-agency.acr-aquitaine .info-link:hover { background: var(--acr-aquitaine-dark); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(59, 86, 140, 0.3); }

.map-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
  background: #f8f9fc;
  border-radius: 16px;
  border: 1px solid #eef1f6;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: #333;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.legend-dot.acr-nord { background: var(--acr-nord); }
.legend-dot.acr-centre { background: var(--acr-centre); }
.legend-dot.acr-idf { background: var(--acr-idf); }
.legend-dot.acr-aquitaine { background: var(--acr-aquitaine); }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1200px) {
  .map-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .map-info-panel {
    min-height: 300px;
  }
}

@media (max-width: 992px) {
  .landing-stats__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .hero-headline {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
  }

  .landing-about,
  .landing-services,
  .landing-agencies {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    padding: 100px 1.5rem 60px;
  }

  .hero-headline {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .hero-subline br {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

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

  .stat-item__number {
    font-size: 2rem;
  }

  .landing-section-title {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
  }

  .about-pillars {
    gap: 1rem;
  }

  .about-pillar {
    padding: 1.2rem;
  }

  .svc-card {
    padding: 2rem 1.5rem;
  }

  .svc-card__number {
    font-size: 2.5rem;
    top: 1rem;
    right: 1.5rem;
  }

  .map-svg-container {
    padding: 1.5rem;
  }

  .map-svg-container svg {
    max-width: 100%;
  }

  .map-svg-container .map-icon {
    transform: scale(1.5);
  }

  .map-info-panel {
    padding: 1.5rem;
    min-height: 280px;
  }

  .info-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .info-header img {
    height: 38px;
  }

  .map-legend {
    gap: 1rem;
    padding: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .landing-stats {
    padding: 2.5rem 1rem;
  }

  .stat-item__number {
    font-size: 1.8rem;
  }

  .stat-item__label {
    font-size: 0.8rem;
  }
}
