/* ================================================================
   D-UP 2.0 — Design System Partagé
   Fonts: Cardo (headings) + Inter (body) — identique d-up.be
================================================================ */

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --gold:        #bfa37c;
  --gold-light:  #d4bb96;
  --gold-dark:   #9e845d;
  --black:       #111111;
  --dark:        #1a1a1a;
  --gray:        #636363;
  --light-gray:  #a4a4a4;
  --accent:      #cfcabe;
  --accent-2:    #c2a990;
  --bg:          #f9f9f9;
  --white:       #ffffff;
  --border:      rgba(0,0,0,.10);
  --border-gold: rgba(191,163,124,.30);

  --font:      'Cardo', 'Didot', Georgia, serif;
  --font-sans: 'Inter', 'Helvetica Neue', sans-serif;

  --ease:      cubic-bezier(.25,.46,.45,.94);
  --ease-out:  cubic-bezier(.16,1,.3,1);
  --dur:       .55s;

  --pad-x:    min(6.5rem, 8vw);
  --pad-y:    min(6.5rem, 8vw);
  --max:      1280px;
  --topbar-h: 34px;
  --nav-h:    80px;
  --header-h: calc(var(--topbar-h) + var(--nav-h));
}

/* ── Reset ─────────────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;font-size:16px;}
body{
  font-family:var(--font-sans);
  font-size:1.05rem;
  line-height:1.55;
  color:var(--black);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{display:block;max-width:100%;height:auto;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}
h1,h2,h3,h4,h5,h6{
  font-family:var(--font);
  font-weight:400;
  line-height:1.15;
  color:var(--black);
}
h1{font-size:clamp(2.5rem,2.5rem + ((1vw - .2rem)*1.28),3.27rem);}
h2{font-size:clamp(1.85rem,1.85rem + ((1vw - .2rem)*1.08),2.5rem);}
h3{font-size:clamp(1.39rem,1.39rem + ((1vw - .2rem)*.77),1.85rem);}
h4{font-size:clamp(1.1rem,1.1rem + ((1vw - .2rem)*.77),1.5rem);}

/* ── Elementor color override ──────────────────────────────────── */
/* Elementor injecte h1/h2/h3/h4 { color:#000 } — on restitue l'héritage */
.elementor-page h1,
.elementor-page h2,
.elementor-page h3,
.elementor-page h4 { color: inherit; }

/* ── Layout ────────────────────────────────────────────────────── */
.dup-container{max-width:var(--max);margin:0 auto;padding-left:var(--pad-x);padding-right:var(--pad-x);}
.dup-section,.section{padding-top:var(--pad-y);padding-bottom:var(--pad-y);}

/* ── Typo helpers ──────────────────────────────────────────────── */
.dup-kicker{
  display:block;
  font-family:var(--font);
  font-size:.72rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:14px;
}
.dup-kicker--white{color:var(--gold-light);}

.dup-lead{
  font-size:1rem;
  line-height:1.78;
  color:var(--gray);
}

/* ── Focus visible ─────────────────────────────────────────────── */
:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}

/* ── Bouton signature dup-btn-cat ──────────────────────────────── */
.dup-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:11px 26px;
  font-family:var(--font);
  font-size:.82rem;
  font-weight:400;
  letter-spacing:2px;
  text-transform:uppercase;
  text-decoration:none!important;
  border:1px solid var(--black);
  color:var(--black);
  background:transparent;
  transition:background var(--dur) var(--ease),color var(--dur) var(--ease),transform .25s var(--ease);
  cursor:pointer;
  white-space:nowrap;
}
.dup-btn:hover{background:var(--black);color:var(--white);transform:translateY(-2px);}
.dup-btn--white{border-color:var(--white);color:var(--white);}
.dup-btn--white:hover{background:var(--white);color:var(--black);}
.dup-btn--gold{border-color:var(--gold);color:var(--gold);}
.dup-btn--gold:hover{background:var(--gold);color:var(--white);}
.dup-btn--fill{background:var(--black);color:var(--white);}
.dup-btn--fill:hover{background:var(--dark);}
.dup-btn--ghost{border-color:rgba(255,255,255,.5);color:var(--white);}
.dup-btn--ghost:hover{background:rgba(255,255,255,.12);color:var(--white);transform:translateY(-2px);}
.dup-btn svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
.dup-btn--sm{padding:9px 20px;font-size:.72rem;letter-spacing:.14em;}
.dup-btn--full{width:100%;justify-content:center;}

