/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #E8A020;
  --gold-light: #F5C050;
  --dark: #0e1115;
  --text: #f0ebe3;
  --text-muted: rgba(240,235,227,0.55);
  --text-dim: rgba(240,235,227,0.3);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--sans);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Grain overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 100;
  opacity: 0.4;
}

/* ── Background cinematic gradient ── */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(232,160,32,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 50%, rgba(232,160,32,0.04) 0%, transparent 60%),
    linear-gradient(160deg, #0e1115 0%, #131820 50%, #0e1115 100%);
}

/* ── Animated spotlight ── */
.spotlight {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 700px;
  background: radial-gradient(ellipse at center top, rgba(232,160,32,0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: spotlightPulse 6s ease-in-out infinite;
}

@keyframes spotlightPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scaleX(1); }
  50%       { opacity: 1;   transform: translateX(-50%) scaleX(1.1); }
}

/* ── Page wrapper ── */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ── */
header {
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: fadeDown 0.8s ease both;
}

.logo-link { display: inline-block; }

.logo-img {
  height: 56px;
  width: auto;
  display: block;
  opacity: 1;
  transition: opacity 0.2s;
}
.logo-link:hover .logo-img { opacity: 0.8; }

.flag-ch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.flag-ch svg { width: 18px; height: 18px; border-radius: 2px; }

/* ── Hero ── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px 32px 80px;
}

.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  animation: fadeUp 0.9s 0.2s ease both;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before, .eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.hero-title {
  font-family: Inter, sans-serif;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--gold);
  margin-bottom: 10px;
  animation: fadeUp 0.9s 0.35s ease both;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 48px;
  animation: fadeUp 0.9s 0.45s ease both;
}

/* ── Language switcher ── */
.lang-tabs {
  display: flex;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 44px;
  animation: fadeUp 0.9s 0.5s ease both;
}

.lang-tab {
  padding: 7px 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: all 0.2s;
}
.lang-tab:hover  { color: var(--text); background: rgba(255,255,255,0.04); }
.lang-tab.active { background: var(--gold); color: #1a1000; font-weight: 600; }

/* ── Copy blocks ── */
.copy-block        { display: none; }
.copy-block.active { display: block; }

.hero-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 52px;
  animation: fadeUp 0.9s 0.55s ease both;
}

/* ── Email form ── */
.form-wrap {
  width: 100%;
  max-width: 480px;
  animation: fadeUp 0.9s 0.65s ease both;
}

.form-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
  display: block;
}

.form-row {
  display: flex;
  border: 1px solid rgba(232,160,32,0.3);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  transition: border-color 0.2s;
}
.form-row:focus-within {
  border-color: var(--gold);
  background: rgba(232,160,32,0.04);
}

.form-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text);
}
.form-input::placeholder { color: var(--text-dim); }

.form-btn {
  padding: 14px 24px;
  background: var(--gold);
  border: none;
  color: #1a1000;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}
.form-btn:hover  { background: var(--gold-light); }
.form-btn:active { transform: scale(0.98); }

.form-note {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 10px;
  text-align: center;
  letter-spacing: 0.05em;
}
.form-note span { color: var(--gold); opacity: 0.7; }

/* ── Success state ── */
.success-msg {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(232,160,32,0.08);
  border: 1px solid rgba(232,160,32,0.25);
  border-radius: 4px;
  font-size: 14px;
  color: var(--gold-light);
  animation: fadeUp 0.4s ease both;
}
.success-msg.show { display: flex; }

.success-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  font-weight: 700;
}

/* ── Trois piliers ── */
.pillars {
  display: flex;
  margin-top: 72px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 48px;
  animation: fadeUp 0.9s 0.8s ease both;
}

.pillar {
  flex: 1;
  padding: 0 28px;
  text-align: center;
  position: relative;
}
.pillar + .pillar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255,255,255,0.07);
}

.pillar-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(232,160,32,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--gold);
}

.pillar-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.pillar-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ── Footer ── */
footer {
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.05);
  animation: fadeUp 0.9s 1s ease both;
}

.footer-copy {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.footer-swiss {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.swiss-cross {
  width: 16px;
  height: 16px;
  background: #FF0000;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.swiss-cross::before {
  content: '+';
  color: white;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  margin-top: -1px;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 640px) {
  header  { padding: 20px 24px; }
  footer  { padding: 20px 24px; flex-direction: column; gap: 10px; text-align: center; }
  .pillars { flex-direction: column; gap: 32px; }
  .pillar + .pillar::before { display: none; }
  .form-btn { padding: 14px 16px; font-size: 12px; }
}
