/* ============================================
   CABINET OPTIMA — Design System
   Bleu marine · Sable · Éditorial chaleureux
   ============================================ */

:root {
  --navy: #1a3050;
  --navy-deep: #122340;
  --navy-soft: #2a4566;
  --ink: #1a2030;
  --ink-soft: #3a4458;
  --paper: #f7f3ec;
  --paper-warm: #efe7d6;
  --cream: #faf6ed;
  --gold: #c9a558;
  --gold-deep: #a8842f;
  --gold-soft: #e8d4a0;
  --sand: #d9bd92;
  --sand-deep: #b9986a;
  --terracotta: #b85d3a;
  --terracotta-deep: #963f1d;
  --terracotta-soft: #d88a6a;
  --rule: rgba(26, 48, 80, 0.14);
  --rule-strong: rgba(26, 48, 80, 0.28);
  --muted: rgba(26, 48, 80, 0.62);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter Tight', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ NAVIGATION ============ */
nav.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 243, 236, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1320px;
  margin: 0 auto;
}
.logo {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--navy);
  text-decoration: none;
}
.logo-mark { color: var(--navy); font-style: italic; }
.logo-sub {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 4px;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-cta {
  background: var(--navy);
  color: var(--cream) !important;
  padding: 10px 20px;
  border-radius: 2px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--navy-deep) !important; }

/* Lien LinkedIn dans la nav */
.nav-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-deep);
  color: var(--cream) !important;
  transition: all 0.25s ease !important;
}
.nav-linkedin:hover {
  background: var(--terracotta) !important;
  transform: translateY(-1px);
}
.nav-linkedin svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--rule-strong);
}
.btn-ghost:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--cream);
}
.btn-linkedin {
  background: var(--gold-deep);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
}
.btn-linkedin:hover {
  background: var(--terracotta);
  transform: translateY(-1px);
}
.arrow { display: inline-block; transition: transform 0.25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============ COMMON SECTIONS ============ */
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
  padding-top: 14px;
  border-top: 1px solid var(--navy);
  display: inline-block;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.section-title em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 300;
}
.section-intro {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: 28px;
  max-width: 680px;
}

/* ============ PAGE HEADER (non-home) ============ */
.page-header {
  padding: 160px 0 80px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 189, 146, 0.20) 0%, transparent 60%);
}
.page-header-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}
.page-header h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 28px 0 32px;
}
.page-header h1 em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 300;
}
.page-header-lede {
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 680px;
}

/* ============ FOOTER ============ */
footer.site-footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand-name {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.footer-brand-name em { color: var(--gold); font-style: italic; }
.footer-brand-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(250, 246, 237, 0.65);
  max-width: 340px;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  text-decoration: none;
  color: rgba(250, 246, 237, 0.78);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }

/* Bandeau LinkedIn en mise en avant dans le footer */
.footer-linkedin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 32px;
  margin-bottom: 40px;
  background: rgba(201, 165, 88, 0.08);
  border: 1px solid rgba(201, 165, 88, 0.3);
  border-radius: 4px;
}
.footer-linkedin-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-linkedin-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.footer-linkedin-title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.footer-linkedin-title em {
  font-style: italic;
  color: var(--gold);
}
.footer-linkedin-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--gold);
  color: var(--navy-deep) !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border-radius: 2px;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.footer-linkedin-cta:hover {
  background: var(--cream);
  transform: translateY(-1px);
}
.footer-linkedin-cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
@media (max-width: 700px) {
  .footer-linkedin {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 16px;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(250, 246, 237, 0.15);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(250, 246, 237, 0.55);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.8s ease-out both; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .nav-links li:not(:last-child) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .page-header { padding: 130px 0 60px; }
}