/* ── SOCIAL ICONS ──────────────────────────────────────────────── */
.dup-social{display:flex;gap:10px;margin-top:20px;}
.dup-social__icon{
  width:34px;height:34px;
  border:1px solid rgba(255,255,255,.15);
  display:flex;align-items:center;justify-content:center;
  color:rgba(255,255,255,.45);
  transition:border-color .3s,color .3s;
  text-decoration:none;
}
.dup-social__icon:hover{border-color:var(--gold);color:var(--gold);}
.dup-social__icon svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.5;}

/* ── TOP BAR ───────────────────────────────────────────────────── */
.dup-top-bar{
  position:fixed;
  top:0;left:0;width:100%;
  z-index:10000;
  background:rgba(10,10,10,.95);
  border-bottom:1px solid rgba(255,255,255,.06);
  color:rgba(255,255,255,.5);
  font-family:var(--font-sans);
  font-size:.68rem;
  letter-spacing:.1em;
  padding:7px var(--pad-x);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  height:var(--topbar-h);
  transition:transform .4s var(--ease),opacity .4s;
}
.dup-top-bar.hidden{
  transform:translateY(-100%);
  opacity:0;
  pointer-events:none;
}
.dup-top-bar a{color:rgba(255,255,255,.5);text-decoration:none;transition:color .3s;}
.dup-top-bar a:hover{color:var(--gold);}
.dup-top-left,.dup-top-right{display:flex;gap:20px;align-items:center;}
.dup-top-bar svg{width:11px;height:11px;fill:var(--gold);flex-shrink:0;stroke:none;}

/* ── HEADER / NAV ──────────────────────────────────────────────── */
.dup-header{
  position:fixed;
  top:var(--topbar-h);left:0;width:100%;
  z-index:9999;
  transition:background .4s var(--ease),box-shadow .4s var(--ease),top .4s var(--ease);
}
.dup-header.top-hidden{
  top:0;
}
.dup-header.scrolled{
  background:rgba(14,14,14,.97);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 1px 0 rgba(255,255,255,.05),0 4px 32px rgba(0,0,0,.4);
}
.dup-header--solid{
  background:var(--black);
}

