﻿/* ═══════════════════════════════════════════
   TF URBAN — socle.css
   Variables, reset, navigation, footer, modales, responsive
═══════════════════════════════════════════ */

:root {
  --teal: #7DC5AF;
  --teal-dark: #61b39a;
  --teal-light: #bce4e5;
  --teal-pale: #e8f6f7;
  --black: #111;
  --white: #FAFAF8;
  --warm: #F2F0EC;
  --border: #DDDBD7;
  --txt2: #777;
  --bebas: 'Bebas Neue', sans-serif;
  --play: 'Arvo', serif;
  --jost: 'Jost', sans-serif;
  --nav-h: 88px;
  --nav-sm: 60px;
  --nav-top-gap: 0;
  --nav-total-h: calc(var(--nav-h) + var(--nav-top-gap) + env(safe-area-inset-top, 0px));
  --nav-total-sm: calc(var(--nav-sm) + var(--nav-top-gap) + env(safe-area-inset-top, 0px));
  --tr: .34s cubic-bezier(.4, 0, .2, 1);
  --px: 52px;
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  overscroll-behavior-x: none;
  width: 100%
}

/* Style custom scrollbars — fines et couleur teal */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-thumb {
  background: var(--teal-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-corner {
  background: transparent;
}



body {
  background: var(--white);
  color: var(--black);
  font-family: var(--jost);
  width: 100%;
  max-width: 100%
}

img {
  display: block;
  max-width: 100%
}

a {
  text-decoration: none;
  color: inherit
}

button {
  border: none;
  cursor: pointer;
  background: transparent
}

/* Scroll / clip horizontal uniquement quand le tiroir mobile est ouvert */
html.drawer-open,
body.drawer-open {
  overflow: hidden;
  overscroll-behavior: none
}

html.drawer-open {
  overflow-x: clip
}

html.search-open,
body.search-open {
  overflow: hidden;
  overscroll-behavior: none
}

.bg-color-home {
  background-color: var(--teal);
  height: 80px;
  transition: height 0.34s cubic-bezier(.4, 0, .2, 1);
}
/* ── NAV ── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  overflow: visible;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0.5) 35%, rgba(0,0,0,0) 100%);
  -webkit-backdrop-filter: blur(0px) saturate(0%);
  border-bottom: 0px solid rgba(221, 219, 215, .55);
  transition: height var(--tr), background var(--tr), backdrop-filter var(--tr), box-shadow var(--tr), border-color var(--tr);
  display: flex;
  flex-direction: column;
  align-items: stretch;


}

 .nl ul {
    margin-top: 15px!important;
  }

#nav.sc .nl>li>a:hover {
  color: var(--teal-dark) !important
}

#nav .nl-titre,
#nav .nav-lang {
  color: var(--white) !important;
}

#nav.sc .nav-lang {
  color: var(--black) !important;
}

#nav.sc {
  height: var(--nav-sm);
  background: rgba(250, 250, 248, .52);
  backdrop-filter: blur(8px) saturate(175%);
  -webkit-backdrop-filter: blur(24px) saturate(175%);
  border-bottom-color: rgba(221, 219, 215, .45);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
}
#nav.sc::after,
body.prod-page #nav::after {
  opacity: 0;
}

body.prod-page #nav .nl-titre,
body.prod-page #nav .nav-lang,
body.prod-page #nav .nl>li>a {
  color: var(--black) !important
}

body.prod-page #nav .nl>li>a:hover,
body.prod-page #nav .nl>li.active>a {
  color: var(--teal-dark) !important
}

body.prod-page #nav .nav-burger span {
  background: var(--black)
}

body.prod-page #nav {
  background: var(--white);
  border-bottom: 1px solid var(--border)
}

#nav .ni {
  overflow: visible
}

.ni {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 var(--px);
  height: 100%;
  overflow: hidden;
  flex-shrink: 0
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%
}

.nav-logo img {
  height: 84px;
  width: auto;
  max-width: min(240px, 32vw);
  transition: height var(--tr)
}

#nav.sc .nav-logo img {
  height: 52px
}

/* Desktop links */
.nl {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  height: 100%
}

.nl:not(.nr-tools) {
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
  position: relative;
  z-index: 1
}

.nl>li {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%
}

.nl>li::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .7);
  opacity: 0;
  transition: opacity var(--tr);
  pointer-events: none;
  z-index: 0
}

