/* ════════════════════════════════════════════
   LUCASTECH — style.css
   Police : Cormorant Garamond + Outfit
   Thème  : Éditorial de luxe / Terracotta & Ivoire
════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Outfit:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');

/* ══ VARIABLES ══ */
:root {
  --cream:   #f7f3ee;
  --warm:    #ede8e0;
  --surf:    #faf8f5;
  --surf2:   #f2ede6;
  --border:  rgba(0,0,0,.085);
  --ink:     #1c1814;
  --ink2:    #3a3530;
  --muted:   #8a8078;
  --terra:   #0f7a45;
  --terra2:  #1f9d55;
  --gold:    #c9a84c;
  --forest:  #2c5f4a;
  --rose:    #c93060;
  --nav-h:   96px;
  --font:    'Outfit', sans-serif;
  --serif:   'Cormorant Garamond', serif;
  --mono:    'JetBrains Mono', monospace;
}

/* ══ RESET ══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* "clip" (pas "hidden") : bloque tout débordement horizontal sans créer
     de conteneur de défilement propre à html/body. "hidden" forcerait
     overflow-y à passer de "visible" à "auto" (règle du spec CSS Overflow),
     ce qui casse position:sticky sur le header (il se met à suivre le
     nouveau scroller html/body au lieu de rester collé au viewport). */
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  line-height: 1.7;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; }
ul  { list-style: none; }
button { font-family: var(--font); }
main { flex: 1; width: 100%; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--terra); border-radius: 99px; }

/* ══ BARRE DE PROGRESSION ══ */
#progress-bar {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--terra), var(--gold));
  transition: width .1s linear;
}

/* ══ NAVBAR ══ */
header { position: sticky; top: 0; z-index: 400; }

.navbar {
  height: var(--nav-h);
  background: rgba(247,243,238,.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
  gap: 2rem;
  transition: box-shadow .3s;
}
.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,.08);
}

/* ── Brand ── */
.navbar__brand {
  display: flex; align-items: center;
  gap: 14px; text-decoration: none; flex-shrink: 0;
}

.brand-logo-wrap {
  position: relative; width: 54px; height: 54px; flex-shrink: 0;
}
.brand-logo-bg {
  position: absolute; inset: 0; border-radius: 14px;
  background: linear-gradient(135deg, var(--terra) 0%, var(--terra2) 55%, var(--gold) 100%);
  box-shadow: 0 4px 16px rgba(15,122,69,.3);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.navbar__brand:hover .brand-logo-bg {
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 0 8px 28px rgba(15,122,69,.45);
}
.brand-logo-img {
  position: absolute; inset: 4px; z-index: 1;
  width: calc(100% - 8px); height: calc(100% - 8px);
  object-fit: contain; border-radius: 10px;
}
.brand-logo-fallback {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
  color: #fff; letter-spacing: -.03em;
}

.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name {
  font-family: var(--serif); font-size: 1.85rem; font-weight: 700;
  color: var(--ink); letter-spacing: -.03em; line-height: 1;
}
.brand-name em { color: var(--terra); font-style: italic; font-weight: 600; }
.brand-tagline {
  font-size: .72rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}

/* ── Nav links ── */
.navbar__links {
  display: flex; align-items: center;
  gap: .2rem; list-style: none; margin-left: auto;
}
.navbar__links a {
  padding: .6rem .8rem; font-size: 1rem; font-weight: 700;
  color: var(--ink2); text-decoration: none;
  position: relative; transition: color .2s;
  white-space: nowrap;
}
.navbar__links a::after {
  content: ''; position: absolute;
  bottom: 2px; left: 1rem; right: 1rem;
  height: 1.5px; background: var(--terra);
  transform: scaleX(0); transition: transform .25s ease;
  transform-origin: left;
}
.navbar__links a:hover   { color: var(--ink); }
.navbar__links a:hover::after,
.navbar__links a.active::after { transform: scaleX(1); }
.navbar__links a.active { color: var(--ink); }

/* ── Auth ── */
.nav-auth {
  display: flex; align-items: center;
  gap: .6rem; flex-shrink: 0; margin-left: 1rem;
}
.nav-auth__status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .92rem; font-weight: 600; color: var(--forest);
  border: 1px solid rgba(44,95,74,.25);
  background: rgba(44,95,74,.07);
  padding: .45rem 1rem; border-radius: 2px;
  text-decoration: none; transition: all .2s; white-space: nowrap;
}
.nav-auth__status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--forest);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100%{opacity:1;} 50%{opacity:.3;} }

