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

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

:root {
  --ink:      #0a1322;
  --charcoal: #122236;
  --warm:     #1c3354;
  --stone:    #2c4a73;
  --gold:     #c2643c;
  --gold-lt:  #de8056;
  --cream:    #f6efe2;
  --sand:     #ecdec0;
  --mist:     #ad9a82;
  --white:    #fffaf2;
}

html { scroll-behavior: smooth; }

.a-item, .ind-card { scroll-margin-top: 150px; }

body {
  font-family: 'Helvetica Neue', 'Inter', Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.72;
  letter-spacing: .005em;
  overflow-x: hidden;
  --charcoal: var(--white); --warm: var(--sand); --mist: #7a6552;
}

/* ══ NAV ══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 28px;
  padding: 20px 64px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .5s ease, border-color .5s ease, box-shadow .4s;
}
nav.scrolled {
  background: #fff;
  border-bottom-color: transparent;
  box-shadow: none;
}

/* Logo — blanc sur hero, couleur d'origine après scroll */
.logo {
  font-family: 'Bodoni Moda', serif;
  font-size: 24px; font-weight: 400; letter-spacing: .06em;
  color: #fff; text-decoration: none;
}
.logo span { color: #fff; font-style: italic; }
.logo img { transition: filter .5s ease; filter: brightness(0) invert(1); }
nav.scrolled .logo { color: #122236; }
nav.scrolled .logo span { color: var(--gold); }
nav.scrolled .logo img { filter: none; }

/* Liens — blancs sur hero */
.nav-links { flex: 1; display: flex; justify-content: center; gap: 44px; list-style: none; }
.nav-links a {
  font-size: 11.5px; font-weight: 400; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.85); text-decoration: none;
  transition: color .25s;
}
.nav-links a:hover { color: #fff; }
nav.scrolled .nav-links a { color: #7a6552; }
nav.scrolled .nav-links a:hover { color: #122236; }

.nav-item.has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 260px;
  background: #f6efe2;
  border-top: 2px solid var(--gold);
  box-shadow: 0 22px 48px rgba(7,17,30,.16);
  padding: 12px 0;
  padding-top: 28px;
  margin-top: 0;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  z-index: 200;
}
.nav-item.has-dropdown::after {
  content: ''; position: absolute;
  bottom: -22px; left: 0; right: 0; height: 22px;
}
.nav-item.has-dropdown:hover .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  padding: 12px 24px;
  font-size: 12px; font-weight: 400; letter-spacing: .1em;
  text-transform: uppercase; color: #7a6552; text-decoration: none;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-dropdown a:hover { color: #122236; background: var(--sand); }

/* Bouton CTA — bordure blanche sur hero, plein après scroll */
.nav-btn {
  font-size: 11.5px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.65);
  padding: 13px 32px; cursor: pointer; text-decoration: none;
  transition: background .3s, border-color .3s;
}
.nav-btn:hover { background: rgba(255,255,255,.15); }
nav.scrolled .nav-btn { background: #122236; border-color: #122236; }
nav.scrolled .nav-btn:hover { background: var(--stone); border-color: var(--stone); }

/* Sélecteur de langue — deux drapeaux dans la nav */
.lang-switch { display: flex; align-items: center; gap: 8px; margin: 0 20px; }
.lang-flag {
  display: block; width: 22px; height: 16px; border-radius: 2px; overflow: hidden;
  opacity: .55; transition: opacity .25s, transform .2s, box-shadow .25s;
  border: 1px solid rgba(255,255,255,.55);
}
.lang-flag:hover { opacity: .9; transform: translateY(-1px); }
.lang-flag.active { opacity: 1; box-shadow: 0 0 0 1px var(--gold); pointer-events: none; }
.lang-flag svg { display: block; width: 100%; height: 100%; }
nav.scrolled .lang-flag { border-color: rgba(18,34,54,.18); }

.mobile-lang-switch { display: flex; gap: 16px; margin-top: 28px; }
.mobile-lang-switch .lang-flag { width: 30px; height: 22px; border-color: rgba(18,34,54,.18); }

/* Tagline — caché sur hero, visible après scroll */
#nav-tagline {
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity .5s ease;
}
nav.scrolled ~ #nav-tagline {
  opacity: 1 !important;
  pointer-events: auto;
  background: #fff !important;
  border-bottom-color: #e8e0d6 !important;
  box-shadow: 0 2px 24px rgba(7,17,30,.08);
}

/* ══ HERO VIDEO ══ */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }

