/* ============================================
   FLORIAN MOREAU — PHOTOGRAPHE
   Feuille de style globale
   ============================================ */

/* --- Variables globales --- */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-dim:    rgba(201,168,76,0.15);
  --dark:        #0A0A08;
  --dark2:       #111110;
  --dark3:       #1A1A18;
  --white:       #F5F2EC;
  --muted:       rgba(245,242,236,0.4);
  --border:      rgba(201,168,76,0.2);

  --font-serif:  'Playfair Display', serif;
  --font-sans:   'Raleway', sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-y: scroll; /* scrollbar toujours présente → évite le décalage au changement de page */
}
body {
  font-family: var(--font-sans);
  background: var(--dark);
  color: var(--white);
  cursor: none;
  overflow-x: hidden;
}

/* --- Curseur personnalisé --- */
.cursor {
  position: fixed; width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s;
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.5); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
}

/* --- Navigation --- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 80px; /* hauteur fixe identique sur toutes les pages */
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,10,8,0.97);
  border-bottom: 0.5px solid var(--border);
  transition: background 0.3s;
}
nav.transparent {
  background: linear-gradient(to bottom, rgba(10,10,8,0.9), transparent);
  border-bottom: none;
}
.nav-logo-img  { height: 36px; width: auto; display: block; }
.nav-links     { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-cta {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); border: 0.5px solid var(--border);
  padding: 8px 20px; text-decoration: none; transition: all 0.2s;
}
.nav-cta:hover { background: var(--gold-dim); border-color: var(--gold); }

/* Burger mobile */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 1px; background: var(--white); }

/* --- En-tête de page (pages internes) --- */
.page-header {
  padding: 140px 48px 60px;
  text-align: center;
}
.page-eyebrow {
  font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.page-title {
  font-family: var(--font-serif);
  font-size: clamp(40px,6vw,72px); font-weight: 400; line-height: 1.1;
}
.page-title em { font-style: italic; color: var(--gold); }

/* --- Typographie commune --- */
.section-label {
  font-size: 10px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px,4vw,48px); font-weight: 400;
  line-height: 1.15; margin-bottom: 40px;
}
.section-title em { font-style: italic; color: var(--gold); }

/* --- Boutons --- */
.btn-primary {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  background: var(--gold); color: var(--dark);
  padding: 14px 32px; text-decoration: none;
  font-weight: 500; transition: background 0.2s;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-outline {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  border: 0.5px solid var(--border); color: var(--white);
  padding: 14px 32px; text-decoration: none; transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* --- Footer --- */
.site-footer {
  background: var(--dark);
  border-top: 0.5px solid var(--border);
  padding: 40px 48px;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-logo-link { display: inline-block; text-decoration: none; }
.footer-logo-img  { height: 28px; width: auto; display: block; opacity: 0.85; transition: opacity 0.2s; }
.footer-logo-img:hover { opacity: 1; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 11px; color: rgba(245,242,236,0.2); letter-spacing: 0.05em; }

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s, transform 0.7s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Mobile --- */
@media (max-width: 768px) {
  nav { padding: 18px 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0;
    background: var(--dark2);
    align-items: center; justify-content: center;
    gap: 32px; z-index: 99;
  }
  .nav-links.open a { font-size: 14px; }
  .burger { display: flex; }
  .page-header { padding: 120px 24px 48px; }
  .site-footer { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
}
