/* GIC — Guinée Ingénieurs Conseils — site vitrine */

:root {
  --gold: #92712C;
  --gold-light: #B4914A;
  --gold-dark: #6E5620;
  --cream: #FFFAF0;
  --ink: #15130E;
  --ink-2: #211D15;
  --ink-soft: #4A4436;
  --white: #FFFFFF;
  --line: rgba(21,19,14,0.10);
  --line-light: rgba(255,250,240,0.14);
  --shadow: 0 20px 50px -20px rgba(21,19,14,0.25);
  --shadow-lg: 0 30px 80px -30px rgba(21,19,14,0.35);
  --radius: 2px;
  --ff-head: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --ff-body: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--cream);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255,250,240,0.4);
}
.btn-ghost:hover { border-color: var(--cream); background: rgba(255,250,240,0.08); }

.btn-dark {
  background: var(--ink);
  color: var(--cream);
}
.btn-dark:hover { background: #000; transform: translateY(-2px); }

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all .4s var(--ease);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header.is-scrolled {
  background: rgba(255,250,240,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px 0;
}
.brand { display: flex; align-items: center; }
.brand img { height: 30px; width: auto; }
.logo-dark { display: none; }
.logo-light { display: block; }
.site-header.is-scrolled .logo-dark { display: block; }
.site-header.is-scrolled .logo-light { display: none; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.main-nav ul {
  display: flex;
  gap: 34px;
  list-style: none;
}
.main-nav a:not(.btn) {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cream);
  position: relative;
  padding-bottom: 4px;
  transition: color .3s;
}
.site-header.is-scrolled .main-nav a:not(.btn) { color: var(--ink); }
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.main-nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 26px;
  cursor: pointer;
}
.site-header.is-scrolled .nav-toggle { color: var(--ink); }

/* ---------- Language switch ---------- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-btn {
  background: none;
  border: none;
  padding: 4px 2px;
  font-family: var(--ff-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cream);
  opacity: 0.5;
  cursor: pointer;
  transition: opacity .3s, color .3s;
}
.lang-btn.is-active { opacity: 1; color: var(--gold-light); }
.lang-switch .lang-sep { color: var(--cream); opacity: 0.3; font-size: 12.5px; }
.site-header.is-scrolled .lang-btn { color: var(--ink); }
.site-header.is-scrolled .lang-btn.is-active { color: var(--gold); }
.site-header.is-scrolled .lang-switch .lang-sep { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-media .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-media .hero-slide.is-active {
  opacity: 1;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(21,19,14,0.55) 0%, rgba(21,19,14,0.35) 30%, rgba(21,19,14,0.55) 68%, rgba(21,19,14,0.94) 100%),
    linear-gradient(90deg, rgba(21,19,14,0.55) 0%, rgba(21,19,14,0.05) 45%, rgba(21,19,14,0.05) 55%, rgba(21,19,14,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 160px 0 88px;
  color: var(--cream);
}
.hero .eyebrow { color: var(--gold-light); margin-bottom: 22px; }
.hero .eyebrow::before { background: var(--gold-light); }
.hero h1 {
  font-size: clamp(38px, 6vw, 74px);
  max-width: 15ch;
  margin-bottom: 22px;
}
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero-lede {
  font-size: clamp(15.5px, 1.6vw, 18px);
  max-width: 46ch;
  color: rgba(255,250,240,0.82);
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-scroll {
  position: absolute;
  right: 32px;
  bottom: 34px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,250,240,0.6);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-scroll .line { width: 34px; height: 1px; background: rgba(255,250,240,0.5); position: relative; overflow: hidden; }
.hero-scroll .line::after {
  content: "";
  position: absolute; left: -100%; top: 0; bottom: 0; width: 100%;
  background: var(--gold-light);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine { 0%{left:-100%;} 50%{left:0;} 100%{left:100%;} }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--ink);
  color: rgba(255,250,240,0.72);
  padding: 22px 0;
  border-top: 1px solid var(--line-light);
}
.trust .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}
.trust p {
  font-size: 13px;
  letter-spacing: 0.02em;
}
.trust strong { color: var(--gold-light); font-weight: 700; }
.trust .dot { color: var(--gold-light); opacity: .6; }

/* ---------- Section base ---------- */
section { position: relative; }
.section {
  padding: 84px 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  margin-top: 18px;
}
.section-head p {
  margin-top: 18px;
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 52ch;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.light .eyebrow { color: var(--gold-light); }
.section-head.light h2 { color: var(--cream); }
.section-head.light p { color: rgba(255,250,240,0.68); }

/* ---------- Strata divider (motif "couches de terrain") ---------- */
.section.section--flush-bottom { padding-bottom: 0; }
.section.section--flush-top { padding-top: 0; }
.strata-divider {
  line-height: 0;
}
.strata-divider svg {
  display: block;
  width: 100%;
  height: 150px;
}
@media (max-width: 760px) {
  .strata-divider svg { height: 76px; }
}

/* ---------- Expertises ---------- */
#expertises { background: var(--white); }
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 768px) {
  .expertise-grid { grid-template-columns: 1fr; }
}
.expertise-card {
  background: var(--white);
  padding: 40px 32px;
  transition: background .35s var(--ease);
}
.expertise-card:hover { background: var(--cream); }
.expertise-num {
  font-family: var(--ff-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.expertise-icon {
  width: 40px; height: 40px;
  margin: 22px 0 20px;
  color: var(--gold);
}
.expertise-icon svg { width: 100%; height: 100%; }
.expertise-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.expertise-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 18px;
}
.expertise-card .more {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: transform .3s var(--ease);
}
.expertise-card .more:hover {
  transform: translateX(4px);
}

/* ---------- Stats ---------- */
#chiffres {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
#chiffres::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,250,240,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,250,240,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 90%);
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 48px;
  margin-top: 20px;
}
.stat {
  border-left: 1px solid var(--line-light);
  padding-left: 22px;
}
.stat .num {
  font-family: var(--ff-head);
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 700;
  color: var(--gold-light);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat .label {
  margin-top: 8px;
  font-size: 13.5px;
  color: rgba(255,250,240,0.68);
  letter-spacing: 0.01em;
}

/* ---------- Equipment feature banner ---------- */
.equip-feature {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.equip-feature img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.equip-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(21,19,14,0.92) 0%, rgba(21,19,14,0.55) 45%, rgba(21,19,14,0.25) 70%, rgba(21,19,14,0.5) 100%);
}
.equip-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 64px 0 56px;
  color: var(--cream);
}
.equip-content .eyebrow { color: var(--gold-light); margin-bottom: 16px; }
.equip-content .eyebrow::before { background: var(--gold-light); }
.equip-content h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  max-width: 18ch;
  margin-bottom: 16px;
}
.equip-content p {
  font-size: 16px;
  color: rgba(255,250,240,0.78);
  max-width: 50ch;
}
.equip-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.equip-tags span {
  border: 1px solid rgba(255,250,240,0.3);
  padding: 8px 16px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--cream);
}

