/* Page Méthode — blocs natifs, grille fluide et flux vertical sur téléphone. */
.method-hero {
  text-align: center;
  background: var(--ll-cream);
}
.method-hero__intro {
  max-width: 1000px;
  margin-inline: auto;
}
/* La spécificité conserve le centrage face aux marges des groupes Gutenberg. */
.method-hero .method-hero__intro > .ll-eyebrow {
  display: table;
  width: fit-content;
  margin-inline: auto;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--ll-secondary);
  text-align: center;
}
.method-hero h1 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.1;
  margin: 24px 0;
}
.method-hero h1 em {
  color: var(--ll-bronze);
  font-style: normal;
}
.method-hero .method-hero__intro > .method-hero__text {
  max-width: 740px;
  margin-inline: auto;
  text-align: center;
  color: #525c57;
  font-size: 18px;
  line-height: 1.7;
}
.method-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) 48px minmax(0, 1fr);
  align-items: center;
  margin-top: 64px;
  text-align: left;
}
.method-flow__card {
  min-width: 0;
  align-self: stretch;
  padding: 28px;
  background: white;
  border: 1px solid var(--ll-border);
  border-radius: 16px;
  box-shadow: 0 8px 24px #1a1a1a06;
}
.method-flow__card--active {
  border-color: var(--ll-bronze);
}
.method-flow__card h3 {
  font-size: 20px;
  margin: 16px 0 12px;
}
.method-flow__card > p:last-child {
  font-size: 14px;
  line-height: 1.65;
  color: #525c57;
}
.method-flow__connector {
  position: relative;
  padding-inline: 8px;
}
.method-flow__connector .method-flow__line {
  margin: 0;
  width: 100%;
}
.method-flow__chevron {
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  font-size: 26px;
  line-height: 1;
  color: var(--ll-bronze);
}
.method-step {
  border-top: 1px solid var(--ll-border);
}
.method-step--alternate {
  background: var(--ll-secondary, #f0ebe3);
}
.method-step__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.method-step:not(.method-step--alternate) .method-step__content {
  order: 2;
}
.method-step__number {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 48px;
  line-height: 1;
  color: var(--ll-bronze);
  margin-bottom: 16px;
}
.method-step h2 {
  font-size: 36px;
  margin: 0 0 12px;
}
.method-step__subtitle {
  font-family: var(--wp--preset--font-family--mono);
  text-transform: uppercase;
  font-size: 14px;
  color: var(--ll-bronze);
}
.method-step__quote {
  font-family: var(--wp--preset--font-family--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ll-bronze);
  margin: 32px 0 24px;
}
.method-step__description {
  font-size: 16px;
  line-height: 1.7;
}
.method-step__deliverables {
  margin-top: 32px;
}
.method-step__deliverable {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.method-step__deliverable::before {
  content: "—";
  color: var(--ll-bronze);
}
.method-step__image {
  padding: 16px;
  background: white;
  border: 1px solid var(--ll-border);
  border-radius: 24px;
  overflow: hidden;
}
.method-step__image figure {
  border-radius: 16px;
  overflow: hidden;
  margin: 0;
}
.method-step__image img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.5s;
}
.method-step__image:hover img {
  transform: scale(1.03);
}
.method-cta {
  background: #1a1a1a;
  color: #faf7f3;
}
.method-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.method-cta__content {
  max-width: 700px;
}
.method-cta h2 {
  font-size: 36px;
  margin: 0 0 16px;
}
.method-cta p {
  opacity: 0.75;
  line-height: 1.7;
}
.method-cta .wp-block-buttons {
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .method-flow {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
  .method-flow__connector {
    height: 48px;
    width: 2px;
    padding: 8px 0;
    justify-self: center;
  }
  .method-flow__connector .method-flow__line {
    height: 100%;
    width: 2px;
  }
  .method-flow__chevron {
    top: auto;
    bottom: -5px;
    right: 50%;
    translate: 50% 0;
    rotate: 90deg;
  }
  .method-flow__line::after {
    animation-name: ll-method-flow-vertical;
  }
  .method-step__grid {
    grid-template-columns: 1fr;
  }
  .method-step:not(.method-step--alternate) .method-step__content {
    order: 0;
  }
  .method-step__image img {
    height: 380px;
  }
  .method-cta__inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .method-hero .method-hero__intro > .method-hero__text {
    font-size: 16px;
  }
  .method-flow {
    margin-top: 40px;
  }
  .method-flow__card {
    padding: 24px;
  }
  .method-step__image {
    padding: 12px;
  }
  .method-step__image img {
    height: 280px;
  }
  .method-step h2,
  .method-cta h2 {
    font-size: 30px;
  }
}
@keyframes ll-method-flow-vertical {
  from {
    left: 50%;
    top: 0;
    opacity: 0;
    transform: translateX(-50%);
  }
  20%,
  80% {
    opacity: 1;
  }
  to {
    left: 50%;
    top: 100%;
    opacity: 0;
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .method-step__image img {
    transition: none;
  }
  .method-step__image:hover img {
    transform: none;
  }
}