.dup-navbar{
  height:80px;
  padding:0 var(--pad-x);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

/* Logo */
.dup-logo img{height:52px;width:auto;max-width:none;display:block;transition:opacity .3s;}
.dup-logo:hover img{opacity:.8;}

/* Desktop nav links (centré) */
.dup-nav__links{
  list-style:none;
  display:flex;
  align-items:center;
  gap:0;
  margin:0 auto;
}
.dup-nav__links a{
  display:block;
  padding:8px 13px;
  color:rgba(255,255,255,.7);
  font-family:var(--font-sans);
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.13em;
  text-transform:uppercase;
  text-decoration:none;
  position:relative;
  white-space:nowrap;
  transition:color .3s;
}
.dup-nav__links a::after{
  content:'';
  position:absolute;
  bottom:2px;left:13px;right:100%;
  height:1px;
  background:var(--gold);
  transition:right .35s var(--ease);
}
.dup-nav__links a:hover,
.dup-nav__links a.active{color:var(--white);}
.dup-nav__links a.active{color:var(--gold);}
.dup-nav__links a:hover::after,
.dup-nav__links a.active::after{right:13px;}

/* Actions droite */
.dup-nav__actions{
  display:flex;
  align-items:center;
  gap:20px;
  flex-shrink:0;
}
/* ── Language switcher ─────────────────────────────────────────── */
.dup-lang-switcher{
  position:relative;
  z-index:200;
}
.dup-lang-switcher__toggle{
  display:flex;
  align-items:center;
  gap:5px;
  background:none;
  border:1px solid rgba(255,255,255,.18);
  color:rgba(255,255,255,.65);
  font-family:var(--font-sans);
  font-size:.6rem;
  font-weight:600;
  letter-spacing:.14em;
  padding:5px 10px 5px 8px;
  cursor:pointer;
  transition:border-color .2s,color .2s;
  white-space:nowrap;
}
.dup-lang-switcher:hover .dup-lang-switcher__toggle,
.dup-lang-switcher__toggle:focus-visible{
  border-color:var(--gold);
  color:var(--gold);
  outline:none;
}
.dup-lang-switcher__toggle svg{
  width:11px;height:11px;
  stroke:currentColor;fill:none;stroke-width:1.75;
  flex-shrink:0;
}
.dup-lang-switcher__chevron{
  width:8px!important;height:8px!important;
  transition:transform .2s;
}
.dup-lang-switcher:hover .dup-lang-switcher__chevron{
  transform:rotate(180deg);
}
.dup-lang-switcher__menu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  background:#1c1a17;
  border:1px solid rgba(191,163,124,.35);
  list-style:none;
  margin:0;padding:6px 0;
  min-width:140px;
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition:opacity .18s,transform .18s,visibility .18s;
  box-shadow:0 16px 40px rgba(0,0,0,.6);
}
.dup-lang-switcher:hover .dup-lang-switcher__menu,
.dup-lang-switcher:focus-within .dup-lang-switcher__menu{
  opacity:1;visibility:visible;transform:translateY(0);
}
.dup-lang-switcher__menu li{
  display:block;
  list-style:none;
}
.dup-lang-switcher__menu a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 18px;
  color:rgba(255,255,255,.75);
  font-family:var(--font-sans);
  font-size:.65rem;
  font-weight:500;
  letter-spacing:.1em;
  text-decoration:none;
  transition:color .15s,background .15s;
}
.dup-lang-switcher__menu a:hover{
  color:#fff;
  background:rgba(255,255,255,.06);
}
.dup-lang-switcher__menu a.is-active{
  color:var(--gold);
}
.dup-lang-switcher__menu a.is-active::after{
  content:'';
  display:block;
  width:4px;height:4px;
  border-radius:50%;
  background:var(--gold);
  flex-shrink:0;
}
/* Mobile lang switcher (flat row in mobile menu) */
.dup-mobile-lang{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
  margin-top:20px;
  border:1px solid rgba(255,255,255,.1);
  overflow:hidden;
}
.dup-mobile-lang a{
  flex:1;
  text-align:center;
  padding:10px 4px;
  color:rgba(255,255,255,.4);
  font-family:var(--font-sans);
  font-size:.62rem;
  font-weight:600;
  letter-spacing:.14em;
  text-decoration:none;
  border-right:1px solid rgba(255,255,255,.1);
  transition:color .2s,background .2s;
}
.dup-mobile-lang a:last-child{ border-right:none; }
.dup-mobile-lang a.is-active{ color:var(--gold); background:rgba(191,163,124,.07); }
.dup-mobile-lang a:hover{ color:var(--gold); }
.dup-nav__devis{
  color:var(--gold);
  font-family:var(--font-sans);
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.13em;
  text-transform:uppercase;
  text-decoration:none;
  white-space:nowrap;
  transition:color .3s,opacity .3s;
  position:relative;
}
.dup-nav__devis::after{
  content:'';
  position:absolute;
  bottom:-2px;left:0;right:100%;
  height:1px;
  background:var(--gold);
  transition:right .35s var(--ease);
}
.dup-nav__devis:hover{color:var(--gold-light);opacity:1;}
.dup-nav__devis:hover::after{right:0;}