/* ---------- Gallery ---------- */
#references { background: var(--cream); }
.references-logos {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
}
.references-logos img {
  width: 100%;
  height: auto;
  display: block;
}

#gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(140px, 19vw, 260px);
  gap: 6px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(21,19,14,0.75) 0%, rgba(21,19,14,0) 42%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-cap {
  position: absolute;
  left: 16px; bottom: 14px;
  z-index: 2;
  color: var(--cream);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(8px);
  transition: all .35s var(--ease);
}
.gallery-item:hover .gallery-cap { opacity: 1; transform: translateY(0); }
.gallery-item.g-big { grid-column: span 2; grid-row: span 2; }
.gallery-item.g-tag::before {
  content: attr(data-tag);
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: var(--gold);
  color: var(--cream);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
}

@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.g-big { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/10; }
}

/* ---------- Quote ---------- */
#vision {
  background: var(--cream);
  padding: 84px 0;
}
.quote-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.quote-mark {
  font-family: var(--ff-head);
  font-size: 90px;
  color: var(--gold);
  line-height: 0.5;
  opacity: 0.85;
}
.quote-block p {
  font-family: var(--ff-head);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  margin: 28px 0 26px;
}
.quote-cite {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
}

/* ---------- About ---------- */
#apropos { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.about-media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media-tag {
  position: absolute;
  left: 20px; bottom: 20px;
  background: var(--cream);
  padding: 12px 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.about-media-tag::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.about-body p { font-size: 16.5px; color: var(--ink-soft); margin-bottom: 20px; max-width: 54ch; }