.nl>li:hover::before {
  opacity: 1
}

.nl>li>a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: 100%;
  font-family: var(--jost);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--white) !important;
  white-space: nowrap;
  transition: color var(--tr), font-size var(--tr), padding var(--tr)
}

#nav:not(.sc) .nl>li>a:hover,
#nav:not(.sc) .nl>li.active>a {
  color: var(--teal-dark) !important
}

#nav.sc .nl>li>a {
  font-size: 12px;
  padding: 0 12px
}

#nav.sc .nl>li>a {
  color: var(--black) !important;
}

#nav.sc .nl>li>a:hover {
  color: var(--teal-dark) !important;
}

#nav.sc .nl>li>a.active {
  color: var(--teal-dark) !important;
}


.nl>li>a:hover,
.nl>li.active>a {
  color: var(--teal-dark)
}

.caret {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  transition: transform var(--tr)
}

.nl>li:hover .caret {
  transform: scaleY(-1)
}

/* Dropdown — ancré sous l'entrée de menu */
.nl>li.has-dd {
  position: relative;
  z-index: 2
}

.nav-dd {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--teal);
  padding: 10px 0;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .1);
  animation: dIn .22s ease;
  z-index: 1100;
  box-sizing: border-box
}

.nav-dd::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px
}

.nl>li.has-dd:hover .nav-dd,
.nl>li.has-dd:focus-within .nav-dd,
.nav-dd:hover,
.nav-dd:focus-within {
  display: block
}

.nav-dd a {
  display: block;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 300;
  color: var(--black);
  transition: color var(--tr), padding-left var(--tr)
}

.nav-dd a:hover {
  color: var(--teal-dark);
  padding-left: 30px
}

/* Dropdown inline (legacy) */
.dd {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--teal);
  min-width: 210px;
  padding: 10px 0;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .1);
  animation: dIn .22s ease;
  z-index: 1001
}

.nl>li:hover .dd,
.nl>li:focus-within .dd {
  display: block
}

.dd a {
  display: block;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 300;
  color: var(--black);
  transition: color var(--tr), padding-left var(--tr)
}

.dd a:hover {
  color: var(--teal-dark);
  padding-left: 30px
}

.dd-cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal-dark);
  padding: 12px 22px 5px;
  border-top: 1px solid var(--border);
  margin-top: 5px
}

.dd-cat:first-child {
  border-top: none;
  margin-top: 0
}

/* Mega menu — enfant direct de #nav, hors de .ni */
.mega {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  width: 100%;
  background: var(--white);
  border-top: 2px solid var(--teal);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .12);
  padding: 44px var(--px);
  animation: dIn .25s ease;
  z-index: 1100;
  box-sizing: border-box;
  overflow-x: clip
}

.mega-inner {
  max-width: 100%;
  margin: 0 auto
}

.mega .row {
  margin-inline: 0;
  max-width: 100%
}

.mega::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px
}

#nav.sc .mega {
  top: var(--nav-sm)
}

#nav:has(.has-mega[data-mega-target="nav-mega-catalogue"]:hover) #nav-mega-catalogue,
#nav:has(.has-mega[data-mega-target="nav-mega-catalogue"]:focus-within) #nav-mega-catalogue,
#nav:has(#nav-mega-catalogue:hover) #nav-mega-catalogue,
#nav:has(.has-mega[data-mega-target="nav-mega-gammes"]:hover) #nav-mega-gammes,
#nav:has(.has-mega[data-mega-target="nav-mega-gammes"]:focus-within) #nav-mega-gammes,
#nav:has(#nav-mega-gammes:hover) #nav-mega-gammes {
  display: block
}

.mega-ct {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border)
}

