@charset "utf-8";

/* =========================================================
   VARIABLES
========================================================= */

:root {
  /* Taille de référence typographique — ordinateur */
  --font-scale: 1;
  --bg: #f8f5ef;
  --bg-alt: #efe9df;
  --surface: #ffffff;

  --text: #655d58;
  --title: #211c1a;

  --wine: #702f3b;
  --wine-dark: #54222c;
  --wine-soft: #f2e5e6;

  --champagne: #b9945c;
  --champagne-soft: #eee3d1;

  --border: rgba(33, 28, 26, .12);
  --border-light: rgba(33, 28, 26, .07);

  --shadow: 0 24px 70px rgba(44, 32, 28, .10);

  --container: 1180px;

  --serif:
    Georgia,
    "Times New Roman",
    serif;

  --sans:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

[data-theme="dark"] {
  --bg: #171412;
  --bg-alt: #211c19;
  --surface: #28221f;

  --text: #cfc6bf;
  --title: #fffaf4;

  --wine: #c98b96;
  --wine-dark: #b96778;
  --wine-soft: rgba(201, 139, 150, .12);

  --champagne: #d3b27d;
  --champagne-soft: rgba(211, 178, 125, .12);

  --border: rgba(255, 255, 255, .12);
  --border-light: rgba(255, 255, 255, .07);

  --shadow: 0 26px 70px rgba(0, 0, 0, .32);
}


/* =========================================================
   RESET / BASE
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: calc(16px * var(--font-scale));
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 120px 0;
  scroll-margin-top: 80px;
}

em {
  font-weight: inherit;
}


/* =========================================================
   ACCESSIBILITÉ
========================================================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 12px 18px;
  color: #fff;
  background: var(--wine-dark);
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 4px;
}


/* =========================================================
   TYPOGRAPHIE
========================================================= */

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--title);
  font-family: var(--serif);
  font-weight: 400;
}

h1 em,
h2 em {  
  color: var(--wine);
  font-style: italic;
  font-weight: 400;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--wine);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  flex: 0 0 42px;
  background: currentColor;
}

.editorial-heading {
  max-width: 800px;
  margin-bottom: 64px;
}

.editorial-heading h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.editorial-heading > p {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 1.08rem;
}


/* =========================================================
   BOUTONS
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .025em;
  text-decoration: none;
  cursor: pointer;
  transition:
    color .2s ease,
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--wine);
}

.btn-primary:hover {
  background: var(--wine-dark);
}

.btn-secondary {
  color: var(--title);
  border-color: var(--title);
  background: transparent;
}

.btn-secondary:hover {
  color: #fff;
  border-color: var(--wine);
  background: var(--wine);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--title);
  font-size: .87rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  color: var(--wine);
  font-size: 1.2rem;
}

.text-link:hover {
  color: var(--wine);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  background: color-mix(in srgb, var(--bg) 91%, transparent);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none;
}

.brand-logo {
  width: auto;
  height: 44px;
}

.logo-dark {
  display: none;
}

.logo-light {
  display: block;
}

[data-theme="dark"] .logo-dark {
  display: block;
}

[data-theme="dark"] .logo-light {
  display: none;
}

.nav-wrap {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  flex: 1;
}

.main-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.main-nav a {
  position: relative;
  z-index: 2;
  padding: 11px 12px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--wine);
}

.nav-active-indicator {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0;
  width: 0;
  height: 38px;
  border-bottom: 1px solid var(--wine);
  opacity: 0;
  transform: translateY(-50%);
  transition:
    left .3s ease,
    width .3s ease,
    opacity .2s ease;
  pointer-events: none;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--title);
  background: transparent;
  cursor: pointer;
}

.mobile-home {
    display: none;
}



/* =========================================================
   TAILLE DU TEXTE
========================================================= */

.font-controls {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.font-control {
  min-width: 36px;
  height: 34px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 8px;

  border: 0;
  border-radius: 999px;

  color: var(--title);
  background: transparent;

  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;

  cursor: pointer;

  transition:
    color .2s ease,
    background .2s ease,
    opacity .2s ease;
}

.font-control:hover {
  color: #fff;
  background: var(--wine);
}

.font-control:focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 2px;
}

.font-control:disabled {
  opacity: .3;
  cursor: default;
}



