/* Page interne — Méthodologie L'Alchimiste
   Ajout CSS uniquement. Les fichiers existants ne sont pas modifiés. */

.method-page {
  background: #f8f8f8;
  color: var(--black);
}

.method-page .site_header {
  background: rgba(248, 248, 248, 0.92);
  backdrop-filter: blur(1.2rem);
}

.method-main {
  padding-top: var(--menuHeight);
}

.method-shell {
  width: min(142rem, calc(100% - 12rem));
  margin: 0 auto;
}

.method-hero {
  min-height: calc(100vh - var(--menuHeight));
  display: flex;
  align-items: center;
  padding: 6rem 0 8rem;
}

.method-hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 7rem;
  align-items: center;
}

.method-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--green);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.method-eyebrow::before {
  content: "";
  width: 2rem;
  height: 0.2rem;
  background: #c67050;
  display: block;
}

.method-hero h1 {
  font-family: var(--secondaryfont);
  font-size: clamp(5.2rem, 7.8vw, 13.5rem);
  line-height: 0.86;
  letter-spacing: -0.05em;
  max-width: 76rem;
}

.method-hero h1 span {
  color: var(--green);
}

.method-hero-text {
  margin-top: 3rem;
  max-width: 64rem;
  font-size: 2rem;
  line-height: 1.45;
  color: #282828;
}

.method-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 3.4rem;
}

.method-hero-meta span {
  border: 0.1rem solid rgba(150, 105, 76, 0.34);
  color: #282828;
  background: rgba(255, 255, 255, 0.52);
  padding: 1rem 1.35rem;
  border-radius: 99rem;
  font-size: 1.35rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.method-video-card {
  position: relative;
  background: #1a1a1a;
  min-height: 57rem;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 3rem 9rem rgba(0, 0, 0, 0.16);
}

.method-video-card video {
  width: 100%;
  height: 57rem;
  min-height: 57rem;
  object-fit: cover;
  aspect-ratio: auto;
  opacity: 0.72;
}

.method-video-card iframe {
  width: 100%;
  height: 57rem;
  min-height: 57rem;
  display: block;
  border: 0;
}

.method-video-card.youtube-video-card::before,
.method-video-card.youtube-video-card::after {
  content: none;
  display: none;
}

.method-video-card.youtube-video-card .method-video-fallback {
  display: none;
}

.method-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(198, 112, 80, 0.38), transparent 32%), linear-gradient(135deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.08) 62%, rgba(0, 0, 0, 0.64));
  z-index: 1;
  pointer-events: none;
}

.method-video-card::after {
  content: "DCD / ARC / DATEM";
  position: absolute;
  left: 4rem;
  bottom: 3.4rem;
  z-index: 2;
  color: #fff;
  font-size: 1.45rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
}

.method-video-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--secondaryfont);
  font-size: clamp(7rem, 8vw, 13rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  text-align: center;
  padding: 5rem;
  z-index: 0;
}

.method-section {
  padding: 10rem 0;
  position: relative;
}

.method-section.alt {
  background: #ffffff;
  padding: 11rem 0;
}

.method-section-top {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 8rem;
  align-items: end;
  margin-bottom: 5rem;
}

.method-kicker {
  display: block;
  width: 2rem;
  height: 0.2rem;
  background: #c67050;
  margin-bottom: 2.4rem;
}

.method-section h2 {
  font-family: var(--primaryfont);
  font-size: clamp(3.4rem, 4vw, 6.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
  color: #101010;
}

.method-section-intro {
  font-size: 2rem;
  line-height: 1.45;
  color: #292929;
  max-width: 74rem;
  text-align: justify;
}

.method-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
}

.method-card {
  background: #f8f8f8;
  border: 0.1rem solid rgba(0, 0, 0, 0.08);
  min-height: 27rem;
  padding: 3.6rem 3.2rem;
  position: relative;
  overflow: hidden;
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.method-section:not(.alt) .method-card {
  background: #ffffff;
}

.method-card:hover {
  transform: translateY(-0.7rem);
  border-color: rgba(198, 112, 80, 0.38);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.07);
}

.method-card::before {
  content: attr(data-number);
  position: absolute;
  right: 2.8rem;
  top: 2.6rem;
  font-family: var(--secondaryfont);
  font-size: 7.5rem;
  line-height: 1;
  color: rgba(150, 105, 76, 0.09);
  letter-spacing: -0.05em;
}

.method-card h3 {
  font-family: var(--primaryfont);
  font-size: 3rem;
  line-height: 1.05;
  color: #1f1f1f;
  margin-bottom: 2.4rem;
  position: relative;
}