.ml {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 300;
  color: var(--black);
  padding: 7px 0;
  transition: color var(--tr), gap var(--tr)
}

.ml::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width .22s
}

.ml:hover {
  color: var(--teal-dark)
}

.ml:hover::before {
  width: 16px
}

.mf {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--black)
}

.mf img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  opacity: .65;
  transition: opacity .5s, transform .6s
}

.mf:hover img {
  opacity: .42;
  transform: scale(1.06)
}

.mf-lbl {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, .72), transparent)
}

.mf-lbl span {
  font-family: var(--play);
  font-style: italic;
  font-size: 17px;
  color: var(--white)
}

/* Mega menu — gammes */
.mega-inner--gammes {
  max-width: 1280px
}

.mega-gammes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px
}

.mega-gamme-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .25s, transform .25s
}

.mega-gamme-card:hover {
  border-color: var(--teal-dark);
  transform: translateY(-2px)
}

.mega-gamme-card-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--black)
}

.mega-gamme-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s, opacity .55s;
  opacity: .88
}

.mega-gamme-card:hover .mega-gamme-card-img img {
  transform: scale(1.05);
  opacity: 1
}

.mega-gamme-card-body {
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.mega-gamme-card-name {
  font-family: var(--bebas);
  font-size: 22px;
  letter-spacing: .06em;
  line-height: 1.1
}

.mega-gamme-card-intro {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(0, 0, 0, .58)
}

@media (max-width: 1100px) {
  .mega-gammes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

/* Nav right — au-dessus du menu principal qui peut déborder en flex */
.nr {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  height: 100%;
  min-width: 0;
  position: relative;
  z-index: 30
}

.nr-tools {
  gap: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 30
}

.nr-tools .nl-titre {
  gap: 8px
}

.nr-tools .nl-titre i {
  font-size: 13px
}

.nr-tools > li {
  display: flex;
  align-items: center;
  height: 100%
}

.nav-search-open {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 100%;
  min-width: 44px;
  padding: 0 12px;
  color: inherit;
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--tr)
}

.nav-search-open:hover {
  color: var(--teal-dark) !important
}

#nav:not(.sc) .nav-search-open {
  color: var(--white) !important
}

#nav.sc .nav-search-open {
  color: var(--black) !important
}

body.prod-page .nav-search-open {
  color: var(--black) !important
}

.nav-lang {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--txt2);
  cursor: pointer;
  transition: color var(--tr), font-size var(--tr)
}

#nav.sc .nav-lang {
  font-size: 10px
}

.nav-lang:hover {
  color: var(--black)
}

.btn-dv {
  font-family: var(--jost);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--white);
  background: var(--black);
  padding: 10px 18px;
  border-radius: 2px;
  transition: background var(--tr), padding var(--tr), font-size var(--tr);
  white-space: nowrap;
  display: inline-flex;
  align-items: center
}

#nav.sc .btn-dv {
  padding: 8px 14px;
  font-size: 11px
}

.btn-dv:hover {
  background: var(--teal-dark);
  color: var(--white)
}

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  height: 100%;
  position: relative;
  z-index: 30;
  background: none;
  border: none
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all .3s
}

#nav:not(.sc) .nav-burger span {
  background: var(--white)
}

.nav-burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px)
}

.nav-burger.open span:nth-child(2) {
  opacity: 0
}

.nav-burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px)
}

/* Mobile drawer — clip-path (pas translateX) pour ne pas élargir la page */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 100%);
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 1050;
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, .12);
  padding: 80px 28px 40px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  clip-path: inset(0 0 0 100%);
  visibility: hidden;
  transition: clip-path .35s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .35s;
  pointer-events: none
}

.mobile-drawer:not(.open) {
  z-index: -1
}

.mobile-drawer.open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .35s cubic-bezier(.4, 0, .2, 1), visibility 0s;
  pointer-events: auto;
  z-index: 1050
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 1040;
  backdrop-filter: blur(3px)
}

.drawer-overlay.open {
  display: block
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-width: 0
}

.mobile-nav-links>li {
  border-bottom: 1px solid var(--border);
  min-width: 0
}

