/* =========================================================
   Sur La Terre Gstaad — landing page
   Feuille de style autonome (aucune dépendance externe)
   Réalisation : Huit Onze, Genève — huitonze.ch
   ========================================================= */

/* ---------- Polices auto-hébergées ---------- */
@font-face {
  font-family: 'Heebo';
  src: url('fonts/heebo-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Heebo';
  src: url('fonts/heebo-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Heebo';
  src: url('fonts/heebo-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Heebo';
  src: url('fonts/heebo-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lustria';
  src: url('fonts/lustria-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Safiro';
  src: url('fonts/safiro-medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Heebo', system-ui, sans-serif;
  color: #4B4B49;
  background: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: #B98970; text-decoration: none; transition: color .25s ease; }
a:hover { color: #9c6f57; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

@keyframes sltFade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Éléments typographiques réutilisables ---------- */
.eyebrow {
  font-family: 'Safiro', 'Heebo', sans-serif;
  font-size: 18px; letter-spacing: .1em; text-transform: uppercase;
  color: #B98970; font-weight: 500;
}
.display {
  font-family: 'Lustria', serif; font-weight: 400;
  color: #33322F; text-wrap: balance;
}
.lead {
  font-size: clamp(16px, 1.2vw, 18px); line-height: 1.75;
  color: #000000; font-weight: 300;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Safiro', 'Heebo', sans-serif;
  font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 500; border-radius: 999px;
  transition: background .25s ease, color .25s ease;
}
.btn--primary { background: #B98970; color: #fff; padding: 16px 32px; }
.btn--primary:hover { background: #9c6f57; color: #fff; }
.btn--outline { border: 1px solid #B98970; color: #B98970; padding: 15px 34px; }
.btn--outline:hover { background: #B98970; color: #fff; }

/* ---------- Layout global ---------- */
.page-wrap {
  min-height: 100vh; display: flex; flex-direction: column;
  max-width: 1600px; margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ECE7E1;
}
.site-header__inner {
  max-width: 1240px; margin: 0 auto;
  padding: 18px clamp(20px, 5vw, 56px);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.site-header__logo { height: 108px; width: auto; margin: 36px 0; }
.lang-switch {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid #E4DED7; border-radius: 999px; padding: 3px;
  margin-bottom: 36px;
}
.lang-btn {
  border: none; background: transparent; color: #6E6B67;
  font-family: 'Heebo', sans-serif; font-size: 12px; font-weight: 500;
  letter-spacing: .06em; padding: 6px 12px; border-radius: 999px;
  cursor: pointer; transition: background .2s ease, color .2s ease;
}
.lang-btn.is-active { background: #B98970; color: #fff; font-weight: 600; }

/* ---------- Contenu ---------- */
.main { flex: 1; }

/* Hero */
.hero {
  display: flex; flex-wrap: wrap; align-items: stretch;
  border-bottom: 1px solid #ECE7E1;
}
.hero__text {
  flex: 1 1 460px; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 7vw, 104px) clamp(24px, 6vw, 88px);
  animation: sltFade .8s ease both;
}
.hero__eyebrow { margin-bottom: 26px; }
.hero__title { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.12; margin: 0 0 26px; max-width: 16ch; }
.hero__intro { margin: 0 0 40px; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__media {
  flex: 1 1 460px; min-height: clamp(380px, 64vh, 760px);
  position: relative; background: #EFEAE4;
}
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Bande magazine / annonceurs */
.band { background: #FBFAF8; border-bottom: 1px solid #ECE7E1; }
.band__inner {
  max-width: 900px; margin: 0 auto;
  padding: clamp(64px, 9vw, 128px) clamp(24px, 6vw, 56px);
  text-align: center;
}
.band__title { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.2; margin: 22px 0 26px; }
.band__body { line-height: 1.8; margin: 0 auto 54px; max-width: 60ch; }
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px; max-width: 760px; margin: 0 auto 56px;
}
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__num {
  font-family: 'Safiro', 'Heebo', sans-serif;
  font-size: clamp(32px, 3.4vw, 42px); color: #B98970; line-height: 1;
}
.stat__label {
  font-family: 'Safiro', 'Heebo', sans-serif;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: #000000; font-weight: 500;
}

/* Grille photos */
.photos {
  max-width: 1400px; margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) clamp(12px, 2vw, 24px);
}
.photos__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
}
.photo-cell { position: relative; aspect-ratio: 3 / 4; background: #EFEAE4; overflow: hidden; }
.photo-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Pages légales */
.legal {
  max-width: 820px; margin: 0 auto;
  padding: clamp(56px, 8vw, 112px) clamp(24px, 6vw, 56px);
  animation: sltFade .6s ease both;
}
.legal__title { font-size: clamp(30px, 4vw, 48px); margin: 0 0 40px; }
.legal-block { margin-bottom: 34px; }
.legal-h {
  font-family: 'Safiro', 'Heebo', sans-serif; font-weight: 500;
  font-size: 16px; letter-spacing: .03em; color: #33322F; margin: 0 0 10px;
}
.legal-h--heebo { font-family: 'Heebo', sans-serif; font-weight: 600; letter-spacing: .03em; }
.legal-p {
  font-size: 15.5px; line-height: 1.75; color: #000000;
  font-weight: 300; margin: 0; white-space: pre-line;
}

/* Footer */
.site-footer {
  background: #ffffff; color: #6E6B67; border-top: 1px solid #ECE7E1;
}
.site-footer__top {
  max-width: 1240px; margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) clamp(24px, 6vw, 56px) 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 48px;
}
.site-footer__logo { height: 34px; width: auto; margin-bottom: 22px; }
.footer-tagline { font-size: 14px; line-height: 1.8; font-weight: 300; color: #000000; margin: 0; max-width: 34ch; }
.footer-label {
  font-family: 'Safiro', 'Heebo', sans-serif;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: #B98970; font-weight: 500; margin: 0 0 18px;
}
.footer-info { font-size: 14.5px; line-height: 1.85; font-weight: 300; margin: 0; color: #000000; }
.footer-info a { color: #000000; }
.footer-info a:hover { color: #B98970; }
.footer-downloads { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-downloads a { color: #000000; font-size: 14.5px; font-weight: 300; }
.footer-downloads a:hover { color: #B98970; }
.site-footer__bottom {
  max-width: 1240px; margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 40px clamp(24px, 6vw, 56px) 44px;
  border-top: 1px solid #ECE7E1;
  display: flex; flex-wrap: wrap; gap: 18px 32px;
  align-items: center; justify-content: space-between;
}
.footer-rights { font-size: 13px; color: #000000; font-weight: 300; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-legal-links a { color: #000000; font-size: 13px; font-weight: 300; cursor: pointer; }
.footer-legal-links a:hover { color: #4B4B49; }
