/* Page-specific blocks: hero, club info, hours, join, footer. */

/* ---------- hero ---------- */
/* First panel: tan contour lines filling the panel.
   Second panel: the paper line-art mountain along its bottom edge. */
.hero::before,
#apropos::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
}
.hero::before {
  background-image: url("../assets/img/topo.png");
  background-position: center;
  background-size: cover;
}
/* Lifted clear of the diagonal seam that the next panel clips over it. */
#apropos::before {
  background-image: url("../assets/img/mountain-paper.png");
  background-position: center bottom 8vw;
  background-size: 100% auto;
  opacity: 0.55;
}

@media (max-width: 760px) {
  #apropos::before {
    background-size: 170% auto;
    background-position: center bottom 10vw;
  }
}
.hero .wrap {
  padding-top: 4.5rem;
  padding-bottom: 5.5rem;
}
.hero h1 {
  font-size: clamp(2.8rem, 9vw, 6.4rem);
  line-height: 0.95;
  margin: 0 0 1.6rem;
}
/* Highlighter stroke behind the second word instead of a heavy sticker fill. */
.hero h1 em {
  font-style: normal;
  color: var(--ink);
  background: linear-gradient(var(--yellow), var(--yellow)) 0 88% / 100% 0.22em no-repeat;
}
.hero p.lede {
  font-size: 1.2rem;
  max-width: 36ch;
  margin: 0 0 2.2rem;
  font-weight: 500;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .hero .wrap {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }
  .cta-row .btn,
  .cta-row .btn--ghost {
    width: 100%;
    text-align: center;
  }
}

/* ---------- info / club ---------- */
.intro p {
  max-width: 62ch;
  font-weight: 500;
}

/* ---------- objectives ---------- */
.subhead {
  font-size: 1.3rem;
  margin: 0 0 1.4rem;
}
.address-line {
  margin: -0.6rem 0 2.4rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.7;
  max-width: 48ch;
}
.map-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 2px;
}
.map-link::after {
  content: ' \2197';
  font-weight: 700;
}
.map-link:hover {
  color: var(--coral-deep);
  border-bottom-color: var(--coral-deep);
}

.goals { margin-top: 3.5rem; }
.goal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.goal {
  padding: 1.4rem 1.2rem 1.6rem;
  background: var(--paper);
}
.goal .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--coral-deep);
  line-height: 1;
}
.goal:nth-child(2) .n { color: var(--violet); }
.goal:nth-child(3) .n { color: var(--turquoise); }
.goal h4 {
  font-size: 1.05rem;
  margin: 0.6rem 0 0;
  font-weight: 700;
}
.goal p {
  font-size: 0.92rem;
  margin: 0.5rem 0 0;
  font-weight: 500;
}

/* ---------- collective commitment ---------- */
.engagement {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.5rem;
  align-items: center;
}
.engagement-body { max-width: 68ch; }
.engagement-cta {
  max-width: 26ch;
  text-align: center;
  justify-self: end;
}
.engagement-body .eyebrow {
  display: block;
  margin-bottom: 0.6rem;
}
.engagement-body p {
  margin: 0 0 0.9rem;
  font-weight: 500;
}
.engagement-body p.engagement-kicker {
  margin-bottom: 0;
  font-weight: 700;
}

