/* =========================================================
   SECTIONS DE LA PAGE D'ACCUEIL
   Chaque section a sa propre composition, mais partage
   les tokens et composants communs.
   ========================================================= */

/* --- Intro après le hero --- */
.intro {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.intro h2 { margin-top: 1rem; }
.intro .lead { margin-top: 1.3rem; }

/* --- Vitrine photo (après l'intro) --- */
.showcase {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.showcase__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 4 / 5;
}
.showcase__media img { width: 100%; height: 100%; object-fit: cover; }
.showcase__text h2 { margin-top: 0.9rem; }
.showcase__text .lead { margin-top: 1.1rem; }
.showcase__list {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.showcase__list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-deep);
  font-size: 0.98rem;
}
.showcase__list svg { width: 18px; height: 18px; color: var(--c-azur); flex-shrink: 0; }

@media (max-width: 860px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase__media { aspect-ratio: 16/10; order: -1; }
}

/* --- Solutions (grille de 6 cartes) --- */
.solutions-grid { margin-top: 0; }
.solutions-foot {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  justify-content: center;
}

/* --- Section Orly : "Au cœur des flux" --- */
.orly {
  position: relative;
  background: var(--surface-deep);
  color: #fff;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-inline: var(--gutter);
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5rem);
}
.orly__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.orly__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.orly__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(9, 38, 71, 0.94) 0%, rgba(9, 44, 84, 0.86) 45%, rgba(8, 55, 100, 0.7) 100%);
}
.orly::before {
  content: "ORLY";
  position: absolute;
  right: -0.05em;
  bottom: -0.12em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(6rem, 18vw, 15rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.orly__lines { position: absolute; inset: 0; opacity: 0.35; pointer-events: none; z-index: 1; }
.orly__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.orly .eyebrow { color: var(--c-sky); }
.orly .eyebrow::before { background: var(--c-sky); }
.orly h2 { color: #fff; margin-top: 0.9rem; }
.orly p { color: rgba(255, 255, 255, 0.78); margin-top: 1.2rem; }

.orly__card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 2rem;
  backdrop-filter: blur(6px);
}
.orly__card .chip {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  margin-bottom: 1rem;
}
.orly__address {
  font-style: normal;
  line-height: 1.8;
  font-size: 1.05rem;
  color: #fff;
}
.orly__pin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.65);
}

@media (max-width: 900px) {
  .orly__grid { grid-template-columns: 1fr; }
  .orly { margin-inline: calc(var(--gutter) * 0.6); }
}

/* --- Secteurs (aperçu) — bandeau photo défilant --- */
.secteurs-marquee {
  position: relative;
  overflow: hidden;
  margin-top: clamp(1rem, 3vw, 2rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.secteurs-marquee__track {
  display: flex;
  width: max-content;
  gap: clamp(1rem, 2vw, 1.5rem);
  animation: secteurs-scroll 38s linear infinite;
}
.secteurs-marquee:hover .secteurs-marquee__track,
.secteurs-marquee:focus-within .secteurs-marquee__track {
  animation-play-state: paused;
}

@keyframes secteurs-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.secteurs-marquee__item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(220px, 24vw, 280px);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.secteurs-marquee__item {
  touch-action: manipulation;
}
.secteurs-marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (hover: hover) and (pointer: fine) {
  .secteurs-marquee__item img { transition: transform var(--dur-slow) var(--ease-soft); }
  .secteurs-marquee__item:hover img { transform: scale(1.07); }
}
.secteurs-marquee__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(9, 38, 71, 0.78) 100%);
}
.secteurs-marquee__item span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 1.1rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.secteurs-foot {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .secteurs-marquee__track { animation: none; }
  .secteurs-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* --- Engagements (accueil) --- */
.engagements {
  text-align: center;
}
.engagements .section-head { max-width: 760px; }
.engagements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.engagement-item { text-align: center; padding: 0.5rem; }
.engagement-item h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.engagement-item p { color: var(--text-secondary); font-size: 0.94rem; max-width: 250px; margin-inline: auto; }

.engagement-badge {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  margin: 0 auto 1.4rem;
  display: grid;
  place-items: center;
  background: var(--gradient-aero);
  color: #fff;
  box-shadow: 0 12px 26px rgba(22, 143, 211, 0.3);
  transition: transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft);
}
.engagement-badge svg { width: 34px; height: 34px; }
.engagement-item:hover .engagement-badge {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 16px 32px rgba(22, 143, 211, 0.38);
}

@media (max-width: 900px) {
  .engagements-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .engagements-grid { grid-template-columns: 1fr; }
}

/* --- CTA final --- */
.cta-final {
  text-align: center;
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  margin-inline: var(--gutter);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 6vw, 4rem);
}
.cta-final h2 { max-width: 620px; margin-inline: auto; }
.cta-final .lead { max-width: 520px; margin-inline: auto; margin-top: 1.1rem; }
.cta-final__actions {
  margin-top: 2.2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
