/* =========================================================
   RBL REI — Site vitrine statique
   Feuille de style principale
   ========================================================= */

:root {
  --green: #82B71C;          /* Vert RBL REI principal */
  --green-light: #92D050;
  --green-soft: #EEF6DE;
  --green-dark: #5F8A10;
  --black: #0A0A0A;
  --ink: #161616;
  --text: #2B2D29;
  --muted: #6A6F64;
  --line: #E3E6DD;
  --bg-soft: #F5F6F2;
  --white: #FFFFFF;
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .35);
  --shadow-soft: 0 10px 30px -15px rgba(0, 0, 0, .25);
  --container: 1240px;
  --header-h: 92px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: "Segoe UI", "Helvetica Neue", Roboto, Arial, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
p { margin: 0 0 1em; }
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; }

/* ---------- Eyebrow / titres de section ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .82rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; border-radius: 2px; }
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--black); color: #D9DCD3; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: end; margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section--dark .section-head p { color: #B9BEB1; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; max-width: 860px; margin-inline: auto; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--green); --fg: #fff;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 30px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  border: 2px solid var(--bg);
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s;
  cursor: pointer; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(130, 183, 28, .7); }
.btn:hover svg { transform: translateX(4px); }
.btn--outline { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--outline:hover { --bg: #fff; --fg: var(--ink); border-color: #fff; box-shadow: none; }
.btn--white { --bg: #fff; --fg: var(--ink); border-color: var(--green); }
.btn--white:hover { --bg: var(--green); --fg: #fff; }
.btn--dark-outline { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--dark-outline:hover { --bg: var(--ink); --fg: #fff; box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--green); }
.link-arrow svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s, box-shadow .4s, height .4s;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: block; flex-shrink: 0; }
.brand img { height: 62px; width: auto; transition: height .4s; }
.brand .logo-dark { display: none; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a.nav-link {
  position: relative; padding: 10px 14px; color: #fff; font-weight: 600; font-size: .9rem;
  letter-spacing: .08em; text-transform: uppercase; transition: color .3s;
}
.main-nav a.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav a.nav-link:hover::after, .main-nav a.nav-link.is-active::after { transform: scaleX(1); }
.nav-linkedin { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 6px 0 8px; border-radius: 10px; overflow: hidden; transition: transform .3s; }
.nav-linkedin img { width: 40px; height: 40px; }
.nav-linkedin:hover { transform: translateY(-2px); }
.header-cta { padding: 12px 24px; font-size: .9rem; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: rgba(255,255,255,.12); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .3s, background .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }

.site-header.is-scrolled, .site-header.is-solid { background: #fff; box-shadow: 0 6px 30px -18px rgba(0,0,0,.4); --header-h: 78px; }
.site-header.is-scrolled .brand img, .site-header.is-solid .brand img { height: 52px; }
.site-header.is-scrolled .logo-light, .site-header.is-solid .logo-light { display: none; }
.site-header.is-scrolled .logo-dark, .site-header.is-solid .logo-dark { display: block; }
.site-header.is-scrolled .nav-link, .site-header.is-solid .nav-link { color: var(--ink); }
.site-header.is-scrolled .burger, .site-header.is-solid .burger { background: var(--bg-soft); }
.site-header.is-scrolled .burger span, .site-header.is-solid .burger span { background: var(--ink); }

/* ---------- Hero accueil : carte "Notre implantation" ---------- */
.hero-map {
  position: relative; min-height: 100vh; padding: calc(var(--header-h) + 50px) 0 70px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 72%, rgba(130, 183, 28, .30), transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(130, 183, 28, .18), transparent 70%),
    linear-gradient(180deg, #050505 0%, #0B0E07 60%, #0A0A0A 100%);
  color: #D7DBCF; overflow: hidden; display: flex; flex-direction: column;
}
.hero-map::before { /* grille subtile */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.hero-map .container { position: relative; z-index: 2; }
.hero-top { display: grid; grid-template-columns: 1.25fr .9fr; gap: 40px 70px; align-items: end; }
.hero-top h1 { color: #fff; margin: 0; }
.hero-top h1 em { font-style: normal; color: var(--green); }
.hero-side p { font-size: 1.12rem; color: #C9CEC0; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.map-stage { position: relative; margin-top: clamp(30px, 5vw, 60px); flex: 1; display: flex; align-items: center; }
.map-frame { position: relative; width: 100%; }
.map-frame img { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(130, 183, 28, .18)); animation: mapIn 1.8s var(--ease) both, mapFloat 9s ease-in-out 1.8s infinite; }
.map-frame::after { /* halo de balayage */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(146, 208, 80, .16) 50%, transparent 65%);
  background-size: 250% 100%; animation: sweep 7s linear 2s infinite;
  mask-image: url(../img/carte-implantation.webp); -webkit-mask-image: url(../img/carte-implantation.webp);
  mask-size: 100% 100%; -webkit-mask-size: 100% 100%;
}
.map-badge {
  position: relative; margin: 26px auto 0; width: fit-content; display: flex; align-items: center; gap: 14px;
  background: rgba(10, 10, 10, .72); border: 1px solid rgba(130, 183, 28, .45); backdrop-filter: blur(8px);
  padding: 14px 20px; border-radius: 16px; color: #fff; font-weight: 600; font-size: .95rem;
}
.map-badge .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(130,183,28,.7); animation: pulse 2s infinite; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.4); border-radius: 20px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--green); animation: scrollHint 1.8s infinite; }