.about-body p:last-of-type { margin-bottom: 34px; }

.timeline {
  display: flex;
  gap: 40px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.timeline .t-item { max-width: 220px; }
.timeline .t-year {
  font-family: var(--ff-head);
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}
.timeline .t-text { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Video ---------- */
#video { background: var(--white); }
.video-frame {
  max-width: 840px;
  margin: 0 auto;
  padding: 14px;
  background: var(--cream);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-lg);
}
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}
.video-wrap iframe,
.video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--ink);
  object-fit: contain;
}
@media (max-width: 760px) {
  .video-frame { padding: 8px; }
}

/* ---------- Process ---------- */
#process {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.process-item { position: relative; padding-top: 28px; }
.process-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--gold);
}
.process-item .p-num {
  position: absolute;
  top: -6px; right: 0;
  font-family: var(--ff-head);
  font-size: 44px;
  font-weight: 700;
  color: rgba(21,19,14,0.08);
}
.process-item h3 { font-size: 19px; margin-bottom: 10px; }
.process-item p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--gold);
  color: var(--cream);
  padding: 88px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  max-width: 20ch;
  margin: 0 auto 30px;
}
.cta-banner .btn-dark { background: var(--ink); }
.cta-banner .btn-dark:hover { background: #000; }

/* ---------- Contact ---------- */
#contact { background: var(--white); padding: 84px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
.contact-list { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-item .ci-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  color: var(--gold);
}
.contact-item .ci-icon svg { width: 19px; height: 19px; }
.contact-item .ci-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; margin-bottom: 4px; }
.contact-item .ci-value { font-size: 16px; font-weight: 500; }
.contact-item a.ci-value:hover { color: var(--gold); }

.contact-panel {
  background: var(--ink);
  color: var(--cream);
  padding: 52px 44px;
}
.contact-panel h3 { font-size: 24px; margin-bottom: 14px; }
.contact-panel p { font-size: 15px; color: rgba(255,250,240,0.68); margin-bottom: 32px; max-width: 42ch; }
.contact-panel .btn { width: 100%; justify-content: center; margin-bottom: 14px; }
.contact-panel .btn-ghost { border-color: rgba(255,250,240,0.25); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,250,240,0.6);
  padding: 64px 0 30px;
  border-top: 1px solid var(--line-light);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-light);
}
.footer-brand img { height: 26px; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; max-width: 34ch; line-height: 1.6; }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 {
  font-family: var(--ff-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; transition: color .25s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 12.5px;
}

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  z-index: -1;
}

.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.service-card:hover::before {
  opacity: 0.08;
}

.service-card:hover .arrow {
  transform: translateX(6px);
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 12px;
  color: var(--gold);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card h3 {
  font-size: 20px;
  margin: 0;
  color: var(--ink);
}

.service-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
  flex-grow: 1;
}

.arrow {
  display: inline-block;
  color: var(--gold);
  font-size: 24px;
  font-weight: 700;
  transition: transform 0.3s var(--ease);
  margin-top: auto;
}

/* ---------- Service Hero ---------- */
.service-hero {
  background: linear-gradient(135deg, var(--ink-2) 0%, var(--ink) 100%);
  color: var(--cream);
  padding: 100px 0;
  text-align: center;
  border-bottom: 2px solid var(--gold);
}

.service-hero .eyebrow {
  color: var(--gold-light);
  justify-content: center;
}

.service-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  color: var(--cream);
  margin: 20px 0;
}

.service-hero-lede {
  font-size: 18px;
  max-width: 700px;
  margin: 24px auto 36px;
  color: rgba(255, 250, 240, 0.9);
}