.nav-auth__logout {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .92rem; font-weight: 600; color: var(--rose);
  border: 1px solid rgba(201,48,96,.2); background: none;
  padding: .45rem 1rem; border-radius: 2px;
  font-family: var(--font); cursor: pointer; transition: all .2s; white-space: nowrap;
}
.nav-auth__logout:hover { background: rgba(201,48,96,.07); }

.nav-auth__login {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .92rem; font-weight: 600; color: var(--ink2);
  border: 1px solid var(--border); background: none;
  padding: .45rem 1rem; border-radius: 2px;
  text-decoration: none; transition: all .2s; white-space: nowrap;
}
.nav-auth__login:hover { border-color: var(--ink2); }

.nav-auth__register {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 800; color: #fff;
  background: var(--terra); border: none;
  padding: .5rem 1.3rem; border-radius: 2px;
  text-decoration: none; transition: all .2s;
  box-shadow: 0 2px 12px rgba(15,122,69,.25); white-space: nowrap;
}
.nav-auth__register:hover {
  background: var(--terra2);
  box-shadow: 0 4px 20px rgba(15,122,69,.4);
  transform: translateY(-1px);
}

/* ── Burger ── */
.navbar__burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; margin-left: .8rem; padding: .5rem;
  background: none; border: none;
}
.navbar__burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); transition: transform .3s, opacity .3s;
}
.navbar__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Drawer ── */
.navbar__drawer {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(247,243,238,.98);
  backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border);
  padding: 2rem clamp(1.5rem, 5vw, 5rem) 2.5rem;
  z-index: 390; transform: translateY(-16px); opacity: 0;
  pointer-events: none; transition: transform .3s, opacity .3s;
}
.navbar__drawer.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.navbar__drawer ul { list-style: none; display: flex; flex-direction: column; gap: .3rem; }
.navbar__drawer ul a {
  display: block; padding: .9rem 1rem;
  font-size: 1.1rem; font-weight: 700; color: var(--ink2);
  text-decoration: none; transition: color .2s;
  border-bottom: 1px solid transparent;
}
.navbar__drawer ul a:hover {
  color: var(--ink); border-bottom-color: var(--terra);
}
.drawer-auth {
  display: flex; flex-direction: column; gap: .4rem;
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.drawer-auth a, .drawer-auth button {
  display: flex; align-items: center; gap: 9px;
  padding: .9rem 1rem; font-size: 1rem; font-weight: 500;
  text-decoration: none; border: none; background: none;
  font-family: var(--font); width: 100%; text-align: left;
  color: var(--muted); transition: color .2s;
}
.drawer-auth__status  { color: var(--forest) !important; }
.drawer-auth__logout  { color: var(--rose) !important; cursor: pointer; }
.drawer-auth__login   { color: var(--muted); }
.drawer-auth__register {
  color: #fff !important;
  background: var(--terra) !important;
  margin-top: .5rem; justify-content: center;
  font-weight: 700 !important;
}

/* Seuil relevé de 1150px à 1400px : avec 8 liens + le logo + le bouton
   "Se connecter", le menu desktop n'a plus assez de place en dessous de
   ~1300px et le bouton se retrouvait poussé hors de l'écran (invisible,
   inaccessible) au lieu de passer au menu mobile à temps. */
@media (max-width: 1500px) {
  .navbar__links { display: none; }
  .nav-auth      { display: none; }
  /* Le bouton menu perdait son alignement à droite : il ne se plaçait là
     que grâce au margin-left:auto porté par .navbar__links, qui n'a plus
     aucun effet une fois cet élément caché (display:none). */
  .navbar__burger { display: flex; margin-left: auto; }
}

/* ══ Menu du haut sur téléphone : logo et nom plus petits, bouton menu toujours visible ══ */
.navbar__brand { min-width: 0; flex-shrink: 1; }
.navbar__burger { flex-shrink: 0; }
@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .navbar { padding: 0 14px; gap: .5rem; }
  .navbar__brand { gap: 10px; }
  .brand-logo-wrap { width: 42px; height: 42px; }
  .brand-logo-bg { border-radius: 11px; }
  .brand-name { font-size: 1.3rem; white-space: nowrap; }
  .brand-tagline { font-size: .56rem; letter-spacing: .12em; white-space: nowrap; }
  .navbar__burger { padding: .75rem; margin-left: auto; }
  .navbar__burger span { width: 24px; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 1.12rem; }
  .brand-tagline { font-size: .5rem; letter-spacing: .08em; }
  .brand-logo-wrap { width: 38px; height: 38px; }
}