.mobile-nav-links>li>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  letter-spacing: .02em;
  min-width: 0;
  max-width: 100%
}

.mobile-nav-search {
  border-bottom: 1px solid var(--border)
}

.mobile-nav-search-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 0;
  font-family: var(--jost);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  letter-spacing: .02em;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left
}

.mobile-nav-search-label {
  display: inline-flex;
  align-items: center;
  gap: 12px
}

.mobile-nav-search-label i {
  font-size: 15px;
  color: var(--teal-dark)
}

.mob-sub {
  display: none;
  padding: 0 0 12px 12px;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  max-width: 100%
}

.mob-sub.open {
  display: flex
}

.mob-sub a {
  padding: 8px 0;
  font-size: 14px;
  font-weight: 300;
  color: var(--txt2);
  overflow-wrap: anywhere
}

.mob-sub a:hover {
  color: var(--teal-dark)
}

.mob-caret {
  font-size: 10px;
  transition: transform .25s
}

.mob-acc-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 12px
}

.mob-open .mob-caret {
  transform: rotate(180deg)
}

.mobile-cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.mobile-cta .btn-dv {
  text-align: center;
  display: block
}

/* ── SEARCH OVERLAY ── */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--nav-h) + 48px) var(--px) 48px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .32s ease, visibility 0s linear .32s
}

body.search-open #cookie-banner {
  z-index: 900
}

.search-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .32s ease, visibility 0s
}

.search-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(250, 250, 248, .94);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%)
}

.search-overlay-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  animation: searchPanelIn .38s cubic-bezier(.22, 1, .36, 1) both
}

.search-overlay.open .search-overlay-panel {
  animation: searchPanelIn .38s cubic-bezier(.22, 1, .36, 1) both
}

@keyframes searchPanelIn {
  from {
    opacity: 0;
    transform: translateY(-16px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.search-overlay-top {
  display: flex;
  align-items: stretch;
  gap: 16px
}

.search-overlay-form {
  flex: 1;
  min-width: 0
}

.search-overlay-field {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 0 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-bottom: 2px solid var(--teal);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .06);
  transition: border-color .2s ease, box-shadow .2s ease
}

.search-overlay-field:focus-within {
  border-bottom-color: var(--teal-dark);
  box-shadow: 0 16px 48px rgba(0, 128, 128, .1)
}

.search-overlay-field-icon {
  flex-shrink: 0;
  color: var(--teal-dark);
  font-size: 18px;
  line-height: 1
}

.search-overlay-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--jost);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 300;
  color: var(--black);
  outline: none
}

.search-overlay-input::placeholder {
  color: #aaa
}

.search-overlay-input::-webkit-search-cancel-button {
  -webkit-appearance: none
}

.search-overlay-close {
  flex-shrink: 0;
  width: 64px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--txt2);
  font-size: 22px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease
}

.search-overlay-close:hover {
  color: var(--black);
  border-color: var(--teal-dark);
  background: var(--teal-pale)
}

.search-overlay-suggestions {
  margin-top: 40px
}

.search-overlay-suggestions-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--txt2);
  margin-bottom: 18px
}

.search-overlay-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px
}

.search-overlay-suggestion {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-family: var(--bebas);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: .04em;
  color: var(--black);
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease, gap .2s ease
}

.search-overlay-suggestion i {
  font-size: 14px;
  color: var(--teal-dark);
  opacity: .55;
  transition: opacity .2s ease
}

.search-overlay-suggestion:hover {
  color: var(--teal-dark);
  gap: 18px;
  border-bottom-color: var(--border)
}

.search-overlay-suggestion:hover i {
  opacity: 1
}

/* ── PROJET MODAL ── */
.projet-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px
}

.projet-modal.open {
  display: flex
}

.projet-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55)
}

.projet-modal-box {
  position: relative;
  background: var(--white);
  padding: 36px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1
}

.projet-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  color: var(--txt2);
  line-height: 1
}

.projet-modal-title {
  font-family: var(--bebas);
  font-size: 28px;
  letter-spacing: .04em;
  margin: 8px 0 12px
}

