/* =====================================================
   VINCULUM FINANCE — Design "Groupe finance premium"
   Style raffiné, typographique, généreux en blanc.
   ===================================================== */

:root {
  /* Palette principale */
  --c-night:      #0b1f3a;
  --c-night-2:    #142b4d;
  --c-blue:       #1d4ed8;
  --c-blue-soft:  #eef3ff;
  --c-cyan:       #0ea5b7;
  --c-green:      #15803d;
  --c-green-soft: #dcfce7;
  --c-violet:     #7c3aed;
  --c-violet-soft:#ede9fe;
  --c-gold:       #b08945;

  --c-grey-900: #0b1326;
  --c-grey-800: #1a2236;
  --c-grey-700: #4b5469;
  --c-grey-500: #6b7390;
  --c-grey-300: #d6dbe5;
  --c-grey-200: #e8ecf3;
  --c-grey-100: #f3f5fa;
  --c-grey-50:  #fafbfd;
  --c-white:    #ffffff;

  --c-warning:     #b45309;
  --c-warning-soft:#fef3c7;
  --c-info:        #0369a1;
  --c-info-soft:   #e0f2fe;
  --c-error:       #b91c1c;
  --c-error-soft:  #fee2e2;

  --radius-lg:  20px;
  --radius:     14px;
  --radius-sm:  10px;

  --shadow-xs:  0 1px 2px rgba(11,31,58,.05);
  --shadow-sm:  0 4px 14px rgba(11,31,58,.06);
  --shadow:     0 10px 30px rgba(11,31,58,.10);
  --shadow-lg:  0 24px 60px rgba(11,31,58,.16);

  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --content-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-grey-900);
  background: var(--c-white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--c-blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-night); }

h1, h2, h3, h4, h5 {
  color: var(--c-night);
  margin-top: 0;
  line-height: 1.15;
  letter-spacing: -.015em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h1 em, h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--c-blue); }

.container { width: 100%; max-width: var(--content-w); margin: 0 auto; padding: 0 24px; }

/* ----- Topbar ----- */
.topbar {
  background: var(--c-night);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  padding: 9px 0;
  letter-spacing: .01em;
}
.topbar .container { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item:not(.topbar-contact)::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-green); display: inline-block;
}
.topbar-item.topbar-contact { margin-left: auto; }
.topbar-item.topbar-contact a { color: #fff; }

/* ----- Language switcher ----- */
.lang-switch { position: relative; display: inline-block; }
.lang-switch-btn {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: #fff; padding: 4px 10px; border-radius: 6px;
  font-size: 12px; font-family: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s;
}
.lang-switch-btn:hover { background: rgba(255,255,255,.2); }
.lang-switch-menu {
  display: none;
  position: absolute; top: calc(100% + 6px); right: 0;
  background: #fff; border-radius: 10px; padding: 6px;
  box-shadow: var(--shadow-lg); min-width: 180px; z-index: 200;
  border: 1px solid var(--c-grey-100);
}
.lang-switch.open .lang-switch-menu { display: block; }
.lang-switch-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 6px;
  font-size: 14px; color: var(--c-grey-900);
  transition: background .15s;
}
.lang-switch-menu a:hover { background: var(--c-grey-100); }
.lang-switch-menu a.active { background: var(--c-blue-soft); color: var(--c-blue); font-weight: 600; }