.drawer-auth__login { background: #0f7a45 !important; color: #fff !important; justify-content: center; font-weight: 700 !important; }
.navbar__drawer ul a { font-size: 1.05rem; }

/* ══ HERO ══ */
.hero {
  position: relative;
  height: calc(100vh - var(--nav-h));
  min-height: 620px;
  display: grid;
  grid-template-columns: 52% 48%;
  overflow: hidden;
}

.hero__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(3rem,7vw,8rem) clamp(2rem,5vw,6rem);
  background: var(--cream);
  order: 1;
}

.hero__tag {
  display: flex; align-items: center; gap: 10px;
  font-size: .66rem; font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; color: var(--terra);
  margin-bottom: 2rem;
  opacity: 0; animation: revealUp .7s .2s ease forwards;
}
.hero__tag::before {
  content: ''; width: 28px; height: 1.5px; background: var(--terra);
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5.5vw, 6rem);
  font-weight: 300; line-height: 1.06;
  letter-spacing: -.02em; color: var(--ink);
  margin-bottom: 1.8rem;
  opacity: 0; animation: revealUp .8s .32s ease forwards;
}
.hero__title strong { font-weight: 700; display: block; }
.hero__title em     { font-style: italic; color: var(--terra); }

.hero__sub {
  font-family: var(--mono);
  font-size: clamp(.82rem, 1.2vw, .95rem);
  color: var(--terra); min-height: 1.6em;
  margin-bottom: 1.5rem;
  opacity: 0; animation: revealUp .7s .44s ease forwards;
}
.hero__cursor {
  display: inline-block; width: 2px; height: 1em;
  background: var(--terra); margin-left: 2px;
  vertical-align: middle; animation: blink .65s steps(1) infinite;
}
@keyframes blink { 0%,49%{opacity:1} 50%,100%{opacity:0} }

.hero__desc {
  font-size: clamp(.85rem, 1.2vw, .98rem);
  color: var(--muted); line-height: 1.85;
  max-width: 420px; margin-bottom: 2.5rem;
  opacity: 0; animation: revealUp .7s .56s ease forwards;
}

.hero__stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  margin-bottom: 2.8rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  opacity: 0; animation: revealUp .7s .66s ease forwards;
}
.hero__stat-num {
  font-family: var(--serif); font-size: 2.2rem;
  font-weight: 700; color: var(--ink);
  letter-spacing: -.04em; line-height: 1;
  display: block;
}
.hero__stat-lbl {
  font-size: .62rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted);
  margin-top: 3px; display: block;
}

.hero__cta {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  opacity: 0; animation: revealUp .7s .76s ease forwards;
}

/* Bouton primaire avec clip-path unique */
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; background: var(--terra); color: #fff;
  font-size: .85rem; font-weight: 700; letter-spacing: .04em;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
  box-shadow: 4px 4px 0 rgba(15,122,69,.2);
  transition: background .25s, transform .25s, box-shadow .25s;
}
.btn-primary:hover {
  background: var(--terra2); transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(15,122,69,.25);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; color: var(--muted);
  text-decoration: none; border-bottom: 1px solid transparent;
  padding-bottom: 2px; transition: all .2s;
}
.btn-ghost:hover { color: var(--ink); border-bottom-color: var(--ink); }
.btn-ghost i { font-size: .75rem; transition: transform .2s; }
.btn-ghost:hover i { transform: translateX(4px); }