.projet-modal-desc {
  font-size: 14px;
  font-weight: 300;
  color: #555;
  line-height: 1.7;
  margin-bottom: 24px
}

/* ── LOGIN GATE MODAL (accès réservé) ── */
.login-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px
}

.login-gate-modal.open {
  display: flex
}

.login-gate-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55)
}

.login-gate-modal-box {
  position: relative;
  background: var(--white);
  padding: 36px;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1
}

.login-gate-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  color: var(--txt2);
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer
}

.login-gate-modal-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 128, 128, .12);
  color: var(--teal-dark);
  font-size: 20px;
  margin-bottom: 12px
}

.login-gate-modal-title {
  font-family: var(--bebas);
  font-size: 28px;
  letter-spacing: .04em;
  margin: 8px 0 12px
}

.login-gate-modal-desc {
  font-size: 14px;
  font-weight: 300;
  color: #555;
  line-height: 1.7;
  margin-bottom: 24px
}

.login-gate-modal-foot {
  margin: 20px 0 0;
  font-size: 13px;
  font-weight: 300;
  color: #666;
  text-align: center
}

.login-gate-signup {
  color: var(--teal-dark);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px
}

.login-gate-signup:hover {
  color: var(--teal)
}

.dl-card[data-login-required] {
  position: relative
}

.dl-card[data-login-required]::after {
  content: "\f023";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  color: var(--teal-dark);
  opacity: .75
}

/* ── GUIDES & SEO PAGES ── */
.guide-article,
.seo-page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px var(--px)
}

.guide-lead {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.85;
  color: #444;
  margin-bottom: 32px
}

.guide-article h2,
.seo-page-content h2 {
  font-family: var(--bebas);
  font-size: 24px;
  letter-spacing: .04em;
  margin: 32px 0 12px
}

.guide-article p,
.seo-page-content p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: #555;
  margin-bottom: 16px
}

.guide-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border)
}

.seo-page-grid {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 48px;
  padding: 60px var(--px);
  max-width: 1100px;
  margin: 0 auto
}

.seo-aside-block {
  background: var(--warm);
  padding: 20px;
  margin-bottom: 16px
}

.seo-aside-title {
  font-family: var(--bebas);
  font-size: 16px;
  letter-spacing: .06em;
  margin-bottom: 12px
}

.seo-aside-block a {
  display: block;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border)
}

.seo-aside-block a:hover {
  color: var(--teal-dark)
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  padding: 72px var(--px) 36px;
  overflow-x: clip
}

footer>.row {
  margin-inline: 0;
  max-width: 100%
}

.fl img {
  height: 40px;
  filter: invert(1) brightness(.95);
  margin-bottom: 20px
}

.f-addr {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: #aaa;
  margin-top: 4px
}

.f-addr strong {
  color: var(--white);
  font-weight: 500;
  font-family: var(--bebas);
  font-size: 1.1em;
  letter-spacing: .06em;
  display: block;
  margin-bottom: 6px
}

.f-tel {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--teal);
  letter-spacing: .04em;
  transition: color var(--tr)
}

.f-tel:hover {
  color: var(--teal-light)
}

.fct {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #222
}

