/* =========================================================
   FIDUSTIÉ — Feuille de style principale
   Palette : bleu nuit + or (charte existante, affinée)
   ========================================================= */
:root {
  --navy-900: #131d29;
  --navy-800: #1b2838;
  --navy-700: #2c3e50;   /* couleur historique de la marque */
  --navy-600: #3b5067;
  --gold: #d4af37;       /* or historique */
  --gold-light: #e8cc6e;
  --gold-dark: #b8962a;
  --cream: #faf8f3;
  --paper: #ffffff;
  --ink: #1b2838;
  --muted: #5d6b7a;
  --line: #e7e3d8;
  --success: #1f8a5b;
  --error: #c0392b;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(19,29,41,.06), 0 2px 8px rgba(19,29,41,.04);
  --shadow-md: 0 10px 30px -10px rgba(19,29,41,.18);
  --shadow-lg: 0 30px 60px -20px rgba(19,29,41,.35);
  --ease: cubic-bezier(.2,.7,.2,1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--navy-900); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
em.gold, .gold { color: var(--gold); font-style: italic; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 10px; background: var(--gold); color: var(--navy-900); padding: 10px 16px; border-radius: 8px; z-index: 200; font-weight: 600; }
.skip-link:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- Barre de progression de lecture ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); z-index: 120; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 18px 0;
}
.header.scrolled, .header.solid {
  background: rgba(19,29,41,.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(212,175,55,.25);
  padding: 10px 0;
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-logo {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-700); border: 1px solid rgba(212,175,55,.5); padding: 5px; overflow: hidden;
  font-family: var(--font-display); color: var(--gold); font-weight: 700; font-size: 20px;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-family: var(--font-body); font-weight: 800; letter-spacing: .14em; font-size: 18px; line-height: 1; }
.brand-tag { display: block; font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; color: rgba(255,255,255,.82); font-size: 15px; font-weight: 500;
  padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav a.active { color: var(--gold); }
.nav a.active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); transform: translateX(-50%); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15.5px;
  border: 0; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 8px 24px -8px rgba(212,175,55,.65); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(212,175,55,.75); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 14.5px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(212,175,55,.4); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--gold); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--navy-900);
  display: flex; flex-direction: column; justify-content: center; padding: 100px 32px 40px; gap: 6px;
  clip-path: circle(0% at calc(100% - 44px) 40px); transition: clip-path .6s var(--ease); visibility: hidden;
}
.mobile-menu.open { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; }
.mobile-menu a:not(.btn) { font-family: var(--font-display); font-size: 34px; color: #fff; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .4s var(--ease), color .2s; }
.mobile-menu a:not(.btn):hover { color: var(--gold); }
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu.open a:nth-child(2) { transition-delay: .05s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .1s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .15s; }
.mobile-menu.open a:nth-child(5) { transition-delay: .2s; }
.mobile-menu .btn { margin-top: 28px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  background: var(--navy-900); color: #fff; overflow: hidden; padding: 130px 0 90px;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero-bg .b1 { width: 520px; height: 520px; background: radial-gradient(circle, #3b5067, transparent 70%); top: -120px; left: -120px; animation: float1 18s ease-in-out infinite; }
.hero-bg .b2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(212,175,55,.45), transparent 70%); bottom: -160px; right: 8%; animation: float2 22s ease-in-out infinite; }
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero-bg .diamond { position: absolute; border: 1.5px solid rgba(212,175,55,.35); transform: rotate(45deg); }
.hero-bg .d1 { width: 380px; height: 380px; top: -140px; right: -100px; animation: spin 60s linear infinite; }
.hero-bg .d2 { width: 180px; height: 180px; bottom: 12%; left: 46%; border-color: rgba(149,165,166,.25); animation: spin 45s linear infinite reverse; }
@keyframes float1 { 50% { transform: translate(80px, 60px); } }
@keyframes float2 { 50% { transform: translate(-70px, -50px); } }
@keyframes spin { to { transform: rotate(405deg); } }

.hero .container { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.3); color: var(--gold);
  font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; background: rgba(212,175,55,.18); display: grid; place-items: center; }
.eyebrow .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(212,175,55,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(212,175,55,0); } 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); } }

