/* ==========================================================================
   DAMET — SECTION 03 : ENTREPRISE (De père en fils)
   Direction artistique soignée : matière minérale tactile, grand D sculptural,
   accroche secondaire valorisée et typographie équilibrée.
   ========================================================================== */

.story.entreprise-v2 {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(460px, 1.15fr);
  min-height: clamp(600px, 48vw, 720px);
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 25% 35%, #232d56 0%, #1a2142 55%, #131833 100%);
}

/* Texture minérale tactile & brossage naturel (chaux, enduit fin, grain discret) */
.story.entreprise-v2::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0.085;
  background-image:
    linear-gradient(138deg, rgba(245, 241, 234, 0.04) 0%, transparent 40%, rgba(111, 169, 199, 0.05) 60%, transparent 100%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' seed='29'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* Suppression des grandes courbes circulaires gratuites et éléments géométriques */
.story.entreprise-v2::after {
  display: none !important;
}

/* Colonne visuelle : Grand D centré optiquement */
.entreprise-v2 .story-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(15, 23, 54, 0.45), rgba(30, 42, 78, 0.12));
}

/* Suppression des encadrements et de la diagonale coupante */
.entreprise-v2 .story-visual::before,
.entreprise-v2 .story-visual::after,
.entreprise-v2 .story-visual i {
  display: none !important;
}

/* Lettre D monumentale, sculpturale et harmonieuse */
.entreprise-v2 .story-visual span {
  position: relative;
  z-index: 1;
  top: auto;
  left: auto;
  display: block;
  font-family: var(--serif, 'Playfair Display', Georgia, serif);
  font-weight: 600;
  font-size: clamp(320px, 32vw, 500px);
  line-height: 0.78;
  letter-spacing: -0.05em;
  text-align: center;
  background: linear-gradient(155deg, #a0cbdc 0%, #6fa9c7 50%, #467694 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 28px rgba(10, 16, 40, 0.42));
  transform: translateY(0);
  will-change: transform, opacity;
}

/* Micro-révélation subtile au scroll sur le D */
.entreprise-v2 .story-visual span.d-motion-init {
  opacity: 0.4;
  transform: translateY(16px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.entreprise-v2 .story-visual span.d-motion-init.is-d-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Colonne textuelle */
.entreprise-v2 .story-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 680px;
  padding: clamp(72px, 8vw, 120px) clamp(40px, 7vw, 110px) clamp(72px, 8vw, 120px) clamp(32px, 5vw, 70px);
}

.entreprise-v2 .story-copy .eyebrow {
  margin-bottom: 22px;
  color: #a4c8d8;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.entreprise-v2 .story-copy h2 {
  max-width: 520px;
  font-family: var(--serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(48px, 4.8vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: var(--stone, #f5f1ea);
  margin: 0;
}

/* Phrase d'accroche secondaire valorisée : « Un geste transmis, une exigence conservée. » */
.entreprise-v2 .story-copy .story-lead {
  position: relative;
  margin: 28px 0 24px;
  max-width: 540px;
  color: #f5f1ea;
  font-family: var(--serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(21px, 2.1vw, 27px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.34;
  letter-spacing: -0.015em;
}

.entreprise-v2 .story-copy .story-lead::before {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: #6fa9c7;
  opacity: 0.7;
  margin-bottom: 20px;
  border-radius: 1px;
}

/* Corps de texte lisible et aéré */
.entreprise-v2 .story-copy p:not(.eyebrow):not(.story-lead) {
  max-width: 540px;
  margin-top: 18px;
  color: #d6dae4;
  font-size: 15px;
  line-height: 1.74;
}

.entreprise-v2 .story-copy .text-link {
  margin-top: 32px;
  color: #f5f1ea;
  border-bottom-color: #6fa9c7;
}

/* ==========================================================================
   RESPONSIVE DESIGN — ENTREPRISE
   ========================================================================== */

@media (max-width: 960px) {
  .story.entreprise-v2 {
    grid-template-columns: 0.8fr 1.2fr;
    min-height: 580px;
  }
  .entreprise-v2 .story-visual span {
    font-size: clamp(260px, 30vw, 360px);
  }
  .entreprise-v2 .story-copy {
    padding: 60px 36px 64px 28px;
  }
  .entreprise-v2 .story-copy h2 {
    font-size: clamp(42px, 5.5vw, 58px);
  }
}

@media (max-width: 700px) {
  .story.entreprise-v2 {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .entreprise-v2 .story-visual {
    min-height: 220px;
    height: clamp(200px, 48vw, 260px);
    background: linear-gradient(180deg, rgba(15, 23, 54, 0.6) 0%, rgba(26, 33, 66, 0.2) 100%);
  }
  .entreprise-v2 .story-visual span {
    font-size: clamp(200px, 52vw, 270px);
    line-height: 0.82;
  }
  .entreprise-v2 .story-copy {
    padding: 44px 22px 64px;
    max-width: 100%;
  }
  .entreprise-v2 .story-copy h2 {
    font-size: clamp(38px, 10vw, 50px);
  }
  .entreprise-v2 .story-copy .story-lead {
    font-size: clamp(19px, 5.5vw, 23px);
    margin: 22px 0 18px;
  }
  .entreprise-v2 .story-copy .story-lead::before {
    margin-bottom: 16px;
  }
  .entreprise-v2 .story-copy p:not(.eyebrow):not(.story-lead) {
    font-size: 14.5px;
    line-height: 1.68;
  }
}

@media (prefers-reduced-motion: reduce) {
  .entreprise-v2 .story-visual span.d-motion-init {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
