/*
 * Page Via Ferrata — styles compatibles Gutenberg/FSE
 * Rôle du CSS : identité visuelle, pas structure figée.
 */

.vf-page {
  background: #f7f3ec;
}

.vf-container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
}

.vf-section {
  padding-block: clamp(22px, 3vw, 38px);
}

.vf-section--hero {
  padding-block: clamp(28px, 4vw, 54px) clamp(26px, 4vw, 44px);
}

.vf-bg-cream { background: #efe7db; }
.vf-bg-sand { background: #e4d7c4; }
.vf-bg-light { background: #f6ead8; }
.vf-bg-tan { background: #eadcc8; }
.vf-bg-map { background: #d6c0a3; }
.vf-bg-faq { background: #d8c8af; }
.vf-bg-final { background: #dcc9ad; }

.vf-page .wp-block-columns {
  margin-bottom: 0;
}

.vf-row {
  gap: clamp(22px, 5vw, 58px);
  align-items: center !important;
}

.vf-row--intro {
  align-items: flex-start !important;
}

.vf-kicker,
.vf-label {
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .78rem;
  font-weight: 750;
  color: #9b5f2f;
}

.vf-kicker {
  margin-bottom: 14px;
}

.vf-label {
  margin-top: 8px;
}

.vf-page h1.vf-title {
  font-size: clamp(2.35rem, 6vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: 0 0 20px;
  max-width: 780px;
}

.vf-page h2.vf-section-title {
  font-size: clamp(1.75rem, 3.8vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 0 0 20px;
  max-width: 760px;
}

.vf-page .vf-lead,
.vf-page .vf-text {
  font-size: clamp(1.04rem, 1.5vw, 1.18rem);
  line-height: 1.65;
  color: #454c43;
  max-width: 720px;
  margin-top: 0;
}

.vf-page .vf-lead {
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  color: #4e564c;
}

.vf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 28px;
}

.vf-tag {
  border: 1px solid rgba(35,38,32,.13);
  padding: 8px 12px;
  background: #fffaf2;
  font-size: .9rem;
  font-weight: 650;
}

.vf-page .wp-block-button__link,
.vf-button .wp-block-button__link {
  border-radius: 999px;
  background: #232620;
  color: #fff;
  font-weight: 750;
  letter-spacing: .01em;
  padding: 14px 26px;
  min-width: 180px;
  transition: background .2s ease, transform .2s ease;
}

.vf-page .wp-block-button__link:hover,
.vf-button .wp-block-button__link:hover {
  background: #3a3d35;
  transform: translateY(-1px);
}

.vf-button--main .wp-block-button__link {
  padding: 16px 32px;
  background: #1f2520;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

.vf-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
}

.vf-panel {
  background: #fffaf2;
  border: 1px solid rgba(35,38,32,.1);
  padding: clamp(26px, 4vw, 42px);
}

.vf-panel p:last-child,
.vf-text:last-child {
  margin-bottom: 0;
}

.vf-cards {
  gap: 14px;
  margin-top: 30px;
}

.vf-card {
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(35,38,32,.1);
  padding: 20px;
}

.vf-card h3,
.vf-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.vf-card p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.6;
  color: #454c43;
}

/* =========================
   TARIFS
========================= */

.vf-price {
  text-align: center;
}

.vf-price .vf-section-title,
.vf-price .vf-text {
  margin-left: auto;
  margin-right: auto;
}

.vf-price-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(18px, 4vw, 34px);
  margin: 28px auto 22px;
}

.vf-price-box {
  background: rgba(255,255,255,.48);
  border: 1px solid rgba(35,38,32,.10);
  padding: 26px 34px 30px;
  min-width: 220px;
  text-align: center;
}

.vf-price-box span {
  display: block;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #8a5b32;
  margin-bottom: 10px;
  font-size: .9rem;
  font-weight: 700;
}

.vf-price-box strong {
  display: block;
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: .95;
  letter-spacing: -.05em;
  color: #232620;
}

/* ========================= */

.vf-map {
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(35,38,32,.1);
  padding: 28px;
}

.vf-map img {
  width: 100%;
  display: block;
}

.vf-faq-item {
  border-top: 1px solid rgba(35,38,32,.1);
  padding: 20px 0;
}

.vf-faq-item h3,
.vf-faq-item h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.vf-faq-item p {
  margin: 0 0 12px;
  font-size: 1.04rem;
  line-height: 1.65;
  color: #454c43;
  max-width: 820px;
}

.vf-faq-item p:last-child {
  margin-bottom: 0;
}

.vf-final {
  text-align: center;
}

.vf-final .vf-text {
  margin-inline: auto;
}

.vf-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

@media (max-width: 900px) {

  .vf-row,
  .vf-cards {
    flex-direction: column;
  }

  .vf-media img {
    aspect-ratio: 4 / 3;
  }

  .vf-price-grid {
    flex-direction: column;
    gap: 18px;
  }

  .vf-price-box {
    width: 100%;
    min-width: 0;
  }
}