/* ═══════════════════════════════════════════
   LE CATALAN — style.css
   Palette : nuit #0C0A08 · or #C8914A · crème #F0E6D3
   ═══════════════════════════════════════════ */

:root {
  --noir:    #0C0A08;
  --noir2:   #161210;
  --noir3:   #1E1A16;
  --or:      #C8914A;
  --or-clair:#E0AC6C;
  --or-pale: #F5E6C8;
  --creme:   #F0E6D3;
  --creme2:  #E8D8BF;
  --blanc:   #FAF7F2;
  --gris:    #8A7D6E;
  --gris2:   #5A4E42;
  --rouge:   #8B1A1A;

  --font-titre: 'Cormorant Garamond', Georgia, serif;
  --font-corps: 'Jost', sans-serif;
  --font-script:'Pinyon Script', cursive;

  --r: 14px;
  --ombre: 0 24px 60px rgba(0,0,0,.55);
  --trans: .35s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--noir);
  color: var(--creme);
  font-family: var(--font-corps);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

/* ── GRAIN OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  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");
  opacity: .35;
}

/* ══════════════════════════════
   TYPOGRAPHIE
══════════════════════════════ */
.titre-xl {
  font-family: var(--font-titre);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.titre-xl em { font-style: italic; color: var(--or-clair); }

.titre-lg {
  font-family: var(--font-titre);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
}
.titre-lg em { font-style: italic; color: var(--or-clair); }

.titre-md {
  font-family: var(--font-titre);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.2;
}
.titre-md em { font-style: italic; color: var(--or-clair); }

.section-tag {
  font-family: var(--font-corps);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.section-tag::before, .section-tag::after {
  content: '';
  display: block;
  width: 30px; height: 1px;
  background: var(--or);
  opacity: .5;
}
.section-tag.no-line::before, .section-tag.no-line::after { display: none; }

/* ══════════════════════════════
   BOUTONS
══════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-corps);
  font-size: .82rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  cursor: pointer; border: none;
  transition: var(--trans);
  white-space: nowrap;
}
.btn-or {
  background: var(--or);
  color: var(--noir);
}
.btn-or:hover { background: var(--or-clair); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(200,145,74,.3); }

.btn-contour {
  background: transparent;
  color: var(--creme);
  border: 1px solid rgba(240,230,211,.4);
}
.btn-contour:hover { border-color: var(--or); color: var(--or); transform: translateY(-2px); }

.btn-contour-or {
  background: transparent;
  color: var(--or);
  border: 1px solid rgba(200,145,74,.5);
}
.btn-contour-or:hover { background: var(--or); color: var(--noir); transform: translateY(-2px); }

.btn-lg { padding: 17px 42px; font-size: .88rem; }

/* ══════════════════════════════
   NAVBAR
══════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 5%;
  transition: var(--trans);
}
.navbar.scrolled {
  background: rgba(12,10,8,.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200,145,74,.12);
  padding: 14px 5%;
}

.nav-logo {
  display: flex; align-items: baseline; gap: 6px;
  text-decoration: none;
}
.nav-logo-script {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--or-clair);
  line-height: 1;
}
.nav-logo-serif {
  font-family: var(--font-titre);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--creme);
}

.nav-links {
  display: flex; align-items: center; gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(240,230,211,.65);
  transition: color var(--trans);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--or);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--trans);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--or-clair);
}
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1); transform-origin: left;
}

.nav-cta {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--or);
  border: 1px solid rgba(200,145,74,.45);
  padding: 10px 22px;
  border-radius: 1px;
  transition: var(--trans);
}
.nav-cta:hover { background: var(--or); color: var(--noir); }

.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--creme); transition: var(--trans);
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--noir);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--trans);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-titre);
  font-size: 2.2rem;
  color: var(--creme);
  transition: color var(--trans);
}
.mobile-menu a:hover { color: var(--or-clair); }
.mobile-menu .mobile-cta {
  font-family: var(--font-corps);
  font-size: .82rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--or); border: 1px solid rgba(200,145,74,.5);
  padding: 13px 32px;
}

/* ══════════════════════════════
   PAGE HERO (pages internes)
══════════════════════════════ */
.page-hero {
  height: 52vh; min-height: 360px;
  position: relative;
  display: flex; align-items: flex-end;
  padding: 60px 5%;
}
.page-hero-bg {
  position: absolute; inset: 0;
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,10,8,1) 0%, rgba(12,10,8,.5) 50%, rgba(12,10,8,.2) 100%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 700px; }
.page-hero-eyebrow {
  font-size: .72rem; font-weight: 500;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--or); margin-bottom: 14px;
}
.breadcrumb {
  font-size: .75rem; color: rgba(240,230,211,.45);
  letter-spacing: .08em; margin-bottom: 12px;
}
.breadcrumb a { color: rgba(240,230,211,.45); }
.breadcrumb a:hover { color: var(--or); }
.breadcrumb i { margin: 0 8px; font-size: .6rem; }

/* ══════════════════════════════
   SECTIONS COMMUNES
══════════════════════════════ */
.section { padding: 110px 5%; }
.container { max-width: 1180px; margin: 0 auto; }
.text-center { text-align: center; }
.text-center .section-tag { justify-content: center; }
.text-center .section-tag::before,
.text-center .section-tag::after { display: none; }

.section-lead {
  font-size: 1.05rem;
  color: rgba(240,230,211,.65);
  line-height: 1.85;
  max-width: 580px;
  margin-top: 20px;
}
.section-body {
  font-size: .92rem;
  color: rgba(240,230,211,.5);
  line-height: 1.9;
  margin-top: 16px;
  max-width: 520px;
}
.lead-center { margin: 20px auto 0; text-align: center; }

.divider-or {
  display: flex; align-items: center; gap: 16px;
  margin: 24px 0;
  color: var(--or); font-size: .85rem;
}
.divider-or::before, .divider-or::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,145,74,.3));
}
.divider-or::after {
  background: linear-gradient(270deg, transparent, rgba(200,145,74,.3));
}

/* ══════════════════════════════
   ANIMATIONS SCROLL
══════════════════════════════ */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-scale {
  opacity: 0;
  transform: scale(.94);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal-up.visible, .reveal-right.visible,
.reveal-left.visible, .reveal-scale.visible {
  opacity: 1; transform: none;
}
.delay-1 { transition-delay: .15s; }
.delay-2 { transition-delay: .3s; }
.delay-3 { transition-delay: .45s; }
.delay-4 { transition-delay: .6s; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer {
  background: var(--noir2);
  border-top: 1px solid rgba(200,145,74,.12);
  padding: 80px 5% 0;
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px; padding-bottom: 60px;
}
.footer-logo {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 16px;
}
.footer-tagline {
  font-family: var(--font-titre);
  font-style: italic;
  font-size: 1rem;
  color: rgba(240,230,211,.4);
  margin-bottom: 24px;
}
.footer-social {
  display: flex; gap: 14px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(200,145,74,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(240,230,211,.5); font-size: .8rem;
  transition: var(--trans);
}
.footer-social a:hover { border-color: var(--or); color: var(--or); }

.footer-col h4 {
  font-family: var(--font-corps);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--or); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li, .footer-col a {
  font-size: .85rem;
  color: rgba(240,230,211,.45);
  transition: color var(--trans);
}
.footer-col a:hover { color: var(--or-clair); }

.footer-bottom {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(200,145,74,.1);
  padding: 20px 0;
  font-size: .75rem; color: rgba(240,230,211,.25);
}
.footer-bottom a { color: rgba(200,145,74,.5); }
.footer-bottom a:hover { color: var(--or); }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media(max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