/* Bouton pilule — style Samsung */
.btn-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 99px;
  border: 1.5px solid var(--ink); background: transparent;
  color: var(--ink); font-size: .85rem; font-weight: 700;
  text-decoration: none; transition: background .2s, color .2s, transform .2s;
}
.btn-pill:hover { background: var(--ink); color: var(--cream); transform: translateY(-1px); }
.btn-pill--solid {
  background: var(--ink); color: var(--cream); border-color: var(--ink);
}
.btn-pill--solid:hover { background: var(--terra); border-color: var(--terra); color: #fff; }

/* Scroll indicator */
.hero__scroll {
  position: absolute; bottom: 2.2rem;
  left: clamp(2rem, 5vw, 6rem);
  display: flex; align-items: center; gap: 10px; z-index: 5;
  font-size: .6rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
  opacity: 0; animation: revealUp .7s .9s ease forwards;
}
.scroll-line {
  width: 48px; height: 1px; background: rgba(0,0,0,.2);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%; background: var(--terra);
  animation: scrollSlide 2s ease-in-out infinite;
}
@keyframes scrollSlide { 0%{left:-100%} 50%{left:0} 100%{left:100%} }

/* Image hero */
.hero__visual { position: relative; overflow: hidden; order: 2; }
.hero__visual img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 20%;
  transition: transform 10s ease;
}
.hero:hover .hero__visual img { transform: scale(1.04); }
.hero__visual::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to right,
    var(--cream) 0%,
    rgba(247,243,238,.2) 25%,
    transparent 55%
  ), linear-gradient(
    to top,
    rgba(28,24,20,.25) 0%,
    transparent 40%
  );
}
.hero__visual-badge {
  position: absolute; bottom: 36px; right: 36px; z-index: 3;
  background: rgba(247,243,238,.95);
  backdrop-filter: blur(12px);
  padding: 16px 22px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  animation: revealUp .7s .8s ease both;
}
.hero__visual-badge-val {
  font-family: var(--serif); font-size: 1.7rem; font-weight: 700;
  color: var(--terra); letter-spacing: -.03em; line-height: 1;
  display: block;
}
.hero__visual-badge-lbl {
  font-size: .6rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-top: 3px;
}
.hero__visual-num {
  position: absolute; top: 28px; left: 24px; z-index: 2;
  font-size: .62rem; font-weight: 400; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(28,24,20,.35);
  writing-mode: vertical-rl; transform: rotate(180deg);
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; min-height: auto; }
  .hero__visual { order: 1; height: 55vw; min-height: 280px; }
  .hero__visual::before { background: linear-gradient(to bottom, transparent 60%, var(--cream) 100%); }
  .hero__content { order: 2; padding: 3rem 1.5rem; }
  .hero__scroll { display: none; }
  .hero__visual-badge { bottom: 18px; right: 18px; padding: 12px 16px; }
}

/* ══ BARRE D'ACTUALITÉS (liens datés) — une ligne qui défile, petites majuscules ══ */
.news-ticker {
  background: #fff; overflow: hidden; padding: 9px 0;
  border-top: 1px solid rgba(15,122,69,.14); border-bottom: 1px solid rgba(15,122,69,.14);
}
.news-ticker__track {
  display: flex; gap: 0; width: max-content;
  animation: tickerScroll 75s linear infinite;
}
.news-ticker__track:hover { animation-play-state: paused; }
@keyframes tickerScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.news-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 28px 4px 0; margin-right: 28px;
  border-right: 1px solid rgba(15,122,69,.22);
  font-size: .74rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: #0b5e36; white-space: nowrap; text-decoration: none;
  transition: color .2s;
}
.news-chip:hover { color: #0f7a45; }
.news-chip__date {
  font-size: .68rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: #0f7a45; background: #eef7f1; padding: 3px 9px; border-radius: 99px;
  flex-shrink: 0;
}

/* ══ HERO — carrousel plein écran ══ */
.hero-slider {
  position: relative;
  height: calc(100vh - var(--nav-h) - 46px);
  min-height: 520px;
  overflow: hidden;
  background: var(--ink);
}
.hs-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
  text-decoration: none;
  opacity: 0; visibility: hidden;
  transition: opacity 1s ease;
  z-index: 1;
}
.hs-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.hs-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,8,6,.85) 0%, rgba(10,8,6,.32) 38%, rgba(10,8,6,0) 62%);
}
.hs-content {
  position: relative; z-index: 2; color: #fff;
  padding: 0 clamp(4.5rem, 9vw, 7.5rem) clamp(3.5rem, 8vw, 6rem);
  max-width: 720px;
  box-sizing: border-box;
}
.hs-tag {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.hs-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 3.3rem); line-height: 1.18;
  letter-spacing: -.02em; margin-bottom: 1.1rem;
}
.hs-title em { color: var(--gold); font-style: italic; }
.hs-sub {
  font-size: 1rem; color: rgba(247,243,238,.82);
  line-height: 1.7; max-width: 560px; margin-bottom: 1.8rem;
}

.hs-dots {
  position: absolute; z-index: 3; bottom: clamp(1.5rem, 4vw, 2.5rem);
  right: clamp(1.5rem, 6vw, 5rem);
  display: flex; gap: 10px;
}
.hs-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.6); background: transparent;
  cursor: pointer; padding: 0; transition: background .2s, transform .2s;
}
.hs-dot.is-active { background: var(--gold); border-color: var(--gold); transform: scale(1.15); }