.method-card h3::after {
  content: "";
  width: 4.8rem;
  height: 0.2rem;
  background: #c67050;
  display: block;
  margin-top: 1.7rem;
}

.method-card p {
  font-size: 1.65rem;
  line-height: 1.45;
  color: #292929;
  text-align: justify;
  position: relative;
}

.method-separator {
  width: min(92rem, 72%);
  height: 0.1rem;
  background: rgba(0, 0, 0, 0.12);
  margin: 1rem auto 0;
  position: relative;
}

.method-separator::before,
.method-separator::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 82%;
  height: 0.1rem;
  background: rgba(150, 105, 76, 0.35);
}

.method-separator::before { top: 1.25rem; }
.method-separator::after { top: 2.5rem; width: 64%; }

.arc-card:nth-child(2) {
  margin-top: 3.2rem;
}

.arc-card:nth-child(3) {
  transform: rotate(-2deg);
  margin-top: 1.2rem;
}

.arc-card:nth-child(3):hover {
  transform: rotate(0deg) translateY(-0.7rem);
}

.datem-wrap {
  margin-top: 3rem;
  background: #1a1a1a;
  color: #ffffff;
  padding: 7rem;
  position: relative;
  overflow: hidden;
}

.datem-wrap::before {
  content: "";
  position: absolute;
  inset: -25% auto auto -10%;
  width: 45rem;
  height: 45rem;
  border-radius: 50%;
  background: rgba(198, 112, 80, 0.18);
  filter: blur(2rem);
}

.datem-wrap::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -14rem;
  width: 36rem;
  height: 36rem;
  border: 0.1rem solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.datem-inner {
  position: relative;
  z-index: 1;
}

.datem-title-row {
  display: flex;
  justify-content: space-between;
  gap: 5rem;
  align-items: flex-start;
  margin-bottom: 5.5rem;
}

.datem-title-row h2 {
  color: #ffffff;
  max-width: 64rem;
}

.datem-title-row p {
  max-width: 58rem;
  font-size: 1.85rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.76);
  text-align: justify;
}

.datem-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.6rem;
  align-items: stretch;
}

.datem-step {
  border: 0.1rem solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
  padding: 2.8rem 2.2rem 2.6rem;
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.datem-step::after {
  content: "";
  width: 2.2rem;
  height: 0.1rem;
  background: #c67050;
  position: absolute;
  top: 50%;
  right: -1.9rem;
  z-index: 2;
}

.datem-step:last-child::after {
  display: none;
}

.datem-step span {
  color: #c67050;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.datem-step h3 {
  font-family: var(--primaryfont);
  color: #ffffff;
  font-size: 2.25rem;
  line-height: 1.05;
  margin: 2rem 0 1.2rem;
}

.datem-step p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.45rem;
  line-height: 1.35;
}

.method-cta {
  padding: 9rem 0 12rem;
}