.hero h1 { font-size: clamp(42px, 6.2vw, 78px); margin: 26px 0 24px; font-weight: 500; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero-lead { font-size: 19px; color: rgba(255,255,255,.72); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 52px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-trust div { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: rgba(255,255,255,.72); }
.hero-trust .icon { color: var(--gold); width: 22px; height: 22px; }
.hero-trust strong { display: block; color: #fff; font-weight: 600; }

.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp .9s var(--ease) forwards; }
.delay-1 { animation-delay: .35s; } .delay-2 { animation-delay: .5s; } .delay-3 { animation-delay: .65s; } .delay-4 { animation-delay: .8s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Carte de visite 3D */
.card-wrap { perspective: 1200px; position: relative; }
.biz-card {
  position: relative; background: linear-gradient(155deg, #fff 0%, #f6f2e7 100%); color: var(--ink);
  border-radius: 22px; padding: 30px; box-shadow: var(--shadow-lg);
  transform-style: preserve-3d; transition: transform .15s ease-out; will-change: transform;
}
.biz-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--gold), transparent 40%, transparent 60%, var(--gold)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.biz-card .shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.7), transparent 45%); mix-blend-mode: soft-light; }
.biz-top { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.biz-top .brand-logo { width: 54px; height: 54px; }
.biz-top h3 { font-family: var(--font-body); font-weight: 800; letter-spacing: .14em; font-size: 19px; }
.biz-top p { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.biz-rows { padding: 18px 0; display: grid; gap: 14px; font-size: 14.5px; }
.biz-rows div { display: flex; justify-content: space-between; gap: 16px; }
.biz-rows span:first-child { color: var(--muted); }
.biz-rows span:last-child { font-weight: 600; text-align: right; }
.biz-status { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 13.5px; color: var(--muted); }
.badge-open { display: inline-flex; align-items: center; gap: 8px; color: var(--success); background: #e7f6ee; padding: 5px 12px; border-radius: 999px; font-weight: 600; font-size: 12.5px; }
.badge-open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse-g 2s infinite; }
@keyframes pulse-g { 0% { box-shadow: 0 0 0 0 rgba(31,138,91,.6); } 70% { box-shadow: 0 0 0 8px rgba(31,138,91,0); } 100% { box-shadow: 0 0 0 0 rgba(31,138,91,0); } }
.float-badge {
  position: absolute; left: -28px; bottom: -26px; background: var(--gold); color: var(--navy-900);
  padding: 14px 18px; border-radius: 16px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-md);
  animation: bob 5s ease-in-out infinite; font-size: 13px; line-height: 1.35;
}
.float-badge strong { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.float-badge .icon { width: 28px; height: 28px; }
@keyframes bob { 50% { transform: translateY(-8px); } }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 20px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold); border-radius: 2px; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--gold); color: var(--navy-900); overflow: hidden; padding: 16px 0; border-block: 1px solid var(--gold-dark); }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-size: 21px; font-style: italic; padding: 0 26px; white-space: nowrap; display: flex; align-items: center; gap: 52px; }
.marquee span::after { content: "◆"; font-size: 10px; font-style: normal; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 120px 0; }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 18px; }
.kicker::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section-head.center .kicker::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 500; }
.section-head p { margin-top: 20px; color: var(--muted); font-size: 18.5px; }

/* Apparition au scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- À propos ---------- */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: center; }
.portrait {
  position: relative; aspect-ratio: 4/5; border-radius: 28px; overflow: hidden; background: var(--navy-800);
  box-shadow: var(--shadow-lg);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: rgba(255,255,255,.5); font-size: 14px; background: radial-gradient(circle at 30% 20%, var(--navy-600), var(--navy-900)); }