.hs-arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.hs-arrow:hover { background: rgba(255,255,255,.25); }
.hs-arrow--prev { left: clamp(1rem, 3vw, 2rem); }
.hs-arrow--next { right: clamp(1rem, 3vw, 2rem); }
@media (max-width: 720px) {
  .hs-arrow { display: none; }
  .hs-content { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* ══ SECTIONS COMMUNES ══ */
.section-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: .65rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--terra); margin-bottom: 14px;
}
.section-eyebrow::before { content:''; width: 24px; height: 1.5px; background: var(--terra); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300; letter-spacing: -.02em;
  color: var(--ink); line-height: 1.15;
}
.section-title strong { font-weight: 700; }
.section-title em     { font-style: italic; color: var(--terra); }

.section-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--terra);
  border-bottom: 1px solid var(--terra); padding-bottom: 2px;
  transition: gap .2s; text-decoration: none; white-space: nowrap;
}
.section-link:hover { gap: 13px; }

/* ══ BANDES PROMO — style Samsung (flat, pastel, minimal) ══ */
.promo-band {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 5rem);
}
.promo-band--sand   { background: #f5eeda; }
.promo-band--terra  { background: #fbe9e0; }
.promo-band--warm   { background: var(--warm); }
.promo-band--sage   { background: #e8efe9; }
.promo-band--reverse { grid-template-columns: 1fr 1fr; }
.promo-band--reverse .promo-media { order: -1; }

.promo-eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  color: var(--ink2); margin-bottom: .6rem;
}
.promo-title {
  font-family: var(--font); font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800; letter-spacing: -.02em; color: var(--ink);
  line-height: 1.15; margin-bottom: 1rem;
}
.promo-desc {
  font-size: 1rem; color: var(--ink2); line-height: 1.7;
  max-width: 460px; margin-bottom: 2rem;
}
.promo-cta { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }

.promo-media {
  display: flex; align-items: center; justify-content: center;
}
.promo-media img {
  width: 100%; height: auto; max-height: 380px; object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.12));
}

@media (max-width: 860px) {
  .promo-band, .promo-band--reverse { grid-template-columns: 1fr; text-align: center; padding: 3.5rem 1.5rem; }
  .promo-band--reverse .promo-media { order: 0; }
  .promo-desc { max-width: none; margin-left: auto; margin-right: auto; }
  .promo-cta { justify-content: center; }
}

/* ══ SERVICES ══ */
.services-section {
  padding: 96px clamp(1.5rem, 6vw, 5rem);
  max-width: 1400px; margin: 0 auto;
}
.services-header {
  display: grid; grid-template-columns: 1fr auto;
  align-items: end; margin-bottom: 56px; gap: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.svc-card {
  position: relative; overflow: hidden;
  text-decoration: none; color: inherit;
  background: var(--surf); border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: border-color .3s, box-shadow .3s;
}
.svc-card:hover { border-color: rgba(15,122,69,.25); box-shadow: 0 12px 48px rgba(0,0,0,.07); }

.svc-card--hero { grid-row: 1 / 3; min-height: 540px; }
.svc-card--hero .svc-media { flex: 1; }
.svc-card--sm { min-height: 252px; }
.svc-card--sm .svc-media { height: 148px; flex-shrink: 0; }

.svc-media { overflow: hidden; background: var(--warm); }
.svc-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.22,.68,0,1.2);
}
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-media-ph {
  width: 100%; height: 100%; min-height: 148px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; opacity: .25;
}

.svc-body { padding: 22px 26px; display: flex; flex-direction: column; gap: 8px; }
.svc-tag  { font-size: .6rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--terra); }
.svc-title {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 700;
  color: var(--ink); line-height: 1.25; letter-spacing: -.01em;
}
.svc-card--hero .svc-title { font-size: 1.65rem; }
.svc-desc  { font-size: .78rem; color: var(--muted); line-height: 1.7; }
.svc-cta   {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--terra);
  margin-top: 8px; transition: gap .2s;
}
.svc-card:hover .svc-cta { gap: 11px; }

