/* ═══════════════════════════════════════════════════════════
   SANI CARREAUX V4 — Clip-Wipe · Ken Burns · Flip Cards · Stacked Deck
   ═══════════════════════════════════════════════════════════ */

:root {
  --p:    #cc0033;
  --pd:   #8B0A20;
  --pdd:  #5c0515;
  --pl:   #d94060;
  --acc:  #F2B8C6;
  --wh:   #FFFFFF;
  --ow:   #FDF8F9;
  --lbg:  #FFF5F7;
  --dk:   #0f0508;
  --dkm:  #1d0b10;
  --gy:   #6B6B7B;
  --gyl:  #e8e0e2;
  --r:    16px;
  --rs:   8px;
  --tr:   .4s cubic-bezier(.4,0,.2,1);
  --fm:   'Montserrat', sans-serif;
  --fs:   'Cormorant Garamond', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--fm); color: var(--dk); background: var(--wh); overflow-x: hidden; line-height: 1.7; }
body.loading { overflow: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.con4 { max-width: 1320px; margin: 0 auto; padding: 0 28px; }


/* ══════════════════════════════════════════ LOADER V4 – Split Curtain ══ */
.loader4 {
  position: fixed; inset: 0; z-index: 10000;
  pointer-events: all;
}
.loader4.out { pointer-events: none; }

.l4-panel-top {
  position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: var(--dk);
  transition: transform 1s cubic-bezier(.77,0,.175,1) .2s;
  transform-origin: top center;
}
.l4-panel-bot {
  position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
  background: var(--dk);
  transition: transform 1s cubic-bezier(.77,0,.175,1) .2s;
  transform-origin: bottom center;
}
.loader4.out .l4-panel-top { transform: translateY(-100%); }
.loader4.out .l4-panel-bot { transform: translateY(100%); }

.l4-center {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 28px; z-index: 1;
  transition: opacity .3s ease;
}
.loader4.out .l4-center { opacity: 0; }

.l4-ring-wrap {
  position: relative; width: 140px; height: 140px;
  display: flex; align-items: center; justify-content: center;
}
.l4-ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.l4-track {
  fill: none;
  stroke: rgba(190,16,48,.2);
  stroke-width: 4;
}
.l4-fill {
  fill: none;
  stroke: var(--p);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  animation: ringFill4 2.4s linear forwards;
}
@keyframes ringFill4 { to { stroke-dashoffset: 0; } }

.l4-logo-inner {
  position: relative; z-index: 1;
  animation: l4LogoAnim .8s ease both;
}
@keyframes l4LogoAnim {
  from { opacity: 0; transform: scale(.6); }
  to   { opacity: 1; transform: scale(1); }
}
.l4-logo-inner img {
  height: 72px; width: auto;
  filter: brightness(0) invert(1) opacity(.95);
}

.l4-tagline {
  color: rgba(255,255,255,.45);
  font-family: var(--fs);
  font-size: 15px; font-style: italic;
  letter-spacing: 4px;
  animation: l4TagAnim 1s ease .4s both;
}
@keyframes l4TagAnim {
  from { opacity: 0; letter-spacing: 8px; }
  to   { opacity: 1; letter-spacing: 4px; }
}


/* ══════════════════════════════════════════ NAVBAR V4 ══ */
.nav4 {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 20px 0;
  transition: var(--tr);
}
.nav4.solid {
  background: rgba(15,5,8,.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(190,16,48,.25);
}
.nav4-container {
  max-width: 1320px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav4-logo img {
  height: 72px; width: auto;
  filter: brightness(0) invert(1) opacity(.9);
  transition: var(--tr);
}
.nav4-logo:hover img { opacity: 1; }
.nav4-menu {
  display: flex; align-items: center; gap: 8px;
}
.nav4-link {
  color: rgba(255,255,255,.8);
  font-size: 13px; font-weight: 500;
  letter-spacing: .5px;
  padding: 8px 16px;
  border-radius: 99px;
  transition: var(--tr);
  position: relative;
}
.nav4-link::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 1px; background: var(--p);
  transition: left .3s ease, right .3s ease;
}
.nav4-link:hover { color: var(--wh); }
.nav4-link:hover::after { left: 16px; right: 16px; }
.nav4-cta {
  background: var(--p); color: var(--wh) !important;
  display: flex; align-items: center; gap: 8px;
}
.nav4-cta::after { display: none; }
.nav4-cta:hover { background: var(--pd); transform: translateY(-1px); }

/* ── Bouton wide menu (3 traits) ── */
.btn-wide-nav {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; padding: 8px;
  border-radius: var(--rs);
  border: 1px solid rgba(255,255,255,.2);
  transition: var(--tr);
  flex-shrink: 0;
}
.btn-wide-nav span {
  display: block; height: 2px; background: var(--wh);
  border-radius: 2px; transition: var(--tr);
}
.btn-wide-nav span:nth-child(1) { width: 100%; }
.btn-wide-nav span:nth-child(2) { width: 70%; }
.btn-wide-nav span:nth-child(3) { width: 100%; }
.btn-wide-nav:hover { border-color: var(--p); background: rgba(190,16,48,.12); }
.btn-wide-nav:hover span { background: var(--acc); }
.btn-wide-nav.active span:nth-child(2) { width: 100%; }

/* ── Wide menu panel ── */
.wide-nav-panel {
  position: fixed; top: 0; left: 0; right: 0;
  height: 100vh; z-index: 1100;
  background: var(--dk);
  transform: translateY(-100%);
  transition: transform .6s cubic-bezier(.77,0,.175,1);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.wide-nav-panel::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 60%, rgba(190,16,48,.1) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.wide-nav-panel > * { position: relative; z-index: 1; }
.wide-nav-panel.open { transform: translateY(0); }

/* ── Barre supérieure ── */
.wn-topbar {
  display: flex; align-items: center; gap: 40px;
  padding: 20px 60px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.wn-topbar-sep { display: none; }
.wn-logo {
  height: 44px; width: auto; flex-shrink: 0;
  filter: brightness(0) invert(1) opacity(.5);
}
.wn-topnav {
  display: flex; align-items: center; gap: 6px; flex: 1;
}
.wn-topnav a {
  color: rgba(255,255,255,.5); font-size: 12px; font-weight: 500;
  letter-spacing: .4px; padding: 6px 14px; border-radius: 99px;
  transition: color .25s ease, background .25s ease;
}
.wn-topnav a:hover { color: var(--wh); background: rgba(255,255,255,.07); }

/* ── Mega menu – deux panneaux (dynamique) ── */
.wn-mega-wrap {
  display: flex; flex-direction: row;
  flex: 1; overflow: hidden;
  padding: 0;
}

/* Colonne gauche : onglets racines */
.wn-cat-tabs {
  width: 230px; flex-shrink: 0;
  display: flex; flex-direction: column;
  padding: 20px 0;
  border-right: 1px solid rgba(255,255,255,.07);
  overflow-y: auto;
}

.wn-cat-tab {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 11px 22px;
  background: none; border: none;
  border-left: 2px solid transparent;
  color: rgba(255,255,255,.38);
  font-family: inherit; font-size: 9.5px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase; text-align: left;
  cursor: pointer; line-height: 1.4;
  transition: color .2s, background .2s, border-color .2s;
}
.wn-cat-tab:hover {
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.04);
  border-left-color: rgba(255,255,255,.18);
}
.wn-cat-tab.is-active {
  color: var(--wh);
  background: rgba(255,255,255,.06);
  border-left-color: var(--p);
}
.wn-cat-tab-name { flex: 1; }
.wn-cat-tab-arrow {
  font-style: normal; font-size: 16px; line-height: 1;
  color: var(--p); opacity: 0;
  transform: translateX(-5px);
  transition: opacity .2s, transform .2s;
}
.wn-cat-tab.is-active .wn-cat-tab-arrow { opacity: 1; transform: translateX(0); }

/* Colonne droite : panneaux */
.wn-panels { flex: 1; overflow-y: auto; }

.wn-panel {
  display: none;
  padding: 28px 50px 32px;
  animation: wnFadeIn .18s ease;
}
.wn-panel.is-active { display: block; }

@keyframes wnFadeIn {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* En-tête du panneau */
.wn-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
}
.wn-panel-title {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  margin: 0;
}

.wn-panel-intro {
  font-size: 12px; color: rgba(255,255,255,.28); line-height: 1.65;
  margin-bottom: 22px; padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  max-width: 560px;
}
.wn-panel-empty {
  font-size: 12px; color: rgba(255,255,255,.25);
  font-style: italic; margin-top: 20px;
}

/* Grille des sous-catégories */
.wn-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 18px;
}

/* Un groupe = sous-catégorie de niveau 2 */
.wn-item-group {
  padding: 0 24px 20px 0;
  margin-bottom: 4px;
}

/* En-tête du groupe */
.wn-item-head {
  margin-bottom: 10px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.wn-item-name {
  display: block;
  font-size: 9.5px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: rgba(255,255,255,.42);
  line-height: 1.3;
}

/* Lien direct (groupe sans enfants) */
.wn-item-direct-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: rgba(255,255,255,.3);
  padding: 4px 0;
  transition: color .2s, gap .2s;
}
.wn-item-direct-link:hover { color: rgba(255,255,255,.7); gap: 8px; }

/* Liste niveau 3 */
.wn-sub-list { list-style: none; padding: 0; margin: 0; }
.wn-sub-list li a {
  display: block;
  padding: 6px 0;
  color: rgba(255,255,255,.5); font-size: 13px; font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: color .2s, padding-left .2s;
}
.wn-sub-list li:last-child a { border-bottom: none; }
.wn-sub-list li a:hover { color: var(--wh); padding-left: 6px; }

/* ══════════════════════════════════════════════════════════
   MOBILE ACCORDION MENU
   Caché sur desktop, prend la place du two-panel sur mobile
   ══════════════════════════════════════════════════════════ */
.wn-mobile-menu {
  display: none; /* affiché uniquement via media query mobile */
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

/* ── Item racine ── */
.wn-acc-item {
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.wn-acc-trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 17px 24px;
  background: none; border: none;
  color: var(--wh); font-family: inherit;
  font-size: 17px; font-weight: 400; letter-spacing: .2px;
  text-align: left; cursor: pointer;
  transition: background .2s, color .2s;
}
.wn-acc-trigger:hover,
.wn-acc-item.is-open > .wn-acc-trigger {
  background: rgba(255,255,255,.04);
  color: var(--wh);
}
.wn-acc-item.is-open > .wn-acc-trigger .wn-acc-icon {
  transform: rotate(180deg);
}

/* ── Chevron ── */
.wn-acc-icon {
  font-size: 12px; color: rgba(255,255,255,.4);
  flex-shrink: 0; transition: transform .25s ease;
}

/* ── Corps enfants niveau 2 ── */
.wn-acc-body {
  max-height: 0; overflow: hidden;
  transition: max-height .32s cubic-bezier(.4,0,.2,1);
  border-left: 2px solid rgba(255,255,255,.12);
  margin-left: 24px;
}
.wn-acc-item.is-open > .wn-acc-body {
  max-height: 1200px; /* assez grand pour tous les cas */
}

/* ── Lien enfant direct (sans sous-enfants) ── */
.wn-acc-child-link {
  display: block; padding: 13px 20px;
  color: rgba(255,255,255,.6); font-size: 15px; font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .2s, padding-left .2s;
}
.wn-acc-child-link:last-child { border-bottom: none; }
.wn-acc-child-link:hover { color: var(--wh); padding-left: 26px; }

/* ── Sous-item avec enfants (niveau 2 → accordéon imbriqué) ── */
.wn-acc-sub-item {
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.wn-acc-sub-item:last-child { border-bottom: none; }

.wn-acc-sub-trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 13px 20px;
  background: none; border: none;
  color: rgba(255,255,255,.6); font-family: inherit;
  font-size: 15px; font-weight: 400; text-align: left; cursor: pointer;
  transition: color .2s, background .2s;
}
.wn-acc-sub-trigger:hover,
.wn-acc-sub-item.is-open > .wn-acc-sub-trigger {
  color: var(--wh); background: rgba(255,255,255,.03);
}
.wn-acc-sub-item.is-open > .wn-acc-sub-trigger .wn-acc-icon {
  transform: rotate(180deg);
}

/* ── Corps sous-enfants niveau 3 ── */
.wn-acc-sub-body {
  max-height: 0; overflow: hidden;
  transition: max-height .28s cubic-bezier(.4,0,.2,1);
  border-left: 2px solid rgba(255,255,255,.08);
  margin-left: 20px;
}
.wn-acc-sub-item.is-open > .wn-acc-sub-body {
  max-height: 800px;
}

/* ── Feuille niveau 3 ── */
.wn-acc-leaf {
  display: block; padding: 11px 18px;
  color: rgba(255,255,255,.42); font-size: 13px; font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: color .2s, padding-left .2s;
}
.wn-acc-leaf:last-child { border-bottom: none; }
.wn-acc-leaf:hover { color: rgba(255,255,255,.75); padding-left: 22px; }

/* ── Bascule desktop / mobile ── */
@media (min-width: 769px) {
  .wn-mobile-menu { display: none !important; }
}

/* ── Pied de menu ── */
.wn-footer-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 60px;
  border-top: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.wn-footer-contact {
  display: flex; align-items: center; gap: 28px;
}
.wn-footer-contact span {
  font-size: 12px; color: rgba(255,255,255,.3);
  display: flex; align-items: center; gap: 8px;
}
.wn-footer-contact span i { color: var(--p); font-size: 11px; }
.wn-social { display: flex; gap: 8px; }
.wn-social a {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.35); font-size: 12px;
  transition: border-color .25s, color .25s, background .25s;
}
.wn-social a:hover { border-color: var(--p); color: var(--wh); background: rgba(190,16,48,.2); }

/* ── Bouton fermeture ── */
.wide-nav-close {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--rs);
  border: 1px solid rgba(255,255,255,.18);
  transition: var(--tr); margin-left: auto;
}
.wide-nav-close span {
  position: absolute; width: 18px; height: 2px;
  background: var(--wh); border-radius: 2px; transition: var(--tr);
}
.wide-nav-close span:nth-child(1) { transform: rotate(45deg); }
.wide-nav-close span:nth-child(2) { transform: rotate(-45deg); }
.wide-nav-close:hover { border-color: var(--p); background: rgba(190,16,48,.12); }

.wide-nav-backdrop {
  position: fixed; inset: 0; z-index: 1099;
  background: transparent;
  pointer-events: none; opacity: 0;
  transition: opacity .4s ease;
}
.wide-nav-backdrop.show { pointer-events: all; opacity: 1; }


/* ══════════════════════════════════════ HERO V4 ══ */
.hero4 {
  position: relative; width: 100%; height: 100vh; min-height: 700px;
  overflow: hidden; background: var(--dk);
}

/* ── Slides: clip-path wipe ── */
.slides4-container { position: absolute; inset: 0; }

.slide4 {
  position: absolute; inset: 0;
  clip-path: inset(0 100% 0 0);
  z-index: 0;
}
.slide4:first-child {
  clip-path: inset(0 0% 0 0);
  z-index: 1;
}
.slide4.active {
  z-index: 2;
  animation: wipe4In 1.3s cubic-bezier(.77,0,.175,1) forwards;
}
.slide4.prev {
  z-index: 1;
  clip-path: inset(0 0% 0 0);
}
@keyframes wipe4In {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

/* ── Video slide ── */
.slide4-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  pointer-events: none;
}
/* No Ken Burns on video slides */
.slide4-has-video.active .slide4-bg { animation: none; }

/* ── Ken Burns on active slide background ── */
.slide4-bg {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
}
.slide4.active .slide4-bg {
  animation: kenBurns4 8s ease-out both;
}
@keyframes kenBurns4 {
  0%   { transform: scale(1.12) translate(2%, 1%); }
  100% { transform: scale(1)    translate(0%, 0%); }
}

.slide4-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,5,8,.75) 0%,
    rgba(15,5,8,.4)  50%,
    rgba(15,5,8,.6)  100%
  );
}