/* ══ HERO ══ */
#hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 200px 64px 150px;
  position: relative; overflow: hidden;
  color: var(--cream);
  --mist: #ad9a82;
}

.hero-texture {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 72% 40%, rgba(194,100,60,.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(44,74,115,.5) 0%, transparent 50%),
    linear-gradient(160deg, #0a1322 0%, #122236 50%, #0a1322 100%);
}

/* Subtle horizontal lines */
.hero-lines {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 79px,
    rgba(194,100,60,.03) 79px, rgba(194,100,60,.03) 80px
  );
}

.hero-content { position: relative; z-index: 2; max-width: 820px; padding-bottom: 8px; text-shadow: 0 1px 28px rgba(5,12,22,.55); }

.eyebrow {
  font-size: 11px; font-weight: 400; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 32px;
  display: flex; align-items: center; gap: 18px;
}
.eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold); }

h1 {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(50px, 6.8vw, 96px);
  font-weight: 300; line-height: 1.08; letter-spacing: -.02em;
  margin-bottom: 40px;
}
h1 em { font-style: italic; color: var(--gold); font-weight: 300; }

.hero-lead {
  font-size: 17px; font-weight: 300; color: var(--mist);
  max-width: 500px; line-height: 1.8; margin-bottom: 56px;
}

.btn-main {
  font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); padding: 17px 50px;
  border: none; cursor: pointer; text-decoration: none;
  transition: background .3s, transform .25s;
}
.btn-main:hover { background: var(--gold-lt); transform: translateY(-1px); }

/* ══ BANDEAU DE CONFIANCE ══ */
.trust-bar {
  background: var(--cream); padding: 0; display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 56px 32px; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center;
  border-right: 1px solid #e6d8c2;
}
.trust-item:last-child { border-right: none; }
.trust-icon { color: var(--gold); width: 26px; height: 26px; }
.trust-icon svg { width: 100%; height: 100%; }
.trust-label {
  font-family: 'Bodoni Moda', serif; font-size: 19px; font-weight: 500;
  color: #122236; letter-spacing: .01em;
}
.trust-sub { font-size: 12px; color: #7a6552; line-height: 1.55; max-width: 260px; }

/* ══ SECTION BASE ══ */
section { padding: 160px 64px; scroll-margin-top: 130px; }

.tag {
  font-size: 11px; font-weight: 400; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
}
.tag::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

h2 {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(36px, 4.2vw, 62px); font-weight: 300; line-height: 1.16; letter-spacing: -.01em;
  margin-bottom: 28px;
}
h2 em { font-style: italic; color: var(--gold); }

.lead {
  font-size: 16px; font-weight: 300; color: var(--mist);
  max-width: 540px; line-height: 1.8;
}

/* ══ APPROCHE ══ */
#approche {
  background: var(--cream); color: var(--ink);
  border-top: 1px solid #e6d8c2;
  --charcoal: var(--white); --warm: var(--sand); --mist: #7a6552;
}

.approche-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: center; }

.approche-items { display: flex; flex-direction: column; gap: 0; margin-top: 56px; }

.a-item {
  display: flex; gap: 28px; padding: 32px 0;
  border-bottom: 1px solid rgba(194,100,60,.1);
}
.a-item:last-child { border-bottom: none; }

.a-n {
  font-family: 'Bodoni Moda', serif;
  font-size: 32px; font-weight: 300; color: var(--gold); opacity: .3; min-width: 36px; line-height: 1.1;
}
.a-body h3 { font-size: 15px; font-weight: 500; margin-bottom: 7px; letter-spacing: .01em; }
.a-body p { font-size: 13px; color: var(--mist); line-height: 1.65; }

/* Pipeline card */
.pipeline-card {
  background: var(--warm); border: 1px solid rgba(194,100,60,.18);
  padding: 48px; height: 480px; display: flex; flex-direction: column; justify-content: space-between;
}

.p-tag {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
}
.p-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.p-title {
  font-family: 'Bodoni Moda', serif;
  font-size: 26px; font-weight: 300; margin-bottom: 28px; line-height: 1.25;
}

.p-profiles { display: flex; flex-direction: column; gap: 10px; }