.portrait-placeholder .mono { font-family: var(--font-display); font-size: 120px; color: var(--gold); line-height: 1; font-style: italic; }
.portrait-caption {
  position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(19,29,41,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 18px 20px; color: #fff;
}
.portrait-caption strong { font-family: var(--font-display); font-size: 22px; font-weight: 500; display: block; }
.portrait-caption span { font-size: 13.5px; color: var(--gold); letter-spacing: .04em; }
.philo {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: 44px 40px; color: #fff;
  background: radial-gradient(circle at 20% 0%, var(--navy-600), var(--navy-900) 70%); box-shadow: var(--shadow-lg);
}
.philo::before { content: ""; position: absolute; width: 240px; height: 240px; border: 1.5px solid rgba(212,175,55,.3); transform: rotate(45deg); right: -110px; bottom: -110px; z-index: -1; animation: spin 50s linear infinite; }
.philo-glow { position: absolute; width: 300px; height: 300px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(212,175,55,.28), transparent 65%); z-index: -1; animation: float2 14s ease-in-out infinite; }
.philo-logo { width: 58px; height: 58px; margin-bottom: 28px; }
.philo h3 { font-size: 34px; font-weight: 500; margin-bottom: 16px; }
.philo > p { color: rgba(255,255,255,.7); font-size: 16px; }
.philo ul { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; }
.philo li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: rgba(255,255,255,.9); }
.philo li .icon { color: var(--gold); width: 20px; height: 20px; margin-top: 2px; }
.philo-sign { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.philo-sign strong { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.philo-sign span { font-size: 13.5px; color: var(--gold); }
.about-deco { position: absolute; width: 140px; height: 140px; border: 1.5px solid var(--gold); transform: rotate(45deg); top: -30px; right: -30px; z-index: -1; opacity: .5; }
.about-visual { position: relative; z-index: 0; }

.about-text p { color: var(--muted); margin-bottom: 18px; }
.about-text p strong { color: var(--ink); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px 0; }
.value { padding: 20px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.value:hover { transform: translateY(-4px); border-color: var(--gold); }
.value .icon { width: 28px; height: 28px; color: var(--gold-dark); margin-bottom: 12px; }
.value h4 { font-family: var(--font-body); font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.value p { font-size: 13.5px; margin: 0; line-height: 1.5; }
blockquote.quote {
  margin: 0; padding: 28px 30px; border-radius: var(--radius); background: var(--navy-800); color: #fff; position: relative; overflow: hidden;
}
blockquote.quote::before { content: "“"; position: absolute; top: -30px; right: 18px; font-family: var(--font-display); font-size: 180px; color: var(--gold); opacity: .25; line-height: 1; }
blockquote.quote p { font-family: var(--font-display); font-size: 21px; font-style: italic; line-height: 1.45; color: #fff; margin: 0; position: relative; }
blockquote.quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 14px; color: var(--gold); font-weight: 600; }

/* ---------- Services ---------- */
.services { background: var(--cream); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px 26px;
  display: flex; flex-direction: column; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.service::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(212,175,55,.12), transparent 50%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(212,175,55,.6); }
.service:hover::before { opacity: 1; }
.service-num { position: absolute; top: 24px; right: 28px; font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--muted); }
.service-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--navy-800); color: var(--gold); display: grid; place-items: center; margin-bottom: 26px; transition: background .35s, color .35s, transform .35s var(--ease); }
.service:hover .service-icon { background: var(--gold); color: var(--navy-900); transform: rotate(-6deg) scale(1.05); }
.service-icon .icon { width: 26px; height: 26px; }
.service h3 { font-size: 25px; font-weight: 500; margin-bottom: 12px; }
.service > p { color: var(--muted); font-size: 15.5px; flex-grow: 1; }
.service-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.service-more > div { overflow: hidden; }
.service-more ul { list-style: none; padding: 18px 0 0; margin: 0; display: grid; gap: 9px; font-size: 14.5px; }
.service-more li { display: flex; gap: 10px; align-items: flex-start; }
.service-more li .icon { color: var(--gold-dark); width: 18px; height: 18px; margin-top: 3px; }
.service.open .service-more { grid-template-rows: 1fr; }
.service-toggle {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); background: none; border-left: 0; border-right: 0; border-bottom: 0;
  display: flex; align-items: center; justify-content: space-between; width: 100%; cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--ink); text-align: left;
}
.service-toggle .plus { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s, border-color .3s; }
.service-toggle:hover .plus { background: var(--gold); border-color: var(--gold); }
.service.open .service-toggle .plus { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); }
.service.featured { background: var(--navy-800); color: #fff; border-color: var(--navy-700); }
.service.featured > p, .service.featured .service-num { color: rgba(255,255,255,.65); }
.service.featured .service-icon { background: var(--gold); color: var(--navy-900); }
.service.featured .service-toggle { color: #fff; border-color: rgba(255,255,255,.12); }
.service.featured .service-toggle .plus { border-color: rgba(255,255,255,.25); }
.service.featured .service-more li .icon { color: var(--gold); }

/* ---------- Secteurs ---------- */
.sectors { background: var(--navy-900); color: #fff; overflow: hidden; }
.sectors .section-head p { color: rgba(255,255,255,.65); }
.sectors .kicker { color: var(--gold); }
.sectors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.sector { background: var(--navy-900); padding: 38px 30px; position: relative; transition: background .4s; min-height: 280px; display: flex; flex-direction: column; }
.sector:hover { background: var(--navy-800); }
.sector .icon { width: 36px; height: 36px; color: var(--gold); margin-bottom: auto; transition: transform .4s var(--ease); }
.sector:hover .icon { transform: translateY(-6px) scale(1.1); }
.sector h3 { font-size: 24px; font-weight: 500; margin: 40px 0 10px; }
.sector p { font-size: 14.5px; color: rgba(255,255,255,.62); }
.sector::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--gold); transition: width .5s var(--ease); }
.sector:hover::after { width: 100%; }

/* ---------- Méthode ---------- */
.method { background: var(--paper); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.steps-line { position: absolute; top: 31px; left: 12%; right: 12%; height: 2px; background: var(--line); }
.steps-line i { position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num { width: 64px; height: 64px; margin: 0 auto 26px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); display: grid; place-items: center; font-family: var(--font-display); font-size: 24px; font-style: italic; position: relative; z-index: 1; transition: border-color .4s, background .4s, color .4s; }
.step.lit .step-num { border-color: var(--gold); background: var(--gold); color: var(--navy-900); }
.step h3 { font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.faq-grid .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s, box-shadow .3s; }
.faq-item.open { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; background: none; border: 0; cursor: pointer; text-align: left; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 600; font-size: 17px; }
.faq-q .plus { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--gold); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Bandeau CTA ---------- */
.cta-band { padding: 0 0 120px; background: var(--cream); }
.cta-box {
  position: relative; overflow: hidden; border-radius: 32px; padding: 72px 64px; background: var(--navy-800); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; isolation: isolate;
}
.cta-box::before { content: ""; position: absolute; width: 500px; height: 500px; right: -150px; top: -200px; background: radial-gradient(circle, rgba(212,175,55,.35), transparent 65%); z-index: -1; animation: float2 16s ease-in-out infinite; }
.cta-box::after { content: ""; position: absolute; width: 260px; height: 260px; left: 40%; bottom: -170px; border: 1.5px solid rgba(212,175,55,.35); transform: rotate(45deg); z-index: -1; }
.cta-box h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 500; max-width: 620px; }
.cta-box p { color: rgba(255,255,255,.7); margin-top: 14px; max-width: 560px; }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 36px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--cream); transition: border-color .3s, transform .3s var(--ease); }
a.contact-card:hover { border-color: var(--gold); transform: translateX(6px); }
.contact-card .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--navy-800); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.contact-card small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-card strong { font-weight: 600; font-size: 16px; }