.method-cta-box {
  background: #ffffff;
  border-top: 0.2rem solid #c67050;
  padding: 5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.method-cta h2 {
  font-family: var(--primaryfont);
  font-size: clamp(3rem, 3.6vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.method-cta p {
  font-size: 1.8rem;
  line-height: 1.4;
  max-width: 76rem;
  margin-top: 1.8rem;
}

.method-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21rem;
  height: 5.6rem;
  border: 0.1rem solid #000000;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: 240ms ease;
}

.method-btn:hover {
  background: #000000;
  color: #ffffff;
}

@media (max-width: 991px) {
  .method-shell {
    width: min(72rem, calc(100% - 5rem));
  }

  .method-hero {
    min-height: auto;
    padding: 5rem 0 7rem;
  }

  .method-hero-grid,
  .method-section-top,
  .datem-title-row,
  .method-cta-box {
    grid-template-columns: 1fr;
    display: grid;
    gap: 3.6rem;
  }

  .method-video-card,
  .method-video-card video,
  .method-video-card iframe {
    min-height: 42rem;
    height: 42rem;
  }

  .method-card-grid {
    grid-template-columns: 1fr;
  }

  .arc-card:nth-child(2),
  .arc-card:nth-child(3) {
    margin-top: 0;
    transform: none;
  }

  .datem-wrap {
    padding: 5rem 3rem;
  }

  .datem-flow {
    grid-template-columns: 1fr;
  }

  .datem-step::after {
    width: 0.1rem;
    height: 2.4rem;
    top: auto;
    right: auto;
    left: 3.2rem;
    bottom: -2.2rem;
  }

  .method-cta-box {
    padding: 3.5rem;
  }
}

@media (max-width: 575px) {
  .method-shell {
    width: calc(100% - 3.6rem);
  }

  .method-main {
    padding-top: var(--menuHeight);
  }

  .method-hero h1 {
    font-size: 5.7rem;
    line-height: 0.9;
    max-width: 100%;
  }

  .method-hero-text,
  .method-section-intro,
  .datem-title-row p,
  .method-cta p {
    font-size: 1.65rem;
    text-align: left;
  }

  .method-section {
    padding: 7rem 0;
  }

  .method-section.alt {
    padding: 7.5rem 0;
  }

  .method-video-card,
  .method-video-card video,
  .method-video-card iframe {
    min-height: 31rem;
    height: 31rem;
  }

  .method-video-card::after {
    left: 2.2rem;
    bottom: 2.2rem;
    font-size: 1.15rem;
  }

  .method-card {
    padding: 3rem 2.4rem;
    min-height: auto;
  }

  .method-card p {
    text-align: left;
  }

  .method-separator {
    width: 84%;
  }

  .datem-wrap {
    padding: 4rem 2rem;
  }

  .datem-step {
    min-height: 17rem;
  }

  .method-cta {
    padding: 6rem 0 8rem;
  }
}

/* Correction responsive YouTube : format adapté 16:9, sans hauteur fixe */
.method-video-card.youtube-video-card {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto !important;
  min-height: 0 !important;
}

.method-video-card.youtube-video-card iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  display: block;
  border: 0;
}

@media (max-width: 991px) {
  .method-video-card.youtube-video-card,
  .method-video-card.youtube-video-card iframe {
    min-height: 0 !important;
  }
}

@media (max-width: 575px) {
  .method-video-card.youtube-video-card,
  .method-video-card.youtube-video-card iframe {
    min-height: 0 !important;
  }
}

/* Nouvelle rubrique — Data Creative Analyst */
.analyst-section {
  background: #ffffff;
  padding-top: 11rem;
}

.analyst-wrap {
  border: 0.1rem solid rgba(0, 0, 0, 0.08);
  background: #f8f8f8;
  padding: 6rem;
  position: relative;
  overflow: hidden;
}

.analyst-wrap::before {
  content: "";
  position: absolute;
  right: -12rem;
  top: -12rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: rgba(198, 112, 80, 0.1);
}

.analyst-head {
  position: relative;
  z-index: 1;
  max-width: 92rem;
  margin-bottom: 5rem;
}

.analyst-label {
  color: #96694c;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}

.analyst-head h2 {
  font-family: var(--primaryfont);
  font-size: clamp(3.6rem, 5vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: #101010;
  margin-bottom: 2.6rem;
}

.analyst-head > p:last-child {
  max-width: 82rem;
  font-size: 1.9rem;
  line-height: 1.45;
  color: #292929;
  text-align: justify;
}

.analyst-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 2.4rem;
  align-items: stretch;
}

.analyst-card {
  background: #ffffff;
  border: 0.1rem solid rgba(0, 0, 0, 0.08);
  padding: 3.4rem 3rem;
  min-height: 31rem;
}

.analyst-card span {
  display: inline-block;
  color: #c67050;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 2rem;
}

.analyst-card h3 {
  font-family: var(--primaryfont);
  font-size: 3rem;
  line-height: 1;
  color: #151515;
  margin-bottom: 2.2rem;
}

.analyst-card ul {
  display: grid;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.analyst-card li,
.analyst-card p {
  font-size: 1.55rem;
  line-height: 1.42;
  color: #292929;
}

.analyst-card li {
  position: relative;
  padding-left: 1.8rem;
}

.analyst-card li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #c67050;
  position: absolute;
  left: 0;
  top: 0.85rem;
}

.analyst-feature {
  background: #1a1a1a;
  color: #ffffff;
}

.analyst-feature h3,
.analyst-feature p {
  color: #ffffff;
}

.analyst-feature p {
  color: rgba(255, 255, 255, 0.76);
  text-align: justify;
}

.analyst-process {
  position: relative;
  z-index: 1;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.2rem;
}

.analyst-process span {
  border: 0.1rem solid rgba(150, 105, 76, 0.32);
  background: rgba(255, 255, 255, 0.62);
  color: #282828;
  padding: 1.25rem 1.4rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .analyst-section {
    padding-top: 8rem;
  }

  .analyst-wrap {
    padding: 4.5rem 3rem;
  }

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

  .analyst-process {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .analyst-section {
    padding-top: 7rem;
  }

  .analyst-wrap {
    padding: 4rem 2rem;
  }

  .analyst-head > p:last-child,
  .analyst-feature p {
    text-align: left;
  }

  .analyst-card {
    padding: 3rem 2.2rem;
    min-height: auto;
  }
}