/* ── Hero content ── */
.hero4-content {
  position: absolute; top: 0; left: 0; right: 0; bottom: 88px; z-index: 10;
  display: flex; flex-direction: column; justify-content: center;
  padding: 130px 7vw 40px;
  overflow: hidden;
  max-width: 780px;
}

.hero4-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.e4-line {
  flex: 0 0 40px; height: 1px; background: var(--p);
  animation: e4LineIn .6s ease .5s both;
}
@keyframes e4LineIn { from { flex-basis: 0; } }
.e4-text {
  color: var(--acc);
  font-size: 12px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
}

/* ── Word-rise title animation ── */
.hero4-title {
  font-family: var(--fs);
  font-size: clamp(42px, 5.5vw, 90px);
  font-weight: 300; color: var(--wh);
  line-height: 1.05;
  margin-bottom: 24px;
}
.h4-line { display: block; }
.h4-line.italic4 { font-style: italic; color: var(--acc); }

/* Word-wrap container: clips the word so it rises from below */
.ww {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
/* The word span that animates */
.wi {
  display: inline-block;
  animation: wordRise4 .75s cubic-bezier(.4,0,.2,1) both;
}
@keyframes wordRise4 {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.hero4-sub {
  color: rgba(255,255,255,.72);
  font-size: 15px; line-height: 1.8;
  margin-bottom: 36px;
  animation: h4SubIn .8s ease 1.2s both;
}
@keyframes h4SubIn {
  from { opacity: 0; filter: blur(4px); }
  to   { opacity: 1; filter: blur(0); }
}

.hero4-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: h4ActIn .8s ease 1.4s both;
}
@keyframes h4ActIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.btn4-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--p); color: var(--wh);
  padding: 16px 32px; border-radius: 99px;
  font-size: 13px; font-weight: 600; letter-spacing: .5px;
  transition: var(--tr);
}
.btn4-primary:hover { background: var(--pd); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(190,16,48,.4); }
.btn4-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,.35); color: var(--wh);
  padding: 16px 32px; border-radius: 99px;
  font-size: 13px; font-weight: 500;
  transition: var(--tr);
}
.btn4-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