.p-profile {
  display: flex; align-items: center; gap: 14px;
  background: var(--charcoal); padding: 12px 16px;
  border: 1px solid rgba(194,100,60,.1); transition: border-color .2s;
}
.p-profile:hover { border-color: rgba(194,100,60,.3); }

.p-avatar {
  width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
}
.p-avatar img { width: 100%; height: 100%; object-fit: cover; }

.p-info { flex: 1; }
.p-name { font-size: 13px; font-weight: 500; }
.p-role { font-size: 11px; color: var(--mist); }

.p-status {
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #6fbf8a;
  display: flex; align-items: center; gap: 5px;
}
.p-status::before { content:''; width:5px; height:5px; border-radius:50%; background:#6fbf8a; }

.p-footer {
  padding-top: 20px; border-top: 1px solid rgba(194,100,60,.12);
  display: flex; justify-content: space-between; align-items: center;
}
.p-footer-l { font-size: 12px; color: var(--mist); }
.p-footer-r { font-size: 12px; color: var(--gold); }

/* ══ OFFRE PRIX ══ */
#offre {
  background: var(--ink);
  border-top: 1px solid rgba(194,100,60,.12);
}

.offre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }

.prix-cards { display: flex; flex-direction: column; gap: 16px; }

.prix-card {
  background: var(--charcoal); border: 1px solid rgba(255,255,255,.06);
  padding: 34px 38px; position: relative;
}
.prix-card.active { border-color: rgba(194,100,60,.4); }
.prix-badge {
  position: absolute; top: -1px; right: 20px;
  background: var(--gold); color: var(--ink);
  font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 14px;
}
.prix-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); margin-bottom: 12px; }
.prix-amount {
  font-family: 'Bodoni Moda', serif;
  font-size: 48px; font-weight: 300; line-height: 1; margin-bottom: 8px;
}
.prix-amount.crossed { color: rgba(255,255,255,.2); text-decoration: line-through; }
.prix-amount.active { color: var(--gold); }
.prix-desc { font-size: 12px; color: var(--mist); line-height: 1.6; }

.garantie {
  margin-top: 16px; background: rgba(194,100,60,.06);
  border: 1px solid rgba(194,100,60,.18); padding: 18px 22px;
  display: flex; gap: 14px; align-items: center;
}
.garantie-icon { font-size: 22px; flex-shrink: 0; }
.garantie-text { font-size: 12px; color: var(--mist); line-height: 1.6; }
.garantie-text strong { color: var(--cream); font-weight: 500; }

/* ══ SECTEURS ══ */
#secteurs {
  background: #0a1628; color: #f5f0e8;
  border-top: 1px solid rgba(255,255,255,.12);
  --mist: rgba(245,240,232,.65);
  --charcoal: rgba(255,255,255,.05);
  --warm: rgba(255,255,255,.1);
}
#secteurs h2 { color: #f5f0e8; }
#secteurs .lead { color: rgba(245,240,232,.65); }
#secteurs .ind-card h3 { color: #f5f0e8; }
#secteurs .ind-card p { color: rgba(245,240,232,.55); }

/* Grille éditoriale : les photos portent la section, pas de cadres ni de cartes */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; background: none; border: none; }

.ind-card { background: none; padding: 0; overflow: hidden; }
.ind-card:hover { background: none; }

.ind-card .ind-img,
.ind-card > img { display: block; width: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.16,1,.3,1); will-change: transform; }
.ind-card:hover .ind-img,
.ind-card:hover > img { transform: scale(1.07); }

.ind-n { display: none; }

.ind-card h3 {
  font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  margin-top: 24px; margin-bottom: 8px;
}
.ind-card p { font-size: 12.5px; color: var(--mist); line-height: 1.6; }

/* ══ ÉQUIPE ══ */
#equipe {
  background: var(--cream); color: var(--ink);
  border-top: 1px solid #e6d8c2;
  --charcoal: var(--white); --warm: var(--sand); --mist: #7a6552;
}

.p-avatar { background: #f6efe2; }
.p-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; display: block; }


