/*
Theme Name: CBG Corporate
Theme URI: https://caribbeanbg.com
Author: Caribbean Business Group
Author URI: https://caribbeanbg.com
Description: Thème corporate haute fidélité pour Caribbean Business Group SASU — Martinique. Design black/gold, typographie éditoriale, animations au scroll.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://caribbeanbg.com
Text Domain: cbg-corporate
Tags: business, black, gold, martinique, corporate
*/

/* ─────────────────────────────────────────────────────────────
   DESIGN TOKENS
   ───────────────────────────────────────────────────────────── */
:root {
  /* Couleurs */
  --void:    #090806;
  --deep:    #100F0C;
  --surface: #181610;
  --lift:    #1E1C18;
  --rule:    #2A2720;
  --muted:   #5A5548;
  --body:    #9E9585;
  --sand:    #D4C9B0;
  --warm:    #EDE3CF;
  --gold:    #C9A84C;
  --gold2:   #E2BE6A;
  --gold3:   #8A6E2F;
  --white:   #FDFAF4;

  /* Typographie */
  --f-display: 'Bebas Neue', sans-serif;
  --f-serif:   'Instrument Serif', Georgia, serif;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Espacements */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  28px;
  --space-lg:  52px;
  --space-xl:  80px;

  /* Layout */
  --max-w: 1200px;
  --pad-x: 40px;

  /* Transitions */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.0, 0, .2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-weight: 300;
  background: var(--void);
  color: var(--sand);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--f-body);
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol { list-style: none; }

/* ─────────────────────────────────────────────────────────────
   LAYOUT HELPERS
   ───────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--rule);
}

/* ─────────────────────────────────────────────────────────────
   TYPOGRAPHY UTILITIES
   ───────────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .2em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--f-serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  color: var(--warm);
  letter-spacing: -.02em;
  line-height: 1.15;
}

.section-title em {
  font-style: italic;
  color: var(--gold2);
}

.body-text {
  font-size: 13px;
  color: var(--body);
  line-height: 1.8;
  font-weight: 300;
}

.gold-rule {
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin: 14px 0;
}

/* ─────────────────────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--void);
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 22px;
  transition: opacity .15s;
  cursor: pointer;
  border: none;
}

.btn-primary:hover { opacity: .88; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--muted);
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: .08em;
  padding: 12px 0;
  transition: color .15s;
  cursor: pointer;
  border: none;
}

.btn-ghost:hover { color: var(--sand); }

.btn-ghost .arrow {
  transition: transform .2s var(--ease);
}

.btn-ghost:hover .arrow {
  transform: translateX(4px);
}

.btn-ghost-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold);
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: .04em;
  padding: 0;
  transition: gap .2s var(--ease);
  cursor: pointer;
  border: none;
}

.btn-ghost-gold:hover { gap: 14px; }

/* ─────────────────────────────────────────────────────────────
   TAGS
   ───────────────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--rule);
  padding: 3px 8px;
  font-weight: 400;
}

/* ─────────────────────────────────────────────────────────────
   ANIMATIONS
   ───────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollMarquee {
  to { transform: translateX(-50%); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.anim-hidden.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-delay-1 { transition-delay: .1s; }
.anim-delay-2 { transition-delay: .2s; }
.anim-delay-3 { transition-delay: .3s; }
.anim-delay-4 { transition-delay: .4s; }

/* ─────────────────────────────────────────────────────────────
   NAVIGATION
   ───────────────────────────────────────────────────────────── */
.cbg-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  background: rgba(9, 8, 6, 0.92);
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .3s;
}

.cbg-nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.cbg-nav__pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.cbg-nav__name {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  color: var(--warm);
  text-transform: uppercase;
}

.cbg-nav__links {
  display: flex;
  gap: 28px;
}

.cbg-nav__link {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .04em;
  transition: color .15s;
  text-decoration: none;
}

.cbg-nav__link:hover { color: var(--sand); }

