/* --------------------
   Font NouvelR
   -------------------- */
/* Tu dois fournir les fichiers dans /fonts
   Exemple: ./fonts/NouvelR-Regular.woff2 */
@font-face{
  font-family: "NouvelR";
  src: url("./fonts/NouvelR-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "NouvelR";
  src: url("./fonts/NouvelR-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }


html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden; /* on bloque le scroll vertical natif */
  background: #000;
  color: #fff;
  font-family: "NouvelR", system-ui, sans-serif;
}

/* Contenu au-dessus */
header, main, .horizontal, .panel{
  position: relative;
  z-index: 1;
}

.page--index{
  font-family: "NouvelR", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Topbar index */
.topbar--index{
  background: transparent;
  border-bottom: none;
}
.brand--logo img{
  height: 64px;   /* augmente la taille */
  width: auto;
  display: block;
}

.topbar__right{
  display:flex;
  align-items:center;
  gap: 16px;
}

.exit-link{
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center; /* centre verticalement */
  height: 64px; /* aligne sur la hauteur du logo */
  transition: color .25s ease;
}

.exit-link:hover{
  color: rgba(252,185,0,.95);
}

.horizontal {
  display: flex;
  flex-direction: row;
  height: 100vh;

  /* CLÉ */
  width: 100vw;
  overflow-x: auto;
  overflow-y: hidden;

  scroll-behavior: smooth;
}


.hero-video, .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(64px, 10vw, 140px);
  margin: 0;
}

.hero-content p {
  margin-top: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}


.hero-fallback {
  background: radial-gradient(1200px 700px at 50% 40%, rgba(255,255,255,.08), rgba(0,0,0,.95));
  opacity: 1;
  transition: opacity .35s ease;
}

/* on masque le fallback quand la vidéo est “prête” */
body.video-ready .hero-fallback { opacity: 0; pointer-events: none; }


.scroll-indicator {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: rotate(90deg);
  letter-spacing: .2em;
  font-size: 12px;
}


.panel {
  position: relative;     /* PAS absolute */
  flex: 0 0 100vw;        /* CLÉ ABSOLUE */
  height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  /* background: #000; */
  color: #fff;
}

/* juste pour voir les séparations */
.panel:nth-child(even) {
  background: #111;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  pointer-events: auto;
}

.header-left, .header-right{
  display: flex;
  align-items: center;
  gap: 28px; /* espace entre logo et exit */
}

.logo {
  height: 72px; /* anciennement ~36px */
  width: auto;
  display: block;
}


.exit-link {
  color: #fff;
  text-decoration: none;
  margin-right: 24px;
  position: relative;
}

.exit-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  height: 2px;
  width: 0;
  background: #fff;
  transition: width .25s;
}

.exit-link:hover::after {
  width: 100%;
}

.burger {
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
}


.menu{
  position: fixed;
  top: 64px;            /* sous le header */
  right: 24px;
  width: min(360px, 86vw);
  background: rgba(0,0,0,.86);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 14px;
  z-index: 25;

  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(10px);
}

.menu.is-open{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.menu a{
  display:block;
  padding: 12px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}

.menu a:hover{
  background: rgba(252,185,0,.12);
  border-color: rgba(252,185,0,.25);
}


/* Hero panel */
.hscroll--index{ top:0; } /* on passe sous la topbar transparente */
.panel--hero{
  height: 100vh;
}
.hero-bg{
  position:absolute; inset:0;
  overflow:hidden;
}
.hero-layer{
  position:absolute; inset:-2%;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: opacity 900ms ease;
}
.hero-layer--a{ opacity: 1; }
.hero-layer--b{ opacity: 0; }

.hero-vignette{
  position:absolute; inset:0;
  background:
    radial-gradient(1100px 700px at 45% 40%, rgba(0,0,0,.25), rgba(0,0,0,.78) 70%),
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.12) 55%, rgba(0,0,0,.72));
}

