/* ── VARIABLES ── */
:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --purple-deep: #0F0A1E;
  --purple-dark: #1A0F35;
  --purple-mid: #2D1B4E;
  --purple-accent: #7B4FC0;
  --purple-soft: #9B7FD4;
  --white: #F5F0EC;
  --white-dim: rgba(245,240,236,0.7);
  --white-faint: rgba(245,240,236,0.15);
}

/* ── RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Raleway', sans-serif;
  background: var(--purple-deep);
  color: var(--white);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(15,10,30,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav-logo svg { width: 32px; height: 40px; }
.nav-brand {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--white);
}
.nav-brand span {
  display: block;
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--gold);
  margin-top: 1px;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--white-dim);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  color: var(--gold) !important;
  border: 1px solid rgba(201,168,76,0.4);
  padding: 8px 20px;
  border-radius: 2px;
  transition: all 0.3s !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--purple-deep) !important;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 60px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(123,79,192,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201,168,76,0.06) 0%, transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero-eyebrow {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 32px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--white-dim);
  max-width: 560px;
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold);
  color: var(--purple-deep);
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.btn-secondary {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--white-dim);
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.btn-secondary:hover { color: var(--white); }
.btn-secondary::after {
  content: '→';
  transition: transform 0.3s;
}
.btn-secondary:hover::after { transform: translateX(4px); }
.hero-symbol {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.25;
}

/* ── SECTIONS ── */
section { padding: 100px 60px; }
.section-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 56px;
}

/* ── EXPERTISE ── */
#expertise {
  background: var(--purple-dark);
  border-top: 1px solid rgba(201,168,76,0.1);
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.expertise-card {
  padding: 40px 36px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201,168,76,0.08);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.expertise-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.4s;
}
.expertise-card:hover { background: rgba(201,168,76,0.04); }
.expertise-card:hover::before { width: 100%; }
.expertise-icon { width: 44px; height: 44px; margin-bottom: 24px; }
.expertise-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.expertise-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--white-dim);
}

/* ── RÉFÉRENCES ── */
#references { background: var(--purple-deep); }
.ref-intro {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--white-dim);
  max-width: 600px;
  margin-bottom: 64px;
}
.ref-logos {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border: 1px solid rgba(201,168,76,0.1);
}
.ref-item {
  flex: 1;
  min-width: 200px;
  padding: 40px 36px;
  border-right: 1px solid rgba(201,168,76,0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.3s;
}
.ref-item:last-child { border-right: none; }
.ref-item:hover { background: rgba(201,168,76,0.03); }
.ref-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
}
.ref-sector {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--purple-soft);
  text-transform: uppercase;
}

/* ── APPROCHE ── */
#approche {
  background: var(--purple-dark);
  border-top: 1px solid rgba(201,168,76,0.1);
}
.approche-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.approche-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.approche-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: rgba(201,168,76,0.2);
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
}
.approche-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.approche-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--white-dim);
}

/* ── CONTACT ── */
#contact {
  background: var(--purple-deep);
  border-top: 1px solid rgba(201,168,76,0.1);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--white-dim);
  margin-bottom: 40px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--white-dim);
  font-size: 13px;
  font-weight: 300;
  transition: color 0.3s;
}
.contact-link:hover { color: var(--gold); }
.contact-link-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.contact-link:hover .contact-link-icon {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}
.form-field input,
.form-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 2px;
  padding: 12px 16px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.04);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(245,240,236,0.25);
}
.btn-submit {
  align-self: flex-start;
  padding: 14px 40px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s;
}
.btn-submit:hover {
  background: var(--gold);
  color: var(--purple-deep);
}

/* ── FOOTER ── */
footer {
  padding: 32px 60px;
  border-top: 1px solid rgba(201,168,76,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 1px;
  color: rgba(245,240,236,0.3);
}
.footer-siren {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 1px;
  color: rgba(245,240,236,0.2);
}

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  section { padding: 70px 24px; }
  #hero { padding: 100px 24px 60px; }
  .hero-symbol { display: none; }
  .expertise-grid { grid-template-columns: 1fr; }
  .approche-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .ref-logos { flex-direction: column; }
  .ref-item { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.1); }
  footer { flex-direction: column; gap: 8px; text-align: center; }
}