.cbg-nav__cta {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 16px;
  background: var(--gold);
  color: var(--void);
  transition: opacity .15s;
  text-decoration: none;
}

.cbg-nav__cta:hover { opacity: .88; }

/* Mobile menu toggle */
.cbg-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.cbg-nav__toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--sand);
  transition: transform .3s var(--ease), opacity .3s;
}

/* ─────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────── */
.cbg-hero {
  min-height: 100vh;
  padding: 120px var(--pad-x) 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  background: var(--void);
}

.cbg-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201, 168, 76, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, .018) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: fadeIn 1.2s .3s both;
}

.cbg-hero__origin {
  font-size: 9px;
  letter-spacing: .22em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeUp .7s .1s var(--ease) both;
}

.cbg-hero__origin::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--muted);
  display: block;
}

.cbg-hero__h1 {
  font-family: var(--f-serif);
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  font-weight: 400;
  color: var(--warm);
  letter-spacing: -.025em;
  max-width: 580px;
  margin: 24px 0 0;
  animation: fadeUp .8s .25s var(--ease) both;
}

.cbg-hero__h1 em {
  font-style: italic;
  color: var(--gold);
}

.cbg-hero__h1 .faint {
  font-style: italic;
  color: var(--muted);
}

.cbg-hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
  animation: fadeUp .8s .4s var(--ease) both;
}

.cbg-hero__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 320px;
  font-weight: 300;
}

.cbg-hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cbg-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule);
  margin-top: 40px;
  animation: fadeUp .8s .55s var(--ease) both;
}

.cbg-hero__stat {
  padding: 18px 0 18px 18px;
  border-right: 1px solid var(--rule);
}

.cbg-hero__stat:last-child { border-right: none; }

.cbg-hero__stat-val {
  font-family: var(--f-display);
  font-size: 28px;
  color: var(--warm);
  line-height: 1;
  letter-spacing: .01em;
  display: block;
}

.cbg-hero__stat-label {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

/* ─────────────────────────────────────────────────────────────
   MARQUEE
   ───────────────────────────────────────────────────────────── */
.cbg-marquee {
  padding: 13px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}

.cbg-marquee__track {
  display: flex;
  white-space: nowrap;
  animation: scrollMarquee 28s linear infinite;
}

.cbg-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--rule);
  text-transform: uppercase;
  padding: 0 32px;
}

.cbg-marquee__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(201, 168, 76, .3);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────
   WORK LIST
   ───────────────────────────────────────────────────────────── */
.cbg-work {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--rule);
}

.cbg-work__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}

.cbg-work__count {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: .1em;
}

.cbg-work__list { margin-top: 0; }

.cbg-work__item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: background .1s;
  text-decoration: none;
}

.cbg-work__item:first-child { border-top: 1px solid var(--rule); }

.cbg-work__item:hover .cbg-work__title { color: var(--gold2); }
.cbg-work__item:hover .cbg-work__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.cbg-work__num {
  font-size: 10px;
  color: var(--rule);
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
}

.cbg-work__title {
  font-size: 15px;
  color: var(--sand);
  font-weight: 400;
  letter-spacing: -.01em;
  margin-bottom: 6px;
  transition: color .15s;
}

.cbg-work__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cbg-work__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 2px;
}

.cbg-work__year {
  font-size: 10px;
  color: var(--muted);
  font-weight: 300;
  white-space: nowrap;
}

.cbg-work__arrow {
  color: var(--gold);
  font-size: 16px;
  opacity: 0;
  transform: translate(-6px, 4px);
  transition: opacity .2s, transform .22s var(--ease);
}

/* ─────────────────────────────────────────────────────────────
   ABOUT
   ───────────────────────────────────────────────────────────── */
.cbg-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--rule);
}

.cbg-about__left {
  padding: var(--space-xl) var(--space-xl) var(--space-xl) var(--pad-x);
  border-right: 1px solid var(--rule);
}