/* ----- Header ----- */
.site-header {
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--c-grey-100);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--c-night); }
.brand-logo { width: 50px; height: 50px; object-fit: contain; }
.brand-text strong {
  display: block; font-weight: 800;
  font-size: 19px; letter-spacing: 1.4px;
  color: var(--c-night);
}
.brand-text small {
  display: block; font-size: 10px; font-weight: 700;
  color: var(--c-violet); letter-spacing: 2px;
}
.main-nav { display: flex; gap: 6px; align-items: center; }
.main-nav a {
  padding: 10px 16px; border-radius: 999px; font-weight: 500; font-size: 15px;
  color: var(--c-grey-700); position: relative;
}
.main-nav a:hover { color: var(--c-night); background: var(--c-grey-100); }
.main-nav a.active { color: var(--c-night); }
.main-nav a.active::after {
  content: ""; position: absolute; bottom: 4px; left: 50%;
  width: 18px; height: 2px; background: var(--c-blue);
  border-radius: 2px; transform: translateX(-50%);
}
.nav-cta {
  color: #fff !important; background: var(--c-night) !important;
  padding: 11px 22px !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--c-blue) !important; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--c-night); border-radius: 2px; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; font-family: inherit;
  border: 0; cursor: pointer; transition: all .25s ease;
  text-decoration: none; line-height: 1.2;
}
.btn-primary { background: var(--c-night); color: #fff; }
.btn-primary:hover { background: var(--c-blue); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-success { background: var(--c-green); color: #fff; }
.btn-success:hover { background: #166534; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-blue { background: var(--c-blue); color: #fff; }
.btn-blue:hover { background: var(--c-night); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--c-night); color: var(--c-night); padding: 12px 24px; }
.btn-outline:hover { background: var(--c-night); color: #fff; }
.btn-outline-light { background: transparent; border: 2px solid rgba(255,255,255,.5); color: #fff; padding: 12px 24px; }
.btn-outline-light:hover { background: #fff; color: var(--c-night); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--c-grey-700); padding: 10px 18px; }
.btn-ghost:hover { background: var(--c-grey-100); }
.btn-large { padding: 17px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-arrow::after { content: "→"; font-size: 18px; transition: transform .25s; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ----- HERO RAFFINÉ ----- */
.hero {
  position: relative;
  background: var(--c-grey-50);
  padding: 60px 0 100px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: var(--c-white); border: 1px solid var(--c-grey-200);
  border-radius: 999px; font-size: 13px; color: var(--c-grey-700);
  margin-bottom: 24px; box-shadow: var(--shadow-xs);
}
.hero-eyebrow::before {
  content: ""; width: 8px; height: 8px; background: var(--c-green);
  border-radius: 50%; box-shadow: 0 0 0 3px rgba(21,128,61,.15);
}
.hero-content h1 {
  margin-bottom: 24px;
  color: var(--c-night);
}
.hero-lead {
  font-size: 1.18rem;
  color: var(--c-grey-700);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats-line {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding-top: 28px;
  border-top: 1px solid var(--c-grey-200);
}
.hero-stat strong {
  display: block; font-size: 1.9rem; font-weight: 800;
  color: var(--c-night); line-height: 1;
}
.hero-stat span { color: var(--c-grey-500); font-size: 13px; margin-top: 6px; display: block; }

/* Visuel hero (image + carte) */
.hero-visual {
  position: relative; height: 520px;
}
.hero-photo {
  position: absolute; top: 0; right: 0;
  width: 100%; height: 100%;
  border-radius: 24px;
  background-size: cover; background-position: center;
  box-shadow: var(--shadow-lg);
}
.hero-photo::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(11,31,58,.4));
}
.hero-card {
  position: absolute;
  bottom: -30px; left: -30px;
  background: #fff; border-radius: 18px;
  padding: 22px 24px;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  border: 1px solid var(--c-grey-100);
}
.hero-card h4 {
  font-size: 14px; color: var(--c-grey-500);
  font-weight: 500; margin: 0 0 10px;
  text-transform: uppercase; letter-spacing: 1px;
}
.hero-card .range-group { margin-bottom: 14px; }
.hero-card .range-group:last-of-type { margin-bottom: 16px; }
.hero-mini-result {
  background: var(--c-night); color: #fff;
  border-radius: 12px; padding: 14px 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.hero-mini-result small {
  font-size: 11px; color: rgba(255,255,255,.7);
  text-transform: uppercase; letter-spacing: 1px;
  display: block; margin-bottom: 2px;
}
.hero-mini-result strong { color: #fff; font-size: 1.5rem; font-weight: 700; }
.hero-mini-result a { color: #fff; opacity: .9; font-size: 13px; }

/* Bandeau de confiance sous hero */
.trust-strip {
  background: #fff; border-bottom: 1px solid var(--c-grey-100);
  padding: 24px 0;
}
.trust-strip-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: center;
}
.trust-strip-item strong {
  display: block; font-size: 1.7rem; font-weight: 800;
  color: var(--c-night); margin-bottom: 4px;
}
.trust-strip-item span { color: var(--c-grey-500); font-size: 13px; }

/* ----- Sections ----- */
section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 60px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-title .eyebrow {
  display: inline-block; font-size: 13px;
  color: var(--c-blue); font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 14px;
}
.section-title h2 { margin-bottom: 14px; }
.section-title p { color: var(--c-grey-500); font-size: 1.1rem; line-height: 1.6; margin: 0; }
.section-alt { background: var(--c-grey-50); }
.section-dark { background: var(--c-night); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.7); }

/* ----- Cards modernes ----- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--c-grey-100);
  transition: all .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--c-blue-soft); color: var(--c-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 22px;
}
.card.green .icon { background: var(--c-green-soft); color: var(--c-green); }
.card.violet .icon { background: var(--c-violet-soft); color: var(--c-violet); }
.card.gold .icon { background: rgba(176,137,69,.12); color: var(--c-gold); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--c-grey-700); margin: 0; line-height: 1.65; }
.card-link {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 4px;
  font-weight: 600; color: var(--c-night); font-size: 14px;
}
.card-link::after { content: "→"; transition: transform .25s; }
.card-link:hover::after { transform: translateX(4px); }
.card-link:hover { color: var(--c-blue); }

/* Card avec image au-dessus */
.card-with-image { padding: 0; overflow: hidden; }
.card-with-image .card-image {
  height: 220px; overflow: hidden;
}
.card-with-image .card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.card-with-image:hover .card-image img { transform: scale(1.06); }
.card-with-image .card-body { padding: 32px; }

/* Section image + texte (alternance) */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-section.reverse > div:first-child { order: 2; }
.split-photo {
  width: 100%; aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-content .eyebrow {
  display: inline-block; font-size: 13px;
  color: var(--c-blue); font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 14px;
}
.split-content h2 { margin-bottom: 18px; }
.split-content p { color: var(--c-grey-700); font-size: 1.05rem; line-height: 1.7; margin-bottom: 14px; }

/* Image stack (photos superposées) */
.image-stack { position: relative; min-height: 520px; }
.image-stack img {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 8px solid #fff;
}
.image-stack img:nth-child(1) {
  top: 0; left: 0; width: 70%; aspect-ratio: 3/4;
  object-fit: cover; z-index: 2;
}
.image-stack img:nth-child(2) {
  bottom: 0; right: 0; width: 60%; aspect-ratio: 4/3;
  object-fit: cover; z-index: 1;
}

/* ----- Process / Steps ----- */
.process-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  position: relative;
}
.process-step {
  text-align: center; padding: 0 12px;
  position: relative;
}
.process-step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; color: var(--c-night);
  font-size: 24px; font-weight: 800;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border: 2px solid var(--c-blue);
}
.process-step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.process-step p { color: var(--c-grey-500); font-size: .95rem; margin: 0; }

/* ----- Service cards (avec photos) ----- */
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-night);
  color: #fff;
  min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px;
  transition: all .35s ease;
  box-shadow: var(--shadow-sm);
}
.service-card .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .5s ease;
  z-index: 0;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,58,0) 0%, rgba(11,31,58,.85) 80%);
  z-index: 1;
}
.service-card > * { position: relative; z-index: 2; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover .bg { transform: scale(1.08); }
.service-card h3 { color: #fff; margin-bottom: 8px; }
.service-card p { color: rgba(255,255,255,.85); font-size: .95rem; margin: 0; }
.service-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
}

/* ----- Testimonials ----- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.testimonial {
  background: #fff; padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-grey-100);
  position: relative;
  transition: all .3s;
}
.testimonial:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.testimonial-stars { color: #f59e0b; margin-bottom: 18px; font-size: 16px; }
.testimonial-title {
  font-size: 1.05rem; color: var(--c-night);
  font-weight: 700; margin: 0 0 10px;
}
.testimonial-text {
  color: var(--c-grey-700); font-size: 15px;
  margin-bottom: 22px; line-height: 1.7;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author .avatar {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover;
}
.testimonial-author strong { display: block; color: var(--c-night); font-size: 14px; }
.testimonial-author small { color: var(--c-grey-500); font-size: 12px; }

/* ----- Forms ----- */
.form-card {
  background: #fff; padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--c-grey-100);
}
.form-group { margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.form-group label {
  display: block; font-weight: 500; margin-bottom: 8px;
  font-size: 14px; color: var(--c-grey-900);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px;
  font-family: inherit; font-size: 15px;
  border: 1.5px solid var(--c-grey-200);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: all .15s;
  color: var(--c-grey-900);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--c-blue);
  box-shadow: 0 0 0 4px var(--c-blue-soft);
}
.form-group .hint { font-size: 12px; color: var(--c-grey-500); margin-top: 6px; }

/* Range slider */
.range-group { margin-bottom: 22px; }
.range-group > label {
  display: flex; justify-content: space-between; font-weight: 500;
  font-size: 13px; color: var(--c-grey-700); margin-bottom: 12px;
}
.range-group > label span { color: var(--c-night); font-weight: 700; font-size: 1.1rem; }
.range-group input[type=range] {
  -webkit-appearance: none; width: 100%; height: 6px;
  background: var(--c-grey-200); border-radius: 4px; outline: none;
}
.range-group input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px;
  background: var(--c-blue); border-radius: 50%; cursor: pointer;
  box-shadow: 0 4px 10px rgba(29,78,216,.4); border: 3px solid #fff;
}
.range-group input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px; background: var(--c-blue);
  border-radius: 50%; border: 3px solid #fff; cursor: pointer;
}

/* ----- Result boxes ----- */
.result-box {
  background: #fff; padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--c-blue);
}
.result-box.success { border-color: var(--c-green); }
.result-box.warning { border-color: var(--c-warning); }
.result-box.info    { border-color: var(--c-info); }
.result-row {
  display: flex; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--c-grey-100);
}
.result-row:last-child { border-bottom: 0; }
.result-row span { color: var(--c-grey-500); }
.result-row strong { font-weight: 700; color: var(--c-night); font-size: 1.05rem; }
.result-highlight {
  background: var(--c-night); color: #fff;
  padding: 24px; border-radius: var(--radius);
  text-align: center; margin: 16px 0 24px;
}
.result-highlight small {
  display: block; color: rgba(255,255,255,.7);
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 6px;
}
.result-highlight strong {
  color: #fff; font-size: 2.4rem;
  font-weight: 800; line-height: 1;
}