@media (max-width: 820px) {
  .engagement {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .engagement-cta {
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 900px) {
  .goal-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .goal-grid { grid-template-columns: 1fr; }
}

/* ---------- séances / hours ---------- */
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hour-row {
  padding: 1.1rem 1.3rem;
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.2rem;
  align-items: baseline;
}
.hour-row .day {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
}
.hour-row .what {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
  font-weight: 500;
}
.hour-row .what strong { font-weight: 700; }
.hour-row .time {
  display: block;
  width: 100%;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 0.15rem;
}

@media (max-width: 620px) {
  .hour-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

/* ---------- sorties ---------- */
.outing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}
.outing { padding: 1.6rem 1.4rem 1.8rem; }
.outing h3 {
  font-size: 1.25rem;
  margin-top: 0.7rem;
}
.outing p {
  margin: 0.6rem 0 0;
  font-weight: 500;
}

@media (max-width: 720px) {
  .outing-grid { grid-template-columns: 1fr; }
}

/* ---------- infos pratiques ---------- */
.access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.access { padding: 1.4rem 1.2rem; }
.access-key {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--violet);
}
.access:nth-child(2) .access-key { color: var(--coral-deep); }
.access:nth-child(3) .access-key { color: var(--turquoise); }
.bus-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.9rem;
  height: 1.9rem;
  margin-left: 0.25rem;
  background: var(--yellow);
  color: var(--ink);
  border: 3px solid var(--ink);
  font-size: 1rem;
}
.access p {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.practical {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.practical li {
  padding: 1.1rem 1.3rem;
  font-weight: 500;
}
.practical .tag {
  margin-right: 0.7rem;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .access-grid { grid-template-columns: 1fr; }
}

/* ---------- adhérer / tarifs ---------- */
.tarifs {
  max-width: 640px;
  padding: 0.6rem 1.3rem 1rem;
}
.tarifs table {
  width: 100%;
  border-collapse: collapse;
}
.tarifs th,
.tarifs td {
  text-align: left;
  padding: 0.85rem 0.2rem;
  border-bottom: 2px dashed rgba(23, 40, 77, 0.25);
}
.tarifs thead th {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 3px solid var(--ink);
}
.tarifs tbody th { font-weight: 700; }
.tarifs td {
  text-align: right;
  white-space: nowrap;
}
.tarifs tbody tr:last-child th,
.tarifs tbody tr:last-child td {
  border-bottom: 0;
}
.tarif-note {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.75;
}

.cta-row--adherer { margin-top: 2rem; }

.join-note {
  margin-top: 2.4rem;
  font-size: 0.98rem;
  max-width: 58ch;
  font-weight: 600;
}

/* ---------- footer ---------- */
footer { padding: 3.5rem 0 3rem; }
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}
footer .logo-mark {
  height: 34px;
  margin-bottom: 0.9rem;
}
footer address {
  font-style: normal;
  opacity: 0.8;
  font-size: 0.92rem;
  line-height: 1.9;
  font-weight: 500;
}
footer .foot-links {
  display: flex;
  gap: 1.4rem;
}
footer a.foot-link {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid var(--yellow);
}

/* ---------- footer partners ---------- */
.partners {
  width: 100%;
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 2px dashed rgba(245, 240, 225, 0.25);
}
.partners .eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: var(--yellow);
}
.partner-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 1.1rem;
}
a.partner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  height: 100%;
  padding: 0.9rem 1.2rem;
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--yellow);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
a.partner img {
  display: block;
  height: 44px;
  width: auto;
}
a.partner span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
a.partner:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--yellow);
}
a.partner:active {
  transform: translate(1px, 1px);
  box-shadow: 4px 4px 0 var(--yellow);
}

@media (max-width: 600px) {
  footer .wrap { align-items: flex-start; }
}

/* ---------- mobile polish ---------- */
@media (max-width: 600px) {
  .hero p.lede { font-size: 1.08rem; max-width: none; }
  .section-head { margin-bottom: 1.8rem; }
  .section-head p { font-size: 1rem; }
  .subhead { font-size: 1.15rem; }

  .goals { margin-top: 2.5rem; }
  .goal { padding: 1.2rem 1.1rem 1.3rem; }
  .outing { padding: 1.3rem 1.1rem 1.4rem; }
  .access { padding: 1.2rem 1.1rem; }
  .practical li { padding: 1rem 1.1rem; }
  .practical .tag { margin: 0 0.5rem 0.35rem 0; }

  .tarifs { padding: 0.3rem 1rem 0.7rem; }
  .tarifs th,
  .tarifs td {
    padding: 0.7rem 0.1rem;
    font-size: 0.95rem;
  }
  .tarifs thead th { font-size: 0.72rem; }
  .tarifs tbody th { padding-right: 0.6rem; }
  .tarif-note { font-size: 0.75rem; }

  .engagement { margin-top: 2.2rem; }
  .join-note { margin-top: 1.8rem; font-size: 0.94rem; }

  footer .foot-links {
    flex-direction: column;
    gap: 0.9rem;
  }
  footer a.foot-link {
    display: inline-block;
    padding: 0.25rem 0;
    overflow-wrap: anywhere;
  }
  .partners { margin-top: 2rem; padding-top: 1.4rem; }
  .partner-list { gap: 0.8rem; }
  a.partner { padding: 0.7rem 1rem; box-shadow: 4px 4px 0 var(--yellow); }
  a.partner:hover { transform: none; box-shadow: 4px 4px 0 var(--yellow); }
  a.partner img { height: 34px; }
  a.partner span { font-size: 1rem; }
}
