/* ═══════════════════════════════════════════════════════
   SEO PAGES — Tier 2 & Tier 3
   Shared styles for location-vacances, location-ski,
   location-ete, appart-4p, appart-2p, saint-gervais,
   que-faire, comment-venir
   ═══════════════════════════════════════════════════════ */

/* ── PAGE HERO ─────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 160px 48px 80px;
  background: var(--slate);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(40,51,63,0.95), rgba(30,40,50,0.85));
  z-index: 1;
}
.page-hero > * {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.25;
  max-width: 780px;
  margin: 0 auto 20px;
  letter-spacing: 0.01em;
}
.page-hero p {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 28px;
  opacity: 0.85;
  font-weight: 300;
}

/* ── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--sage);
  color: var(--white);
}
.btn--primary:hover {
  background: #5A7A5B;
  transform: translateY(-1px);
}
.btn--whatsapp {
  background: #25d366;
  color: #fff;
}
.btn--whatsapp:hover {
  background: #1fb855;
  transform: translateY(-1px);
}

/* ── SECTION LAYOUT ───────────────────────────────── */
.page-seo section {
  padding: 64px 48px;
  max-width: 960px;
  margin: 0 auto;
}
.page-seo section + section {
  border-top: 1px solid var(--ivory-mid);
}
.page-seo .page-hero + section {
  border-top: none;
}
.page-seo section h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 400;
  color: var(--slate);
  margin-bottom: 20px;
  line-height: 1.3;
}
.page-seo section h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--slate);
  margin: 28px 0 10px;
  line-height: 1.3;
}
.page-seo section p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 16px;
}
.page-seo section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
.page-seo section ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
}
.page-seo section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}
.page-seo section a:not(.btn) {
  color: var(--sage);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.page-seo section a:not(.btn):hover {
  color: #5A7A5B;
  text-decoration: underline;
}

/* ── APARTMENT CARDS (SEO pages) ──────────────────── */
.apartments__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 28px;
}
.apartment-card {
  background: var(--white);
  border: 1px solid var(--ivory-mid);
  border-radius: 12px;
  padding: 32px;
  transition: box-shadow 0.3s var(--ease-out);
}
.apartment-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.apartment-card h3 {
  margin-top: 0 !important;
}
.apartment-card__tag {
  font-size: 0.85rem !important;
  color: var(--text-mid) !important;
  font-weight: 500;
  margin-bottom: 12px !important;
}
.apartment-card ul {
  margin: 16px 0 20px;
}
.link--subtle {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-mid) !important;
}
.link--subtle:hover {
  color: var(--sage) !important;
}

/* ── WHY DIRECT ───────────────────────────────────── */
.why-direct__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}
.why-direct__item {
  background: var(--white);
  border: 1px solid var(--ivory-mid);
  border-radius: 10px;
  padding: 28px;
}
.why-direct__item h3 {
  margin-top: 0 !important;
  font-size: 1.05rem;
}

/* ── SEASONS ──────────────────────────────────────── */
.seasons__item {
  background: var(--white);
  border: 1px solid var(--ivory-mid);
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 20px;
}
.seasons__item h3 {
  margin-top: 0 !important;
}

/* ── REVIEWS ──────────────────────────────────────── */
.reviews__intro {
  margin-bottom: 24px;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--ivory-mid);
  border-radius: 10px;
  padding: 24px;
  font-style: normal;
}
.review-card p {
  font-style: italic;
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
  margin-bottom: 12px !important;
}
.review-card footer {
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 500;
}

/* ── FAQ ──────────────────────────────────────────── */
.page-faq details {
  border-bottom: 1px solid var(--ivory-mid);
  padding: 18px 0;
}
.page-faq details:last-of-type {
  border-bottom: none;
}
.page-faq summary {
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--slate);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.page-faq summary::-webkit-details-marker {
  display: none;
}
.page-faq summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--sage);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.page-faq details[open] summary::after {
  content: '−';
}
.page-faq details p {
  margin-top: 12px;
  font-size: 0.92rem !important;
  color: var(--text-mid) !important;
  line-height: 1.7 !important;
}