/* ---------- Two Column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

/* ---------- Feature List ---------- */
.feature-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.feature-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--ink-soft);
  font-size: 15px;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Benefits Grid ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.benefit-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  transition: all 0.35s var(--ease);
}

.benefit-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.benefit-icon {
  font-size: 44px;
  display: block;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--ink);
}

.benefit-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Use Cases ---------- */
.use-cases {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.use-cases li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.6;
}

.use-cases li:last-child {
  border-bottom: none;
}

.use-cases strong {
  color: var(--gold);
  display: inline-block;
  min-width: 160px;
}

/* ---------- Alternate Section ---------- */
.section.alternate {
  background: var(--cream);
}

/* ---------- Stats Section ---------- */
.stats-section {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--cream);
}

.stats-section .section-head,
.stats-section .eyebrow {
  color: var(--gold-light);
}

.stats-section .section-head h2 {
  color: var(--cream);
}

.stat {
  text-align: center;
}

.stat .num {
  font-size: clamp(48px, 10vw, 72px);
  font-weight: 700;
  font-family: var(--ff-head);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.stat .label {
  font-size: 14.5px;
  color: rgba(255, 250, 240, 0.8);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 36px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .service-hero { padding: 80px 0; }
  .service-hero h1 { font-size: clamp(32px, 5vw, 52px); }
}

@media (max-width: 760px) {
  .container { padding: 0 22px; }
  .section { padding: 56px 0; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    height: 100vh;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 24px; }
  .main-nav a:not(.btn) { color: var(--cream); font-size: 17px; }
  .main-nav .nav-ctas { margin-top: 30px; }
  .main-nav .lang-switch { margin-top: 24px; }
  .main-nav .lang-btn,
  .main-nav .lang-switch .lang-sep { color: var(--cream); }
  .hero-content { padding: 130px 0 64px; }
  .hero-scroll { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 40px; }
  .gallery-2x2 { grid-template-columns: 1fr; }
  .service-capabilities .capabilities-grid { grid-template-columns: 1fr; }
}

/* ---------- Service Pages ---------- */
.breadcrumb {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 30px;
  transition: transform .3s var(--ease);
}
.breadcrumb:hover { transform: translateX(-4px); }

.service-hero {
  background: linear-gradient(135deg, var(--ink-2) 0%, var(--ink) 100%);
  color: var(--cream);
  padding: 100px 32px;
  border-bottom: 2px solid var(--gold);
}
.service-hero h1 {
  font-size: clamp(36px, 5.5vw, 66px);
  color: var(--cream);
  margin: 26px 0;
  max-width: 720px;
}
.service-hero h1 em {
  color: var(--gold-light);
  font-style: normal;
}
.service-lede {
  font-size: clamp(15.5px, 1.6vw, 18px);
  max-width: 680px;
  color: rgba(255, 250, 240, 0.88);
  margin-top: 20px;
}

.service-content {
  padding: 100px 0;
  background: var(--white);
}
.service-intro {
  max-width: 720px;
  margin-bottom: 80px;
}
.service-intro h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  margin-bottom: 24px;
  color: var(--ink);
}
.service-intro p {
  font-size: 16.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.service-capabilities h3 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin-bottom: 50px;
  color: var(--ink);
}
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}
.capability-item h4 {
  font-size: 17.5px;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 700;
}
.capability-item p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.service-benefit {
  margin-top: 80px;
}
.benefit-card {
  background: linear-gradient(135deg, rgba(146, 113, 44, 0.08) 0%, rgba(146, 113, 44, 0.04) 100%);
  padding: 48px;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
}
.benefit-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 20px;
}
.benefit-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--ink);
}
.benefit-card p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.service-gallery {
  padding: 72px 0;
  background: var(--cream);
}
.service-gallery h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin-bottom: 50px;
  text-align: center;
  color: var(--ink);
}