.cbg-about__quote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--warm);
  line-height: 1.45;
  letter-spacing: -.01em;
  border-left: 1.5px solid var(--gold);
  padding-left: 16px;
  margin: 0 0 24px;
}

.cbg-about__body {
  font-size: 13px;
  color: var(--body);
  line-height: 1.8;
  font-weight: 300;
  margin: 0 0 24px;
}

.cbg-about__right {
  padding: var(--space-xl) var(--pad-x) var(--space-xl) var(--space-xl);
}

.cbg-about__stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.cbg-about__stat:first-child { border-top: 1px solid var(--rule); }
.cbg-about__stat:last-child  { border-bottom: none; }

.cbg-about__stat-val {
  font-family: var(--f-display);
  font-size: 34px;
  color: var(--warm);
  letter-spacing: .01em;
}

.cbg-about__stat-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .06em;
  text-align: right;
  max-width: 130px;
  line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────────
   SERVICES
   ───────────────────────────────────────────────────────────── */
.cbg-services {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--rule);
}

.cbg-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 40px;
}

.cbg-services__cell {
  background: var(--deep);
  padding: 24px 20px;
  cursor: pointer;
  transition: background .18s;
  text-decoration: none;
  display: block;
}

.cbg-services__cell:hover { background: var(--surface); }
.cbg-services__cell:hover .cbg-services__arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.cbg-services__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.cbg-services__idx {
  font-size: 9px;
  color: var(--rule);
  letter-spacing: .12em;
}

.cbg-services__arrow {
  color: var(--gold);
  font-size: 14px;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity .18s, transform .22s var(--ease);
}

.cbg-services__name {
  font-size: 13px;
  color: var(--warm);
  font-weight: 400;
  margin-bottom: 3px;
  letter-spacing: -.005em;
}

