/* ============================================
   KAZAIA — Feuille de style commune
   Palette : ocean-deep / ocean / gold / sand / white
   ============================================ */

:root {
  --sand: #f5efe6;
  --warm: #e8ddd0;
  --gold: #b8975a;
  --gold-light: #d4b47a;
  --ocean: #2a4a5e;
  --ocean-deep: #1a2f3d;
  --text: #2c2416;
  --muted: #8a7860;
  --white: #fdfaf6;

  --serif: 'Cormorant Garamond', serif;
  --sans: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 5vw;
  transition: all 0.35s ease;
  background: transparent;
}

.site-nav.scrolled {
  background: rgba(26, 47, 61, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 5vw;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.nav-logo {
  height: 100px;
  filter: brightness(0) invert(1);
  transition: height 0.35s ease;
}

.site-nav.scrolled .nav-logo { height: 70px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold-light); }

.lang-switch {
  display: flex;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 4px;
  margin-left: 12px;
}

.lang-switch button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 13px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-switch button.active {
  background: var(--gold);
  color: var(--ocean-deep);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.nav-burger span {
  width: 24px;
  height: 2px;
  background: white;
  display: block;
}

/* ===== BOUTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  font-family: var(--sans);
}

.btn-gold {
  background: var(--gold);
  color: var(--ocean-deep);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184,151,90,0.3);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: white;
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.08);
}

.btn-outline-dark {
  background: transparent;
  border: 1.5px solid var(--ocean);
  color: var(--ocean-deep);
}

.btn-outline-dark:hover {
  background: var(--ocean-deep);
  color: white;
}

/* ===== SECTION GÉNÉRIQUE ===== */
.section {
  padding: 110px 5vw;
  max-width: 1280px;
  margin: 0 auto;
}

.section-tight { padding: 80px 5vw; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ocean-deep); }

.section-title {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 300;
}

.section-title em { font-style: italic; color: var(--gold); }

.section-lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 680px;
  font-weight: 300;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ocean-deep);
  color: rgba(255,255,255,0.55);
  padding: 64px 5vw 32px;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  height: 72px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: rgba(255,255,255,0.7);
}

.footer-col h4 {
  color: white;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  line-height: 2.1;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: 1280px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== UTILITAIRES LANGUE =====
   Géré entièrement en JS (voir script en bas de page) :
   chaque [data-lang] reçoit un style.display direct.
   Par défaut tout est masqué ; le JS affiche la bonne langue au chargement. */
[data-lang] { display: none; }

/* ===== RESPONSIVE NAV ===== */
@media (max-width: 860px) {
  .nav-links { 
    position: fixed;
    top: 0; right: -100%;
    width: 78%;
    height: 100vh;
    background: var(--ocean-deep);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transition: right 0.35s ease;
  }
  .nav-links.open { right: 0; }
  .nav-burger { display: flex; }
  .lang-switch { margin: 24px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .section { padding: 70px 6vw; }
}