/* Fondateur — portrait éditorial */
.founder-block { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: center; max-width: 940px; margin-top: 48px; }
.founder-photo { overflow: hidden; }
.founder-photo img {
  width: 100%; height: 520px; object-fit: cover; display: block;
  filter: grayscale(.12) saturate(.92) brightness(.99) contrast(1.02);
  transition: transform 1.1s cubic-bezier(.16,1,.3,1);
}
.founder-photo:hover img { transform: scale(1.04); }
.founder-title { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.founder-name { font-family: 'Bodoni Moda', serif; font-size: clamp(30px,3vw,40px); font-weight: 400; margin-bottom: 22px; }
.founder-bio p { font-size: 14.5px; color: var(--mist); line-height: 1.85; max-width: 480px; }
@media (max-width: 800px) {
  .founder-block { grid-template-columns: 1fr; gap: 32px; max-width: 420px; }
  .founder-photo img { height: 440px; }
}

/* Staff cards */
.staff-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(194,100,60,.12); border: 1px solid rgba(194,100,60,.12); max-width: 860px; margin-top: 56px; }

.staff-card {
  background: var(--charcoal); padding: 44px 32px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: background .4s;
}
.staff-card:hover { background: var(--warm); }

.staff-photo {
  width: 120px; height: 120px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 2px solid rgba(194,100,60,.18); transition: border-color .3s, box-shadow .3s;
  background: #f6efe2; margin: 0 auto 16px;
}
.staff-card:hover .staff-photo { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(194,100,60,.1); }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 5%; display: block; transform: scale(1.55); transform-origin: 50% 10%; }

.s-name {
  font-family: 'Bodoni Moda', serif;
  font-size: 22px; font-weight: 400; margin-bottom: 2px;
}
.s-title { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.s-roles { display: flex; flex-direction: column; gap: 5px; }
.s-role { font-size: 12px; color: var(--mist); display: flex; gap: 8px; }
.s-role::before { content: '—'; color: var(--gold); flex-shrink: 0; }

/* ══ PROCESSUS ══ */
#processus { background: var(--ink); border-top: 1px solid rgba(194,100,60,.12); }

.process-header { text-align: center; max-width: 560px; margin: 0 auto 96px; }
.process-header .tag { justify-content: center; }
.process-header .tag::before { display: none; }

.process-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0 32px; position: relative; margin-bottom: 72px; }

.process-steps::before {
  content: ''; position: absolute; top: 30px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(194,100,60,.25), rgba(194,100,60,.25), transparent);
}

.step { padding: 0 20px; text-align: center; }
.step-n {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--warm); border: 1px solid rgba(194,100,60,.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; position: relative; z-index: 1;
  font-family: 'Bodoni Moda', serif; font-size: 24px; color: var(--gold);
}
.step h3 { font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.step p { font-size: 12px; color: var(--mist); line-height: 1.65; }

/* ══ CITATION ══ */
#presentation { background: #121c2c; padding: 0; min-height: 100vh; display: flex; }
.video-frame { width: 100%; overflow: hidden; }
.video-frame video { display: block; width: 100%; height: 100vh; object-fit: cover; background: #121c2c; }

@media (max-width: 768px) {
  .video-frame video { height: 56.25vw; min-height: 240px; }
  #presentation { min-height: auto; }
}

#citation {
  background: var(--white); color: var(--ink);
  border-top: 1px solid #e6d8c2; padding: 170px 64px; text-align: center;
  --mist: #7a6552;
}
#citation .cit-sign { color: var(--gold); }

.cit-inner { max-width: 780px; margin: 0 auto; }
.cit-inner .tag { justify-content: center; }
.cit-inner .tag::before { display: none; }

.cit-text {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(28px, 3.6vw, 48px); font-weight: 300; line-height: 1.48; letter-spacing: -.01em;
  margin-bottom: 48px;
}
.cit-text em { font-style: italic; color: var(--gold); }

.cit-line { width: 44px; height: 1px; background: var(--gold); margin: 0 auto 40px; }

.cit-body { font-size: 15px; color: var(--mist); line-height: 1.8; max-width: 580px; margin: 0 auto; }
.cit-body + .cit-body { margin-top: 18px; }
.cit-sign {
  font-family: 'Bodoni Moda', serif; font-style: italic; font-size: 15px;
  color: var(--gold-lt); margin-top: 36px;
}

/* ══ CONTACT ══ */
#contact {
  background: #f6efe2; color: var(--ink);
  border-top: 1px solid #e6d8c2;
  --charcoal: var(--white); --mist: #7a6552; --cream: var(--ink);
}
#contact .f-group input, #contact .f-group select, #contact .f-group textarea { border-color: #e0d2ba; }
#contact .f-group input:focus, #contact .f-group select:focus, #contact .f-group textarea:focus { border-color: var(--gold); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: start; }