/* Burger */
.dup-burger{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  background:none;border:none;cursor:pointer;
  z-index:10001;
  padding:8px;
  width:44px;height:44px;
  flex-shrink:0;
}
.dup-burger span{
  display:block;
  width:26px;height:1.5px;
  background:var(--white);
  transition:transform .35s var(--ease),opacity .25s,width .35s var(--ease);
  transform-origin:center;
}
.dup-burger.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
.dup-burger.open span:nth-child(2){opacity:0;width:0;}
.dup-burger.open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}

/* Mobile menu overlay */
.dup-mobile-menu{
  position:fixed;inset:0;
  z-index:10000;
  background:rgba(10,10,10,.98);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  display:flex;flex-direction:column;
  visibility:hidden;opacity:0;
  transform:translateX(100%);
  transition:transform .45s var(--ease-out),opacity .35s,visibility 0s .45s;
}
.dup-mobile-menu.open{
  visibility:visible;opacity:1;
  transform:translateX(0);
  transition:transform .45s var(--ease-out),opacity .35s;
}
.dup-mobile-menu__inner{
  display:flex;flex-direction:column;
  height:100%;
  padding:0 var(--pad-x);
}
.dup-mobile-menu__top{
  display:flex;align-items:center;justify-content:space-between;
  height:80px;
  border-bottom:1px solid rgba(255,255,255,.06);
  flex-shrink:0;
}
.dup-mobile-menu__top .dup-logo img{height:44px;}
.dup-mobile-menu__close{
  display:flex;align-items:center;justify-content:center;
  width:40px;height:40px;
  background:none;border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.6);
  cursor:pointer;
  transition:border-color .2s,color .2s;
  flex-shrink:0;
}
.dup-mobile-menu__close:hover{
  border-color:var(--gold);color:var(--gold);
}
.dup-mobile-menu__close svg{width:18px;height:18px;}
.dup-mobile-menu__nav{
  flex:1;
  display:flex;flex-direction:column;
  justify-content:center;
  padding:24px 0;
  overflow-y:auto;
}
.dup-mobile-menu__nav a{
  display:block;
  padding:18px 0;
  color:rgba(255,255,255,.55);
  font-family:var(--font);
  font-size:clamp(1.5rem,5vw,2rem);
  font-weight:400;
  letter-spacing:.02em;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.05);
  transition:color .3s,padding-left .3s var(--ease);
}
.dup-mobile-menu__nav a:first-child{border-top:1px solid rgba(255,255,255,.05);}
.dup-mobile-menu__nav a:hover{color:var(--white);padding-left:10px;}
.dup-mobile-menu__nav a.active{color:var(--gold);}
.dup-mobile-menu__footer{
  display:flex;flex-direction:column;gap:12px;
  padding:28px 0;
  border-top:1px solid rgba(255,255,255,.06);
  flex-shrink:0;
}

/* Header offset */
.dup-header-offset{padding-top:var(--header-h);}
/* Sans top bar (pages où elle est absente) */
.no-topbar .dup-header-offset{padding-top:var(--nav-h);}

/* ── HERO générique ────────────────────────────────────────────── */
.dup-hero{
  position:relative;
  height:100vh;min-height:580px;
  display:flex;flex-direction:column;justify-content:flex-end;
  padding-bottom:var(--pad-y);
  overflow:hidden;
  background:var(--black);
}
.dup-hero__bg{position:absolute;inset:0;}
.dup-hero__bg img{
  width:100%;height:100%;object-fit:cover;
  opacity:.65;
  transition:transform 9s var(--ease),opacity 1.2s var(--ease);
  transform:scale(1.06);
}
.dup-hero__bg img.loaded{transform:scale(1);}
.dup-hero__overlay{
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(17,17,17,.92) 0%,rgba(17,17,17,.22) 50%,rgba(17,17,17,.04) 100%);
}
.dup-hero__content{position:relative;z-index:2;}
.dup-hero__content h1{color:var(--white);margin-bottom:20px;}
.dup-hero__content .dup-kicker{color:var(--gold-light);}
.dup-hero__subtitle{
  color:rgba(255,255,255,.65);
  font-size:.98rem;line-height:1.75;
  max-width:500px;margin-bottom:36px;
}
.dup-hero__actions{display:flex;gap:14px;flex-wrap:wrap;}