.menu-toggle {
  display: none;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: 72px;
  padding: 58px 0 72px;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero h1 {
  max-width: 630px;
  margin: 0 0 26px;
  font-size: clamp(2.6rem, 4.2vw, 4rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.hero h1 em {
  margin-top: 10px;
}

.hero-lead {
  max-width: 540px;
  margin: 0 0 34px;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: min(680px, 72vh);
  min-height: 520px;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--bg-alt);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.hero-slideshow-controls {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 22px;
  padding: 10px 12px 9px;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(20,15,13,.16);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}


.hero-slideshow-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.hero-slide-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
  cursor: pointer;
  transition:
    background .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.hero-slide-dot:hover,
.hero-slide-dot:focus-visible {
  transform: scale(1.3);
}

.hero-slide-dot.is-active {
  border-color: var(--wine);
  background: var(--wine);
}

.hero-slide-progress {
  width: 100%;
  height: 2px;
  margin-top: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.4);
}

.hero-slide-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  animation: heroProgress 6s linear forwards;
}

@keyframes heroProgress {
  to {
    transform: scaleX(1);
  }
}


.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  pointer-events: none;
}


.hero-word {
  position: absolute;
  z-index: 0;
  left: -20px;
  bottom: -8vw;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(12rem, 28vw, 31rem);
  font-style: italic;
  line-height: .7;
  opacity: .035;
  pointer-events: none;
  user-select: none;
}


/* =========================================================
   MULTICAMÉRA
========================================================= */

.multicamera {
  overflow: hidden;
  background: var(--surface);
}

.multicam-grid {
  display: grid;
  grid-template-columns: 1.55fr .75fr;
  grid-template-rows: repeat(2, 280px);
  gap: 18px;
}

.multicam-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #1d1917;
}

.multicam-main {
  grid-row: 1 / 3;
}

.multicam-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}

.multicam-shot:hover img {
  transform: scale(1.025);
}

.multicam-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 55%,
      rgba(20, 13, 11, .60)
    );
}

.multicam-shot figcaption {
  position: absolute;
  z-index: 2;
  left: 25px;
  bottom: 22px;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.multicam-shot figcaption span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255,255,255,.7);
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.multicam-conclusion {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 25px;
  color: var(--title);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.multicam-conclusion strong {
  color: var(--wine);
  font-weight: 400;
}


/* =========================================================
   MÉMOIRE / ÉMOTION
========================================================= */

.memory-section {
  position: relative;
  overflow: hidden;
  padding: 145px 0;
  color: #f8eee9;
  background: var(--wine-dark);
}

.memory-inner {
  display: block;
}

.memory-copy {
  max-width: 900px;
}

.memory-small {
  margin-bottom: 28px;
  color: rgba(255,255,255,.65);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.memory-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.1rem, 3.8vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.memory-copy h2 em {
  margin-top: 14px;
  color: #e4c8b3;
}

.memory-ending {
  margin: 45px 0 0;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}


/* =========================================================
   NOTRE APPROCHE
========================================================= */

.approach {
  background: var(--bg);
}

.approach-intro {
  display: grid;
  grid-template-columns: .65fr 1fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 60px;
}

.approach-intro h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.approach-intro > p {
  max-width: 620px;
  margin: 0;
}


/* PHOTO + ÉTAPES */

.approach-body {
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
  gap: 70px;
  align-items: stretch;
}


/* PHOTO */

.approach-visual {
  position: relative;
  min-height: 650px;
  overflow: hidden;
}

.approach-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 55%,
      rgba(28, 19, 17, .68) 100%
    );
  pointer-events: none;
}

.approach-visual-caption {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 30px;
  left: 30px;
  color: #fff;
}

.approach-visual-caption span {
  display: block;
  margin-bottom: 8px;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .75;
}

.approach-visual-caption strong {
  display: block;
  max-width: 330px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.25;
}


/* ÉTAPES */

.approach-steps {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--border);
}

.approach-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 25px;
  padding: 38px 0;
  border-bottom: 1px solid var(--border);
}

.approach-step > div:last-child {
  display: grid;
  grid-template-columns: 100px minmax(180px, .8fr) minmax(0, 1.2fr);
  gap: 25px;
  align-items: start;
}


/* PICTOGRAMMES */

.step-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--wine) 25%, transparent);
  border-radius: 50%;
  color: var(--wine);
  background: var(--wine-soft);
}

.step-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* TEXTES */

.approach-step h3 {
  margin: 4px 0 0;
  color: var(--wine);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.approach-step h4 {
  margin: 0;
  color: var(--title);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
}

.approach-step p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.65;
}


