@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Inter:wght@200;300;400;500;600&display=swap');

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

:root {
  --navy:   #09141f;
  --navy2:  #0d1d2e;
  --navy3:  #142538;
  --gold:   #c9bb8a;
  --gold2:  #e6cb6f;
  --silver: #8f97a4;
  --cream:  #f5f2eb;
  --cream2: #ede9df;
  --white:  #ffffff;
  --text:   #1a2a3a;
  --textl:  #4a5a6a;
  --border: rgba(201,187,138,0.2);
  --tr:     0.4s cubic-bezier(.4,0,.2,1);
}

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

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ── LANG ── */
.lang-fr, .lang-en { display: none; }
.lang-fr.show, .lang-en.show { display: inline; }

/* ── CURSOR ── */
.cursor {
  position: fixed; width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .3s ease, height .3s ease;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(201,187,138,0.6); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .3s ease, height .3s ease;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 76px;
  background: rgba(9,20,31,0);
  transition: background .5s ease, border-color .5s ease;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(9,20,31,0.96);
  border-color: var(--border);
  backdrop-filter: blur(16px);
}
.nav-logo img { height: 42px; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.65); text-decoration: none;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  position: relative; transition: color var(--tr);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width var(--tr);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-lang { display: flex; gap: 0.4rem; }
.nav-lang button {
  background: none; border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5); padding: 0.2rem 0.55rem;
  font-size: 0.68rem; letter-spacing: 0.1em; cursor: pointer;
  border-radius: 2px; transition: var(--tr);
}
.nav-lang button.active,
.nav-lang button:hover { border-color: var(--gold); color: var(--gold); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 1px; background: var(--white); transition: var(--tr); }

/* ── HERO ── */
#accueil {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('images/bannier.jpg');
  background-size: cover; background-position: center 25%;
  transform: scale(1.06);
  transition: transform 7s ease;
  filter: brightness(0.28) saturate(0.8);
}
.hero-bg.loaded { transform: scale(1); }
.hero-grain {
  position: absolute; inset: 0; z-index: 1;
  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");
  pointer-events: none;
}
.hero-gradient {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(9,20,31,1) 0%, rgba(9,20,31,0.65) 40%, rgba(9,20,31,0.1) 100%);
}
.hero-left-line {
  position: absolute; left: 5vw; top: 20%; bottom: 20%; z-index: 3;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.hero-content {
  position: relative; z-index: 4;
  padding: 0 5vw 8vh;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: end;
  max-width: 1400px; width: 100%;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 1rem;
  color: var(--gold); font-size: 0.68rem; letter-spacing: 0.25em;
  text-transform: uppercase; margin-bottom: 2rem;
  opacity: 0; animation: fadeUp .8s .3s forwards;
}
.hero-eyebrow::before { content: ''; width: 48px; height: 1px; background: var(--gold); }
.hero-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--white); line-height: 1.05; margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp .9s .5s forwards;
}
.hero-title em { font-style: italic; color: var(--gold2); display: block; }
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp .8s .7s forwards;
}
.hero-tag {
  border: 1px solid rgba(201,187,138,0.3); color: rgba(255,255,255,0.55);
  padding: 0.3rem 0.9rem; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .8s .9s forwards;
}
.hero-right {
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 2rem; padding-bottom: 0.5rem;
  opacity: 0; animation: fadeUp .9s .7s forwards;
}
.hero-stat { border-left: 1px solid var(--border); padding-left: 1.5rem; }
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: 3.5rem; color: var(--gold); line-height: 1;
}
.hero-stat-label {
  font-size: 0.72rem; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45); text-transform: uppercase; margin-top: 0.3rem;
}
.hero-scroll-hint {
  position: absolute; bottom: 2.5rem; right: 5vw; z-index: 4;
  display: flex; align-items: center; gap: 1rem;
  color: rgba(255,255,255,0.3); font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; writing-mode: vertical-rl;
}
.hero-scroll-hint::after {
  content: ''; width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:.8} 50%{opacity:.2} }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--gold); color: var(--navy);
  padding: 0.9rem 2rem; font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  transition: var(--tr); position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold2); transform: translateX(-100%); transition: transform var(--tr);
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.6rem;
  border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.75);
  padding: 0.9rem 2rem; font-size: 0.74rem; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; transition: var(--tr);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── MARQUEE ── */