@keyframes mapIn { from { opacity: 0; transform: scale(.94) translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes mapFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes sweep { from { background-position: 150% 0; } to { background-position: -100% 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(130,183,28,.7); } 70% { box-shadow: 0 0 0 14px rgba(130,183,28,0); } 100% { box-shadow: 0 0 0 0 rgba(130,183,28,0); } }
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Hero pages intérieures ---------- */
.page-hero {
  position: relative; min-height: 78vh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 80px; color: #fff; overflow: hidden; isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 35%; transform: scale(1.06); animation: heroZoom 14s ease-out forwards; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.75) 100%), linear-gradient(90deg, rgba(0,0,0,.6), transparent 70%), linear-gradient(0deg, rgba(130,183,28,.35), transparent 45%); }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero p { max-width: 760px; font-size: 1.15rem; color: #E6E9E0; }
.page-hero .hero-actions { margin-top: 28px; }
.breadcrumb { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #CFE6A6; margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
@keyframes heroZoom { to { transform: scale(1); } }

/* ---------- Cartes marchés ---------- */
.markets-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.market-card {
  position: relative; display: block; aspect-ratio: 4 / 3.3; border-radius: var(--radius); overflow: hidden;
  background: #222; isolation: isolate; box-shadow: var(--shadow-soft);
}
.market-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.market-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.78) 100%); transition: background .5s; }
.market-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(130,183,28,.85), rgba(130,183,28,.0) 70%); opacity: 0; transition: opacity .5s var(--ease); }
.market-card__body { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.market-card h3 { color: #fff; font-size: 1.12rem; font-weight: 600; margin: 0; letter-spacing: -.005em; }
.market-card .arrow { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transform: translateY(8px) scale(.6); opacity: 0; transition: all .45s var(--ease); }
.market-card .arrow svg { width: 15px; height: 15px; }
.market-card:hover img { transform: scale(1.08); }
.market-card:hover::after { opacity: 1; }
.market-card:hover .arrow { transform: none; opacity: 1; }

/* ---------- Bloc présentation (noir) ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.about-grid .lead { color: #E3E6DC; }
.counters { display: flex; gap: 60px; margin: 40px 0 44px; flex-wrap: wrap; }
.counter strong { display: block; font-size: clamp(3.4rem, 6vw, 5.4rem); line-height: 1; font-weight: 800; color: var(--green); letter-spacing: -.04em; }
.counter span { display: block; margin-top: 10px; color: #fff; font-size: 1.05rem; }
.counter small { display: block; color: #9EA393; font-size: .92rem; max-width: 240px; }
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: 180px 110px 180px 110px; gap: 16px; }
.mosaic figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic figure:hover img { transform: scale(1.06); }
.mosaic .m1 { grid-row: 1 / 3; } .mosaic .m2 { grid-row: 1 / 2; }
.mosaic .tag { grid-row: 2 / 3; }
.mosaic .m3 { grid-row: 3 / 5; } .mosaic .m4 { grid-row: 3 / 4; }
.mosaic .tag2 { grid-row: 4 / 5; grid-column: 2; }
.mosaic .m2, .mosaic .tag { grid-column: 2; }
.mosaic .m4 { grid-column: 2; }
.tag-tile { border-radius: var(--radius); background: var(--green); color: #fff; display: flex; align-items: center; gap: 14px; padding: 0 24px; font-weight: 700; font-size: 1.15rem; }
.tag-tile svg { width: 30px; height: 30px; flex-shrink: 0; }

/* ---------- Expertises ---------- */
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.expertise-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.expertise-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.expertise-card__media { position: relative; aspect-ratio: 4 / 3.6; overflow: hidden; }
.expertise-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.expertise-card:hover .expertise-card__media img { transform: scale(1.07); }
.expertise-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.7)); }
.expertise-card__media h3 { position: absolute; left: 22px; bottom: 16px; z-index: 1; color: #fff; margin: 0; font-size: 1.4rem; }
.expertise-card__num { position: absolute; top: 16px; right: 16px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 800; font-size: .9rem; }
.expertise-card ul { list-style: none; padding: 22px 22px 26px; border-top: 4px solid var(--green); flex: 1; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: .95rem; line-height: 1.45; color: var(--text); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border-radius: 50%; background: var(--green-soft); box-shadow: inset 0 0 0 4px var(--green); }
.section-cta { display: flex; justify-content: center; margin-top: 56px; }

/* ---------- Développé par RBL REI (teaser accueil) ---------- */
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.solution-card { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.solution-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.solution-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.solution-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.solution-card:hover .solution-card__media img { transform: scale(1.07); }
.solution-card__logo { height: 92px; display: grid; place-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.solution-card__logo img { max-height: 64px; width: auto; object-fit: contain; }
.solution-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.solution-card__body h3 { margin: 0; color: var(--green); font-size: 1.3rem; letter-spacing: .02em; }
.solution-card__body h3 sup { font-size: .55em; }
.solution-card__body p { margin: 0; color: var(--muted); font-size: .95rem; flex: 1; }

/* ---------- Marques ---------- */
.brands-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.brand-card { position: relative; border: 2px solid var(--green); border-radius: var(--radius-lg); padding: 30px 26px 32px; background: #fff; text-align: center; transition: transform .5s var(--ease), box-shadow .5s, background .5s; overflow: hidden; }
.brand-card::before { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--green); transform: scaleX(0); transition: transform .5s var(--ease); }
.brand-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.brand-card:hover::before { transform: scaleX(1); }
.brand-card__logo { height: 120px; display: grid; place-items: center; margin-bottom: 18px; }
.brand-card__logo img { max-height: 110px; width: auto; max-width: 100%; object-fit: contain; }
.brand-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.brand-card p { margin: 0; font-size: .97rem; color: var(--muted); }
.group-note { margin-top: 40px; text-align: center; color: var(--muted); font-size: .95rem; }
.group-note strong { color: var(--ink); }

/* ---------- Carrousel actualités LinkedIn ---------- */
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 44px; flex-wrap: wrap; }
.news-head h2 { margin: 0; }
.carousel-controls { display: flex; gap: 12px; }
.carousel-btn { width: 54px; height: 54px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: all .3s; }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn:hover { background: var(--green); border-color: var(--green); }
.carousel-btn:disabled { opacity: .35; cursor: default; background: transparent; border-color: rgba(255,255,255,.3); }
.carousel { overflow: hidden; margin-inline: -12px; padding: 12px; }
.carousel-track { display: flex; gap: 24px; transition: transform .7s var(--ease); will-change: transform; }
.news-card { flex: 0 0 calc((100% - 48px) / 3); background: #151713; border: 1px solid #262A20; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .4s; }
.news-card:hover { transform: translateY(-6px); border-color: var(--green); }
.news-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__source { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(0,0,0,.7); color: #fff; font-size: .78rem; font-weight: 700; backdrop-filter: blur(6px); }
.news-card__source img { width: 22px; height: 22px; border-radius: 6px; }
.news-card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.news-card__tag { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-weight: 700; }
.news-card h3 { color: #fff; font-size: 1.22rem; margin: 0; }
.news-card p { color: #AEB3A6; font-size: .95rem; margin: 0; flex: 1; }
.news-card--cta { background: var(--green); border-color: var(--green); justify-content: center; align-items: flex-start; padding: 40px 34px; gap: 18px; }
.news-card--cta h3 { font-size: 1.7rem; }
.news-card--cta p { color: #F3F9E6; flex: 0; }
.news-card--cta img.big-in { width: 64px; height: 64px; border-radius: 14px; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.carousel-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: #3A3E33; cursor: pointer; transition: width .4s var(--ease), background .3s; }
.carousel-dots button.is-active { width: 34px; background: var(--green); }

/* ---------- Bandeau contact ---------- */
.contact-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(50px, 7vw, 90px) clamp(30px, 6vw, 80px); color: #fff; isolation: isolate; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.contact-band__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.contact-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,10,10,.92) 30%, rgba(95,138,16,.75)); }
.contact-band h2 { color: #fff; margin-bottom: 14px; }
.contact-band p { color: #D6DACE; margin: 0; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 16px 20px; transition: background .3s, border-color .3s; }
.contact-item:hover { background: rgba(130,183,28,.25); border-color: var(--green); }
.contact-item .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.contact-item .ico svg { width: 20px; height: 20px; color: #fff; }
.contact-item small { display: block; color: #B9BEB1; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-item span { font-weight: 700; font-size: 1.05rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--black); color: #B9BEB1; border-radius: 48px 48px 0 0; padding: 80px 0 0; margin-top: -1px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 60px; }
.footer-logo img { height: 92px; width: auto; margin-bottom: 20px; }
.footer-grid h4 { color: #fff; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid address { font-style: normal; line-height: 1.75; }
.footer-grid a:hover { color: var(--green); }
.footer-links { list-style: none; display: grid; gap: 8px; }
.footer-contact { display: grid; gap: 8px; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-social { display: inline-flex; margin-top: 18px; border-radius: 10px; overflow: hidden; transition: transform .3s; }
.footer-social img { width: 42px; height: 42px; }
.footer-social:hover { transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid #23261E; padding: 24px 0 30px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .88rem; color: #8B9081; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--green); }

/* ---------- Page Nos marchés ---------- */
.chips-bar { position: sticky; top: 78px; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink); transition: all .3s; }
.chip:hover, .chip.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.market-row { display: grid; grid-template-columns: 340px 1fr; gap: 34px; align-items: stretch; padding: 34px 0; }
.market-row + .market-row { border-top: 1px dashed var(--line); }
.market-row__media { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 260px; box-shadow: var(--shadow-soft); }
.market-row__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.market-row:hover .market-row__media img { transform: scale(1.06); }
.market-row__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.78)); }
.market-row__media h2 { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 1; color: #fff; font-size: 1.45rem; margin: 0; }
.market-row__media .num { position: absolute; top: 18px; left: 20px; z-index: 1; color: #fff; font-weight: 800; font-size: .85rem; background: var(--green); border-radius: 999px; padding: 5px 12px; }
.market-row__content { border: 2px solid var(--green); border-radius: var(--radius-lg); padding: 34px 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; align-content: center; background: #fff; transition: box-shadow .5s, transform .5s var(--ease); }
.market-row:hover .market-row__content { box-shadow: var(--shadow-soft); }
.market-row__content h4 { grid-column: 1 / -1; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: 0 0 6px; }
.market-row__content .col-title { font-weight: 700; color: var(--ink); margin-bottom: 8px; }

/* ---------- Page Solutions ---------- */
.solution-block { padding: clamp(70px, 8vw, 110px) 0; }
.solution-block + .solution-block { border-top: 1px solid var(--line); }
.solution-title { display: flex; align-items: baseline; gap: 6px; justify-content: center; text-align: center; color: var(--green); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; letter-spacing: .02em; margin-bottom: 50px; }
.solution-title sup { font-size: .4em; }
.solution-layout { display: grid; grid-template-columns: 380px 1fr; gap: 34px; align-items: stretch; }
.solution-block.is-reverse .solution-layout { grid-template-columns: 1fr 380px; }
.solution-block.is-reverse .solution-info { order: 2; }
.solution-info { border: 2px solid var(--green); border-radius: var(--radius-lg); padding: 34px 32px; display: flex; flex-direction: column; gap: 26px; background: #fff; }
.solution-info .check-list li { font-size: 1rem; margin-bottom: 12px; }
.solution-info .logo-wrap { margin-top: auto; display: grid; place-items: center; padding-top: 10px; }
.solution-info .logo-wrap img { max-height: 130px; width: auto; }
.solution-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; min-height: 520px; }
.solution-gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--bg-soft); }
.solution-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.solution-gallery figure:hover img { transform: scale(1.06); }
.solution-gallery .wide { grid-column: 1 / -1; }
.solution-gallery .contain img { object-fit: contain; padding: 20px; background: #fff; }
.solution-gallery.two-rows { grid-template-rows: 1fr 1.1fr; }

/* ---------- Mentions légales ---------- */
.legal { max-width: 860px; }
.legal h2 { font-size: 1.6rem; margin-top: 50px; }
.legal .todo { background: #FFF6D6; border-radius: 6px; padding: 1px 6px; color: #7A5B00; font-weight: 600; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; } .reveal-delay-2 { transition-delay: .2s; } .reveal-delay-3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a.nav-link { padding: 10px 9px; font-size: .82rem; }
  .markets-grid, .expertise-grid, .solutions-grid, .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card { flex-basis: calc((100% - 24px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 78px; }
  .burger { display: block; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black); padding: 100px 28px 40px; transform: translateX(100%); transition: transform .5s var(--ease); z-index: 99;
  }
  .main-nav.is-open { transform: none; box-shadow: -30px 0 80px rgba(0,0,0,.5); }
  .main-nav a.nav-link, .site-header.is-scrolled .main-nav a.nav-link, .site-header.is-solid .main-nav a.nav-link { color: #fff; padding: 16px 0; border-bottom: 1px solid #222; font-size: .95rem; }
  .main-nav a.nav-link::after { display: none; }
  .nav-linkedin { margin: 24px 0 0; }
  .header-cta { margin-top: 20px; justify-content: center; }
  .burger { z-index: 101; }
  .burger.is-open span { background: #fff !important; }
  .burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero-top, .about-grid, .section-head, .contact-band { grid-template-columns: 1fr; }
  .section-head { gap: 18px; }
  .market-row, .solution-layout, .solution-block.is-reverse .solution-layout { grid-template-columns: 1fr; }
  .solution-block.is-reverse .solution-info { order: 0; }
  .chips-bar { top: 78px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { height: 50px; }
  .markets-grid, .expertise-grid, .solutions-grid, .brands-grid { grid-template-columns: 1fr; }
  .news-card { flex-basis: 100%; }
  .market-row__content { grid-template-columns: 1fr; padding: 26px 24px; }
  .counters { gap: 34px; }
  .mosaic { grid-template-rows: 150px 90px 150px 90px; gap: 10px; }
  .tag-tile { font-size: .95rem; padding: 0 14px; }
  .tag-tile svg { display: none; }
  .solution-gallery { min-height: 420px; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { border-radius: 32px 32px 0 0; }
}

/* =========================================================
   V2 — Bandeau d'accueil, sélecteur de langue, marques, références
   ========================================================= */
/* Bandeau photo en haut de l'accueil */
.home-hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 60px) 0 110px; color: #fff; overflow: hidden; isolation: isolate; }
.home-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: 62% center; transform: scale(1.08); animation: heroZoom 16s ease-out forwards; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,.15) 60%, rgba(0,0,0,.82) 100%), linear-gradient(90deg, rgba(0,0,0,.55), transparent 60%); }
.home-hero h1 { color: #fff; max-width: 880px; margin-bottom: 22px; }
.home-hero h1 em { font-style: normal; color: var(--green); }
.home-hero p { max-width: 640px; font-size: 1.15rem; color: #EEF1E8; margin-bottom: 30px; }
.home-hero .eyebrow { color: #CFE6A6; }
.home-hero .scroll-hint { bottom: 28px; }
@media (max-width: 760px) { .home-hero { min-height: 88vh; padding-bottom: 100px; } .home-hero__bg { background-position: 68% center; } }

/* Carte "Notre implantation" placée sous le bandeau */
.hero-map.map-section { min-height: auto; padding: clamp(80px, 9vw, 130px) 0 clamp(70px, 8vw, 110px); }
.hero-map.map-section h2 { color: #fff; margin: 0; }
.hero-map.map-section h2 em { font-style: normal; color: var(--green); }


/* Cartes marques cliquables */
a.brand-card { display: flex; flex-direction: column; color: inherit; }
a.brand-card p { flex: 1; }
.brand-card .link-arrow { margin-top: 20px; justify-content: center; font-size: .95rem; }

/* Nos références (logos clients) */
.refs { padding: 70px 0 20px; }
.refs-title { text-align: center; margin-bottom: 36px; }
.logo-marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-track { display: flex; align-items: center; gap: 70px; width: max-content; animation: marquee var(--marquee-dur, 40s) linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track img { height: 64px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .4s, opacity .4s; }
.logo-track img:hover { filter: none; opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.home-hero__bg { display: block; } .home-hero__bg img { display: block; }

/* Navigation : pas de retour à la ligne, menu burger sous 1360 px */
.main-nav a.nav-link { white-space: nowrap; padding: 10px 11px; font-size: .84rem; }
.main-nav a.nav-link::after { left: 11px; right: 11px; }
@media (max-width: 1360px) {
  :root { --header-h: 78px; }
  .burger { display: block; z-index: 101; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black); padding: 100px 28px 40px; transform: translateX(100%); transition: transform .5s var(--ease); z-index: 99; overflow-y: auto;
  }
  .main-nav.is-open { transform: none; box-shadow: -30px 0 80px rgba(0,0,0,.5); }
  .main-nav a.nav-link, .site-header.is-scrolled .main-nav a.nav-link, .site-header.is-solid .main-nav a.nav-link { color: #fff; padding: 16px 0; border-bottom: 1px solid #222; font-size: .95rem; }
  .main-nav a.nav-link::after { display: none; }
  .nav-linkedin { margin: 24px 0 0; }
  .header-cta { margin-top: 20px; justify-content: center; }
  .burger.is-open span { background: #fff !important; }
  .burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
.home-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
@media (max-width: 760px) { .home-hero__bg img { object-position: 74% center; } }
/* Références : logos normalisés (fichiers 360 x 180) */
.refs { padding: clamp(70px, 8vw, 110px) 0 clamp(30px, 4vw, 50px); }
.logo-track { gap: 34px; }
.logo-track img { height: 90px; width: 180px; max-width: none; }

/* Bouton burger ouvert : croix blanche sur fond sombre, quel que soit l'état de l'en-tête */
.burger.is-open, .site-header.is-scrolled .burger.is-open, .site-header.is-solid .burger.is-open { background: rgba(255,255,255,.14); }

/* =========================================================
   Sélecteur de langue à drapeaux (menu déroulant)
   ========================================================= */
.lang-dd { position: relative; margin: 0 4px 0 6px; }
.lang-dd__btn { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 6px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; font: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .06em; cursor: pointer; transition: border-color .3s, background .3s, color .3s; }
.lang-dd__btn:hover, .lang-dd.is-open .lang-dd__btn { border-color: var(--green); }
.lang-dd__btn .chev { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.lang-dd.is-open .lang-dd__btn .chev { transform: rotate(180deg); }
.flag { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,.85); flex-shrink: 0; }
.lang-dd__menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 170px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 14px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; z-index: 120; }
.lang-dd__menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.lang-dd.is-open .lang-dd__menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1361px) { html:not(.nav-mobile) .lang-dd:hover .lang-dd__menu { opacity: 1; visibility: visible; transform: none; } .lang-dd:hover .lang-dd__btn .chev { transform: rotate(180deg); } }
.lang-dd__menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .92rem; transition: background .2s; }
.lang-dd__menu a .flag { box-shadow: 0 0 0 1px var(--line); }
.lang-dd__menu a:hover { background: var(--green-soft); }
.lang-dd__menu a[aria-current] { background: var(--bg-soft); }
.lang-dd__menu a[aria-current]::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.site-header.is-scrolled .lang-dd__btn, .site-header.is-solid .lang-dd__btn { color: var(--ink); border-color: var(--line); }
.site-header.is-scrolled .lang-dd__btn .flag, .site-header.is-solid .lang-dd__btn .flag { box-shadow: 0 0 0 1px var(--line); }
/* Dans le menu mobile : les deux drapeaux affichés directement */
@media (max-width: 1360px) {
  .lang-dd { margin: 24px 0 0; }
  .lang-dd__btn { display: none; }
  .lang-dd__menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0; display: flex; gap: 10px; min-width: 0; }
  .lang-dd__menu li { flex: 1; }
  .lang-dd__menu a { color: #fff; border: 1.5px solid #2A2D25; justify-content: center; }
  .lang-dd__menu a[aria-current] { background: rgba(130,183,28,.18); border-color: var(--green); }
  .lang-dd__menu a[aria-current]::after { display: none; }
  .lang-dd__menu a:hover { background: rgba(255,255,255,.08); }
}

/* =========================================================
   Menu burger identique FR / EN
   Le menu passe en burger sous 1360 px, ou dès que les liens ne
   tiennent pas sur une ligne (police, zoom, langue) : classe
   html.nav-mobile posée par main.js.
   ========================================================= */
@media (min-width: 1361px) and (max-width: 1500px) {
  .main-nav a.nav-link { padding: 10px 8px; font-size: .8rem; }
  .main-nav a.nav-link::after { left: 8px; right: 8px; }
}
html.nav-mobile .burger { display: block; z-index: 101; }
html.nav-mobile .main-nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); flex-direction: column; align-items: stretch; gap: 0; background: var(--black); padding: 100px 28px 40px; transform: translateX(100%); transition: transform .5s var(--ease); z-index: 99; overflow-y: auto; }
html.nav-mobile .main-nav.is-open { transform: none; box-shadow: -30px 0 80px rgba(0,0,0,.5); }
html.nav-mobile .main-nav a.nav-link,html.nav-mobile .site-header.is-scrolled .main-nav a.nav-link,html.nav-mobile .site-header.is-solid .main-nav a.nav-link { color: #fff; padding: 16px 0; border-bottom: 1px solid #222; font-size: .95rem; }
html.nav-mobile .main-nav a.nav-link::after { display: none; }
html.nav-mobile .nav-linkedin { margin: 24px 0 0; }
html.nav-mobile .header-cta { margin-top: 20px; justify-content: center; }
html.nav-mobile .burger.is-open span { background: #fff !important; }
html.nav-mobile .burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
html.nav-mobile .burger.is-open span:nth-child(2) { opacity: 0; }
html.nav-mobile .burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
html.nav-mobile .lang-dd { margin: 24px 0 0; }
html.nav-mobile .lang-dd__btn { display: none; }
html.nav-mobile .lang-dd__menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0; display: flex; gap: 10px; min-width: 0; }
html.nav-mobile .lang-dd__menu li { flex: 1; }
html.nav-mobile .lang-dd__menu a { color: #fff; border: 1.5px solid #2A2D25; justify-content: center; }
html.nav-mobile .lang-dd__menu a[aria-current] { background: rgba(130,183,28,.18); border-color: var(--green); }
html.nav-mobile .lang-dd__menu a[aria-current]::after { display: none; }
html.nav-mobile .lang-dd__menu a:hover { background: rgba(255,255,255,.08); }
/* En-tête plus large que le contenu : le menu FR (libellés plus longs) tient sur une ligne */
.site-header .container { width: min(100% - 48px, 1400px); gap: 24px; }