/* ── Slide labels ── */
.slide4-labels {
  position: absolute; right: 64px; top: 50%; z-index: 10;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-end;
}
.s4-label {
  color: rgba(255,255,255,.4);
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; cursor: pointer;
  padding: 6px 12px;
  border-bottom: 1px solid transparent;
  transition: var(--tr);
}
.s4-label.active, .s4-label:hover {
  color: var(--wh); border-color: var(--p);
}

/* ── Slide controls ── */
.slide4-controls {
  position: absolute; bottom: 40px; right: 60px; z-index: 10;
  display: flex; align-items: center; gap: 16px;
}
.s4-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  color: var(--wh); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--tr);
}
.s4-btn:hover { background: var(--p); border-color: var(--p); transform: scale(1.05); }
.s4-progress { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.s4-bar-wrap { width: 80px; height: 2px; background: rgba(255,255,255,.2); border-radius: 2px; }
.s4-bar-fill { height: 100%; background: var(--p); border-radius: 2px; transition: width .5s ease; }
.s4-counter { color: rgba(255,255,255,.6); font-size: 11px; letter-spacing: 1px; }
.s4-sep { margin: 0 2px; }

/* ── Vertical dots ── */
.s4-dots {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  z-index: 10; display: flex; flex-direction: column; gap: 10px;
}
.s4dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer; transition: var(--tr);
}
.s4dot.active { background: var(--p); transform: scale(1.4); }