.marquee-wrap {
  background: var(--gold); padding: 0.9rem 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 3rem; width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee-item {
  display: flex; align-items: center; gap: 1.5rem; white-space: nowrap;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--navy);
}
.marquee-dot { width: 4px; height: 4px; background: var(--navy); border-radius: 50%; opacity: 0.5; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── SECTIONS ── */
section { scroll-margin-top: 76px; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 120px 5vw; }
.section-eyebrow {
  display: flex; align-items: center; gap: 1rem;
  color: var(--gold); font-size: 0.68rem; letter-spacing: 0.22em;
  text-transform: uppercase; margin-bottom: 1.25rem;
}
.section-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.section-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--navy); line-height: 1.1; margin-bottom: 3.5rem;
}
.section-title em { font-style: italic; color: var(--gold); }

/* ── ABOUT ── */
#apropos { background: var(--cream); position: relative; overflow: hidden; }
#apropos::before {
  content: 'NB';
  position: absolute; right: -2vw; top: 50%; transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif; font-size: clamp(12rem, 20vw, 22rem);
  font-weight: 300; color: rgba(201,187,138,0.07); line-height: 1;
  pointer-events: none; user-select: none;
}
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6rem; align-items: center; }
.about-photo-outer { position: relative; padding: 24px 0 0 24px; }
.about-photo-border {
  position: absolute; top: 0; left: 0; right: 24px; bottom: 24px;
  border: 1px solid var(--gold); pointer-events: none;
}
.about-photo-outer img { position: relative; width: 100%; display: block; filter: grayscale(20%) contrast(1.05); }
.about-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 110px; height: 110px;
  background: var(--gold); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.about-badge-num { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 300; color: var(--navy); line-height: 1; }
.about-badge-label { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); opacity: 0.7; margin-top: 0.2rem; }
.about-text p { color: var(--textl); font-size: 0.95rem; line-height: 1.95; margin-bottom: 1.6rem; }
.about-text p:first-of-type { font-size: 1.05rem; color: var(--text); }
.about-langs { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(201,187,138,0.3); }
.about-langs h4 { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver); margin-bottom: 1rem; }
.lang-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lang-pill { border: 1px solid rgba(201,187,138,0.3); color: var(--textl); padding: 0.3rem 0.9rem; font-size: 0.76rem; border-radius: 50px; }

/* ── SERVICES ── */
#services { background: var(--navy); }
#services .section-title { color: var(--white); }
.services-intro { color: rgba(255,255,255,0.5); font-size: 0.95rem; max-width: 520px; margin-bottom: 4rem; line-height: 1.8; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,0.06); }
.service-card {
  background: var(--navy); padding: 3rem 2.5rem;
  position: relative; overflow: hidden; transition: background var(--tr);
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,187,138,0.07) 0%, transparent 70%);
  opacity: 0; transition: opacity var(--tr);
}
.service-card:hover::before { opacity: 1; }
.service-card::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 2px; background: var(--gold); transition: width .5s ease;
}
.service-card:hover::after { width: 100%; }
.service-card:hover { background: rgba(21,38,58,0.9); }
.service-num {
  font-family: 'Cormorant Garamond', serif; font-size: 4rem; font-weight: 300;
  color: rgba(201,187,138,0.1); line-height: 1; margin-bottom: -0.5rem;
}
.service-icon { width: 40px; height: 40px; color: var(--gold); margin-bottom: 1.5rem; }
.service-card h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.4rem; color: var(--white); margin-bottom: 1.2rem; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.service-list li { color: rgba(255,255,255,0.5); font-size: 0.83rem; padding-left: 1.2rem; position: relative; line-height: 1.6; }
.service-list li::before { content: '-'; position: absolute; left: 0; color: var(--gold); opacity: 0.6; }