.cbg-services__sub {
  font-size: 9px;
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cbg-services__desc {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ─────────────────────────────────────────────────────────────
   ECOSYSTEM
   ───────────────────────────────────────────────────────────── */
.cbg-eco {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--rule);
}

.cbg-eco__table {
  margin-top: 40px;
  border: 1px solid var(--rule);
}

.cbg-eco__row {
  display: grid;
  grid-template-columns: 52mm 1fr 80px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  gap: 24px;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
}

.cbg-eco__row:last-child { border-bottom: none; }
.cbg-eco__row:hover { background: var(--surface); }
.cbg-eco__row:hover .cbg-eco__cta { opacity: 1; }

.cbg-eco__domain {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: .04em;
  margin-bottom: 3px;
}

.cbg-eco__name {
  font-size: 13px;
  color: var(--warm);
  font-weight: 400;
}

.cbg-eco__desc {
  font-size: 11px;
  color: var(--body);
  line-height: 1.6;
  font-weight: 300;
}

.cbg-eco__status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cbg-eco__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cbg-eco__cta {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: .06em;
  opacity: 0;
  transition: opacity .2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-live { color: #5ecf8a; }
.status-live .cbg-eco__dot { background: #5ecf8a; }
.status-dev  { color: var(--gold); }
.status-dev  .cbg-eco__dot { background: var(--gold); }

/* ─────────────────────────────────────────────────────────────
   CTA BAND
   ───────────────────────────────────────────────────────────── */
.cbg-cta {
  padding: 100px var(--pad-x);
  text-align: center;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

.cbg-cta__ghost {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-display);
  font-size: clamp(100px, 16vw, 160px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 168, 76, 0.05);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: .04em;
  user-select: none;
}

.cbg-cta__eyebrow {
  font-size: 9px;
  letter-spacing: .22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.cbg-cta__h {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(32px, 4vw, 46px);
  color: var(--warm);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.1;
  max-width: 400px;
  margin: 0 auto 14px;
  position: relative;
  z-index: 1;
}

.cbg-cta__h strong {
  font-style: normal;
  font-weight: 400;
  color: var(--gold2);
}

.cbg-cta__sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 260px;
  margin: 0 auto 32px;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.cbg-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────── */
.cbg-footer {
  padding: 36px var(--pad-x) 28px;
}

.cbg-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 16px;
}

.cbg-footer__brand-name {
  font-family: var(--f-serif);
  font-size: 18px;
  color: var(--warm);
  font-weight: 400;
  letter-spacing: -.01em;
  margin-bottom: 4px;
}

.cbg-footer__brand-sub {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .06em;
}

.cbg-footer__links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.cbg-footer__link {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .15s;
  text-decoration: none;
}

.cbg-footer__link:hover { color: var(--gold); }

.cbg-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cbg-footer__legal {
  font-size: 10px;
  color: var(--rule);
  letter-spacing: .04em;
}

.cbg-footer__copy {
  font-size: 10px;
  color: var(--rule);
  letter-spacing: .06em;
}

.cbg-footer__bar {
  height: 2px;
  background: var(--gold);
  margin-top: 20px;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --pad-x: 20px;
    --space-xl: 52px;
  }

  .cbg-nav__links { display: none; }
  .cbg-nav__toggle { display: flex; }
  .cbg-nav__cta { display: none; }

  .cbg-nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--void);
    padding: 24px 20px;
    border-bottom: 1px solid var(--rule);
    gap: 20px;
    z-index: 99;
  }

  .cbg-hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .cbg-hero__stat:nth-child(2) { border-right: none; }
  .cbg-hero__stat:nth-child(1),
  .cbg-hero__stat:nth-child(2) {
    border-bottom: 1px solid var(--rule);
  }

  .cbg-about {
    grid-template-columns: 1fr;
  }

  .cbg-about__left {
    padding: var(--space-xl) var(--pad-x);
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }

  .cbg-about__right {
    padding: var(--space-xl) var(--pad-x);
  }

  .cbg-services__grid {
    grid-template-columns: 1fr;
  }

  .cbg-services__cell:nth-child(3n) { border-right: none; }

  .cbg-eco__row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .cbg-eco__desc {
    grid-column: 1 / -1;
    margin-top: 6px;
  }

  .cbg-work__item {
    grid-template-columns: 28px 1fr;
  }

  .cbg-work__meta {
    display: none;
  }
}

@media (max-width: 480px) {
  .cbg-hero__h1 { font-size: 36px; }
  .cbg-hero__bottom { flex-direction: column; align-items: flex-start; }
  .cbg-footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ─────────────────────────────────────────────────────────────
   HERO PHOTO BACKGROUND
   ───────────────────────────────────────────────────────────── */
.cbg-hero {
  background: var(--void);
}

.cbg-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cbg-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Multi-layer overlay :
   - haut : léger voile noir pour lire le label "Martinique 2017"
   - bas : noir dense pour que les stats et le texte soient lisibles
   - côté gauche : légèrement plus sombre pour ancrer le titre
*/
.cbg-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(9, 8, 6, 0.55) 0%,
      rgba(9, 8, 6, 0.35) 30%,
      rgba(9, 8, 6, 0.55) 65%,
      rgba(9, 8, 6, 0.92) 100%
    ),
    linear-gradient(
      to right,
      rgba(9, 8, 6, 0.35) 0%,
      transparent 60%
    );
}

/* Tous les enfants au-dessus de l'image */
.cbg-hero > *:not(.cbg-hero__bg):not(.cbg-hero__grid) {
  position: relative;
  z-index: 2;
}

.cbg-hero__grid {
  z-index: 1;
}

/* Stats : fond légèrement dépoli pour garantir la lisibilité */
.cbg-hero__stats {
  background: rgba(9, 8, 6, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.08);
}

.cbg-hero__stat {
  border-right-color: rgba(255, 255, 255, 0.08);
}

/* ─────────────────────────────────────────────────────────────
   ABOUT — colonne droite avec photo forêt
   ───────────────────────────────────────────────────────────── */
.cbg-about__right--photo {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 500px;
}

.cbg-about__photo-bg {
  position: absolute;
  inset: 0;
}

