/* NOVEANCE — ENTREPRISES */

.entreprises-page {
  background: var(--bg);
  color: var(--ink);
}

.entreprises-page .wrap {
  width: min(1180px, calc(100% - 56px));
  margin-inline: auto;
}

.entreprises-page h1,
.entreprises-page h2,
.entreprises-page h3 {
  color: var(--ink);
  letter-spacing: -.04em;
}

.entreprises-page p {
  line-height: 1.7;
}

.entreprises-page a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.ent-eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* PRESENTATION */

.ent-hero {
  padding: clamp(95px, 12vw, 160px) 0;
  background:
    radial-gradient(
      ellipse at 80% 25%,
      rgba(85,230,193,.10),
      transparent 52%
    ),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.ent-hero-inner {
  max-width: 1180px;
}

.ent-hero h1 {
  max-width: 930px;
  margin: 0 0 28px;
  font-size: clamp(2.7rem, 5.6vw, 5.2rem);
  line-height: 1.07;
}

.ent-hero h1 span,
.ent-philosophy h2 span {
  display: block;
  color: var(--accent);
}

.ent-lead {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

.ent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.ent-button-primary,
.ent-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.ent-button-primary {
  color: #071521;
  background: var(--accent);
  border: 1px solid var(--accent);
}

.ent-button-secondary {
  color: var(--ink);
  border: 1px solid var(--line);
}

.ent-button-primary:hover,
.ent-button-secondary:hover {
  transform: translateY(-2px);
}

.ent-button-primary:hover {
  background: var(--accent-soft);
}

/* EXPERTISES */

.ent-expertises {
  padding: clamp(70px, 8vw, 110px) 0;
}

.ent-section-heading {
  max-width: 730px;
  margin-bottom: 44px;
}

.ent-section-heading h2,
.ent-method h2,
.ent-contact h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.15;
}

.ent-section-heading > p:last-child {
  color: var(--muted);
}

.ent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ent-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .2s ease, border-color .2s ease;
}

.ent-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.ent-card-featured {
  background:
    radial-gradient(
      circle at top right,
      rgba(85,230,193,.13),
      transparent 65%
    ),
    var(--panel);
}

.ent-number {
  color: var(--accent);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.ent-symbol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: 24px;
  color: var(--accent);
  background: rgba(85,230,193,.07);
  border: 1px solid rgba(85,230,193,.18);
  border-radius: 10px;
  font-size: 1.55rem;
}

.ent-card h3 {
  margin: 20px 0 12px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.ent-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: .94rem;
}

.ent-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--accent);
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
}

/* PHILOSOPHIE */

.ent-philosophy {
  padding: clamp(75px, 9vw, 115px) 0;
  background: var(--bg-alt);
}

.ent-centered {
  max-width: 850px;
  text-align: center;
}

.ent-philosophy h2 {
  margin: 0 auto 22px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.17;
}

.ent-philosophy p:last-child {
  max-width: 720px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.05rem;
}

/* METHODE */

.ent-method {
  padding: clamp(70px, 9vw, 110px) 0;
}

.ent-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.ent-steps > div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.ent-steps span {
  color: var(--accent);
  font-size: .85rem;
  font-weight: 800;
}

.ent-steps h3 {
  margin: 14px 0 8px;
  font-size: 1.2rem;
}

.ent-steps p {
  margin: 0;
  color: var(--muted);
  font-size: .91rem;
}

/* CONTACT */

.ent-contact {
  padding: clamp(85px, 10vw, 130px) 0;
  background: var(--bg-alt);
}

.ent-contact p:not(.ent-eyebrow) {
  max-width: 610px;
  margin: 0 auto 30px;
  color: var(--muted);
}

.ent-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.ent-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted);
  font-size: .83rem;
}

.ent-footer a {
  color: var(--accent);
}

/* TABLETTE */

@media (max-width: 950px) {
  .ent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ent-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE */

@media (max-width: 640px) {
  .entreprises-page .wrap {
    width: calc(100% - 32px);
  }

  .ent-hero {
    padding: 85px 0;
  }

  .ent-grid,
  .ent-steps {
    grid-template-columns: 1fr;
  }

  .ent-card {
    min-height: auto;
  }

  .ent-actions {
    flex-direction: column;
  }

  .ent-footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ent-card,
  .ent-button-primary,
  .ent-button-secondary {
    transition: none;
  }
}


/* NOVEANCE - PHOTOGRAPHIES ENTREPRISES */

.ent-card {
  padding: 0;
  min-height: 0;
  overflow: hidden;
}

.ent-card-media {
  width: 100%;
  height: 185px;
  overflow: hidden;
  background: var(--bg-alt);
}

.ent-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.ent-card:hover .ent-card-media img {
  transform: scale(1.04);
}

.ent-card > .ent-number {
  margin: 27px 28px 0;
}

.ent-card > h3 {
  margin: 19px 28px 12px;
}

.ent-card > p {
  margin: 0 28px 26px;
}

.ent-card > a {
  margin: auto 28px 28px;
  padding-top: 12px;
}

@media (max-width: 640px) {
  .ent-card-media {
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ent-card-media img {
    transition: none;
  }
}

/* NOVEANCE — FORMAT HORIZONTAL DES PHOTOS */

.ent-card-media {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.ent-card-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.ent-card {
  min-width: 0;
}

@media (max-width: 640px) {
  .ent-card-media {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}


/* CORRECTION FORMAT PHOTOS ENTREPRISES V2 */

.entreprises-page .ent-card .ent-card-media {
  position: relative;
  display: block;
  flex: 0 0 190px;
  width: 100%;
  height: 190px;
  min-height: 190px;
  max-height: 190px;
  padding: 0;
  aspect-ratio: auto;
  overflow: hidden;
}

.entreprises-page .ent-card .ent-card-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center;
}