.gallery-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.gallery-item-2x2 {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1;
}
.gallery-item-2x2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.gallery-item-2x2:hover img {
  transform: scale(1.05);
}
.gallery-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(21,19,14,0.9), transparent);
  color: var(--cream);
  padding: 24px 20px 20px;
  font-size: 14px;
  font-weight: 600;
}

/* 3-image asymmetric gallery: one tall image + two stacked */
.gallery-3 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.gallery-3 .gallery-item-2x2 {
  aspect-ratio: auto;
}
.gallery-3 .g-tall {
  grid-row: 1 / 3;
}

@media (max-width: 768px) {
  .capabilities-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-hero { padding: 80px 0; }
  .service-hero h1 { font-size: clamp(28px, 5vw, 42px); }
  .service-content { padding: 70px 0; }
  .service-intro { margin-bottom: 60px; }
  .service-benefit { margin-top: 60px; }
  .benefit-card { padding: 32px; }
  .service-gallery { padding: 70px 0; }
  .gallery-2x2 { grid-template-columns: 1fr; gap: 20px; }
  .gallery-3 { grid-template-columns: 1fr; grid-template-rows: none; gap: 20px; }
  .gallery-3 .gallery-item-2x2,
  .gallery-3 .g-tall { grid-row: auto; aspect-ratio: 4/3; }
  .contact-layout { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .featured-post { grid-template-columns: 1fr; }
}

/* ---------- Contact Page ---------- */
.contact-section {
  padding: 72px 0;
  background: var(--white);
}

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

.contact-info h2,
.contact-form h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin-bottom: 40px;
  color: var(--ink);
}

.info-block {
  margin-bottom: 48px;
}

.info-block h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.info-block p {
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 15px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item .label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.contact-item a {
  color: var(--ink);
  text-decoration: none;
  transition: color .3s var(--ease);
}

.contact-item a:hover {
  color: var(--gold);
}

/* Form Styles */
.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color .3s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(146, 113, 44, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-notice {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: -12px;
}

.form-success {
  padding: 24px;
  background: linear-gradient(135deg, rgba(146, 113, 44, 0.12) 0%, rgba(146, 113, 44, 0.06) 100%);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  text-align: center;
}

.form-success p {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Blog Page ---------- */
.blog-hero {
  background: linear-gradient(135deg, var(--ink-2) 0%, var(--ink) 100%);
  color: var(--cream);
  padding: 100px 32px;
  border-bottom: 2px solid var(--gold);
}

.blog-hero h1 {
  font-size: clamp(36px, 5.5vw, 66px);
  margin-bottom: 20px;
}

.blog-hero-lede {
  font-size: clamp(15.5px, 1.6vw, 18px);
  max-width: 600px;
  color: rgba(255, 250, 240, 0.88);
}

.blog-section {
  padding: 72px 0;
  background: var(--white);
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* Featured Post */
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.featured-post .post-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
}

.featured-post .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}

.featured-post:hover .post-image img {
  transform: scale(1.05);
}

.featured-post .post-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-date {
  color: var(--ink-soft);
}

.post-category {
  color: var(--gold);
}

.featured-post h2 {
  font-size: clamp(24px, 2.8vw, 36px);
  color: var(--ink);
  line-height: 1.25;
}

.featured-post p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.blog-post {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-image-small {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 4px;
}

.post-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}

.blog-post:hover .post-image-small img {
  transform: scale(1.08);
}

.blog-post h3 {
  font-size: 17.5px;
  color: var(--ink);
  line-height: 1.35;
}

.post-content-small p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.read-more {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: transform .3s var(--ease);
  display: inline-block;
}

.read-more:hover {
  transform: translateX(4px);
}

/* Blog Pagination */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}

.page-info {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 600;
}

.blog-pagination .btn {
  padding: 12px 20px;
  font-size: 13px;
}

.blog-pagination .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Blog Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sidebar-widget {
  padding: 30px;
  background: var(--cream);
  border-radius: 4px;
}

.sidebar-widget h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.category-list,
.recent-posts {
  list-style: none;
}

.category-list li,
.recent-posts li {
  margin-bottom: 12px;
}

.category-list a,
.recent-posts a {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .3s var(--ease);
  display: block;
}

.category-list a:hover,
.recent-posts a:hover {
  color: var(--gold);
}

.cta-widget {
  background: linear-gradient(135deg, rgba(146, 113, 44, 0.12) 0%, rgba(146, 113, 44, 0.06) 100%);
  border-left: 4px solid var(--gold);
}

.cta-widget p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  line-height: 1.6;
}