/* ----- Badges ----- */
.badge {
  display: inline-block; padding: 5px 12px;
  border-radius: 999px; font-size: 12px;
  font-weight: 600; letter-spacing: .02em;
}
.badge.success { background: var(--c-green-soft); color: var(--c-green); }
.badge.warning { background: var(--c-warning-soft); color: var(--c-warning); }
.badge.info    { background: var(--c-info-soft); color: var(--c-info); }
.badge.neutral { background: var(--c-grey-100); color: var(--c-grey-700); }

/* ----- Alerts ----- */
.alert {
  padding: 16px 20px; border-radius: var(--radius);
  margin-bottom: 22px; font-size: 14px;
  border-left: 4px solid;
}
.alert-success { background: var(--c-green-soft); color: var(--c-green); border-color: var(--c-green); }
.alert-warning { background: var(--c-warning-soft); color: var(--c-warning); border-color: var(--c-warning); }
.alert-info    { background: var(--c-info-soft); color: var(--c-info); border-color: var(--c-info); }
.alert-error   { background: var(--c-error-soft); color: var(--c-error); border-color: var(--c-error); }

/* ----- Steps ----- */
.steps {
  display: flex; gap: 8px; align-items: center;
  margin-bottom: 36px; padding: 0;
}
.step {
  flex: 1; padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--c-grey-100);
  font-size: 14px; color: var(--c-grey-700);
  font-weight: 500; text-align: center;
}
.step.active { background: var(--c-night); color: #fff; }
.step.done { background: var(--c-green); color: #fff; }
.step .step-num {
  display: inline-block; width: 22px; height: 22px;
  line-height: 22px; border-radius: 50%;
  background: rgba(255,255,255,.25); font-weight: 700; margin-right: 6px;
  font-size: 12px;
}
.progress-bar {
  height: 6px; background: var(--c-grey-100);
  border-radius: 6px; overflow: hidden; margin-bottom: 28px;
}
.progress-bar-fill {
  height: 100%; background: linear-gradient(90deg, var(--c-blue), var(--c-violet));
  transition: width .4s;
}

/* ----- Tableau ----- */
.table {
  width: 100%; border-collapse: collapse;
  background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-xs);
}
.table th, .table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--c-grey-100);
  font-size: 14px;
}
.table th {
  background: var(--c-grey-50); font-weight: 600;
  color: var(--c-grey-700); text-transform: uppercase;
  letter-spacing: 1px; font-size: 12px;
}
.table tr:hover td { background: var(--c-blue-soft); }
.table-wrap { overflow-x: auto; }