.svc-card--stat {
  background: var(--ink); border-color: transparent;
  padding: 28px; min-height: 252px;
  align-items: flex-start; justify-content: flex-end;
}
.svc-stat-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(15,122,69,.14) 0%, transparent 60%);
}
.svc-stat-num-deco {
  position: absolute; top: 10px; right: 16px;
  font-family: var(--serif); font-size: 5rem; font-weight: 700;
  color: rgba(247,243,238,.07); letter-spacing: -.05em; line-height: 1;
  user-select: none;
}
.svc-stat-content { position: relative; z-index: 1; }
.svc-stat-label { font-size: .6rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(247,243,238,.38); margin-bottom: 8px; }
.svc-stat-value { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: #f7f3ee; letter-spacing: -.04em; line-height: 1; }
.svc-stat-desc  { font-size: .73rem; color: rgba(247,243,238,.4); margin-top: 6px; line-height: 1.6; }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .svc-card--hero { grid-row: auto; grid-column: 1 / -1; min-height: 340px; }
  .svc-card--hero .svc-media { height: 240px; }
}
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ══ ABOUT SPLIT ══ */
.about-section {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  overflow: hidden; background: #0b2e1d; color: #fff;
}
.about-visual { position: relative; overflow: hidden; min-height: 360px; }
.about-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%;
  transition: transform 8s ease;
}
.about-section:hover .about-visual img { transform: scale(1.03); }
.about-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 60%, #0b2e1d 100%);
}
.about-visual-deco {
  position: absolute; bottom: 20px; left: 20px; z-index: 2;
  background: #0f7a45; padding: 10px 16px; border-radius: 6px;
}
.about-visual-deco-label { font-size: .6rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 3px; }
.about-visual-deco-val { font-family: var(--font, 'Outfit', sans-serif); font-size: 1.25rem; font-weight: 700; color: #fff; line-height: 1; }

.about-content {
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 5vw, 4.5rem);
  display: flex; flex-direction: column; justify-content: center; gap: 1.2rem;
}
.about-content .section-eyebrow { color: #c9a84c; margin-bottom: 0; }
.about-content .section-eyebrow::before { background: #c9a84c; }
.about-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700; color: #fff;
  letter-spacing: -.025em; line-height: 1.15; max-width: 16em;
}
.about-title span { color: #c9a84c; }
.about-text { font-size: 1rem; color: rgba(255,255,255,.78); line-height: 1.7; max-width: 520px; }
.about-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.about-num {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; padding: 12px 12px;
}
.about-num-val { font-family: 'Outfit', sans-serif; font-size: 1.45rem; font-weight: 700; color: #fff; letter-spacing: -.02em; line-height: 1; }
.about-num-lbl { font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 5px; }
.about-cta {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 24px; background: #0f7a45; color: #fff;
  font-size: .92rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; width: fit-content; border-radius: 8px;
  transition: background .25s, transform .25s;
}
.about-cta:hover { background: #14924f; transform: translateY(-2px); }

@media (max-width: 900px) {
  .about-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .about-section { grid-template-columns: 1fr; }
  .about-visual { min-height: 0; height: 220px; }
  .about-visual::after { background: linear-gradient(to bottom, transparent 55%, #0b2e1d 100%); }
  .about-content { padding: 1.8rem 1.4rem 2.2rem; }
}

/* ══ PUBLICATIONS ══ */
.pub-section {
  padding: 96px clamp(1.5rem, 6vw, 5rem);
  max-width: 1400px; margin: 0 auto;
}
.pub-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); gap: 1px;
  background: var(--border); margin-top: 48px;
}
.pub-card {
  background: var(--surf); text-decoration: none; color: inherit;
  display: flex; flex-direction: column; transition: background .2s;
}
.pub-card:hover { background: var(--warm); }
.pub-media { height: 198px; overflow: hidden; background: var(--warm); }
.pub-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pub-card:hover .pub-media img { transform: scale(1.06); }
.pub-media-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2rem; opacity: .25; }
.pub-body { padding: 22px 26px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.pub-tag { font-size: .6rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--terra); }
.pub-title { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.pub-meta { font-size: .7rem; color: var(--muted); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); display: flex; gap: 12px; }

@media (max-width: 768px) { .pub-grid { grid-template-columns: 1fr; } }

/* ══ CTA FINAL — bandeau de contact sobre ══ */
.cta-section {
  background: #0f7a45; border-top: 5px solid #c9a84c;
  padding: 56px clamp(1.5rem, 6vw, 5rem);
}
.cta-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap;
}
.cta-text { flex: 1 1 420px; min-width: 0; }
.cta-title {
  font-family: var(--font); font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800; color: #fff; letter-spacing: 0; line-height: 1.2; margin: 0 0 10px;
}
.cta-sub { font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,.88); margin: 0; max-width: 620px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-cta-white, .btn-cta-outline {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; font-size: .92rem; font-weight: 700; text-decoration: none;
  border: 2px solid #fff; border-radius: 0; transition: background .2s, color .2s;
}
.btn-cta-white { background: #fff; color: #0f7a45; }
.btn-cta-white:hover { background: #e8f5ee; }
.btn-cta-outline { background: transparent; color: #fff; }
.btn-cta-outline:hover { background: rgba(255,255,255,.14); }
@media (max-width: 640px) { .cta-btns { width: 100%; } .btn-cta-white, .btn-cta-outline { flex: 1 1 100%; justify-content: center; } }

/* ══ EFFETS DISCRETS (survol, clavier, apparition des cartes) ══ */
.fx-hidden { opacity: 0 !important; transform: translateY(14px) !important; animation: none !important; }
.fx-hidden.fx-in { opacity: 1 !important; transform: none !important; transition: opacity .55s ease, transform .55s cubic-bezier(.22,.68,0,1); }

/* Photos des cartes : léger zoom au survol (la carte reste immobile) */
.sh-card-media, .sv-card-media, .pb-card-media, .fl-img, .pd-rel-card-media, .nw-card > a { overflow: hidden; }
.sh-card:hover .sh-card-media img, .sv-card:hover .sv-card-media img, .pb-card:hover .pb-card-media img,
.fl-card:hover .fl-img img, .pd-rel-card:hover .pd-rel-card-media img { transform: scale(1.04); }
.sh-card-media img, .sv-card-media img, .pb-card-media img, .fl-img img, .pd-rel-card-media img { transition: transform .5s cubic-bezier(.22,.68,0,1); }

/* Titres : la flèche avance un peu, la couleur s'assombrit */
.pb-card-title i, .nw-title i { transition: transform .25s; }
.pb-card:hover .pb-card-title i, .nw-card:hover .nw-title i { transform: translateX(4px); }
.pb-card:hover .pb-card-title, .nw-card:hover .nw-title h3, .sh-card:hover .sh-card-name,
.sv-card:hover .sv-card-title, .fl-card:hover .fl-title { color: #0b5e36 !important; }

/* Boutons : réaction au toucher */
.sh-btn-voir, .sv-btn-voir, .fl-btn, .btn-buy-now, .btn-submit, .btn-cta-white, .btn-cta-outline, .nd-form button { transition: background .2s, color .2s, transform .1s; }
.sh-btn-voir:active, .sv-btn-voir:active, .fl-btn:active, .btn-buy-now:active, .btn-submit:active,
.btn-cta-white:active, .btn-cta-outline:active, .nd-form button:active { transform: scale(.97) !important; }

/* Liens du menu : trait qui se dessine au survol */
.navbar__links a { background-image: linear-gradient(#0f7a45, #0f7a45); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 2px; transition: background-size .25s, color .2s; }
.navbar__links a:hover { background-size: 100% 2px; }

/* Menu déroulant « Projets & Équipe » */
.nav-dd { position: relative; }
.nav-dd__btn {
  display: inline-flex; align-items: center; gap: .45rem; padding: .6rem .8rem;
  font: inherit; font-size: 1rem; font-weight: 700; color: var(--ink2); background: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: color .2s;
}
.nav-dd__btn i { font-size: .65rem; transition: transform .2s; }
.nav-dd__btn:hover, .nav-dd.open .nav-dd__btn, .nav-dd__btn.active { color: var(--ink); }
.nav-dd__btn.active { box-shadow: inset 0 -2px 0 #0f7a45; }
.nav-dd.open .nav-dd__btn i { transform: rotate(180deg); }
.nav-dd__menu {
  position: absolute; top: 100%; left: 50%; min-width: 220px; z-index: 450;
  background: #fff; border: 1px solid var(--border); border-top: 3px solid #0f7a45; border-radius: 0 0 8px 8px;
  box-shadow: 0 14px 30px rgba(11,46,29,.14); padding: .4rem 0; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-dd.open .nav-dd__menu, .nav-dd:hover .nav-dd__menu, .nav-dd:focus-within .nav-dd__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.navbar__links .nav-dd__menu a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.3rem; font-size: .98rem; font-weight: 600; background-image: none; }
.navbar__links .nav-dd__menu a:hover { background: #eef7f1; color: #0b6137; }
.navbar__links .nav-dd__menu a::after { display: inline-block !important; position: static; content: '\2192'; height: auto; background: none; transform: translateX(-4px); opacity: 0; transition: transform .2s, opacity .2s; color: #0f7a45; }
.navbar__links .nav-dd__menu a:hover::after { transform: none; opacity: 1; }
/* ── Tiroir mobile : liste nette, séparateurs fins, page en cours en vert, apparition en cascade ── */
.navbar__drawer { padding-top: 1rem; }
.navbar__drawer > ul { gap: 0; }
.navbar__drawer > ul > li { border-bottom: 1px solid rgba(11,46,29,.1); }
.navbar__drawer > ul > li:last-child { border-bottom: 0; }
.navbar__drawer > ul > li > a, .navbar__drawer .dr-dd__btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 1.05rem .3rem; font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.2;
  color: var(--ink); border-bottom: 0; background: none; transition: color .2s, padding .2s;
}
.navbar__drawer > ul > li > a::after { content: '›'; font-size: 1.6rem; line-height: 1; color: rgba(11,46,29,.28); transition: transform .2s, color .2s; }
.navbar__drawer > ul > li > a:hover, .navbar__drawer > ul > li > a:active { color: #0b6137; border-bottom-color: transparent; padding-left: .7rem; }
.navbar__drawer > ul > li > a:hover::after { transform: translateX(4px); color: #0f7a45; }
.navbar__drawer > ul > li > a.active, .navbar__drawer .dr-dd.has-active > .dr-dd__btn { color: #0f7a45; box-shadow: inset 3px 0 0 #0f7a45; padding-left: .9rem; }
.navbar__drawer .dr-dd__btn:hover { color: #0b6137; }
.navbar__drawer .dr-dd__menu a.active { background: #0f7a45; color: #fff; border-color: #0f7a45; }
.navbar__drawer .dr-dd__menu a.active::after { color: #fff; }
@keyframes drIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.navbar__drawer.open > ul > li { animation: drIn .45s cubic-bezier(.2,.7,.2,1) both; }
.navbar__drawer.open > ul > li:nth-child(1) { animation-delay: 0ms; }
.navbar__drawer.open > ul > li:nth-child(2) { animation-delay: 40ms; }
.navbar__drawer.open > ul > li:nth-child(3) { animation-delay: 80ms; }
.navbar__drawer.open > ul > li:nth-child(4) { animation-delay: 120ms; }
.navbar__drawer.open > ul > li:nth-child(5) { animation-delay: 160ms; }
.navbar__drawer.open > ul > li:nth-child(6) { animation-delay: 200ms; }
.navbar__drawer.open > ul > li:nth-child(7) { animation-delay: 240ms; }
.navbar__drawer.open > ul > li:nth-child(8) { animation-delay: 280ms; }
.navbar__drawer.open > ul > li:nth-child(9) { animation-delay: 320ms; }
@media (prefers-reduced-motion: reduce) { .navbar__drawer.open > ul > li { animation: none; } }

/* Même menu dans le tiroir mobile : un bouton qui déplie les deux pages */
/* Le menu prend toute la hauteur sous l'en-tête avec un fond plein : on ne voit plus la page de derrière. Il défile seul si besoin. */
.navbar__drawer { bottom: 0; max-height: none; overflow-y: auto; overscroll-behavior: contain; background: #f7f3ee; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0; padding-bottom: 2.5rem; }
body.menu-open .lt-footer__totop { display: none !important; }
.dr-dd__btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: .9rem 1rem;
  font: inherit; font-size: 1.1rem; font-weight: 700; color: var(--ink2); background: none; border: 0; cursor: pointer; text-align: left;
}
.dr-dd__btn i { font-size: .8rem; transition: transform .2s; }
.dr-dd.open .dr-dd__btn { color: #0b6137; }
.dr-dd.open .dr-dd__btn i { transform: rotate(180deg); }
.navbar__drawer ul.dr-dd__menu { display: none; margin: .2rem 0 .9rem; padding: 0; gap: .55rem; }
.dr-dd.open ul.dr-dd__menu { display: flex; }
.navbar__drawer .dr-dd__menu a {
  display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem;
  background: #eef7f1; border: 1px solid rgba(15,122,69,.14); border-radius: 14px;
  font-size: 1.02rem; font-weight: 600; color: #0b6137; transition: background .2s, transform .2s;
}
.navbar__drawer .dr-dd__menu a::after { content: '\2192'; color: #0f7a45; transition: transform .2s; }
.navbar__drawer .dr-dd__menu a:hover, .navbar__drawer .dr-dd__menu a:active { background: #dff0e6; color: #0b6137; border-bottom-color: rgba(15,122,69,.14); }
.navbar__drawer .dr-dd__menu a:hover::after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .nav-dd__menu, .nav-dd__btn i { transition: none; } }

/* Clavier : contour vert bien visible */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid #0f7a45; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .fx-hidden { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ══ REVEAL ANIMATION ══ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

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

/* ══ DIVIDER ══ */
.divider { border: none; border-top: 1px solid var(--border); }