/* Ligne déco verticale droite */
.dup-hero__scroll{
  position:absolute;bottom:var(--pad-y);right:var(--pad-x);z-index:2;
  display:flex;flex-direction:column;align-items:center;gap:10px;
  color:rgba(255,255,255,.35);
  font-size:.6rem;letter-spacing:.18em;text-transform:uppercase;font-family:var(--font-sans);
}
.dup-hero__scroll span{writing-mode:vertical-rl;}
.dup-hero__scroll::after{
  content:'';width:1px;height:50px;
  background:linear-gradient(to bottom,rgba(255,255,255,.35),transparent);
}

/* ── FOOTER ────────────────────────────────────────────────────── */
.dup-footer{
  background:var(--black);
  color:rgba(255,255,255,.55);
  font-size:.82rem;
  padding-top:72px;
  border-top:1px solid rgba(255,255,255,.04);
}
.dup-footer__grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:48px;
  padding-bottom:56px;
}
.dup-footer__brand .dup-logo img{height:52px;opacity:.85;margin-bottom:20px;}
.dup-footer__brand p{line-height:1.75;max-width:260px;}
.dup-footer__col h4{
  font-family:var(--font);
  font-size:.72rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:20px;
}
.dup-footer__col ul{list-style:none;}
.dup-footer__col ul li+li{margin-top:10px;}
.dup-footer__col ul a{
  color:rgba(255,255,255,.55);
  transition:color .3s;
  text-decoration:none;
}
.dup-footer__col ul a:hover{color:var(--gold);}
.dup-footer__col p+p{margin-top:8px;}
.dup-footer__col a{color:rgba(255,255,255,.55);text-decoration:none;transition:color .3s;}
.dup-footer__col a:hover{color:var(--gold);}
.dup-footer__bottom{
  border-top:1px solid rgba(255,255,255,.06);
  padding:20px 0;
  display:flex;justify-content:space-between;align-items:center;
  gap:20px;
  font-size:.72rem;
  flex-wrap:wrap;
}
.dup-footer__bottom a{color:rgba(255,255,255,.35);transition:color .3s;}
.dup-footer__bottom a:hover{color:var(--gold);}

/* ── Animations scroll ─────────────────────────────────────────── */
[data-reveal]{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .7s var(--ease),transform .7s var(--ease);
}
[data-reveal="left"]{transform:translateX(-26px);}
[data-reveal="right"]{transform:translateX(26px);}
[data-reveal="scale"]{transform:scale(.96);opacity:0;}
[data-delay="1"]{transition-delay:.1s;}
[data-delay="2"]{transition-delay:.2s;}
[data-delay="3"]{transition-delay:.3s;}
[data-delay="4"]{transition-delay:.4s;}
[data-delay="5"]{transition-delay:.5s;}
[data-reveal].visible{opacity:1;transform:none;}

/* ── Divider or ────────────────────────────────────────────────── */
.dup-divider{width:44px;height:1.5px;background:var(--gold);margin:16px 0;}
.dup-divider--center{margin:16px auto;}

/* ── Section header centré ─────────────────────────────────────── */
.dup-section-header{text-align:center;margin-bottom:min(4rem,5vw);}
.dup-section-header h2{margin-bottom:14px;}
.dup-section-header .dup-lead{max-width:520px;margin:0 auto;}