.cbg-about__photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cbg-about__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(9, 8, 6, 0.15) 0%,
    rgba(9, 8, 6, 0.75) 60%,
    rgba(9, 8, 6, 0.95) 100%
  );
}

/* Stats superposées sur la photo */
.cbg-about__stats-over {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 2;
}

.cbg-about__stats-over .cbg-about__stat {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* ─────────────────────────────────────────────────────────────
   OG IMAGE — définie dans functions.php (meta tag)
   ───────────────────────────────────────────────────────────── */
/* Rien à faire en CSS — l'image est déclarée dans la balise <meta> du <head> */

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — photo hero sur mobile
   ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .cbg-hero__bg img {
    object-position: center 20%;
  }

  .cbg-about__right--photo {
    min-height: 360px;
  }

  .cbg-about__stats-over {
    padding: 20px;
  }
}
/* ═══════════════════════════════════════════════════════
   CBG CORPORATE — PATCH v1.1
   Corrections : ghost, nav offset, pages intérieures,
   écosystème avec screenshots, favicon
═══════════════════════════════════════════════════════ */

/* ── 1. Ghost CTA — plus subtil ─────────────────────── */
/* La version d'origine utilisait -webkit-text-stroke à 0.05
   d'opacité, mais certains rendus (notamment Chromium avec
   anti-aliasing fort) l'affichent plus visible que prévu.
   On force ici une opacité globale en plus du stroke réduit. */
.cbg-cta__ghost {
  -webkit-text-stroke: 0.3px rgba(201, 168, 76, 0.025) !important;
  color: transparent !important;
  opacity: .35 !important;
  filter: blur(.3px);
}

/* ── 2. Nav offset quand barre admin WP visible ──────── */
.admin-bar .cbg-nav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .cbg-nav { top: 46px; }
}

/* ── 3. Écosystème — screenshots sous-domaines ───────── */
.cbg-eco__preview {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid var(--rule);
  margin-top: 6px;
  position: relative;
}
.cbg-eco__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .4s var(--ease);
  filter: grayscale(20%) brightness(.85);
}
.cbg-eco__row:hover .cbg-eco__preview img {
  transform: scale(1.03);
  filter: grayscale(0%) brightness(1);
}

/* ── 4. Pages intérieures — layout commun ────────────── */
.cbg-page {
  padding-top: 120px;
  min-height: 100vh;
}

.cbg-page__hero {
  padding: 60px var(--pad-x) 52px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.cbg-page__hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.015) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.cbg-page__eyebrow {
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.cbg-page__h1 {
  font-family: var(--f-serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  color: var(--warm);
  letter-spacing: -.025em;
  line-height: 1.08;
  max-width: 640px;
  margin-bottom: 20px;
}
.cbg-page__h1 em { font-style: italic; color: var(--gold); }
.cbg-page__intro {
  font-size: 14px;
  color: var(--body);
  line-height: 1.8;
  max-width: 520px;
  font-weight: 300;
}

/* ── 5. Page Histoire — timeline ─────────────────────── */
.cbg-timeline {
  padding: var(--space-xl) var(--pad-x);
  border-bottom: 1px solid var(--rule);
  max-width: var(--max-w);
  margin: 0 auto;
}
.cbg-timeline__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.cbg-timeline__item:first-child { border-top: 1px solid var(--rule); }
.cbg-timeline__item:last-child  { border-bottom: none; }
.cbg-timeline__year {
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--gold);
  letter-spacing: .04em;
  padding-top: 2px;
  line-height: 1;
}
.cbg-timeline__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--warm);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.cbg-timeline__body {
  font-size: 13px;
  color: var(--body);
  line-height: 1.8;
  font-weight: 300;
}
.cbg-timeline__photo {
  margin-top: 14px;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.cbg-timeline__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) brightness(.9);
}