.hero-center{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%,-50%);
  text-align:center;
  width:min(920px, 92vw);
}
.hero-title{
  margin:0;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: clamp(64px, 9vw, 140px);
  line-height: .92;
  color: #FFF;
}
.hero-sub{
  margin-top: 10px;
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(245,245,245,.78);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-cta{
  display:inline-block;
  margin-top: 22px;
  padding: 14px 18px;
  border: 2px solid rgba(245,245,245,.92);
  background: rgba(245,245,245,.92);
  color: #0b0c10;
  text-decoration:none;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: all 180ms ease;
}
.hero-cta:hover{
  background: transparent;
  color: rgba(245,245,245,.92);
}

.hero-scrollhint{
  position:absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(245,245,245,.70);
}

.hero-bg{
  position:absolute;
  inset:0;
  overflow:hidden;
  z-index:0;
}

.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transform: scale(1.02);
}

/* vignette + contraste éditorial */
.hero-vignette{
  position:absolute;
  inset:0;
  background:
    radial-gradient(1100px 700px at 45% 40%, rgba(0,0,0,.25), rgba(0,0,0,.82) 70%),
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.18) 55%, rgba(0,0,0,.72));
  pointer-events:none;
}


/* Theme panels style “Renault-like” (oversized left text) */
.panel--themeIndex .panel__overlay{
  top: auto;
  bottom: 12vh;
}

.panel--themeIndex .panel__title{
  font-size: clamp(70px, 10vw, 170px);
  letter-spacing: 0;
  line-height: .92;
}

.panel--themeIndex .panel__desc{
  max-width: 40ch;
}

/* Panel theme = plein écran */
.panel.theme{
  position: relative;
  width: 100vw;
  height: 100vh;
  /* background: #000; */
  overflow: hidden;
}

/* Cadre “tableau” sur les pages thèmes */
.theme-media{
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 80vw;
  height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* Le cadre */
.theme-media::before{
  content:"";
  position:absolute;
  inset: 3.5vh 3.5vw;              /* marge interne = “passe-partout” */
  /* background: rgba(245,245,245,.05);
  border: 1px solid rgba(255,255,255,.16);*/
  box-shadow:
    0 18px 60px rgba(0,0,0,.55),
    inset 0 0 0 10px rgba(0,0,0,.55); /* filet sombre intérieur */
  border-radius: 14px;
  pointer-events:none;
}

/* L’image dans le cadre */
.theme-media img{
  position: relative;
  max-width: calc(100% - 7vw);
  max-height: calc(100% - 7vh);
  width: auto;
  height: auto;
  object-fit: contain;
  z-index: 2;
  cursor: none; /* tu as déjà le curseur custom “Explorer” */
  border-radius: 10px;
}


/* Overlay textes AU-DESSUS de l'image */
.theme-overlay{
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;     /* garde la molette clean */
}

/* Titre vertical : centré en hauteur */
.theme-vertical{
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;

  font-size: clamp(44px, 5.2vw, 88px);
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  line-height: 1;
}

/* Bloc texte décalé par rapport au vertical */
.theme-copy{
  position: absolute;
  left: 120px;              /* décale par rapport au vertical */
  top: 52%;
  transform: translateY(-50%);
  max-width: 520px;
}

/* Titre principal (oversized) */
.theme-title{
  margin: 0;
  font-size: clamp(64px, 7.5vw, 140px);
  line-height: .9;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255,255,255,.96);
}

/* ===============================
   THEME TITLE SCROLL ANIMATION
   =============================== */

.theme-title{
  opacity: 0;
  transform: translateX(600px);
  transition: 
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.2s ease;
  will-change: transform, opacity;
}

.theme-title.is-visible{
  opacity: 0.8;
  transform: translateX(0);
}

/* Résumé */
.theme-text{
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.72);
  max-width: 46ch;
}

/* Résumé */
.shop-description{
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.72);
}