/* ── CTA FINAL ────────────────────────────────────── */
.cta-final {
  text-align: center;
  background: var(--slate);
  color: var(--white);
  border-radius: 12px;
  padding: 48px 32px !important;
  margin: 48px auto !important;
}
.cta-final h2 {
  color: var(--white) !important;
}
.cta-final__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0;
}
.cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  text-decoration: none;
  color: var(--white);
  transition: background 0.25s;
}
.cta-card:hover {
  background: rgba(255,255,255,0.14);
}
.cta-card strong {
  font-family: var(--serif);
  font-size: 1.1rem;
}
.cta-card span {
  font-size: 0.85rem;
  opacity: 0.8;
}
.cta-card__action {
  color: var(--sage-light) !important;
  font-weight: 500;
  opacity: 1 !important;
}
.cta-final__contact {
  margin-top: 20px !important;
  font-size: 0.9rem !important;
  opacity: 0.8;
}
.cta-final__contact a {
  color: var(--sage-light) !important;
}

/* ── SEE ALSO ─────────────────────────────────────── */
.see-also ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.see-also ul li {
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--ivory-mid);
  border-radius: 8px;
  transition: border-color 0.2s;
}
.see-also ul li::before {
  display: none;
}
.see-also ul li:hover {
  border-color: var(--sage);
}
.see-also ul li a {
  font-size: 0.92rem;
}

/* ── FOR-WHOM GRID ────────────────────────────────── */
.for-whom__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.for-whom__grid > div {
  background: var(--white);
  border: 1px solid var(--ivory-mid);
  border-radius: 10px;
  padding: 24px;
}
.for-whom__grid h3 {
  margin-top: 0 !important;
}

/* ── KEY FIGURES ──────────────────────────────────── */
.key-figures {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 32px;
  margin-top: 20px;
  background: var(--white);
  border: 1px solid var(--ivory-mid);
  border-radius: 10px;
  padding: 24px;
}
.key-figures li::before {
  background: var(--sand) !important;
}

/* ── ACCESS OPTIONS ───────────────────────────────── */
.access-option--priority {
  background: var(--white);
  border: 2px solid var(--sage);
  border-radius: 12px;
  padding: 32px 32px 24px !important;
}
.access-option__distance {
  font-size: 0.9rem !important;
  font-weight: 600;
  color: var(--sage) !important;
  margin-bottom: 20px !important;
}
.access-option__methods {
  display: grid;
  gap: 20px;
}
.access-method {
  border-left: 3px solid var(--ivory-mid);
  padding-left: 20px;
}
.access-method h3 {
  margin-top: 0 !important;
}

/* ── ACCESS CTA ───────────────────────────────────── */
.access-cta {
  text-align: center;
  background: var(--slate);
  color: var(--white);
  border-radius: 12px;
  padding: 40px 32px !important;
  margin: 48px auto !important;
}
.access-cta h2 {
  color: var(--white) !important;
}
.access-cta p {
  color: rgba(255,255,255,0.8) !important;
  margin-bottom: 24px !important;
}
.access-cta .btn {
  margin: 0 8px;
}

/* ── ACTIVITIES CTA ───────────────────────────────── */
.activities-cta {
  text-align: center;
}

/* ── ACTIVITY BLOCKS ──────────────────────────────── */
.activity-block {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--ivory-mid);
}
.activity-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.activity-block h3 {
  margin-top: 0 !important;
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 900px) {
  .page-hero {
    padding: 130px 24px 56px;
  }
  .page-seo section {
    padding: 48px 24px;
  }
  .apartments__grid,
  .why-direct__grid,
  .reviews__grid,
  .for-whom__grid,
  .cta-final__grid,
  .see-also ul,
  .key-figures {
    grid-template-columns: 1fr;
  }
  .access-option--priority {
    padding: 24px 20px 20px !important;
  }
}