.c-infos { margin-top: 56px; display: flex; flex-direction: column; gap: 26px; }
.c-info { display: flex; gap: 20px; }
.c-label { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); min-width: 76px; padding-top: 2px; }
.c-val { font-size: 14px; color: var(--mist); }

.contact-panel { display: flex; flex-direction: column; }

.tab-switch { display: flex; border-bottom: 1px solid #e0d2ba; margin-bottom: 28px; }
.tab-btn {
  flex: 1; background: none; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: #7a6552; padding: 0 0 16px; position: relative; transition: color .25s;
}
.tab-btn::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .25s;
}
.tab-btn:hover { color: #122236; }
.tab-btn.active { color: #122236; }
.tab-btn.active::after { transform: scaleX(1); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.f-group input[type="file"] { padding: 11px 15px; cursor: pointer; }

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-group { display: flex; flex-direction: column; gap: 7px; }
.f-group label { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--mist); }
.f-group input, .f-group select, .f-group textarea {
  background: var(--charcoal); border: 1px solid rgba(194,100,60,.18);
  color: var(--cream); font-family: 'Helvetica Neue', 'Inter', Arial, sans-serif; font-size: 14px;
  padding: 13px 15px; outline: none; transition: border-color .2s; appearance: none;
}
.f-group input:focus, .f-group select:focus, .f-group textarea:focus { border-color: rgba(194,100,60,.5); }
.f-group textarea { resize: vertical; min-height: 110px; }
.f-group select option { background: var(--charcoal); }

/* ══ FOOTER ══ */
footer {
  background: #fff; border-top: 1px solid #e8e0d6;
  padding: 64px 64px 44px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; align-items: start;
}
.f-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.f-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: 1px solid #e6d8c2; color: #7a6552;
  transition: color .2s, border-color .2s;
}
.f-social svg { width: 16px; height: 16px; }
.f-social:hover { color: var(--gold); border-color: var(--gold); }
.f-logo { font-family: 'Bodoni Moda', serif; font-size: 20px; color: #122236; text-decoration: none; letter-spacing: .06em; }
.f-logo span { color: var(--gold); font-style: italic; }
.f-copy { font-size: 12px; color: #7a6552; letter-spacing: .04em; line-height: 1.6; max-width: 320px; }
.f-col-title { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #122236; font-weight: 500; margin-bottom: 18px; }
.f-links { display: flex; gap: 34px; list-style: none; }
.f-links-col { flex-direction: column; gap: 12px; }
.f-links a { font-size: 12px; color: #7a6552; text-decoration: none; letter-spacing: .04em; transition: color .25s; }
.f-links a:hover { color: #122236; }

/* ══ HAMBURGER ══ */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #122236; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: #f6efe2; z-index: 200; flex-direction: column;
  align-items: center; justify-content: center; gap: 36px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 22px; font-family: 'Bodoni Moda', serif;
  font-weight: 300; color: #122236; text-decoration: none;
  letter-spacing: .04em;
}
.mobile-menu-close {
  position: absolute; top: 24px; right: 24px;
  font-size: 28px; background: none; border: none;
  color: #122236; cursor: pointer; line-height: 1;
}

/* ══ RESPONSIVE TABLET ══ */
@media (max-width: 960px) {
  nav { padding: 14px 24px; }
  .nav-links, .nav-btn { display: none; }
  .hamburger { display: flex; }

  #nav-tagline { padding: 5px 24px !important; }
  #nav-tagline span:last-child,
  #nav-tagline span:nth-child(3) { display: none; }
  #nav-tagline span:first-child { font-size: 9px !important; }
  #nav-tagline span:nth-child(2) { display: none; }

  section { padding: 88px 24px; }
  #hero { padding: 170px 24px 72px; min-height: auto; }
  #citation { padding: 80px 24px; }

  h1 { font-size: clamp(30px, 6vw, 44px); }
  h2 { font-size: clamp(26px, 5vw, 38px); }

  .hero-content { max-width: 100%; }
  .hero-lead { font-size: 15px; }

  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: none; border-bottom: 1px solid #e6d8c2; }
  .trust-item:nth-child(2n) { border-right: none; }

  .approche-grid { grid-template-columns: 1fr; gap: 48px; }
  .pipeline-card { height: auto; }

  .offre-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }


  .staff-grid { grid-template-columns: repeat(2, 1fr) !important; max-width: 100%; }

  .ind-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  footer { grid-template-columns: 1fr; gap: 36px; text-align: center; padding: 48px 24px; }
  .f-brand { align-items: center; }
  .f-copy { max-width: 100%; }
  .f-links { flex-wrap: wrap; justify-content: center; }
  .f-links-col { align-items: center; }
  .f-row { grid-template-columns: 1fr; }
}

/* ══ RESPONSIVE MOBILE ══ */
@media (max-width: 600px) {
  nav { padding: 12px 20px; }
  .logo img { height: 52px !important; }

  #nav-tagline { padding: 4px 20px !important; }

  section { padding: 56px 20px; }
  #hero { padding: 140px 20px 56px; }
section { scroll-margin-top: 100px; }
  #citation { padding: 64px 20px; }

  h1 { font-size: clamp(26px, 7vw, 36px); line-height: 1.15; }
  h2 { font-size: clamp(22px, 6vw, 30px); }

  .hero-lead { font-size: 14px; }

  .trust-bar { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid #e6d8c2; }
  .trust-item:last-child { border-bottom: none; }

  .staff-grid { grid-template-columns: 1fr !important; }

  .ind-grid { grid-template-columns: 1fr; }

  .approche-items .a-item { padding: 20px 0; }

  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .process-steps::before { display: none; }

  .cit-text { font-size: clamp(20px, 5vw, 28px); }

  .f-group input, .f-group select, .f-group textarea { font-size: 16px; }

  footer { padding: 28px 20px; }
}

/* ══ CHATBOT ══ */
.tg-chat-launcher {
  position: fixed; bottom: 28px; right: 28px; z-index: 300;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--gold); color: var(--ink); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(10,19,34,.3);
  transition: transform .25s, background .25s;
}
.tg-chat-launcher:hover { background: var(--gold-lt); transform: translateY(-2px); }
.tg-chat-launcher svg { width: 25px; height: 25px; display: block; }
.tg-chat-launcher.open svg.tg-ic-chat { display: none; }
.tg-chat-launcher:not(.open) svg.tg-ic-close { display: none; }

.tg-chat-panel {
  position: fixed; bottom: 100px; right: 28px; z-index: 300;
  width: 368px; max-width: calc(100vw - 32px); height: 500px; max-height: 72vh;
  background: var(--white); border: 1px solid #e6d8c2; box-shadow: 0 26px 64px rgba(10,19,34,.3);
  display: none; flex-direction: column; overflow: hidden;
  font-family: 'Helvetica Neue', 'Inter', Arial, sans-serif;
}
.tg-chat-panel.open { display: flex; }

.tg-chat-head { background: var(--ink); color: var(--cream); padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.tg-chat-head-name { font-family: 'Bodoni Moda', serif; font-size: 18px; }
.tg-chat-head-name span { color: var(--gold-lt); font-style: italic; }
.tg-chat-head-sub { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,239,226,.55); margin-top: 3px; }
.tg-chat-close { background: none; border: none; color: var(--cream); font-size: 20px; cursor: pointer; line-height: 1; opacity: .65; padding: 0; }
.tg-chat-close:hover { opacity: 1; }

.tg-chat-body { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; background: var(--cream); }
.tg-chat-msg { max-width: 86%; font-size: 13px; line-height: 1.6; padding: 11px 14px; }
.tg-chat-msg.bot { background: var(--white); border: 1px solid #e6d8c2; align-self: flex-start; color: var(--ink); }
.tg-chat-msg.user { background: var(--ink); color: var(--cream); align-self: flex-end; }
.tg-chat-msg a { color: var(--gold); }
.tg-chat-quick { display: flex; flex-direction: column; gap: 8px; align-self: stretch; margin-top: 2px; }
.tg-chat-chip {
  font-size: 12px; padding: 9px 14px; background: var(--white); border: 1px solid var(--gold);
  color: var(--ink); cursor: pointer; transition: background .2s, color .2s; text-align: left;
}
.tg-chat-chip:hover { background: var(--gold); }
.tg-chat-typing { display: flex; gap: 4px; align-self: flex-start; padding: 12px 14px; background: var(--white); border: 1px solid #e6d8c2; }
.tg-chat-typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--mist); animation: tgTypingBlink 1.2s infinite ease-in-out; }
.tg-chat-typing span:nth-child(2) { animation-delay: .2s; }
.tg-chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes tgTypingBlink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.tg-chat-foot { border-top: 1px solid #e6d8c2; padding: 12px; display: flex; gap: 8px; background: var(--white); flex-shrink: 0; }
.tg-chat-foot input {
  flex: 1; border: 1px solid #e6d8c2; padding: 10px 12px; font-size: 13px; outline: none;
  font-family: 'Helvetica Neue', 'Inter', Arial, sans-serif; background: var(--cream); color: var(--ink);
}
.tg-chat-foot input:focus { border-color: var(--gold); }
.tg-chat-send { background: var(--gold); border: none; color: var(--ink); padding: 0 16px; cursor: pointer; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.tg-chat-send:hover { background: var(--gold-lt); }

@media (max-width: 600px) {
  .tg-chat-panel { right: 12px; left: 12px; width: auto; bottom: 88px; height: 64vh; }
  .tg-chat-launcher { right: 16px; bottom: 16px; }
}

/* ══ AJOUTS PAGES SEO ══ */
h1.page-h1 { font-size: clamp(34px, 4.2vw, 58px); }
.breadcrumb { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); margin-bottom: 22px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--mist); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--gold-lt); }
.breadcrumb span.sep { opacity: .5; }
.breadcrumb span.current { color: var(--cream); }
.faq-item { border-top: 1px solid rgba(194,100,60,.15); padding: 28px 0; }
.faq-item:last-child { border-bottom: 1px solid rgba(194,100,60,.15); }
.faq-q { font-size: 18px; font-weight: 500; margin-bottom: 10px; font-family: 'Bodoni Moda', serif; }
.faq-a { font-size: 14px; color: var(--mist); line-height: 1.75; max-width: 760px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(194,100,60,.12); border: 1px solid rgba(194,100,60,.12); margin-top: 8px; }
.related-card { background: var(--charcoal); padding: 30px 28px; text-decoration: none; display: block; transition: background .2s; }
.related-card:hover { background: var(--warm); }
.related-card .r-tag { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.related-card h4 { font-size: 16px; font-weight: 500; margin-bottom: 8px; font-family: 'Bodoni Moda', serif; }
.related-card p { font-size: 13px; color: var(--mist); line-height: 1.6; margin: 0; }
.page-cta { background: var(--charcoal); border-top: 1px solid rgba(194,100,60,.12); text-align: center; }
.page-cta-inner { max-width: 640px; margin: 0 auto; }
@media (max-width: 880px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ══ IMAGE ÉDITORIALE (pages SEO) ══ */
.page-image { position: relative; padding: 0; height: 460px; overflow: hidden; border-top: 1px solid rgba(194,100,60,.12); border-bottom: 1px solid rgba(194,100,60,.12); }
.page-image img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.1) saturate(.92) brightness(.98) contrast(1.02); }
.page-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,19,34,0) 40%, var(--charcoal) 100%); pointer-events: none; }
@media (max-width: 880px) {
  .page-image { height: 320px; }
}
@media (max-width: 600px) {
  .page-image { height: 240px; }
}

/* ══ LIENS CONTEXTUELS INTERNES (page d'accueil) ══ */
.ctx-link { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(194,100,60,.35); transition: border-color .2s, color .2s; }
.ctx-link:hover { border-color: var(--gold); color: var(--gold-lt); }

/* ══ ÉTUDE DE RÉMUNÉRATION ══ */
.remu-grid { display: flex; flex-direction: column; gap: 1px; background: rgba(194,100,60,.12); border: 1px solid rgba(194,100,60,.12); margin-top: 32px; }
.remu-item { background: var(--warm); padding: 28px 30px; }
.remu-role { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 500; color: var(--white); margin-bottom: 18px; }
.remu-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.remu-k { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; display: block; }
.remu-v { font-size: 14.5px; color: var(--cream); line-height: 1.5; display: block; }
.remu-note { font-size: 11.5px; font-style: italic; color: var(--mist); margin-top: 14px; opacity: .85; }
@media (max-width: 700px) {
  .remu-stats { grid-template-columns: 1fr; gap: 14px; }
}