/* ── Scroll hint: mouse with wheel ── */
.hero4-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.5); font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  animation: scrollHintAnim 2s ease-in-out 2s infinite;
}
@keyframes scrollHintAnim {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: .5; }
  50%      { transform: translateX(-50%) translateY(6px); opacity: .8; }
}
.scroll4-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll4-wheel {
  width: 4px; height: 8px;
  background: var(--p); border-radius: 2px;
  animation: wheelSpin 1.5s ease-in-out infinite;
}
@keyframes wheelSpin {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ── Stats strip ── */
.stats4-strip {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 10;
  background: rgba(15,5,8,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(190,16,48,.2);
  display: flex; align-items: center; justify-content: center;
  padding: 20px 40px; gap: 0;
}
.stat4 {
  flex: 1; text-align: center;
  padding: 0 24px;
}
.stat4-num {
  display: block;
  font-family: var(--fs); font-size: 36px; font-weight: 600; color: var(--wh);
  line-height: 1;
}
.stat4-plus { color: var(--p); font-size: 18px; font-weight: 700; margin-left: 2px; }
.stat4-label { display: block; color: rgba(255,255,255,.45); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }
.stat4-sep { width: 1px; height: 36px; background: rgba(255,255,255,.12); flex-shrink: 0; }


/* ══════════════════════════════════════════ BRAND STRIP ══ */
.brand4-strip {
  background: var(--p); padding: 16px 0;
  overflow: hidden;
}
.bs4-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.bs4-item {
  color: rgba(255,255,255,.9); font-size: 12px; font-weight: 500;
  letter-spacing: 1px; padding: 4px 24px;
  display: flex; align-items: center; gap: 8px;
}
.bs4-item i { font-size: 14px; }
.bs4-div { width: 1px; height: 20px; background: rgba(255,255,255,.3); }


/* ══════════════════════════════════════════ SECTIONS ══ */
.sec4 { padding: 100px 0; }
.sec4-header { text-align: center; margin-bottom: 60px; }
.sec4-header.light4 .sec4-title,
.sec4-header.light4 .sec4-sub { color: var(--wh); }
.sec4-header.light4 .sec4-tag { color: var(--acc); border-color: rgba(242,184,198,.3); }

.sec4-tag {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--p); border: 1px solid rgba(190,16,48,.3);
  padding: 6px 16px; border-radius: 99px;
  margin-bottom: 16px;
}
.sec4-title {
  font-family: var(--fs); font-size: clamp(32px,5vw,56px);
  font-weight: 300; line-height: 1.15;
  margin-bottom: 16px; color: var(--dk);
}
.sec4-title em { font-style: italic; color: var(--p); }
.sec4-sub { color: var(--gy); font-size: 15px; max-width: 540px; margin: 0 auto; }


/* ══════════════════════════════════════════ REVEAL ANIMATIONS V4 ══
   Slide-in from right + scale (horizontal, different from v3 fade-up) ══ */
.rv4 {
  opacity: 0;
  transform: translateX(40px) scale(0.97);
  transition: opacity .7s ease, transform .7s cubic-bezier(.4,0,.2,1);
}
.rv4.in {
  opacity: 1;
  transform: translateX(0) scale(1);
}
/* Title/tag variant: slide from left (opposite direction) */
.sec4-title.rv4,
.sec4-tag.rv4 {
  transform: translateX(-40px) scale(0.97);
}
.sec4-title.rv4.in,
.sec4-tag.rv4.in {
  transform: translateX(0) scale(1);
}


/* ══════════════════════════════════════════ SERVICES V4 – 3D Flip Cards ══ */
.services4 { background: var(--ow); }

.srv4-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.srv4-card {
  perspective: 1200px;
  height: 320px;
}
.srv4-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform .75s cubic-bezier(.4,0,.2,1);
}
.srv4-card:hover .srv4-inner {
  transform: rotateY(180deg);
}

.srv4-front, .srv4-back {
  position: absolute; inset: 0;
  border-radius: var(--r);
  padding: 40px 32px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column;
}
.srv4-front {
  background: var(--wh);
  border: 1px solid var(--gyl);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  align-items: flex-start; justify-content: flex-end;
}
.srv4-front:hover { /* handled by parent */ }
.srv4-back {
  background: linear-gradient(135deg, var(--p), var(--pd));
  color: var(--wh);
  transform: rotateY(180deg);
  align-items: flex-start; justify-content: space-between;
}

.srv4-num {
  font-family: var(--fs);
  font-size: 56px; font-weight: 300;
  color: var(--gyl);
  line-height: 1;
  margin-bottom: auto;
}
.srv4-icon {
  font-size: 28px; color: var(--p);
  margin-bottom: 12px;
}
.srv4-front h3 { font-size: 18px; font-weight: 600; color: var(--dk); margin-bottom: 8px; }
.srv4-hint {
  font-size: 11px; color: var(--gy); letter-spacing: 1px;
  display: flex; align-items: center; gap: 6px;
}
.srv4-hint i { color: var(--p); }

.srv4-back-icon { font-size: 32px; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.srv4-back h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.srv4-back p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.85); flex: 1; }
.srv4-back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  border: 1px solid rgba(255,255,255,.5);
  color: var(--wh); padding: 10px 20px; border-radius: 99px;
  font-size: 12px; font-weight: 600; letter-spacing: .5px;
  transition: var(--tr);
}
.srv4-back-btn:hover { background: rgba(255,255,255,.15); }


/* ══════════════════════════════════════════ SIMULATOR V4 ══ */
.sim4-section {
  background: var(--dkm);
  position: relative; overflow: hidden;
}
.sim4-bg-deco {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(190,16,48,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(190,16,48,.06) 0%, transparent 50%);
}

.sim4-layout {
  display: grid; grid-template-columns: 380px 1fr; gap: 40px;
}
.sim4-block {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  padding: 28px 24px; margin-bottom: 20px;
  display: flex; gap: 20px;
}
.sim4-step-num {
  font-family: var(--fs); font-size: 40px; font-weight: 300;
  color: rgba(190,16,48,.5); line-height: 1; flex-shrink: 0;
}
.sim4-block-body h4 {
  color: var(--wh); font-size: 14px; font-weight: 600;
  letter-spacing: .5px; margin-bottom: 16px;
}
.upload4-zone {
  border: 2px dashed rgba(255,255,255,.15);
  border-radius: var(--rs);
  padding: 28px 20px; text-align: center;
  cursor: pointer; transition: var(--tr);
  color: rgba(255,255,255,.4);
}
.upload4-zone:hover { border-color: var(--p); color: var(--wh); }
.upload4-icon { font-size: 28px; margin-bottom: 8px; }
.upload4-zone p { font-size: 13px; margin-bottom: 4px; }
.upload4-zone span { font-size: 11px; opacity: .6; }