/* ----- CTA Section ----- */
.cta-section {
  background: var(--c-night); color: #fff;
  text-align: center; padding: 90px 32px;
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(124,58,237,.3), transparent 70%);
}
.cta-section > * { position: relative; }
.cta-section h2 { color: #fff; margin-bottom: 18px; }
.cta-section p { font-size: 1.1rem; color: rgba(255,255,255,.85); margin: 0 auto 32px; max-width: 580px; }

/* ----- Footer raffiné ----- */
.site-footer {
  background: var(--c-night); color: rgba(255,255,255,.75);
  padding: 80px 0 32px; margin-top: 100px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-col h4 {
  color: #fff; margin-bottom: 18px; font-size: 14px;
  text-transform: uppercase; letter-spacing: 2px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.65); font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.brand-footer { margin-bottom: 18px; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: var(--c-violet); }
.footer-about { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-address { font-style: normal; font-size: 13px; line-height: 1.8; }
.footer-address a { color: var(--c-cyan); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
}
.legal-info {
  display: flex; flex-wrap: wrap; gap: 28px;
  font-size: 12px; opacity: .7; margin-bottom: 14px;
}
.legal-info strong { color: #fff; }
.copyright { font-size: 12px; opacity: .55; margin: 0; }

/* ----- Cookies banner ----- */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  max-width: 480px; margin-left: auto;
  background: #fff; color: var(--c-grey-900);
  padding: 20px; z-index: 1000;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-grey-100);
}
.cookie-banner p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; }
.cookie-banner a { color: var(--c-blue); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions .btn { padding: 9px 18px; font-size: 13px; }

/* ----- Login page admin ----- */
.login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--c-night); padding: 20px;
  position: relative; overflow: hidden;
}
.login-page::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(124,58,237,.4), transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(29,78,216,.4), transparent 50%);
}
.login-card {
  background: #fff; padding: 44px;
  width: 100%; max-width: 440px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.login-card .brand { justify-content: center; margin-bottom: 28px; }

/* ----- Admin layout ----- */
.admin-wrap { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; background: var(--c-grey-50); }
.admin-side { background: var(--c-night); color: rgba(255,255,255,.75); padding: 28px 18px; display: flex; flex-direction: column; }
.admin-side .brand-text strong { color: #fff; }
.admin-side .brand-text small { color: var(--c-violet); }
.admin-nav { list-style: none; padding: 0; margin: 28px 0; }
.admin-nav a {
  display: block; padding: 12px 14px; color: rgba(255,255,255,.7);
  border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 4px;
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.1); color: #fff; }
.admin-main { padding: 40px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin-bottom: 36px; }
.stat-card { background: #fff; padding: 22px; border-radius: var(--radius); box-shadow: var(--shadow-xs); border: 1px solid var(--c-grey-100); }
.stat-card strong { display: block; font-size: 28px; color: var(--c-night); font-weight: 800; }
.stat-card span { font-size: 13px; color: var(--c-grey-500); }

/* ----- Responsive ----- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:nth-child(4),
  .footer-grid > div:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 980px) {
  .hero { padding: 40px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 380px; }
  .hero-stats-line { grid-template-columns: 1fr 1fr; gap: 20px; }
  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .split-section.reverse > div:first-child { order: 0; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div { grid-column: span 1 !important; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    padding: 16px; box-shadow: var(--shadow);
    border-top: 1px solid var(--c-grey-100);
  }
  body.nav-open .main-nav { display: flex; }
  .main-nav a { width: 100%; padding: 12px 16px; }
  .nav-cta { margin: 8px 0 0 0; }
  .trust-strip-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  section { padding: 70px 0; }
  .image-stack { min-height: 380px; }
}
@media (max-width: 640px) {
  .topbar-item.topbar-contact { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats-line { grid-template-columns: 1fr 1fr; }
  .hero-card { left: 10px; right: 10px; max-width: none; }
  .hero-content h1 { font-size: 2.2rem; }
}
@media (max-width: 800px) {
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-side { display: none; }
}

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb-wrap {
  background: var(--c-grey-50);
  border-bottom: 1px solid var(--c-grey-100);
  padding: 14px 0;
  font-size: 13px;
}
.breadcrumb {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
  align-items: center;
}
.breadcrumb-item {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-grey-500);
}
.breadcrumb-item:not(:last-child)::after {
  content: "›";
  color: var(--c-grey-300);
  font-size: 16px;
  margin-left: 6px;
  font-weight: 400;
}
.breadcrumb-item a {
  color: var(--c-grey-500);
  transition: color .15s;
}
.breadcrumb-item a:hover { color: var(--c-blue); }
.breadcrumb-item.active {
  color: var(--c-night);
  font-weight: 600;
}

/* =====================================================
   PAGE HEADER (hero pour pages intérieures)
   ===================================================== */
.page-header {
  background: linear-gradient(180deg, var(--c-grey-50) 0%, #fff 100%);
  padding: 50px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.page-header-content { position: relative; }
.page-header-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 24px;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--c-night);
  line-height: 1.1;
}
.page-header-lead {
  font-size: 1.15rem;
  color: var(--c-grey-700);
  line-height: 1.65;
  max-width: 540px;
  margin: 0 0 28px;
}
.page-header-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.page-header-image-desktop,
.page-header-image-mobile {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.page-header-image-desktop img,
.page-header-image-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.page-header-image-desktop {
  aspect-ratio: 4/3;
  display: block;
}
.page-header-image-mobile { display: none; }

@media (max-width: 880px) {
  /* MOBILE : ordre TITRE → IMAGE → DESCRIPTION → CTA */
  .page-header { padding: 30px 0 50px; }
  .page-header-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .page-header-title {
    font-size: clamp(1.7rem, 6vw, 2.2rem);
    margin-bottom: 20px;
  }
  .page-header-image-desktop { display: none; }
  .page-header-image-mobile {
    display: block;
    aspect-ratio: 16/10;
    margin: 0 0 22px;
  }
  .page-header-lead {
    font-size: 1rem;
    margin-bottom: 22px;
  }
  .page-header-actions { flex-direction: column; }
  .page-header-actions .btn { width: 100%; }
}

/* =====================================================
   AMÉLIORATIONS MOBILE GÉNÉRIQUES
   ===================================================== */
@media (max-width: 880px) {
  .container { padding: 0 18px; }
  section { padding: 50px 0; }

  /* Cards plus respirantes */
  .card { padding: 28px 24px; }

  /* Form-card */
  .form-card { padding: 26px 22px; }

  /* Steps : empilés en colonne sur mobile */
  .steps {
    flex-direction: column;
    gap: 6px;
  }
  .step {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
  }

  /* Result-box plus compact */
  .result-box { padding: 24px 20px; }
  .result-highlight { padding: 20px 16px; }
  .result-highlight strong { font-size: 1.8rem; }

  /* Tableau scroll horizontal */
  .table th, .table td { padding: 10px 12px; font-size: 13px; }

  /* CTA section */
  .cta-section { padding: 60px 22px; }
  .cta-section h2 { font-size: 1.7rem; }

  /* Hero card flottante du mockup */
  .hero-card { left: 12px; right: 12px; max-width: none; bottom: -20px; padding: 18px 20px; }
  .hero-card h4 { font-size: 12px; }
  .hero-mini-result strong { font-size: 1.3rem; }

  /* Stat cards plus petites */
  .hero-stats-line {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .hero-stat strong { font-size: 1.5rem; }
  .trust-strip-inner {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .trust-strip-item strong { font-size: 1.4rem; }

  /* Section title */
  .section-title { margin-bottom: 36px; }
  .section-title h2 { font-size: 1.7rem; }
  .section-title p { font-size: 1rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.5rem; }
  .btn { padding: 13px 22px; font-size: 14px; }
  .btn-large { padding: 15px 24px; font-size: 15px; }

  .form-row, .form-row-3 { grid-template-columns: 1fr; gap: 14px; }
  .form-card { padding: 22px 18px; }

  /* Service cards plus compactes */
  .service-card { min-height: 280px; padding: 24px 22px; }

  /* Testimonials */
  .testimonial { padding: 24px 22px; }
}

/* Utilitaires */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mt-2 { margin-top: 16px; }
.flex { display: flex; gap: 12px; }
.flex-end { justify-content: flex-end; }
.gap-2 { gap: 16px; }
.hidden { display: none !important; }