/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 980px) {

  .approach-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 45px;
  }

  .approach-intro > p {
    max-width: 650px;
  }

  .approach-body {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .approach-visual {
    min-height: 0;
    height: 520px;
  }

  .approach-step > div:last-child {
    grid-template-columns: 100px 1fr;
  }

  .approach-step p {
    grid-column: 2;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {

  .approach-intro {
    margin-bottom: 35px;
  }

  .approach-visual {
    height: 430px;
  }

  .approach-visual-caption {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }

  .approach-visual-caption strong {
    font-size: 1.25rem;
  }

  .approach-step {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 15px;
    padding: 35px 0;
  }

  .approach-step .step-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 0;
  }

  .approach-step .step-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0;
    flex: 0 0 20px;
  }

  .approach-step > div:last-child {
    display: block;
    min-width: 0;
  }

  .approach-step h3,
  .approach-step h4 {
    margin-bottom: 12px;
  }

  .approach-step p {
    font-size: .92rem;
  }

}


/* =========================================================
   PRÉSENCE / DISPOSITIF
========================================================= */

.presence-section {
  padding: 0;
  background: var(--surface);
}

.presence-grid {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}

.presence-image {
  min-height: 720px;
}

.presence-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.presence-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(55px, 7vw, 110px);
}

.presence-content h2 {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.presence-content > p {
  max-width: 590px;
}

.presence-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 42px 0;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.presence-facts div {
  display: flex;
  flex-direction: column;
}

.presence-facts strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 3.3rem;
  font-weight: 400;
  line-height: 1;
}

.presence-facts span {
  margin-top: 9px;
  font-size: .78rem;
  line-height: 1.4;
}

.presence-note {
  color: var(--title);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
}


/* =========================================================
   FILMS
========================================================= */

.film-section {
  background: var(--bg-alt);
}

.film-layout {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 70px;
}


/* FILM PRINCIPAL */

.film-feature {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
}

.film-image {
  height: 580px;
}

.film-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-copy {
  position: relative;
  z-index: 2;
  margin-left: -60px;
  padding: 42px;
  background: var(--surface);
}


/* PICTOGRAMMES */

.film-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid color-mix(in srgb, var(--wine) 25%, transparent);
  border-radius: 50%;
  color: var(--wine);
  background: var(--wine-soft);
}

.film-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* TITRES ET TEXTES */

.film-copy h3,
.film-secondary h3 {
  margin: 0 0 15px;
  color: var(--title);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.1;
}

.film-copy p,
.film-secondary p {
  margin-bottom: 0;
}


/* FILMS SECONDAIRES */

.film-secondary {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.film-secondary article {
  padding: 38px 0;
  border-bottom: 1px solid var(--border);
}

.film-secondary article:first-child {
  border-top: 1px solid var(--border);
}


/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 980px) {

  .film-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .film-secondary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }

  .film-secondary article:first-child {
    border-top: 1px solid var(--border);
  }

  .film-secondary article:last-child {
    border-top: 1px solid var(--border);
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {

  .film-feature {
    display: block;
  }

  .film-image {
    height: 390px;
  }

  .film-copy {
    margin: 0;
    padding: 30px 25px;
  }

  .film-secondary {
    display: block;
  }

  .film-secondary article {
    padding: 30px 0;
  }

  .film-secondary article:last-child {
    border-top: 0;
  }

  .film-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 15px;
  }

  .film-icon svg {
    width: 20px;
    height: 20px;
  }

  .film-copy h3,
  .film-secondary h3 {
    font-size: 1.65rem;
  }

}


/* =========================================================
   VIDÉOMATON
========================================================= */

.videomaton {
  padding: 120px 0;
  color: #ddd3ce;
  background: #1e1917;
}

.videomaton-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  align-items: center;
}

.videomaton-visual {
  position: relative;
  height: 650px;
}

.videomaton-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #171311;
}

.videomaton-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(.78);
  transition: opacity 1.2s ease;
}

.videomaton-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.video-rec {
  position: absolute;
  z-index: 4;
  top: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(0,0,0,.45);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.video-rec i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d64747;
}

.videomaton-slideshow-controls {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 22px;
  padding: 10px 12px 9px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(20,15,13,.25);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.videomaton-slideshow-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.videomaton-slide-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
  cursor: pointer;
  transition:
    background .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.videomaton-slide-dot:hover,
.videomaton-slide-dot:focus-visible {
  transform: scale(1.3);
}

.videomaton-slide-dot.is-active {
  border-color: #d5b183;
  background: #d5b183;
}

.videomaton-slide-progress {
  width: 100%;
  height: 2px;
  margin-top: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.4);
}

.videomaton-slide-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #d5b183;
  transform: scaleX(0);
  transform-origin: left;
  animation: videomatonProgress 6s linear forwards;
}

@keyframes videomatonProgress {
  to {
    transform: scaleX(1);
  }
}