.tex4-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tex4-item {
  text-align: center; cursor: pointer;
  border: 2px solid transparent; border-radius: var(--rs);
  padding: 6px; transition: var(--tr);
}
.tex4-item.active, .tex4-item:hover { border-color: var(--p); }
.tex4-prev {
  width: 100%; height: 44px; border-radius: 6px;
  margin-bottom: 4px; background-size: cover;
}
.t-marbre4  { background: linear-gradient(135deg,#d4cfc9,#e8e4e0,#c9c4be); }
.t-carreau4 { background: repeating-conic-gradient(#ccc 0% 25%, #fff 0% 50%) 0 0/16px 16px; }
.t-bois4    { background: repeating-linear-gradient(90deg,#c8a87a,#b5914f 4px,#c8a87a 4px,#d4b685 20px); }
.t-beton4   { background: linear-gradient(135deg,#aaa,#888,#9a9a9a); }
.t-pierre4  { background: linear-gradient(135deg,#b0a090,#998877,#c0b0a0); }
.t-mosaique4{ background: repeating-conic-gradient(#BE1030 0% 25%, #fff 0% 50%) 0 0/10px 10px; }
.tex4-item span { font-size: 10px; color: rgba(255,255,255,.6); }

.sim4-opts { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.sim4-label { color: rgba(255,255,255,.6); font-size: 12px; font-weight: 600; letter-spacing: .5px; }
.sim4-sel {
  display: block; width: 100%; margin-top: 6px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: var(--wh); padding: 10px 14px; border-radius: var(--rs);
  font-family: var(--fm); font-size: 13px; cursor: pointer;
}
.btn4-apply {
  width: 100%; padding: 14px;
  background: var(--p); color: var(--wh);
  border-radius: var(--rs); font-weight: 600; font-size: 13px;
  letter-spacing: .5px; transition: var(--tr);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn4-apply:hover { background: var(--pd); transform: translateY(-1px); }

/* Preview pane */
.sim4-preview {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r); overflow: hidden;
  height: 360px; position: relative;
  user-select: none;
}
.sim4-labels {
  position: absolute; top: 12px; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; padding: 0 16px;
  pointer-events: none;
}
.s4-lbl {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; background: rgba(0,0,0,.5);
  color: var(--wh); padding: 4px 10px; border-radius: 4px;
}
.split4-container {
  position: absolute; inset: 0; display: flex; overflow: hidden;
}
.split4-before { position: absolute; inset: 0; overflow: hidden; }
.split4-after  { position: absolute; inset: 0; overflow: hidden; left: 50%; }
.split4-divider {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: var(--wh); cursor: ew-resize; z-index: 4;
  transform: translateX(-50%);
}
.divider4-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--p); color: var(--wh);
  display: flex; align-items: center; justify-content: center; font-size: 12px;
  box-shadow: 0 4px 16px rgba(190,16,48,.4);
}
/* Room interior mock */
.s4-room-wall, .s4a-room-wall {
  position: absolute; top: 0; left: 0; right: 0; height: 55%;
  background: #d0cbc5; transition: background .6s ease;
}
.s4-room-floor, .s4a-room-floor {
  position: absolute; bottom: 0; left: 0; right: 0; height: 45%;
  background: #b8a898; transition: background .6s ease, background-image .6s ease;
  background-size: 60px 60px;
}
.s4-furniture, .s4a-furniture { position: absolute; bottom: 0; inset: 0; pointer-events: none; }
.s4-sofa {
  position: absolute; bottom: 35%; left: 50%; transform: translateX(-50%);
  width: 55%; height: 18%; background: #6b5c4f; border-radius: 8px 8px 0 0;
}
.s4-table {
  position: absolute; bottom: 28%; left: 50%; transform: translateX(-50%);
  width: 28%; height: 8%; background: #4a3c32; border-radius: 4px;
}
.sim4-ready-msg {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: rgba(255,255,255,.5); font-size: 13px;
  background: rgba(15,5,8,.6); backdrop-filter: blur(4px);
  transition: opacity .4s ease;
}
.sim4-ready-msg i { font-size: 28px; animation: handPulse 1.5s ease-in-out infinite; }
@keyframes handPulse { 0%,100%{transform:scale(1)}50%{transform:scale(1.1)} }
.sim4-ready-msg.hidden { opacity: 0; pointer-events: none; }
.sim4-footer-actions {
  display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap;
}
.s4-act-btn {
  flex: 1; padding: 12px; border-radius: var(--rs);
  border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.7);
  font-size: 12px; font-weight: 500; letter-spacing: .3px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: var(--tr);
}
.s4-act-btn:hover { border-color: var(--p); color: var(--wh); }
.s4-act-btn.s4-main { background: var(--p); border-color: var(--p); color: var(--wh); }
.s4-act-btn.s4-main:hover { background: var(--pd); }


/* ══════════════════════════════════════════ GALLERY V4 ══ */
.gallery4 { background: var(--wh); }

.gal4-filters {
  display: flex; gap: 10px; justify-content: center;
  margin-bottom: 40px; flex-wrap: wrap;
}
.gf4-btn {
  padding: 10px 24px; border-radius: 99px;
  border: 1px solid var(--gyl); color: var(--gy);
  font-size: 12px; font-weight: 600; letter-spacing: .5px;
  transition: var(--tr);
}
.gf4-btn.active, .gf4-btn:hover {
  background: var(--p); border-color: var(--p); color: var(--wh);
}

.gal4-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}
.gi4 {
  position: relative; border-radius: var(--r); overflow: hidden;
  cursor: pointer;
  /* Scale-up + rise from below (distinct stagger per item) */
  transform: scale(.88) translateY(40px);
  opacity: 0;
  transition: transform .7s cubic-bezier(.4,0,.2,1), opacity .6s ease;
}
.gi4.in {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.gi4.g-hidden { display: none; }
.gi4-wide { grid-column: span 2; }
.gi4-tall { grid-row: span 2; }

.gi4-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .6s ease;
}
.gi4:hover .gi4-img { transform: scale(1.05); }
.gi4-info {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,5,8,.8) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  opacity: 0; transition: opacity .3s ease;
}
.gi4:hover .gi4-info { opacity: 1; }
.gi4-info h4 { color: var(--wh); font-size: 16px; font-weight: 600; }
.gi4-info p  { color: rgba(255,255,255,.7); font-size: 13px; }


/* ══════════════════════════════════════════ TESTIMONIALS V4 – Stacked Deck ══ */
.testi4 { position: relative; padding: 100px 0; overflow: hidden; }
.testi4-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--dkm) 0%, var(--pdd) 100%);
}

.deck4-wrap {
  max-width: 700px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
}

/* ── Stacked cards container ── */
.deck4 {
  position: relative;
  width: 100%;
  height: 380px; /* tall enough for 5 stacked cards */
}

/* Each card styled by data-pos (0=front, 4=back) */
.tc4 {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--wh);
  border-radius: 20px;
  padding: 44px 48px;
  transition: transform .6s cubic-bezier(.4,0,.2,1),
              opacity .6s ease,
              box-shadow .4s ease;
  will-change: transform, opacity;
}
.tc4[data-pos="0"] {
  transform: translateY(0px)   scale(1);
  z-index: 5; opacity: 1;
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
}
.tc4[data-pos="1"] {
  transform: translateY(14px) scale(.96);
  z-index: 4; opacity: .75;
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
}
.tc4[data-pos="2"] {
  transform: translateY(28px) scale(.92);
  z-index: 3; opacity: .45;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.tc4[data-pos="3"] {
  transform: translateY(42px) scale(.88);
  z-index: 2; opacity: .2;
  box-shadow: none;
}
.tc4[data-pos="4"] {
  transform: translateY(56px) scale(.84);
  z-index: 1; opacity: 0;
  box-shadow: none;
}

/* Card exit: fly out to left with rotation */
.tc4.tc4-exit {
  animation: cardExit4 .5s cubic-bezier(.4,0,.2,1) both;
}
@keyframes cardExit4 {
  to {
    transform: translateX(-130%) rotate(-15deg);
    opacity: 0;
  }
}
/* Card enter from right (when going previous) */
.tc4.tc4-enter {
  animation: cardEnter4 .5s cubic-bezier(.4,0,.2,1) both;
}
@keyframes cardEnter4 {
  from {
    transform: translateX(130%) rotate(15deg);
    opacity: 0;
  }
}

.tc4-quote {
  font-size: 28px; color: var(--p);
  margin-bottom: 16px; opacity: .4;
}
.tc4 p {
  font-size: 15px; line-height: 1.8; color: var(--dk);
  margin-bottom: 20px; font-style: italic; font-family: var(--fs);
}
.tc4-stars { color: var(--p); font-size: 13px; margin-bottom: 20px; letter-spacing: 2px; }
.tc4-author {
  display: flex; align-items: center; gap: 14px;
}
.tc4-av {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--av-color, var(--p));
  color: var(--wh); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tc4-author strong { display: block; font-size: 14px; font-weight: 700; color: var(--dk); }
.tc4-author span   { font-size: 12px; color: var(--gy); }

.deck4-controls {
  display: flex; align-items: center; gap: 24px;
  margin-top: 20px;
}
.d4-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); color: var(--wh);
  font-size: 14px; transition: var(--tr);
  display: flex; align-items: center; justify-content: center;
}
.d4-btn:hover { background: var(--p); border-color: var(--p); transform: scale(1.05); }
.d4-counter { color: rgba(255,255,255,.6); font-size: 13px; font-weight: 500; min-width: 40px; text-align: center; }
.deck4-hint { color: rgba(255,255,255,.3); font-size: 11px; letter-spacing: 1px; }


/* ══════════════════════════════════════════ CTA V4 ══ */
.cta4 { padding: 0; }
.cta4-bg-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 700px; }
.cta4-left-panel { position: relative; overflow: hidden; }
.cta4-deco-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 8s ease;
}
.cta4-left-panel:hover .cta4-deco-img { transform: scale(1.04); }
.cta4-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,5,8,.8), rgba(15,5,8,.2));
}
.cta4-img-text {
  position: absolute; bottom: 48px; left: 48px; right: 48px;
  color: var(--wh);
}
.cta4-img-text blockquote {
  font-family: var(--fs); font-size: 26px; font-style: italic;
  line-height: 1.4; margin-bottom: 12px;
}
.cta4-img-text cite { font-size: 12px; letter-spacing: 2px; opacity: .7; }