.flk {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.flk a {
  font-size: 13px;
  font-weight: 300;
  color: #aaa;
  transition: color var(--tr)
}

.flk a:hover {
  color: var(--white)
}

.fbot {
  border-top: 1px solid #222;
  padding-top: 24px;
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px
}

.fleg {
  font-size: 11px;
  color: #666;
  letter-spacing: .06em
}

.fleg a {
  color: #666;
  transition: color var(--tr)
}

.fleg a:hover {
  color: var(--teal)
}

.ffor {
  font-size: 11px;
  letter-spacing: .06em;
  color: #444
}

.ffor a {
  color: var(--teal);
  transition: color var(--tr)
}

.ffor a:hover {
  color: var(--teal-light)
}

.fsoc {
  display: flex;
  gap: 18px
}

.fsoc a {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #666;
  transition: color var(--tr)
}

.fsoc a:hover {
  color: var(--teal)
}

/* ── KEYFRAMES ── */
@keyframes heroLogoIn {
  from {
    opacity: 0;
    transform: translateX(42%) rotate(-10deg)
  }

  to {
    opacity: .2;
    transform: translateX(0) rotate(-10deg)
  }
}

@keyframes fuA {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes dIn {
  from {
    opacity: 0;
    transform: translateY(-8px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes scDrop {
  0% {
    transform: translateY(-100%)
  }

  60% {
    transform: translateY(100%)
  }

  100% {
    transform: translateY(100%)
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

/* ─ 1200px ─ */
@media(max-width:1200px) {
  :root {
    --px: 36px
  }

  .nl>li>a {
    padding: 0 10px;
    font-size: 12px
  }

 

  #nav.sc .nl>li>a {
    padding: 0 8px;
    font-size: 11px
  }

  .btn-dv {
    padding: 8px 14px;
    font-size: 11px
  }

  .typcat-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .typc:nth-child(4n) {
    border-right: 1px solid var(--border)
  }

  .typc:nth-child(2n) {
    border-right: none
  }

  .typc:nth-child(n+5) {
    border-bottom: 1px solid var(--border)
  }

  .typc:nth-child(n+3):nth-child(-n+4) {
    border-bottom: none
  }

  .thg {
    grid-template-columns: repeat(2, 1fr)
  }

  .tc {
    aspect-ratio: 4/3
  }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .designers-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .values-grid {
    grid-template-columns: 1fr
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .stat-item:nth-child(3) {
    border-right: none
  }

  .engagements-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .catalogue-dl-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 40px
  }
}

/* ─ 993px+ : tiroir mobile hors du rendu (évite tout débordement fixe) */
@media (min-width: 993px) {

  .mobile-drawer,
  .drawer-overlay {
    display: none !important
  }
}

/* ─ 992px ─ */
@media(max-width:992px) {

  /* Cette règle CSS définit des variables personnalisées (CSS custom properties) à la racine
     pour le viewport <= 992px (tablette & petits ordis) :
     --px     : padding horizontal principal (pour .container classe, etc)
     --nav-h  : hauteur de la barre de navigation principale (72px)
     --nav-sm : hauteur de la barre de navigation mobile/small (56px)
     Ces variables sont utilisées dans le site pour adapter spacings/hauteurs au responsive. */
  :root {
    --px: 28px;
    --nav-h: 90px;
    --nav-sm: 90px
  }

  .nl:not(.nr-tools),
  .nr,
  .mega,
  .nav-dd {
    display: none !important
  }

  .nr-tools {
    display: flex !important;
    margin-left: auto;
    flex-shrink: 0;
    position: relative;
    z-index: 30
  }

  .nr-tools-hide-mobile {
    display: none !important
  }

  .ni {
    min-width: 0;
    max-width: 100%;
    overflow: hidden
  }

  .nav-logo {
    min-width: 0;
    max-width: calc(100% - 96px)
  }

  .nav-logo img {
    max-width: 100%;
    height: auto;
    max-height: 52px
  }

  .nav-burger {
    display: flex;
    flex-shrink: 0;
    margin-left: 0;
    position: relative;
    z-index: 30
  }

  body.drawer-open .nr-tools-search {
    display: none !important
  }

  .nav-search-open {
    display: flex;
    padding: 0 8px;
    font-size: 16px
  }

  .search-overlay {
    padding: calc(var(--nav-sm) + 24px) 20px 32px
  }

  .search-overlay-top {
    flex-direction: column;
    gap: 12px
  }

  .search-overlay-close {
    width: 100%;
    min-height: 48px
  }

  .search-overlay-suggestions {
    margin-top: 28px
  }

  .hero-logo img {
    min-width: 0;
    max-width: 90%
  }

  .h-title {
    font-size: clamp(48px, 12vw, 100px)
  }

  .h-sc {
    display: none
  }

  .ph {
    grid-template-columns: 1fr
  }

  .ph-img {
    min-height: 320px
  }

  .ph.alt .ph-img {
    order: 0
  }

  .ph.alt .ph-body {
    order: 1
  }

  .ph-body {
    padding: 40px 28px
  }

  .mos {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto
  }

  .mc1 {
    grid-column: span 2;
    grid-row: span 1;
    height: 280px
  }

  .mc2,
  .mc3,
  .mc4,
  .mc5 {
    grid-column: span 1;
    height: 200px
  }

  .about-split {
    grid-template-columns: 1fr
  }

  .about-img {
    aspect-ratio: 16/9;
    max-height: 400px
  }

  .prod-detail {
    grid-template-columns: 1fr
  }

  .prod-visual {
    position: relative;
    top: auto;
    height: 120vw;
    min-height: 300px
  }

  .prod-gallery {
    position: relative;
    height: 100%;
    top: 0
  }

  .form-row {
    grid-template-columns: 1fr
  }

  .projets-grid {
    grid-template-columns: 1fr
  }

  .custom-inner {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .custom-gallery {
    grid-template-columns: 1fr 1fr
  }

  .custom-gallery-main {
    aspect-ratio: 16/10
  }

  .designer-home-card {
    grid-template-columns: 180px 1fr
  }

  .mos-inspi {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto
  }

  .mos-inspi .mc1,
  .mos-inspi .mc2,
  .mos-inspi .mc3,
  .mos-inspi .mc4,
  .mos-inspi .mc5,
  .mos-inspi .mc6,
  .mos-inspi .mc7,
  .mos-inspi .mc8 {
    grid-column: span 1;
    grid-row: span 1;
    height: 220px
  }

  .mos-inspi .mc1 {
    grid-column: span 2;
    height: 280px
  }
}

/* ─ 768px ─ */
@media(max-width:768px) {
  :root {
    --px: 20px
  }

  .hero {
    min-height: 100vh;
    height: 100vh
  }

  .hero-logo img {
    width: 180%;
    min-width: 0;
    margin-left: -25%
  }

  .hc {
    padding: 0 var(--px) 60px
  }

  .h-act {
    flex-direction: column;
    align-items: flex-start
  }

  .btn-hw {
    width: 100%;
    text-align: center
  }

  .typcat-grid {
    grid-template-columns: 1fr
  }

  .typc:nth-child(n) {
    border-right: none;
    border-bottom: 1px solid var(--border)
  }

  .typc:last-child {
    border-bottom: none
  }

  .typc {
    aspect-ratio: 16/10
  }

  .thg {
    grid-template-columns: 1fr 1fr
  }

  .fteal {
    flex-direction: column;
    align-items: flex-start
  }

  .cat-grid {
    grid-template-columns: 1fr
  }

  .designers-grid {
    grid-template-columns: 1fr 1fr
  }

  .news-grid {
    grid-template-columns: 1fr
  }

  .audience-grid {
    grid-template-columns: 1fr
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    padding: 32px 20px
  }

  .stat-item:nth-child(2n) {
    border-right: 1px solid rgba(0, 0, 0, .08)
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: none
  }

  .stat-item:last-child:nth-child(odd) {
    grid-column: span 2;
    border-right: none
  }

  .engagements-grid {
    grid-template-columns: 1fr
  }

  .catalogue-dl-wrap {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .catalogue-dl-visual {
    max-width: 320px;
    margin: 0 auto
  }

  .sect-designers-showcase {
    padding: 64px 0 56px
  }

  .designers-showcase-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 32px
  }

  .designers-showcase-stat {
    text-align: left
  }

  .designers-showcase-card {
    flex-basis: clamp(200px, 72vw, 280px)
  }

  .designer-home-card {
    grid-template-columns: 1fr
  }

  .designer-home-photo {
    aspect-ratio: 16/9;
    max-height: 240px
  }

  .designer-home-body {
    border-left: none;
    border-top: 2px solid transparent;
    padding: 24px
  }

  .designer-home-card:hover .designer-home-body {
    border-left: none;
    border-top-color: var(--teal)
  }

  .custom-gallery {
    grid-template-columns: 1fr
  }

  .custom-gallery-side {
    flex-direction: row
  }

  .custom-gallery-side img {
    aspect-ratio: 16/10
  }

  .mos-inspi .mc1 {
    grid-column: span 1;
    height: 240px
  }

  .mos {
    grid-template-columns: 1fr
  }

  .mc1,
  .mc2,
  .mc3,
  .mc4,
  .mc5 {
    grid-column: span 1;
    height: 240px;
    grid-row: span 1
  }

  .page-hero {
    min-height: 260px
  }

  .page-hero-body {
    padding: 40px var(--px)
  }

  .intro {
    padding: 44px var(--px)
  }

  .sect-typcat,
  .sect-cat,
  .sect-th,
  .sect-audience,
  .sect-custom,
  .sect-designers-showcase,
  .sect-refs,
  .sect-catalogue-dl,
  .sect-engagements,
  .sect-news-home,
  .manifesto,
  .tblock {
    padding-top: 60px;
    padding-bottom: 60px
  }

  .mc-wrap {
    padding: 60px var(--px)
  }

  footer {
    padding: 52px var(--px) 28px
  }

  .fbot {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px
  }
}

/* ─ 480px ─ */
@media(max-width:650px) {
  :root {
    --px: 16px
  }

  .thg {
    grid-template-columns: 1fr
  }

  .tc {
    aspect-ratio: 4/3
  }

  .designers-grid {
    grid-template-columns: 1fr
  }

  .breadcrumb-bar {
    display: none
  }

  .prod-info {
    padding: 28px var(--px)
  }

  .seo-page-grid {
    grid-template-columns: 1fr
  }

  .inspi-masonry.inspi-masonry--cols-3 {
    grid-template-columns: repeat(2, 1fr)
  }

  .inspi-masonry.inspi-masonry--cols-5 {
    grid-template-columns: repeat(3, 1fr)
  }

  .inspi-layout {
    grid-template-columns: 240px 1fr;
    gap: 28px
  }

  .map-wrap {
    grid-template-columns: 1fr
  }

  .map-sidebar {
    max-height: none;
    border-left: none;
    border-top: 1px solid var(--border)
  }

  .projet-fiche-grid {
    grid-template-columns: 1fr
  }

  .ref-fiche-content {
    grid-template-columns: 1fr
  }

  .ref-fiche-aside {
    position: relative;
    top: auto;
    max-height: none;
    overflow: visible
  }

  .ref-fiche-aside-toolbar {
    margin-bottom: 16px
  }

  .projet-listing-layout {
    grid-template-columns: 1fr
  }

  .ref-fiche-gallery {
    grid-template-columns: 1fr
  }

  .map-placeholder {
    grid-template-columns: 1fr
  }

  .enjeu-inner {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .enjeu-block-alt .enjeu-inner {
    direction: ltr
  }

  .cat-seo-intro {
    grid-template-columns: 1fr
  }

  .downloads-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .env-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .env-lightbox-nav {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    font-size: 14px
  }

  .env-lightbox-prev {
    left: 8px
  }

  .env-lightbox-next {
    right: 8px
  }

  .cta-inline {
    flex-direction: column;
    align-items: flex-start
  }

  .floating-cta-btn span {
    display: none
  }

  .floating-cta-btn {
    padding: 12px;
    justify-content: center
  }

  .prod-sticky-bar {
    right: 12px;
    bottom: 16px;
    width: calc(100% - 24px);
    border: 3px solid var(--teal) !important;
    max-width: 320px;
    padding: 18px 20px
  }

  .prod-sticky-bar-name {
    font-size: 20px
  }

  .inspi-layout {
    grid-template-columns: 1fr
  }

  .inspi-sidebar {
    position: relative;
    top: 0;
    max-height: none
  }

  .inspi-check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .inspi-masonry.inspi-masonry--cols-3,
  .inspi-masonry.inspi-masonry--cols-5 {
    grid-template-columns: repeat(2, 1fr)
  }

  .downloads-grid {
    grid-template-columns: 1fr 1fr
  }
}