.cta-widget .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- Projets phares (accueil) ---------- */
#projets { background: var(--white); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.project-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
}
.project-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.project-card:hover .project-media img { transform: scale(1.05); }
.project-num {
  position: absolute;
  top: 0; left: 0;
  background: var(--gold);
  color: var(--cream);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  padding: 8px 13px;
}
.project-body { padding: 22px 22px 26px; }
.project-body h3 { font-size: 17px; line-height: 1.28; }
.project-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Page Nos projets ---------- */
.proj-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}
.proj-filter {
  padding: 11px 20px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: var(--radius);
  transition: all .3s var(--ease);
}
.proj-filter:hover { border-color: var(--gold); color: var(--gold); }
.proj-filter.is-active { background: var(--gold); border-color: var(--gold); color: var(--cream); }
.proj-cat { margin-bottom: 66px; }
.proj-cat[hidden] { display: none !important; }
.proj-cat-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 34px;
}
.proj-cat-head h2 { font-size: clamp(20px, 2.4vw, 27px); }
.proj-cat-count {
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--gold);
  white-space: nowrap;
}
.proj-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.proj-item {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.proj-item:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.proj-item h3 { font-size: 17.5px; line-height: 1.3; margin-bottom: 18px; }
.proj-meta {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.proj-meta > div { display: flex; gap: 12px; align-items: flex-start; }
.proj-meta .k {
  flex: 0 0 82px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 3px;
}
.proj-meta .v { font-size: 13.5px; color: var(--ink); }
.proj-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.62; }

@media (max-width: 980px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .proj-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .projects-grid { grid-template-columns: 1fr; gap: 20px; }
  .proj-item { padding: 22px; }
  .proj-meta .k { flex-basis: 72px; }
  .proj-cat { margin-bottom: 48px; }
}
.projects-credits {
  margin-top: 22px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  opacity: .65;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Bannières d'expertise : centrage ---------- */
.service-hero { text-align: center; }
.service-hero h1,
.service-hero .service-lede { margin-left: auto; margin-right: auto; }
.service-hero .breadcrumb { justify-content: center; }
.service-hero .eyebrow { justify-content: center; }

/* ---------- Pagination inter-expertises ---------- */
.service-pager {
  background: var(--cream);
  padding: 84px 0;
  border-top: 1px solid var(--line);
}
.service-pager .section-head { margin-bottom: 40px; }
.pager-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pager-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px 34px 34px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.pager-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.pager-dir {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.pager-card h3 {
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.22;
}
.pager-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.pager-go {
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pager-card:hover .pager-go { gap: 14px; }
.pager-go { transition: gap .3s var(--ease); }

@media (max-width: 760px) {
  .service-pager { padding: 60px 0; }
  .pager-grid { grid-template-columns: 1fr; gap: 18px; }
  .pager-card { padding: 26px 26px 28px; }
}

/* ---------- Galerie : cellules larges + éléments cliquables ---------- */
.gallery-item.g-wide { grid-column: span 2; }
button.gallery-item {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  display: block;
  width: 100%;
  text-align: left;
}
button.gallery-item:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Visionneuse (lightbox) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 9, 6, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-stage {
  position: relative;
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lightbox-img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  box-shadow: 0 30px 90px -30px rgba(0,0,0,.8);
}
.lightbox-caption {
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  text-align: center;
}
.lightbox-count {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}
.lb-btn {
  position: absolute;
  appearance: none;
  border: 1px solid rgba(255,250,240,.28);
  background: rgba(21,19,14,.55);
  color: var(--cream);
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: all .25s var(--ease);
  backdrop-filter: blur(4px);
}
.lb-btn:hover { background: var(--gold); border-color: var(--gold); }
.lb-btn:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }
.lb-prev { left: -76px; top: 38%; }
.lb-next { right: -76px; top: 38%; }
.lb-close {
  position: fixed;
  top: 24px; right: 24px;
  width: 48px; height: 48px;
}
@media (max-width: 980px) {
  .lb-prev { left: 4px; }
  .lb-next { right: 4px; }
  .lightbox-stage { max-width: 96vw; }
}
@media (max-width: 760px) {
  .gallery-item.g-wide { grid-column: span 2; }
  .lb-btn { width: 44px; height: 44px; font-size: 19px; }
  .lightbox-img { max-height: 66vh; }
}

/* ---------- Formulaire : anti-spam ---------- */
.form-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-captcha .captcha-q {
  margin-left: 8px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .02em;
}
.form-status {
  margin: 4px 0 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  min-height: 1px;
}
.form-status.is-error   { color: #B3261E; }
.form-status.is-success { color: #1E6F3C; }
.form-status:empty { margin: 0; }

/* ---------- Galerie : mosaïque 4 colonnes, 3 rangées ---------- */
.gallery-grid {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  gap: 8px;
}
.gallery-grid .gallery-item { aspect-ratio: 1; }
.gallery-grid .gallery-item.g-big {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-grid .gallery-item.g-wide {
  grid-column: span 2;
  grid-row: span 1;
  aspect-ratio: 2 / 1;
}
@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  /* en 2 colonnes la grande tuile occupe déjà toute la largeur :
     elle ne doit plus s'étendre sur 2 rangées, sinon elle s'effondre */
  .gallery-grid .gallery-item.g-big {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 4 / 3;
  }
  .gallery-grid .gallery-item.g-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
}
@media (max-width: 560px) {
  .gallery-grid { gap: 6px; }
}

/* ---------- Mission & Vision (remplace l'ancien bloc citation) ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.mv-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 48px 44px 52px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mv-card .eyebrow { margin-bottom: 20px; }
.mv-text {
  font-family: var(--ff-head);
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}
.mv-card--accent {
  background: var(--ink);
  border-color: var(--ink);
  border-top-color: var(--gold-light);
}
.mv-card--accent .eyebrow { color: var(--gold-light); }
.mv-card--accent .eyebrow::before { background: var(--gold-light); }
.mv-card--accent .mv-text { color: var(--cream); }
.mv-mark {
  position: absolute;
  top: 18px;
  right: 34px;
  font-family: var(--ff-head);
  font-size: 86px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.32;
  pointer-events: none;
}
.mv-cta { text-align: center; margin-top: 44px; }

@media (max-width: 860px) {
  .mv-grid { grid-template-columns: 1fr; gap: 18px; }
  .mv-card { padding: 38px 30px; }
  .mv-mark { font-size: 64px; top: 12px; right: 24px; }
  .mv-cta { margin-top: 32px; }
}

/* ---------- Moyens techniques : bloc de texte cadré dans l'image ---------- */
.equip-feature {
  align-items: center;
  padding: 56px 0;
}
.equip-feature::after {
  background: linear-gradient(90deg, rgba(21,19,14,0.90) 0%, rgba(21,19,14,0.74) 42%, rgba(21,19,14,0.34) 68%, rgba(21,19,14,0.30) 100%);
}
.equip-content {
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  justify-content: flex-start;
}
.equip-content > * { max-width: none; }
.equip-content .equip-box {
  max-width: 560px;
  border-left: 3px solid var(--gold-light);
  padding: 30px 0 30px 30px;
}
.equip-content h2 {
  max-width: 22ch;
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 14px;
}
.equip-content p { max-width: 46ch; }
.equip-tags { margin-top: 22px; }

@media (max-width: 860px) {
  .equip-feature { padding: 44px 0; }
  .equip-feature::after {
    background: linear-gradient(0deg, rgba(21,19,14,0.92) 0%, rgba(21,19,14,0.62) 55%, rgba(21,19,14,0.45) 100%);
  }
  .equip-content .equip-box { padding: 22px 0 22px 20px; max-width: none; }
}