.cta4-right-panel {
  background: var(--ow);
  display: flex; align-items: center;
}
.cta4-form-wrap { padding: 60px 56px; width: 100%; }
.cta4-title {
  font-family: var(--fs); font-size: clamp(28px,3vw,44px);
  font-weight: 300; line-height: 1.2; color: var(--dk);
  margin-bottom: 12px;
}
.cta4-title em { font-style: italic; color: var(--p); }
.cta4-sub { color: var(--gy); font-size: 14px; margin-bottom: 32px; }

.cta4-form { display: flex; flex-direction: column; gap: 20px; }
.f4-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Animated underline input (different from v3's floating box) */
.f4-group {
  position: relative;
}
.f4-input {
  width: 100%;
  background: transparent;
  border: none; border-bottom: 1px solid var(--gyl);
  padding: 12px 36px 12px 0;
  font-family: var(--fm); font-size: 14px; color: var(--dk);
  outline: none; transition: border-color .3s ease;
}
.f4-input:focus { border-color: var(--p); }
.f4-ta { resize: none; min-height: 100px; border: 1px solid var(--gyl); border-radius: var(--rs); padding: 12px; }
.f4-ta:focus { border-color: var(--p); }
.f4-label {
  position: absolute; left: 0; top: 12px;
  font-size: 13px; color: var(--gy);
  pointer-events: none;
  transition: .3s ease;
}
.f4-input:focus ~ .f4-label,
.f4-input:not(:placeholder-shown) ~ .f4-label {
  top: -6px; font-size: 10px; color: var(--p); font-weight: 600; letter-spacing: .5px;
}
.f4-icon {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--gy); font-size: 13px;
}
/* Growing underline on focus */
.f4-line {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--p);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.f4-input:focus ~ .f4-line { transform: scaleX(1); }

.btn4-submit {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--p); color: var(--wh);
  padding: 18px 36px; border-radius: 99px;
  font-size: 14px; font-weight: 600; letter-spacing: .5px;
  transition: var(--tr); width: fit-content;
}
.btn4-submit:hover { background: var(--pd); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(190,16,48,.4); }

.f4-trust {
  display: flex; gap: 20px; margin-top: 20px; flex-wrap: wrap;
}
.f4-trust div {
  font-size: 11px; color: var(--gy);
  display: flex; align-items: center; gap: 6px;
}
.f4-trust i { color: var(--p); }


/* ══════════════════════════════════════════ FOOTER V4 ══ */
.footer4 { background: var(--dk); color: rgba(255,255,255,.65); }
.footer4-top { padding: 64px 0 48px; }
.f4-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px;
}
.f4-logo { height: 44px; width: auto; filter: brightness(0) invert(1) opacity(.8); margin-bottom: 16px; }
.f4-brand p { font-size: 13px; line-height: 1.7; max-width: 280px; }
.f4-socials {
  display: flex; gap: 10px; margin-top: 20px;
}
.f4-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: 13px;
  transition: var(--tr);
}
.f4-socials a:hover { background: var(--p); border-color: var(--p); color: var(--wh); }
.f4-col h4 { color: var(--wh); font-size: 13px; font-weight: 600; margin-bottom: 16px; letter-spacing: .5px; }
.f4-col a {
  display: block; font-size: 13px; color: rgba(255,255,255,.55);
  margin-bottom: 10px; transition: var(--tr);
}
.f4-col a:hover { color: var(--acc); padding-left: 4px; }
.f4-contact-item { display: flex; gap: 10px; margin-bottom: 10px; font-size: 13px; }
.f4-contact-item i { color: var(--p); margin-top: 3px; flex-shrink: 0; }
.footer4-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer4-bottom .con4 {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 12px; color: rgba(255,255,255,.3);
}
.footer4-bottom a { color: rgba(255,255,255,.4); transition: var(--tr); margin-left: 16px; }
.footer4-bottom a:hover { color: var(--wh); }


/* ══════════════════════════════════════════ CHATBOT V4 ══ */
.chatbot4-widget {
  position: fixed; bottom: 100px; right: 24px; z-index: 9100;
}
.chat4-toggle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--p); color: var(--wh);
  font-size: 22px; box-shadow: 0 8px 24px rgba(190,16,48,.4);
  display: flex; align-items: center; justify-content: center;
  transition: var(--tr); position: relative;
}
.chat4-toggle:hover { background: var(--pd); transform: scale(1.05); }
.chat4-badge {
  position: absolute; top: -4px; right: -4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #ff4757; color: var(--wh);
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  animation: badgePop4 .3s ease;
}
@keyframes badgePop4 { 0%{transform:scale(0)}70%{transform:scale(1.2)}100%{transform:scale(1)} }
.chat4-window {
  position: absolute; bottom: 68px; right: 0;
  width: 320px; background: var(--wh);
  border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.2);
  overflow: hidden;
  transform: translateY(10px) scale(.95); opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.chat4-window.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }
