/* Maison K — Landing page
   Palette verrouillée : or laiton, noir profond, ivoire, bronze, anthracite
   Titres : Cinzel (équivalent web de Trajan Pro) — Texte courant : Montserrat */

:root {
  --gold: #C8A24D;
  --black: #0A0A0A;
  --ivory: #F4F1E9;
  --bronze: #7A5A33;
  --anthracite: #1B1B1B;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--anthracite);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

/* ---------- Animations au scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 0.8, 0.24, 1),
              transform 0.9s cubic-bezier(0.16, 0.8, 0.24, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .tagline.reveal {
  transition-delay: 0.15s;
}

.feature.reveal:nth-child(1) { transition-delay: 0s; }
.feature.reveal:nth-child(2) { transition-delay: 0.1s; }
.feature.reveal:nth-child(3) { transition-delay: 0.2s; }
.feature.reveal:nth-child(4) { transition-delay: 0.3s; }

.itinerary-btn.reveal {
  transition-delay: 0.15s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--black);
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
}

.logo {
  width: 100%;
  max-width: 260px;
  margin: 0 auto 1.75rem;
}

.tagline {
  max-width: 30ch;
  margin: 0 auto;
  color: var(--ivory);
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ---------- Features ---------- */

.features {
  padding: 3rem 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.feature {
  text-align: center;
  padding-top: 0.25rem;
}

.feature-mark {
  display: inline-block;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.feature h2 {
  font-size: 1.15rem;
  color: var(--bronze);
  margin-bottom: 0.75rem;
}

.feature p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--anthracite);
}

/* ---------- CTA ---------- */

.cta {
  background: var(--black);
  padding: 3rem 1.5rem;
  text-align: center;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  max-width: 360px;
  padding: 1.05rem 1.5rem;
  background: var(--gold);
  color: var(--black);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus-visible {
  opacity: 0.88;
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.itinerary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 360px;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.itinerary-btn:hover,
.itinerary-btn:focus-visible {
  background: var(--gold);
  color: var(--black);
}

.itinerary-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */

footer {
  background: var(--ivory);
  padding: 1.5rem;
  text-align: center;
}

.email-link {
  color: var(--bronze);
  font-size: 0.8rem;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.email-link:hover,
.email-link:focus-visible {
  color: var(--gold);
  text-decoration: underline;
}

/* ---------- Tablet / desktop ---------- */

@media (min-width: 640px) {
  .hero {
    padding: 3.5rem 1.5rem 4rem;
  }

  .logo {
    max-width: 320px;
  }

  .tagline {
    font-size: 1.2rem;
    max-width: 40ch;
  }

  .features {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2.5rem;
    padding: 4rem 2rem;
  }

  .feature h2 {
    font-size: 1.3rem;
  }

  .feature p {
    font-size: 1rem;
  }
}