/* ── Stats band ────────────────────────────────────────────────── */
.dup-stats{
  background:var(--black);
  padding:64px 0;
}
.dup-stats__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid rgba(255,255,255,.07);
}
.dup-stat{
  padding:40px 32px;
  border-right:1px solid rgba(255,255,255,.07);
  text-align:center;
  transition:background .3s;
}
.dup-stat:last-child{border-right:none;}
.dup-stat:hover{background:rgba(191,163,124,.06);}
.dup-stat__num{
  font-family:var(--font);
  font-size:clamp(2.2rem,3.5vw,3.2rem);
  color:var(--white);
  line-height:1;
  margin-bottom:8px;
}
.dup-stat__num span{color:var(--gold);}
.dup-stat__label{
  font-size:.72rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(255,255,255,.4);
}

/* ── Card grille générique ─────────────────────────────────────── */
.dup-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;}
.dup-card{
  position:relative;overflow:hidden;
  background:var(--black);
}
.dup-card img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .7s var(--ease),filter .5s var(--ease);
  filter:brightness(.55) saturate(.7);
  display:block;
}
.dup-card:hover img{transform:scale(1.04);filter:brightness(.7) saturate(.9);}
.dup-card__body{
  position:absolute;inset:0;
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:44px 36px;
  background:linear-gradient(to top,rgba(17,17,17,.82) 0%,transparent 55%);
}
.dup-card__body .dup-kicker{color:var(--accent-2);}
.dup-card__body h3{color:var(--white);margin-bottom:8px;}
.dup-card__body p{color:rgba(255,255,255,.55);font-size:.9rem;margin-bottom:22px;}

/* ── Responsive global ─────────────────────────────────────────── */
@media(max-width:1100px){
  .dup-footer__grid{grid-template-columns:1fr 1fr;}
  .dup-stats__grid{grid-template-columns:repeat(2,1fr);}
  .dup-stat:nth-child(2){border-right:none;}
  .dup-stat:nth-child(1),.dup-stat:nth-child(2){border-bottom:1px solid rgba(255,255,255,.07);}
}
@media(max-width:860px){
  :root{--pad-x:1.5rem;--pad-y:3.5rem;}
  .dup-nav__links,.dup-nav__actions{display:none;}
  .dup-burger{display:flex;}
  .dup-cards{grid-template-columns:1fr;}
  .dup-footer__grid{grid-template-columns:1fr;}
  .dup-footer__brand p{max-width:100%;}
  .dup-hero__scroll{display:none;}
  .dup-hero__content h1{font-size:clamp(2rem,6vw,3rem);}
  .dup-section-header .dup-lead{max-width:100%;}
  .dup-hero__actions{flex-direction:column;align-items:flex-start;}
}
@media(max-width:520px){
  :root{--pad-x:1.2rem;--pad-y:3rem;}
  .dup-stats__grid{grid-template-columns:1fr 1fr;}
  .dup-stat:nth-child(2){border-right:none;}
  .dup-stat{padding:28px 16px;}
  :root{--topbar-h:0px;--nav-h:68px;}
  .dup-top-bar{display:none;}
  .dup-logo img{height:44px;}
  .dup-navbar{height:68px;}
  .dup-mobile-menu__top{height:68px;}
  .dup-header{top:0!important;}
}

/* ── Shared JS init ────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════════
   DESIGN IMPROVEMENTS — global
══════════════════════════════════════════════════════════════════ */

/* ── Nav scroll-shrink ─────────────────────────────────────────── */
.dup-navbar{
  transition:height .4s var(--ease);
}
.dup-logo img{
  transition:height .4s var(--ease),opacity .3s;
}
.dup-header.scrolled .dup-navbar{
  height:64px;
}
.dup-header.scrolled .dup-logo img{
  height:40px;
}