.chat4-header {
  background: var(--p); padding: 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.chat4-agent { display: flex; align-items: center; gap: 12px; }
.agent4-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--wh); font-size: 16px;
}
.agent4-info strong { display: block; color: var(--wh); font-size: 14px; }
.agent4-status { color: rgba(255,255,255,.75); font-size: 11px; display: flex; align-items: center; gap: 4px; }
.agent4-status i { font-size: 8px; color: #2ed573; animation: blink4 1.5s ease infinite; }
@keyframes blink4 { 0%,100%{opacity:1}50%{opacity:.3} }
.chat4-close { color: rgba(255,255,255,.7); font-size: 16px; transition: var(--tr); }
.chat4-close:hover { color: var(--wh); }
.chat4-messages { padding: 16px; max-height: 200px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.chat4-msg { display: flex; gap: 8px; }
.chat4-msg.bot .msg4-bubble { background: var(--lbg); border-radius: 0 12px 12px 12px; }
.chat4-msg.user { flex-direction: row-reverse; }
.chat4-msg.user .msg4-bubble { background: var(--p); color: var(--wh); border-radius: 12px 0 12px 12px; }
.msg4-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--p); color: var(--wh); font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.msg4-bubble { padding: 10px 14px; font-size: 13px; line-height: 1.5; }
.chat4-quick-replies { padding: 0 16px 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.quick4-btn { border: 1px solid var(--gyl); padding: 6px 12px; border-radius: 99px; font-size: 11px; color: var(--gy); transition: var(--tr); }
.quick4-btn:hover { border-color: var(--p); color: var(--p); }
.chat4-input-wrap { padding: 12px 16px; border-top: 1px solid var(--gyl); display: flex; gap: 8px; }
.chat4-input { flex: 1; border: none; outline: none; font-family: var(--fm); font-size: 13px; color: var(--dk); }
.chat4-send { color: var(--p); font-size: 16px; transition: var(--tr); }
.chat4-send:hover { color: var(--pd); transform: translateX(2px); }


/* ══════════════════════════════════════════ WHATSAPP V4 ══ */
/* ══════════════════════════════════════════ ACTUALITÉS V4 ══ */
.actu4-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 56px; }
.actu4-card {
  background: #1a0d12; border-radius: 16px; overflow: hidden;
  transition: var(--tr);
}
.actu4-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,.4); }
.actu4-img { height: 220px; background-size: cover; background-position: center; position: relative; }
.actu4-cat {
  position: absolute; top: 16px; left: 16px;
  background: var(--p); color: var(--wh);
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px;
}
.actu4-body { padding: 24px; }
.actu4-date { font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: 1px; }
.actu4-title { font-family: var(--fs); font-size: 18px; font-weight: 400; color: var(--wh); margin: 10px 0 12px; line-height: 1.4; }
.actu4-excerpt { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 20px; }
.actu4-link {
  font-size: 12px; font-weight: 600; color: var(--acc);
  letter-spacing: .5px; display: inline-flex; align-items: center; gap: 6px; transition: var(--tr);
}
.actu4-link:hover { gap: 10px; color: var(--p); }

/* ══════════════════════════════════════════ NOUVEAUTÉS V4 ══ */
.nouv4-section { overflow: hidden; }
.nouv4-track {
  display: flex; gap: 24px; margin-top: 56px;
  overflow-x: auto; padding-bottom: 12px;
  scrollbar-width: thin; scrollbar-color: var(--p) transparent;
}
.nouv4-track::-webkit-scrollbar { height: 4px; }
.nouv4-track::-webkit-scrollbar-thumb { background: var(--p); border-radius: 99px; }
.nouv4-card { flex: 0 0 260px; background: #1a0d12; border-radius: 16px; overflow: hidden; transition: var(--tr); }
.nouv4-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.nouv4-img { height: 240px; background-size: cover; background-position: center; position: relative; }
.nouv4-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--p); color: var(--wh);
  font-size: 9px; font-weight: 800; letter-spacing: 2px;
  padding: 4px 10px; border-radius: 99px;
}
.nouv4-info { padding: 20px; }
.nouv4-ref { font-size: 10px; color: rgba(255,255,255,.35); letter-spacing: 1px; }
.nouv4-info h4 { font-family: var(--fs); font-size: 16px; font-weight: 400; color: var(--wh); margin: 6px 0 4px; }
.nouv4-info p { font-size: 12px; color: rgba(255,255,255,.5); }

/* ══════════════════════════════════════════ PARTENAIRES V4 ══ */
.part4-section {
  background: #1a0d12;
  border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 28px 0; overflow: hidden; display: flex; align-items: center; gap: 40px;
}
.part4-label {
  flex-shrink: 0; padding: 0 40px;
  font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,.3); white-space: nowrap;
}
.part4-track-wrap { overflow: hidden; flex: 1; }
.part4-track {
  display: flex; align-items: center; gap: 40px;
  width: max-content;
  animation: part4Scroll 22s linear infinite;
}
.part4-track:hover { animation-play-state: paused; }
@keyframes part4Scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.part4-logo {
  font-family: var(--fs); font-size: 20px; font-weight: 300;
  color: rgba(255,255,255,.4); white-space: nowrap; transition: color .3s ease; cursor: default;
  display: inline-flex; align-items: center;
}
.part4-logo:hover { color: var(--wh); }
.part4-logo-link { text-decoration: none; cursor: pointer; }
.part4-logo-img {
  height: 30px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .4;
  transition: opacity .3s ease;
}
.part4-logo:hover .part4-logo-img { opacity: .85; }
.part4-sep { color: var(--p); font-size: 10px; }

/* ══════════════════════════════════════════ NEWSLETTER V4 ══ */
.nl4-section {
  background: linear-gradient(135deg, var(--dk) 0%, rgba(190,16,48,.12) 50%, var(--dk) 100%);
  padding: 80px 0; border-top: 1px solid rgba(190,16,48,.2); position: relative; overflow: hidden;
}
.nl4-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(190,16,48,.1) 0%, transparent 70%);
}
.nl4-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.nl4-text .sec4-tag { margin-bottom: 16px; }
.nl4-title { font-family: var(--fs); font-size: clamp(32px,3.5vw,54px); font-weight: 300; color: var(--wh); line-height: 1.1; margin: 0 0 16px; }
.nl4-title em { font-style: italic; color: var(--acc); }
.nl4-text p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.8; }
.nl4-field {
  display: flex; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12); border-radius: 99px;
  overflow: hidden; transition: border-color .3s ease;
}
.nl4-field:focus-within { border-color: var(--p); }
.nl4-input { flex: 1; background: transparent; color: var(--wh); padding: 16px 24px; font-size: 14px; outline: none; }
.nl4-input::placeholder { color: rgba(255,255,255,.35); }
.nl4-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--p); color: var(--wh); padding: 0 28px;
  font-size: 13px; font-weight: 600; border-radius: 0 99px 99px 0;
  transition: background .3s ease; white-space: nowrap;
}
.nl4-btn:hover { background: var(--pd); }
.nl4-disclaimer { font-size: 11px; color: rgba(255,255,255,.3); margin-top: 12px; padding-left: 16px; }

/* ── Call floating button ── */
.call4-btn {
  position: fixed; bottom: 164px; right: 24px; z-index: 9000;
  display: flex; align-items: center; gap: 10px;
  background: var(--p); color: var(--wh);
  padding: 0 20px 0 0; height: 52px; border-radius: 99px;
  font-size: 13px; font-weight: 600; letter-spacing: .3px;
  box-shadow: 0 4px 20px rgba(190,16,48,.4);
  transition: var(--tr); overflow: hidden; white-space: nowrap;
  max-width: 52px;
}
.call4-btn:hover { max-width: 220px; background: var(--pd); box-shadow: 0 6px 24px rgba(190,16,48,.5); }
.call4-btn i {
  flex-shrink: 0; width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  animation: call4Ring 2.5s ease infinite;
}
@keyframes call4Ring {
  0%,100% { transform: rotate(0); }
  10%      { transform: rotate(-15deg); }
  20%      { transform: rotate(15deg); }
  30%      { transform: rotate(-10deg); }
  40%      { transform: rotate(10deg); }
  50%      { transform: rotate(0); }
}
.call4-label { transition: opacity .25s ease; }
.call4-btn:not(:hover) .call4-label { opacity: 0; pointer-events: none; }