.form-box { background: var(--cream); border: 1px solid var(--line); border-radius: 28px; padding: 44px; box-shadow: var(--shadow-sm); }
.form-box h3 { font-size: 30px; font-weight: 500; margin-bottom: 8px; }
.form-box > p { color: var(--muted); margin-bottom: 30px; font-size: 15.5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; margin-bottom: 8px; }
.field label .req { color: var(--gold-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .2s, box-shadow .2s; outline: none; font-size: 16px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,.18); }
.field.invalid input, .field.invalid textarea { border-color: var(--error); }
.field .err { display: none; color: var(--error); font-size: 13px; margin-top: 6px; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 24px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold-dark); flex-shrink: 0; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.consent.invalid { color: var(--error); }
.hp { position: absolute; left: -9999px; }
.form-box .btn { width: 100%; padding: 17px; font-size: 16px; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(19,29,41,.3); border-top-color: var(--navy-900); border-radius: 50%; animation: rot .7s linear infinite; display: none; }
@keyframes rot { to { transform: rotate(360deg); } }
.btn.loading .spinner { display: inline-block; }
.btn.loading .icon { display: none; }
.form-msg { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 14px; font-size: 15px; font-weight: 500; align-items: center; gap: 12px; }
.form-msg.ok { display: flex; background: #e7f6ee; color: var(--success); border: 1px solid #bfe5d1; }
.form-msg.ko { display: flex; background: #fbeceb; color: var(--error); border: 1px solid #f1c6c2; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.62); padding: 90px 0 30px; font-size: 15px; position: relative; overflow: hidden; }
.footer-big { font-family: var(--font-display); font-size: clamp(60px, 13vw, 190px); line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(212,175,55,.22); letter-spacing: .02em; text-align: center; margin: 60px 0 10px; user-select: none; white-space: nowrap; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer h4 { font-family: var(--font-body); color: var(--gold); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer .brand { margin-bottom: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }

.to-top { position: fixed; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; background: var(--gold); color: var(--navy-900); display: grid; place-items: center; box-shadow: var(--shadow-md); z-index: 80; opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .35s, transform .35s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold-light); }

/* ---------- Pages légales ---------- */
.page-hero { background: var(--navy-900); color: #fff; padding: 170px 0 90px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero .diamond { position: absolute; width: 320px; height: 320px; border: 1.5px solid rgba(212,175,55,.3); transform: rotate(45deg); right: -80px; top: -60px; z-index: -1; animation: spin 60s linear infinite; }
.page-hero h1 { font-size: clamp(40px, 5.5vw, 66px); font-weight: 500; margin-top: 14px; }
.page-hero p { color: rgba(255,255,255,.65); margin-top: 16px; max-width: 620px; }
.page-hero .kicker { color: var(--gold); }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,.55); display: flex; gap: 8px; align-items: center; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold); }
.legal { padding: 80px 0 120px; }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.toc { position: sticky; top: 110px; display: grid; gap: 4px; font-size: 14.5px; }
.toc strong { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc a { padding: 8px 14px; border-left: 2px solid var(--line); color: var(--muted); transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.active { color: var(--ink); border-color: var(--gold); }
.legal-body { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 56px; }
.legal-body section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.legal-body section:last-of-type { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.legal-body h2 { font-size: 28px; font-weight: 500; margin-bottom: 16px; display: flex; gap: 14px; align-items: baseline; }
.legal-body h2 span { font-style: italic; color: var(--gold-dark); font-size: 20px; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 16px; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { padding-left: 20px; margin: 12px 0 0; display: grid; gap: 6px; }
.legal-body strong { color: var(--ink); }
.legal-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.info-table { display: grid; grid-template-columns: 220px 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 8px; }
.info-table div { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.info-table div:nth-child(odd) { background: var(--cream); font-weight: 600; color: var(--ink); }
.info-table div:nth-child(even) { color: var(--muted); }
.info-table div:nth-last-child(-n+2) { border-bottom: 0; }
.updated { margin-top: 40px; font-size: 14px; color: var(--muted); }
.back-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-weight: 600; }
.back-link:hover { color: var(--gold-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav, .header .btn-sm { display: none; }
  .burger { display: block; }
  .hero { padding: 120px 0 80px; }
  .hero .container, .about-grid, .faq-grid, .contact-grid, .legal-grid { grid-template-columns: 1fr; gap: 48px; }
  .card-wrap { max-width: 460px; }
  .float-badge { left: 10px; }
  .scroll-hint { display: none; }
  .section { padding: 90px 0; }
  .about-visual { max-width: 420px; }
  .about-deco { display: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 44px 24px; }
  .steps-line { display: none; }
  .faq-grid .section-head, .toc { position: static; }
  .toc { display: none; }
  .legal-body { padding: 32px 24px; }
  .cta-box { padding: 52px 32px; }
}
@media (max-width: 600px) {
  .services-grid, .sectors-grid, .values, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-box { padding: 28px 22px; }
  .hero-trust { gap: 18px; }
  .info-table { grid-template-columns: 1fr; }
  .info-table div:nth-child(odd) { border-bottom: 0; padding-bottom: 2px; }
  .info-table div:nth-last-child(2) { border-bottom: 0; }
  .sector { min-height: 0; }
}

/* Accessibilité : réduire les animations si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .fade-up { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
}