/* ── VALUES ── */
#valeurs { background: var(--cream2); }
.values-intro { color: var(--textl); font-size: 0.95rem; max-width: 520px; margin-bottom: 4rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.value-item {
  padding: 2.5rem; border: 1px solid rgba(201,187,138,0.2);
  margin: -1px 0 0 -1px; transition: background var(--tr);
  position: relative; overflow: hidden;
}
.value-item::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  height: 0; width: 2px; background: var(--gold); transition: height .4s ease;
}
.value-item:hover { background: var(--cream); }
.value-item:hover::before { height: 100%; }
.value-icon { font-size: 1.3rem; margin-bottom: 1rem; color: var(--gold); }
.value-item h4 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.1rem; color: var(--navy); margin-bottom: 0.6rem; }
.value-item p { color: var(--textl); font-size: 0.83rem; line-height: 1.7; }

/* ── REFERENCES ── */
#references { background: var(--navy2); }
#references .section-title { color: var(--white); }
.refs-intro { color: rgba(255,255,255,0.45); font-size: 0.9rem; max-width: 540px; margin-bottom: 4rem; }
.refs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.05); }
.ref-card {
  background: var(--navy2); padding: 3rem 2rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-height: 130px; transition: background var(--tr);
  position: relative; overflow: hidden;
}
.ref-card::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 1px; background: var(--gold); transition: width .4s ease;
}
.ref-card:hover { background: var(--navy3); }
.ref-card:hover::after { width: 60%; }
.ref-card span { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.05rem; color: rgba(255,255,255,0.7); transition: color var(--tr); }
.ref-card:hover span { color: var(--gold); }

/* ── CONTACT ── */
#contact { background: var(--cream); position: relative; overflow: hidden; }
#contact::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0;
  width: 40%; background: var(--navy);
}
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.contact-left { padding-right: 5rem; }
.contact-right { background: var(--navy); padding: 5rem; margin: -120px -5vw -120px 0; }
.contact-left h3 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 1.4rem; color: var(--navy); margin-bottom: 1rem; }
.contact-left > p { color: var(--textl); font-size: 0.92rem; line-height: 1.85; margin-bottom: 3rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail { display: flex; align-items: center; gap: 1.25rem; }

/* ICONES CONTACT MODERNES */
.contact-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color var(--tr), background var(--tr);
}
.contact-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-detail:hover .contact-icon { border-color: var(--gold); background: rgba(201,187,138,0.06); }

.contact-detail-text { font-size: 0.88rem; color: var(--textl); }
.contact-detail-text strong { display: block; color: var(--text); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.2rem; }
.contact-detail-text a { color: var(--textl); text-decoration: none; transition: color var(--tr); }
.contact-detail-text a:hover { color: var(--gold); }

.linkedin-link {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--gold); text-decoration: none; font-size: 0.74rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: border-color var(--tr), background var(--tr);
}
.linkedin-link svg { width: 16px; height: 16px; fill: var(--gold); flex-shrink: 0; }
.linkedin-link:hover { border-color: var(--gold); background: rgba(201,187,138,0.06); }

.contact-right h4 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 1.6rem; color: var(--white); margin-bottom: 2.5rem; line-height: 1.3; }
.contact-values { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-value { display: flex; align-items: center; gap: 1rem; }
.contact-value-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.contact-value-text { color: rgba(255,255,255,0.55); font-size: 0.85rem; }

/* ── FOOTER ── */
footer { background: var(--navy); border-top: 1px solid var(--border); padding: 3rem 5vw; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer-logo img { height: 34px; opacity: 0.7; }
.footer-copy { color: rgba(255,255,255,0.25); font-size: 0.74rem; letter-spacing: 0.05em; }

/* ── MOBILE MENU ── */
.mobile-menu { display: none; position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: var(--navy); z-index: 499; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: rgba(255,255,255,0.7); text-decoration: none; font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; transition: color var(--tr); }
.mobile-menu a:hover { color: var(--gold); }

/* ── ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  #contact::after { display: none; }
  .contact-right { margin: 3rem 0 0 0; padding: 3rem; }
  .contact-left { padding-right: 0; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-photo-outer { max-width: 320px; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .refs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3rem); }
  .section-inner { padding: 80px 5vw; }
  .contact-right { padding: 2rem; }
}