.wa4-widget { position: fixed; bottom: 36px; right: 24px; z-index: 9000; }
.wa4-toggle {
  display: flex; align-items: center; gap: 8px;
  background: #25d366; color: var(--wh);
  padding: 12px 20px; border-radius: 99px;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  transition: var(--tr);
}
.wa4-toggle:hover { background: #20b357; transform: translateY(-2px); }
.wa4-toggle i { font-size: 20px; }
.wa4-popup {
  position: absolute; bottom: 60px; right: 0;
  width: 300px; background: var(--wh);
  border-radius: 16px; box-shadow: 0 16px 48px rgba(0,0,0,.15);
  overflow: hidden;
  transform: translateY(8px) scale(.95); opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.wa4-popup.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }
.wa4-popup-header { background: #075e54; padding: 16px; display: flex; align-items: center; gap: 10px; }
.wa4-logo { width: 40px; height: 40px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; color: var(--wh); font-size: 22px; }
.wa4-info strong { display: block; color: var(--wh); font-size: 14px; }
.wa4-info span { font-size: 11px; color: rgba(255,255,255,.7); }
.wa4-close { color: rgba(255,255,255,.7); font-size: 16px; margin-left: auto; transition: var(--tr); }
.wa4-close:hover { color: var(--wh); }
.wa4-preview { padding: 16px; background: #e5ddd5; }
.wa4-bubble { background: var(--wh); padding: 12px 14px; border-radius: 0 12px 12px 12px; font-size: 13px; line-height: 1.5; box-shadow: 0 2px 8px rgba(0,0,0,.08); margin-bottom: 4px; }
.wa4-time { font-size: 10px; color: rgba(0,0,0,.4); display: block; text-align: right; }
.wa4-start-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25d366; color: var(--wh);
  padding: 14px; font-size: 14px; font-weight: 600;
  transition: var(--tr);
}
.wa4-start-btn:hover { background: #20b357; }
.wa4-start-btn i { font-size: 18px; }


/* ══════════════════════════════════════════ UTILITIES ══ */
.scroll4-top {
  position: fixed; bottom: 36px; left: 24px; z-index: 9000;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--dk); color: var(--wh); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.1);
  transform: translateY(80px); opacity: 0;
  transition: var(--tr);
}
.scroll4-top.vis { transform: translateY(0); opacity: 1; }
.scroll4-top:hover { background: var(--p); border-color: var(--p); transform: translateY(-2px); }

.toast4 {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--dk); color: var(--wh); padding: 14px 24px;
  border-radius: 99px; font-size: 13px;
  opacity: 0; transition: .4s ease; pointer-events: none; white-space: nowrap; z-index: 9999;
}
.toast4.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.lb4 {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.92); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.lb4.open { opacity: 1; pointer-events: all; }
.lb4-close {
  position: absolute; top: 24px; right: 24px;
  color: rgba(255,255,255,.7); font-size: 24px; transition: var(--tr);
}
.lb4-close:hover { color: var(--wh); transform: rotate(90deg); }
.lb4-img {
  width: 90vw; max-width: 900px; height: 60vh;
  background-size: contain; background-repeat: no-repeat; background-position: center;
  border-radius: var(--r);
  transform: scale(.9);
  transition: transform .4s ease;
}
.lb4.open .lb4-img { transform: scale(1); }
.lb4-cap { color: rgba(255,255,255,.6); font-size: 13px; margin-top: 16px; }


/* ══════════════════════════════════════════ RESPONSIVE ══ */
@media (max-width: 1100px) {
  .srv4-grid { grid-template-columns: repeat(2, 1fr); }
  .sim4-layout { grid-template-columns: 1fr; }
  .gal4-grid { grid-template-columns: repeat(2, 1fr); }
  .gi4-wide { grid-column: span 1; }
  .gi4-tall { grid-row: span 1; }
  .f4-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta4-bg-split { grid-template-columns: 1fr; }
  .cta4-left-panel { height: 340px; }
  .actu4-grid { grid-template-columns: repeat(2,1fr); }
  .nl4-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav4-menu {
    position: fixed; inset: 0; top: 0;
    background: rgba(15,5,8,.97); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center;
    opacity: 0; pointer-events: none; transform: translateX(100%);
    transition: transform .4s ease, opacity .4s ease;
    z-index: 999;
  }
  .nav4-menu.open { opacity: 1; pointer-events: all; transform: translateX(0); }
  .nav4-link { font-size: 20px; padding: 16px 32px; }
  .nav4-menu { display: none !important; }
  .btn-wide-nav {
    z-index: 1000;
    border: none;
    background: none;
    width: 36px; height: 36px;
    padding: 4px;
    gap: 5px;
  }
  .btn-wide-nav span { width: 100% !important; background: var(--wh); }
  .btn-wide-nav:hover { border: none; background: none; }
  .btn-wide-nav:hover span { background: var(--wh); }
  .wide-nav-panel { overflow-y: auto; }
  .wn-topbar { padding: 14px 20px; gap: 12px; }
  .wn-topnav { display: none; }
  .wn-logo { height: 36px; }
  .wide-nav-close { margin-left: auto; width: 36px; height: 36px; }
  /* Cacher le two-panel desktop, afficher l'accordéon mobile */
  .wn-mega-wrap  { display: none !important; }
  .wn-mobile-menu { display: flex !important; }
  /* Footer bar simplifié sur mobile */
  .wn-footer-bar { padding: 14px 20px; flex-direction: column; gap: 12px; align-items: flex-start; }
  .wn-footer-contact { flex-direction: column; gap: 8px; }
  .wn-social a { width: 30px; height: 30px; font-size: 11px; }
  .hero4-content { padding: 0 24px; padding-top: 110px; justify-content: flex-start; }
  .hero4-sub { margin-bottom: 24px; }
  .hero4-title { font-size: 48px; }
  .stats4-strip { flex-wrap: wrap; padding: 16px; }
  .stat4 { flex: 0 0 48%; padding: 8px; }
  .stat4-sep { display: none; }
  .srv4-grid { grid-template-columns: 1fr; }
  .srv4-card { height: 300px; }
  .gal4-grid { grid-template-columns: 1fr; }
  .f4-row { grid-template-columns: 1fr; }
  .f4-grid { grid-template-columns: 1fr; }
  .slide4-controls { right: 16px; bottom: 120px; }
  .tc4 { padding: 32px 24px; }
  .deck4 { height: 460px; }
  .cta4-form-wrap { padding: 40px 24px; }
  .s4-dots { display: none; }
  .slide4-labels { display: none; }
  .actu4-grid { grid-template-columns: 1fr; }
  .nl4-inner { grid-template-columns: 1fr; gap: 40px; }
  .part4-label { display: none; }
}

@media (min-width: 769px) {
  .hero4-content { justify-content: flex-start; padding-top: 130px; }
  .hero4-title  { font-size: clamp(36px, 5.5vw, 76px); margin-bottom: 16px; }
  .hero4-eyebrow { margin-bottom: 10px; }
  .hero4-sub    { margin-bottom: 10px; line-height: 1.65; }
}