.videomaton .eyebrow {
  color: #d5b183;
}

.videomaton h2 {
  max-width: 700px;
  margin-bottom: 30px;
  color: #fff;
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.videomaton h2 em {
  color: #d5b183;
}

.videomaton-content > p {
  max-width: 620px;
}

.question-stack {
  display: grid;
  gap: 10px;
  max-width: 610px;
  margin: 40px 0;
}

.question-stack div {
  width: fit-content;
  padding: 11px 17px;
  border: 1px solid rgba(255,255,255,.14);
  color: #f8f2ed;
  background: rgba(255,255,255,.045);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  transform: rotate(-.5deg);
}

.question-stack div:nth-child(even) {
  margin-left: 28px;
  transform: rotate(.5deg);
}

.videomaton-ending strong {
  display: block;
  margin-top: 6px;
  color: #fff;
}

/* =========================================================
   CÉRÉMONIES
========================================================= */

.ceremonies {
  background: var(--surface);
}

.ceremony-main {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 80px;
  align-items: center;
}

.ceremony-main-copy h2 {
  margin-bottom: 25px;
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.ceremony-main-copy p {
  max-width: 480px;
}

.ceremony-main-image {
  height: 570px;
}

.ceremony-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.other-ceremonies {
  margin-top: 70px;
  padding-top: 38px;
  border-top: 1px solid var(--border);
}

.other-ceremonies > p {
  margin-bottom: 22px;
  color: var(--title);
  font-family: var(--serif);
  font-size: 1.55rem;
}

.other-ceremonies > div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.other-ceremonies span {
  padding: 8px 13px;
  border: 1px solid var(--border);
  font-size: .8rem;
}


/* =========================================================
   OFFRES
========================================================= */

.offers-section {
  background: var(--bg);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.offer-card {
  position: relative;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 52px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition:
    transform .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

.offer-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--wine) 40%, var(--border));
  box-shadow: var(--shadow);
}

.offer-card + .offer-card {
  border-left: 1px solid var(--border);
}

/* FORMULE MISE EN AVANT */

.offer-card.featured {
  background:
    linear-gradient(
      145deg,
      var(--wine-soft),
      var(--surface) 65%
    );
  border-color: color-mix(in srgb, var(--wine) 30%, var(--border));
}


/* NUMÉRO */

.offer-index {
  position: absolute;
  top: 22px;
  right: 30px;
  margin: 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 5rem;
  font-style: italic;
  line-height: 1;
  opacity: .08;
  pointer-events: none;
}

/* LABEL */

.offer-tag {
  width: fit-content;
  margin-bottom: 22px;
  padding: 7px 11px;
  color: var(--wine);
  border: 1px solid color-mix(in srgb, var(--wine) 25%, transparent);
  background: var(--wine-soft);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}

/* TITRE */

.offer-card h3 {
  position: relative;
  max-width: 430px;
  margin: 0 0 22px;
  color: var(--title);
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.025em;
}

.offer-card p {
  max-width: 470px;
  margin-bottom: 0;
}

/* LISTE */

.offer-card ul {
  display: grid;
  gap: 0;
  margin: 35px 0 42px;
  padding: 0;
  border-top: 1px solid var(--border-light);
  list-style: none;
}

.offer-card li {
  position: relative;
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid var(--border-light);
  font-size: .92rem;
}

.offer-card li::before {
  content: "✓";
  position: absolute;
  top: 12px;
  left: 0;
  color: var(--wine);
  font-size: .8rem;
  font-weight: 800;
}

/* BOUTONS */

.offer-card .btn {
  align-self: flex-start;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
  background: var(--surface);
}

.contact-layout {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 90px;
  align-items: start;
}

.contact-intro {
  position: sticky;
  top: 120px;
}

.contact-intro h2 {
  max-width: 550px;
  margin-bottom: 28px;
  font-size: clamp(2.1rem, 3.5vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.contact-intro > p {
  max-width: 480px;
}

.contact-direct {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.contact-direct span {
  display: block;
  margin-bottom: 5px;
  font-size: .77rem;
}

.contact-direct a {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.contact-form {
  padding: 50px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 20px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  color: var(--title);
  font-size: .9em;
  font-weight: 800;
}

.form-group label span {
  color: var(--text);
  font-size: .85em;
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  color: var(--title);
  background: transparent;
}

.form-group textarea {
  min-height: 145px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 0;
  border-color: var(--wine);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 38px;
}

.form-footer > p {
  max-width: 300px;
  margin: 0;
  font-size: .72rem;
}

.form-message {
  margin-bottom: 25px;
  padding: 18px;
  border-left: 3px solid;
}

.form-message strong {
  display: block;
  color: var(--title);
}

.form-message p {
  margin: 4px 0 0;
}

.form-message-error {
  border-color: #a84f4f;
  background: rgba(168,79,79,.08);
}

.form-message-success {
  border-color: var(--wine);
  background: var(--wine-soft);
}

.field-error {
  margin: 0;
  color: #a84f4f;
  font-size: .78rem;
  font-weight: 700;
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  position: relative;
  padding: 85px 0 30px;
  overflow: hidden;
  color: rgba(255,255,255,.68);
  background: #181311;
}

.site-footer::before {
  content: "OUI";
  position: absolute;
  right: -25px;
  bottom: -55px;
  color: rgba(255,255,255,.025);
  font-family: var(--serif);
  font-size: clamp(12rem, 24vw, 25rem);
  font-style: italic;
  line-height: .7;
  pointer-events: none;
  user-select: none;
}

.footer-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr .9fr;
  gap: 65px;
}


/* =========================================================
   IDENTITÉ
========================================================= */

.footer-brand {
  max-width: 330px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 28px;
}

.footer-logo img {
  display: block;
  width: 180px;
  height: auto;
}

.footer-signature {
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1.15;
}

.footer-signature em {
  display: block;
  margin-top: 3px;
  color: #d5b183;
  font-style: italic;
}

.footer-description {
  max-width: 300px;
  margin: 0;
  font-size: .84rem;
  line-height: 1.7;
}


/* =========================================================
   COLONNES
========================================================= */

.footer-column h2 {
  margin: 4px 0 25px;
  color: #d5b183;
  font-family: var(--sans);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-column nav {
  display: grid;
  gap: 12px;
}

.footer-column nav a {
  width: fit-content;
  color: rgba(255,255,255,.72);
  font-size: .84rem;
  line-height: 1.45;
  text-decoration: none;
  transition:
    color .2s ease,
    transform .2s ease;
}

.footer-column nav a:hover {
  color: #fff;
  transform: translateX(3px);
}


/* =========================================================
   CONTACT
========================================================= */

.footer-contact > p {
  max-width: 250px;
  margin: 0 0 25px;
  font-size: .84rem;
  line-height: 1.65;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 5px;
  border-bottom: 1px solid #d5b183;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.35rem;
  text-decoration: none;
}

.footer-contact-link span {
  color: #d5b183;
  transition: transform .2s ease;
}

.footer-contact-link:hover span {
  transform: translate(3px, -3px);
}

.footer-email {
  display: block;
  width: fit-content;
  margin-top: 22px;
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  text-decoration: none;
}

.footer-email:hover {
  color: #fff;
}


/* =========================================================
   BAS DU FOOTER
========================================================= */

.footer-bottom {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  margin-top: 70px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.09);
  font-size: .7rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.footer-bottom a {
  color: rgba(255,255,255,.58);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #d5b183;
}

.footer-credit {
  text-align: right;
}

.footer-legal-info {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: left;
  justify-content: left;
  gap: 22px;
  margin-top: 24px;
  padding-top: 20px;  
  color: rgba(255,255,255,.38);
  font-size: .62rem;
  line-height: 1.5;
  text-align: center;
}

.footer-legal-separator {
  color: #d5b183;
}


/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 980px) {

  .footer-main {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 50px 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 480px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {

  .site-footer {
    padding: 65px 0 25px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 45px 25px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-column: 1 / -1;
    padding-top: 10px;
  }

  .footer-contact > p {
    max-width: 330px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 50px;
  }

  .footer-bottom-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-credit {
    text-align: left;
  }

  .footer-legal-info {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
    text-align: left;
  }

  .footer-legal-separator {
    display: none;
  }

}


/* =========================================================
   PETIT MOBILE
========================================================= */

@media (max-width: 430px) {

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }

}


/* =========================================================
   RETOUR EN HAUT
========================================================= */

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 89px;
    z-index: 900;

    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 2px solid rgba(255, 255, 255, .70);
    border-radius: 50%;

    color: #fff;
    background: var(--wine);

    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    pointer-events: none;

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease,
        background .2s ease;
}

.back-to-top:hover {
    background: var(--wine-dark);
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2.2;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}


/* =========================================================
   REVEAL
========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .7s ease,
    transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* =========================================================
   NAVIGATION MOBILE
========================================================= */

@media (max-width: 1130px) {

  .main-nav {
    position: fixed;
    inset: 78px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 15px 24px 25px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 10px;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    white-space: normal;
  }

  .main-nav a.active {
    color: var(--wine);
    background: var(--wine-soft);
  }

  .nav-active-indicator {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

}


/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 980px) {

  .section {
    padding: 95px 0;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 60px 0 70px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero h1 {
    max-width: 750px;
  }

  .hero-visual {
    height: 620px;
  }

  .approach-intro {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .approach-step > div {
    grid-template-columns: .45fr 1fr;
  }

  .approach-step p {
    grid-column: 2;
  }

  .presence-grid {
    grid-template-columns: 1fr;
  }

  .presence-image {
    height: 600px;
    min-height: 0;
  }

  .film-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .film-secondary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }

  .videomaton-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .videomaton-visual {
    width: min(100%, 650px);
    height: 580px;
  }

  .ceremony-main {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .contact-intro {
    position: static;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {


    .mobile-home {
        display: block !important;
    }

  .container {
    width: calc(100% - 30px);
  }

  .section {
    padding: 75px 0;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand-logo {
    height: 34px;
  }

  .main-nav {
    inset: 64px 0 auto;
  }

  .hero-inner {
    padding: 42px 0 50px;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 4.7rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    height: 500px;
    min-height: 0;
  }

  .hero-visual-caption {
    width: calc(100% - 30px);
  }

  .editorial-heading {
    margin-bottom: 42px;
  }

  .editorial-heading h2 {
    font-size: clamp(2rem, 10vw, 4.7rem);
  }

  .multicam-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 360px 190px;
  }

  .multicam-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .multicam-conclusion {
    display: block;
    text-align: right;
  }

  .multicam-conclusion span {
    display: block;
  }

  .memory-section {
    padding: 90px 0;
  }

  .memory-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .memory-number {
    font-size: 2rem;
  }

  .memory-copy h2 {
    font-size: clamp(2rem, 10vw, 4.7rem);
  }

  .approach-intro {
    margin-bottom: 45px;
  }

  .approach-step {
    grid-template-columns: 50px 1fr;
    gap: 15px;
    padding: 35px 0;
  }

  .approach-step > div {
    display: block;
  }

  .approach-step h3,
  .approach-step h4 {
    margin-bottom: 12px;
  }

  .presence-grid {
    width: 100%;
    margin-inline: 0;
  }

  .presence-image {
    width: calc(100% - 30px);
    height: 520px;
    min-height: 0;
    margin: 15px auto 0;
    overflow: hidden;
  }

  .presence-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .presence-content {
    padding: 65px 22px;
  }

 .presence-facts {
  grid-template-columns: 1fr;
  gap: 18px;
}

.presence-facts div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.presence-facts strong {
  width: 110px;
  font-size: 3.3rem;
  line-height: 1;
  white-space: nowrap;
}

.presence-facts span {
  min-width: 0;
  margin: 0;
  font-size: .78rem;
  line-height: 1.4;
}

  .film-feature {
    display: block;
  }

  .film-image {
    height: 390px;
  }

  .film-copy {
    margin: 0;
    padding: 30px 25px;
  }

  .film-secondary {
    display: block;
  }

  .videomaton {
    padding: 75px 0;
  }

  .videomaton-visual {
    height: 470px;
  }

  .question-stack div {
    max-width: 100%;
  }

  .question-stack div:nth-child(even) {
    margin-left: 12px;
  }

  .ceremony-main-image {
    height: 420px;
  }

  .offers-grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    min-height: 0;
    padding: 42px 25px;
  }

  .offer-card + .offer-card {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .contact-form {
    padding: 35px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: auto;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .form-footer .btn {
    width: 100%;
  }

  .site-footer {
    text-align: center;
  }

  .desktop-br {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: center;
  }

}


/* =========================================================
   TACTILE
========================================================= */

@media (hover: none) {

  .multicam-shot:hover img {
    transform: none;
  }

}


/* =========================================================
   RÉDUCTION DES ANIMATIONS
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-slide {
    transition: none !important;
    transform: none !important;
  }

}


/* ==========================================================
   NAVIGATION ENTRE LES ÉCOSYSTÈMES
========================================================== */

.ecosystem-switcher {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 1100;
}

.ecosystem-toggle {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .70);
  border-radius: 50%;
  color: #fff;
  background: var(--wine);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  cursor: pointer;
  transition:
    transform .2s ease,
    background .2s ease;
}

.ecosystem-toggle:hover {
  background: var(--wine-dark);
  transform: translateY(-2px);
}

.ecosystem-toggle svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ecosystem-menu {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: min(340px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.98);
  transform-origin: bottom right;
  pointer-events: none;
  transition:
    opacity .2s ease,
    visibility .2s ease,
    transform .2s ease;
}

.ecosystem-menu::before {
    content: "";

    position: absolute;
    right: 18px;
    bottom: 140px;

    width: 90px;
    height: 110px;

    background-image: url("https://www.monwebsurmesure.com/images/super-gabriel-hero.webp");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;

    

    border-radius: 12px;

    pointer-events: none;
    z-index: 2;
}

@media (max-width: 600px) {

    .ecosystem-menu::before {
        display: none;
    }

}



.ecosystem-menu > a,
.ecosystem-contact {
    position: relative;
    z-index: 1;
}

.ecosystem-current-label {
    display: block;
    color: var(--wine);
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .10em;
    text-transform: uppercase;
    text-decoration: underline;
}

.ecosystem-switcher.open .ecosystem-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.ecosystem-title {
  display: block;
  padding: 8px 12px 10px;
  color: var(--text);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ecosystem-menu a {
    display: block;
    padding: 12px;
    border-radius: 11px;
    color: var(--title);
    text-decoration: none;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}


.ecosystem-menu a:hover {
    background: color-mix(
        in srgb,
        var(--wine) 10%,
        transparent
    );
    transform: translateX(-3px);
}

.ecosystem-menu a strong {
    transition: color .2s ease;
}

.ecosystem-menu a:hover strong {
    color: var(--wine);
}

.ecosystem-menu a span {
  display: block;
  color: var(--text);
  font-size: .75rem;
  line-height: 1.35;
}


/* ==========================================================
   ÉCOSYSTÈME + RETOUR EN HAUT — MOBILE
========================================================== */

@media (max-width: 600px) {

  .site-footer {
    padding-bottom: 60px;
  }

  .back-to-top {
    right: 16px;
    bottom: 20px;
  }

  .ecosystem-switcher {
    right: 16px;
    bottom: 82px;
  }

  .ecosystem-toggle {
    width: 48px;
    height: 48px;
  }

  .ecosystem-menu {
    position: fixed;
    right: 16px;
    bottom: 142px;
    left: 16px;
    width: auto;
    max-height: calc(100vh - 170px);
    overflow-y: auto;
  }

}


/* ==========================================================
   CONTACT — BAS DU MENU ÉCOSYSTÈME
========================================================== */

.ecosystem-contact {
    margin: 10px -12px -12px;
    padding: 12px 14px 14px;    
    border-radius: 0 0 18px 18px;
}

.ecosystem-contact > span {
    display: block;
    text-align: center;
    margin-bottom: 8px;

    color: var(--muted);

    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ecosystem-contact-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.ecosystem-menu .ecosystem-contact-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-width: 0;
    padding: 9px 8px;

    border: 1px solid rgba(8, 98, 63, .22);
    border-radius: 9px;

    background: rgba(8, 98, 63, .06);    

    font-size: .76rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}


.ecosystem-contact-links a:hover {
    background: var(--ecosysteme);
    border-color: var(--green);
    color: var(--green);

    transform: translateY(-1px);
}

.ecosystem-contact-links svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* TÉLÉPHONE */

.ecosystem-menu .ecosystem-phone {
    grid-column: 1 / -1;
}

.ecosystem-phone-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.ecosystem-phone-content strong {
    color: var(--title);
    font-size: .82rem;
    font-weight: 800;
}

.ecosystem-phone-content small {
    color: var(--muted);
    font-size: .60rem;
    font-weight: 650;
}

.ecosystem-menu .ecosystem-contact-links a:hover {
    background: rgba(8, 98, 63, .13);
    border-color: var(--green);
    color: var(--green);

    transform: translateY(-1px);
}


/* ==========================================================
   ÉCOSYSTÈME — MOBILE PLEIN ÉCRAN
========================================================== */

.ecosystem-mobile-header {
    display: none;
}

@media (max-width: 600px) {

    body.ecosystem-open {
        overflow: hidden;
    }


    /* ==========================================
       BOUTONS FLOTTANTS
       48 × 48 / même axe / écart 12px
    ========================================== */

    .back-to-top {
        right: 16px !important;
        bottom: 76px !important;
        width: 48px !important;
        height: 48px !important;
    }

    .ecosystem-switcher {
        right: 16px !important;
        bottom: 16px !important;
    }

    .ecosystem-toggle {
        width: 48px !important;
        height: 48px !important;
    }

    .ecosystem-switcher.open .ecosystem-toggle {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }


    /* ==========================================
       MENU PLEIN ÉCRAN
    ========================================== */

.ecosystem-menu {
    position: fixed !important;

    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 100vw !important;
    max-width: none !important;

    height: auto !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: var(--bg) !important;
    box-shadow: none !important;

    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;

    opacity: 1 !important;
    visibility: hidden;

    transform: translateX(100%) !important;
    transform-origin: center !important;

    pointer-events: none;

    transition:
        transform .32s ease,
        visibility 0s linear .32s !important;

    z-index: 2100;
}

    .ecosystem-switcher.open .ecosystem-menu {
        visibility: visible;

        transform: translateX(0) !important;

        pointer-events: auto;

        transition:
            transform .32s ease,
            visibility 0s !important;
    }

    .ecosystem-menu::before {
        display: none !important;
    }


    /* ==========================================
       ENTÊTE MOBILE
    ========================================== */

    .ecosystem-mobile-header {
        position: sticky;
        top: 0;
        z-index: 10;

        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;

        min-height: 72px;

        padding:
            max(14px, env(safe-area-inset-top))
            20px
            14px;

        background: color-mix(
            in srgb,
            var(--bg) 96%,
            transparent
        );

        border-bottom: 1px solid var(--border);

        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .ecosystem-mobile-header > strong {
        margin: 0;

        color: var(--title);

        font-family: var(--sans);
        font-size: 1rem;
        font-weight: 800;
    }


    /* ==========================================
       BOUTON FERMER
    ========================================== */

    .ecosystem-close {
        display: inline-flex;
        align-items: center;
        gap: 8px;

        min-width: 0;
        min-height: 0;

        padding: 9px 12px;

        border: 1px solid var(--border);
        border-radius: 999px;

        color: var(--title);
        background: var(--wine-soft);

        font-size: .82rem;
        font-weight: 700;

        cursor: pointer;
    }

    .ecosystem-close span:last-child {
        font-size: 1.4rem;
        line-height: .8;
        font-weight: 400;
    }


    /* ==========================================
       LIENS
    ========================================== */

    .ecosystem-menu > a {
        position: relative;

        display: block;

        margin: 0 !important;
        padding: 17px 56px 17px 22px !important;

        border-radius: 0 !important;
        border-bottom: 1px solid var(--border-light);

        background: var(--surface);

        transform: none !important;
    }

    .ecosystem-menu > a::after {
        content: "→";

        position: absolute;
        right: 22px;
        top: 50%;

        transform: translateY(-50%);

        color: var(--wine);

        font-size: 1.25rem;
        font-weight: 800;
    }

    .ecosystem-menu > a:hover,
    .ecosystem-menu > a:focus-visible {
        background: var(--wine-soft);
        transform: none !important;
    }

    .ecosystem-menu > a strong {
        display: block;

        margin: 0 0 4px;

        color: var(--title);

        font-size: 1rem;
        line-height: 1.25;
    }

    .ecosystem-menu > a span {
        color: var(--text);

        font-size: .8rem;
        line-height: 1.4;
    }

    .ecosystem-current-label {
        margin-bottom: 5px !important;

        color: var(--wine) !important;

        font-size: .62rem !important;
    }


    /* ==========================================
       CONTACT
    ========================================== */

    .ecosystem-contact {
        margin: 0 !important;

        padding:
            22px
            20px
            calc(22px + env(safe-area-inset-bottom)) !important;

        border-radius: 0 !important;

        background: var(--bg-alt);
    }

    .ecosystem-contact > span {
        margin: 0 0 12px;
        padding: 0;

        color: var(--text);

        font-size: .68rem;
        text-align: left;
    }

    .ecosystem-contact-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .ecosystem-menu .ecosystem-contact-links a {
        min-height: 52px;

        padding: 11px 12px;

        border: 1px solid var(--border);
        border-radius: 12px;

        color: var(--title);
        background: var(--surface);

        transform: none !important;
    }

    .ecosystem-menu .ecosystem-phone {
        grid-column: 1 / -1;

        min-height: 62px;
    }

    .ecosystem-menu .ecosystem-contact-links a:hover {
        color: var(--wine);
        background: var(--wine-soft);
        border-color: var(--wine);

        transform: none !important;
    }
}


@media (prefers-reduced-motion: reduce) {

    .ecosystem-menu {
        transition: none !important;
    }
}

@media(max-width:760px){
#backToTop{
    display:none !important;
}


}

/* =========================================================
   BACK TO TOP — DESKTOP UNIQUEMENT
========================================================= */

@media (max-width: 1199px) {
  .back-to-top {
    display: none !important;
  }

  .site-footer {
    padding-bottom: 100px;
  }
}