/* ── 6. Page Services — liste détaillée ──────────────── */
.cbg-svc-detail {
  padding: var(--space-xl) var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.cbg-svc-item {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.cbg-svc-item:first-child { border-top: 1px solid var(--rule); }
.cbg-svc-item:last-child  { border-bottom: none; }
.cbg-svc-idx {
  font-family: var(--f-display);
  font-size: 28px;
  color: var(--rule);
  line-height: 1;
  padding-top: 4px;
}
.cbg-svc-name {
  font-size: 18px;
  font-weight: 400;
  color: var(--warm);
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.cbg-svc-sub {
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.cbg-svc-what {
  font-size: 13px;
  color: var(--body);
  line-height: 1.75;
  font-weight: 300;
}
.cbg-svc-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cbg-svc-bullets li {
  font-size: 12px;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
  line-height: 1.6;
}
.cbg-svc-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 1px;
  background: var(--gold);
}

/* ── 7. Page Réalisations — études de cas ────────────── */
.cbg-case {
  padding: var(--space-xl) var(--pad-x);
  border-bottom: 1px solid var(--rule);
  max-width: var(--max-w);
  margin: 0 auto;
}
.cbg-case__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
  gap: 16px;
}
.cbg-case__sector {
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.cbg-case__name {
  font-family: var(--f-serif);
  font-size: 28px;
  color: var(--warm);
  font-weight: 400;
  letter-spacing: -.02em;
}
.cbg-case__years {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 4px;
}
.cbg-case__photo {
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  border: 1px solid var(--rule);
  margin-bottom: 28px;
}
.cbg-case__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cbg-case__placeholder {
  width: 100%;
  height: 100%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.cbg-case__body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
.cbg-case__desc {
  font-size: 13px;
  color: var(--body);
  line-height: 1.85;
  font-weight: 300;
}
.cbg-case__meta {}
.cbg-case__meta-row {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.cbg-case__meta-row:first-child { border-top: 1px solid var(--rule); }
.cbg-case__meta-label {
  font-size: 8px;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 3px;
  display: block;
}
.cbg-case__meta-val {
  font-size: 12px;
  color: var(--sand);
  font-weight: 300;
}
.cbg-case__tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

/* ── 8. Favicon — déclaré dans functions.php ─────────── */
/* (voir ci-dessous dans le PHP) */

/* ── 9. Mobile responsive pages intérieures ─────────── */
@media (max-width: 768px) {
  .cbg-page__hero { padding: 40px var(--pad-x) 36px; }

  .cbg-timeline__item {
    grid-template-columns: 60px 1fr;
    gap: 20px;
  }

  .cbg-svc-item {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
  }
  .cbg-svc-item > *:last-child {
    grid-column: 2;
  }

  .cbg-case__body {
    grid-template-columns: 1fr;
  }
  .cbg-case__meta {
    order: -1;
  }
}
/* ═══════════════════════════════════════════════════════
   CBG CORPORATE — PATCH v1.2
   Animation du bouton burger (3 barres → croix) au clic
═══════════════════════════════════════════════════════ */

.cbg-nav__toggle span:nth-child(1),
.cbg-nav__toggle span:nth-child(3) {
  transition: transform .3s var(--ease), opacity .3s;
}

.cbg-nav__toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.cbg-nav__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.cbg-nav__toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
/* ═══════════════════════════════════════════════════════
   CBG CORPORATE — PATCH v1.3
   Lisibilité du texte d'intro hero sur mobile
   (contraste insuffisant de .cbg-hero__desc sur la photo de fond)
═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .cbg-hero__desc {
    color: var(--sand);
    font-weight: 400;
    text-shadow: 0 1px 8px rgba(9, 8, 6, 0.6);
  }
}
/* ═══════════════════════════════════════════════════════
   CBG CORPORATE — PATCH v1.4
   Lisibilité du bandeau défilant (marquee) — contraste
   insuffisant avec var(--rule), passage à var(--muted)
   pour cohérence avec le reste du texte secondaire du site
═══════════════════════════════════════════════════════ */

.cbg-marquee__item {
  color: var(--muted);
}

.cbg-marquee__sep {
  background: rgba(201, 168, 76, 0.5);
}