/* Apparition progressive (quand .is-visible est posé par IO) */
.panel.theme.is-visible .theme-media img{
  opacity: 1;
  transform: translateX(0);
}

.panel.theme .theme-vertical,
.panel.theme .theme-copy{
  opacity: 0;
  transform-origin: center;
  transition: opacity .75s ease, transform .75s ease;
}

.panel.theme.is-visible .theme-vertical{
  opacity: 1;
  transform: translateY(-50%) rotate(180deg);
}

.panel.theme.is-visible .theme-copy{
  opacity: 1;
  transform: translateY(-50%);
}



.scroll-ui{
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.92);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: lowercase;
  pointer-events: none;
  --p: 0; /* mis à jour en JS */
}

.scroll-ui__line{
  position: relative;
  width: 140px;
  height: 2px;
  background: rgba(255,255,255,.18);
  overflow: hidden;
}

.scroll-ui__line::after{
  content:"";
  position:absolute;
  left:0;
  top:0;
  height: 100%;
  width: calc(12px + (128px * var(--p))); /* “pousse” avec le scroll */
  background: rgba(255,255,255,.92);
}

/* Curseur Explorer */
.theme-cursor{
  position: fixed;
  top: 0;
  left: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(0,0,0,.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .25s ease, opacity .25s ease;
  opacity: 0;
  mix-blend-mode: normal;
}

.theme-cursor span{
  pointer-events: none;
}

/* Activation au survol */
body.theme-cursor-active .theme-cursor{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Désactive le curseur système sur l’image */
.theme-media{
  cursor: none;
}

/* =========================
   COMPARE MODAL + SLIDER
   (Original gauche / Slip droite)
   ========================= */
.compare{
  --mask-width: 50%;
  --handle-size: 32px;

  position: relative;
  width: 100%;
  height: 100vh;        /* plein écran */
  background: #000;
  overflow: hidden;
}

/* Les deux images doivent utiliser EXACTEMENT la même logique */
.compare__image-one{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  max-width: 100%;
  max-height: 100%;

  width: auto;
  height: auto;

  object-fit: contain;
  display: block;
}

/* Le masque DOIT couvrir tout le compare (ne jamais changer de largeur) */
.compare__mask{
  position: absolute;
  inset: 0;                 /* top:0; right:0; bottom:0; left:0 */
  overflow: visible;        /* important : on ne coupe pas via overflow */
  z-index: 2;

  /* on révèle la partie gauche uniquement */
  clip-path: inset(0 calc(100% - var(--mask-width)) 0 0);
}

/* L'image 2 doit être dimensionnée comme l'image 1 (repère plein écran) */
.compare__image-two{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}


/* Séparateur */
.compare__separator{
  position: absolute;
  top: 0;
  height: 100%;
  left: var(--mask-width);
  width: 2px;
  margin-left: -1px;
  background: white;
  z-index: 3;
  pointer-events: none;
}

/* Input invisible couvrant tout */
.compare__input{
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: col-resize;
  z-index: 4;
}


/* Firefox */
.compare__input::-moz-range-track {
  height: 100%;
}

.compare__input::-moz-range-thumb {
  height: 100%;
  border-radius: 0;
  width: var(--handle-size);
  border: none;
}

/* Webkit */
.compare__input::-webkit-slider-runnable-track {
  height: 100%;
}

.compare__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 100%;
  border-radius: 0;
  width: var(--handle-size);
  border: none;
}

.compare__icon {
  position: absolute;
  z-index: 2;
  color: #333;
  width: var(--handle-size);
  height: var(--handle-size);
  top: 50%;
  left: var(--mask-width);
  transform: translate(-50%, -50%);
  padding: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: rgba(255, 255, 255, 1);
}

.compare__icon path {
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2px;
}

.shop-grid {
  display: flex;
  gap: 60px;
  justify-content: center;
  margin-top: 40px;
}

.shop-item img {
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  border: 1px solid white;
  text-transform: uppercase;
  font-size: 14px;
  transition: 0.3s ease;
  background: white;
}

.btn:hover {
  background: grey ;
  color: black;
}


.type-line {
  min-height: 1.2em;
  margin: 10px 0;
  font-size: clamp(18px, 2.2vw, 28px);
  letter-spacing: 0.02em;
  opacity: 0.9;
}

/* Curseur “typewriter” */
.type-line::after {
  content: "▍";
  margin-left: 6px;
  opacity: 0;
}
.type-line.is-typing::after {
  opacity: 1;
  animation: blink 0.9s infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* --- Shop / Form premium --- */
.shop-item--form {
  text-align: left;
  max-width: 520px;
}

.print-form {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.form-row label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 6px;
}

.print-form input,
.print-form select,
.print-form textarea {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.25);
  color: #fff;
  border-radius: 10px;
  outline: none;
}

.print-form input:focus,
.print-form select:focus,
.print-form textarea:focus {
  border-color: rgba(252,185,0,0.7);
  box-shadow: 0 0 0 3px rgba(252,185,0,0.12);
}

.form-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-actions {
  margin-top: 6px;
}

.btn--solid {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.btn--solid:hover {
  background: transparent;
  color: #fff;
}

.form-hint {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.7;
}

/* --- Press kit --- */
.press-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.press-card {
  display: block;
  padding: 16px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  background: rgba(0,0,0,0.18);
  transition: transform .2s ease, border-color .2s ease;
}

.press-card:hover {
  transform: translateY(-2px);
  border-color: rgba(252,185,0,0.65);
}

.press-kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 10px;
}

.press-meta {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.75;
}

@media (max-width: 900px) {
  .press-grid { grid-template-columns: 1fr; }
  .form-2 { grid-template-columns: 1fr; }
}

/* Progress bar (index) */
.progress{
  position: fixed;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  width: min(420px, 58vw);
  z-index: 50;
  pointer-events: none;
  opacity: .9;
}

.progress__track{
  height: 2px;
  background: rgba(255,255,255,.18);
  border-radius: 2px;
  overflow: hidden;
}

.progress__fill{
  height: 100%;
  width: 0%;
  background: rgba(252,185,0,.95);
  transform-origin: left;
  border-radius: 2px;
}

.progress__ticks{
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.progress__ticks span{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  transform: scale(.9);
}

.progress__ticks span.is-active{
  background: rgba(252,185,0,.95);
  transform: scale(1.15);
}

@media (max-width: 900px){
  .progress{ display:none; } /* sur mobile tu feras autre chose */
}

/* Fin de salle intégrée au dernier panel (à droite) */
.panel.is-last{
  /* réserve un peu de place à droite pour le bloc fin */
  padding-right: clamp(140px, 18vw, 240px);
}

.endcap-inline{
  position: absolute;
  right: clamp(18px, 2.2vw, 32px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(120px, 16vw, 220px);
  text-align: right;
  z-index: 6;
  pointer-events: auto;
}

.endcap-inline__line{
  width: 56px;
  height: 1px;
  margin-left: auto;
  margin-bottom: 14px;
  background: rgba(252,185,0,.70);
}

.endcap-inline__label{
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 12px;
}

.endcap-inline__back{
  display: inline-block;
  text-decoration: none;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: rgba(255,255,255,.9);
}

.endcap-inline__back:hover{
  border-color: rgba(252,185,0,.55);
  color: rgba(252,185,0,.95);
}

/* =========================================================
   POSTFACE : tout faire tenir dans 1 écran (sans scroll vertical)
   Ne touche pas aux autres pages (scopé sur .postface-page)
   ========================================================= */

.postface-page{
  --header-h: 108px;          /* hauteur header approx (logo 72px + padding) */
  --pad: clamp(16px, 2.2vh, 28px);
  --txt: clamp(12px, 1.35vh, 15px);
  --lh: 1.28;
}

/* Réduit l’espace utile “perdu” sous le header sans ajouter de scroll */
.postface-page .postface-panel{
  /* on garde le panel en 100vh (structure du musée) mais on compresse le contenu */
  align-items: center;
  justify-content: center;
  padding-top: 0; /* on évite d’ajouter une marge verticale */
}

/* Conteneur principal : padding plus intelligent + typo plus compacte */
.postface-page .postface-content{
  max-width: min(980px, 92vw);
  padding: var(--pad);
}

.postface-page .theme-title{
  margin: 0 0 10px;
}

.postface-page .theme-text,
.postface-page .shop-description p,
.postface-page .shop-item p{
  font-size: var(--txt);
  line-height: var(--lh);
  margin: 8px 0;
}

/* SHOP : description en 2 colonnes sur desktop pour gagner de la hauteur */
@media (min-width: 1100px){
  .postface-page .shop-description{
    column-count: 2;
    column-gap: clamp(18px, 3vw, 34px);
    max-width: 980px;
    margin: 0 auto;
  }
  .postface-page .shop-description p{
    break-inside: avoid;
  }
}

/* SHOP grid : moins d’air vertical */
.postface-page .shop-grid{
  margin-top: clamp(14px, 2.2vh, 22px);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

/* Image carte : légèrement plus petite */
.postface-page .shop-item img{
  max-width: clamp(170px, 18vw, 220px);
  margin-bottom: 12px;
}

/* Form : champs plus compacts */
.postface-page .print-form{
  gap: 10px;
  margin-top: 10px;
}

.postface-page .form-row label{
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.07em;
}

.postface-page .print-form input,
.postface-page .print-form select,
.postface-page .print-form textarea{
  padding: 10px 10px;
  border-radius: 10px;
}

.postface-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("images/oeuvres/tamalou.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.45;
  pointer-events: none;
}

.postface-page .print-form textarea{
  /* au lieu de rows=4 très haut, on force une hauteur plus petite */
  height: clamp(72px, 12vh, 110px);
  resize: none;
}

/* Bouton un peu moins “haut” */
.postface-page .btn{
  margin-top: 10px;
  padding: 10px 18px;
}

/* Cas écrans bas (laptops 13", mobiles paysage) : on serre encore */
@media (max-height: 760px){
  .postface-page{
    --header-h: 96px;
    --pad: 14px;
    --txt: 12px;
    --lh: 1.22;
  }
  .postface-page .shop-item img{ max-width: 180px; }
  .postface-page .postface-links{ margin-top: 18px; }
}

/* ==========================
   POSTFACE CONTACT SECTION
   ========================== */

.postface-page .postface-contact{
  margin-top: clamp(20px, 3vh, 40px);
  text-align:center;
}

.postface-page .postface-contact h3{
  font-family: "Playfair Display", serif;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.postface-page .contact-cards{
  display:flex;
  justify-content:center;
  gap: clamp(16px, 2vw, 30px);
  flex-wrap:wrap;
}

.postface-page .contact-card{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:18px 28px;
  min-width:180px;

  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius:16px;

  text-decoration:none;
  color:#fff;

  transition: all 0.35s ease;
}

/* ==========================
   CONTACT – grille 3 + 1
   ========================== */

.postface-page .contact-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 780px;
  margin: 0 auto;
}

/* cartes */
.postface-page .contact-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 4e élément centré sur une nouvelle ligne */
.postface-page .contact-card:nth-child(4){
  grid-column: 2 / 3; /* colonne centrale */
}

.postface-page .contact-card:hover{
  transform: translateY(-4px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

.postface-page .contact-label{
  font-size:10px;
  letter-spacing:0.15em;
  text-transform:uppercase;
  opacity:0.6;
  margin-bottom:6px;
}

.postface-page .contact-value{
  font-size:14px;
  letter-spacing:0.08em;
}