/* ── Button gold — fill-from-left ──────────────────────────────── */
.dup-btn--gold{
  border-color:var(--gold);
  color:var(--gold);
  background:linear-gradient(to right,var(--gold) 50%,transparent 50%);
  background-size:200% 100%;
  background-position:100% 0;
  transition:background-position .5s var(--ease-out),color .3s,transform .25s var(--ease);
}
.dup-btn--gold:hover{
  background-position:0 0;
  color:var(--white);
  transform:translateY(-2px);
}

/* ── Hero h1 — editorial scale ─────────────────────────────────── */
.dup-hero__content h1{
  font-size:clamp(2.8rem,4vw,4.8rem);
  line-height:1.1;
  letter-spacing:-.02em;
}

/* ── Hero content — staggered entry reveal ─────────────────────── */
@keyframes dupHeroUp{
  from{opacity:0;transform:translateY(30px);}
  to{opacity:1;transform:none;}
}
.dup-hero__content > *{
  animation:dupHeroUp .88s var(--ease-out) both;
}
.dup-hero__content > :nth-child(1){animation-delay:.08s;}
.dup-hero__content > :nth-child(2){animation-delay:.24s;}
.dup-hero__content > :nth-child(3){animation-delay:.42s;}
.dup-hero__content > :nth-child(4){animation-delay:.58s;}

/* ── Section headers — more editorial scale ────────────────────── */
.dup-section-header h2{
  font-size:clamp(2.2rem,4vw,3.8rem);
  letter-spacing:-.018em;
}

/* ── Responsive overrides ──────────────────────────────────────── */
@media(max-width:860px){
  .dup-hero__content h1{font-size:clamp(2.2rem,6vw,3.2rem);letter-spacing:-.012em;}
  .dup-section-header h2{font-size:clamp(2rem,5.5vw,3rem);}
}

/* ── Cardo italic — accents éditoriaux ─────────────────────────── */
.home-pitch__grid h2{font-style:italic;}
.contact-visual__tagline h2{font-style:italic;}

/* ── Scroll progress bar ───────────────────────────────────────── */
.dup-progress{
  position:fixed;
  top:0;left:0;
  height:2px;width:0%;
  background:var(--gold);
  z-index:99999;
  transition:width .08s linear;
  pointer-events:none;
}

/* ── Back-to-top ───────────────────────────────────────────────── */
.dup-back-top{
  position:fixed;
  bottom:32px;right:32px;
  width:44px;height:44px;
  background:rgba(17,17,17,.9);
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  display:flex;align-items:center;justify-content:center;
  color:rgba(255,255,255,.7);
  opacity:0;pointer-events:none;
  transform:translateY(10px);
  transition:opacity .35s var(--ease),transform .35s var(--ease),background .3s,border-color .3s,color .3s;
  z-index:8900;
  cursor:pointer;
}
.dup-back-top.visible{opacity:1;pointer-events:auto;transform:none;}
.dup-back-top:hover{background:var(--gold);border-color:var(--gold);color:var(--white);}
.dup-back-top svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}

/* ── WhatsApp float ────────────────────────────────────────────── */
.dup-wa{
  position:fixed;
  bottom:88px;right:32px;
  width:44px;height:44px;
  background:#25D366;
  display:flex;align-items:center;justify-content:center;
  color:#fff;
  opacity:0;pointer-events:none;
  transform:translateY(10px);
  transition:opacity .35s .06s var(--ease),transform .35s .06s var(--ease),background .3s;
  z-index:8900;
  text-decoration:none;
}
.dup-wa.visible{opacity:1;pointer-events:auto;transform:none;}
.dup-wa:hover{background:#1ebd5a;}
.dup-wa svg{width:22px;height:22px;fill:currentColor;}

/* ── prefers-reduced-motion ────────────────────────────────────── */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
  [data-reveal]{opacity:1!important;transform:none!important;}
  .dup-hero__bg img,.about-hero__bg img{transform:none!important;}
  .dup-progress{transition:none!important;}
}
