/* ==========================================================================
   Création Métallerie Valério — feuille de style
   Fond métal (code fourni par Samira), rose #ff1493, photos en relief.
   ========================================================================== */

/* --- Polices auto-hébergées (aucun appel à Google) ----------------------- */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/quicksand-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/quicksand-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/great-vibes-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/great-vibes-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* --- Métal ------------------------------------------------------------- */
  --metal-900: #131315;
  --metal-800: #1b1b1e;
  --metal-700: #2a2a2e;
  --metal-600: #3e3e44;
  --metal-400: #7c7d84;
  --metal-200: #b4b5ba;
  --metal-100: #dcdde1;

  /* --- Encre ------------------------------------------------------------- */
  --ink: #f5f5f7;
  --ink-soft: rgba(245, 245, 247, .76);
  --ink-dim: rgba(245, 245, 247, .52);
  --line: rgba(255, 255, 255, .13);
  --line-strong: rgba(255, 255, 255, .22);
  --glass: rgba(255, 255, 255, .055);
  --glass-2: rgba(255, 255, 255, .10);

  /* --- Roses du logo (CF3476 / FF50A4 / B50057) --------------------------- */
  --accent: #ff1493;
  --accent-vif: #ff77b7;
  --accent-deep: #b50057;
  --accent-glow: rgba(255, 20, 147, .55);
  /* dégradé animé rose / gris qui circule dans les boutons et le menu */
  --shimmer: linear-gradient(100deg, #ff1493 0%, #ffa1cd 16%, #c96ba2 26%, #7c8088 36%, #4a4d54 46%, #a8407f 56%, #ff1493 66%, #ff2f90 82%, #ff1493 100%);
  /* variante pour les traits très fins : pas de stop sombre, sinon la ligne disparaît sur le fond */
  --shimmer-line: linear-gradient(100deg, #ff1493 0%, #ff8dc2 14%, #c96ba2 28%, #b9bcc3 42%, #a8407f 56%, #ff2f90 72%, #ff6fb0 86%, #ff1493 100%);

  /* compat avec les anciens noms */
  --copper: var(--accent);
  --copper-light: var(--accent-vif);

  --header-h: 116px;
  --frame-h: 18px;
  --radius: 5px;
  --maxw: 1220px;

  --shadow-float:
    0 30px 50px -26px rgba(0, 0, 0, .9),
    0 8px 18px -10px rgba(0, 0, 0, .6),
    inset 0 1px 0 rgba(255, 255, 255, .16);
  --shadow-float-hover:
    0 50px 80px -30px rgba(0, 0, 0, .95),
    0 16px 26px -12px rgba(0, 0, 0, .7),
    0 0 0 1px rgba(255, 47, 144, .55),
    inset 0 1px 0 rgba(255, 255, 255, .26);
  --shadow-frame:
    0 40px 66px -28px rgba(0, 0, 0, .95),
    0 0 0 1px rgba(255, 47, 144, .30),
    0 0 80px -20px rgba(255, 47, 144, .40);

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: 'Quicksand', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-rose: 'Great Vibes', 'Quicksand', cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ==========================================================================
   FOND MÉTAL — code de Samira, à l'identique (version du 04/11)
   Aucun voile, aucune couche ajoutée : on garde ses 7 dégradés radiaux en
   `multiply` sur la plaque blanche, et ses deux textures en `overlay`.
   ========================================================================== */

body {
  margin: 0;
  padding: 0;
  color: white;
  font-family: 'Quicksand', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;

  background: radial-gradient(circle at 50% 10%, #222222, transparent 50%),
              radial-gradient(circle at 80% 20%, #2A2A2A, transparent 50%),
              radial-gradient(circle at 20% 30%, #3E3E3E, transparent 50%),
              radial-gradient(circle at 50% 50%, #707070, transparent 60%),
              radial-gradient(circle at 80% 60%, #A8A8A8, transparent 50%),
              radial-gradient(circle at 30% 70%, #909090, transparent 50%),
              radial-gradient(circle at 50% 90%, #303030, transparent 60%);
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Les textures par-dessus (carrelage usé + aluminium brossé) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('textures/dirty-tile.png'),
              url('textures/brushed-alum-dark.png');
  background-repeat: repeat;
  opacity: 0.7;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 0;
}

.site-header, main, .site-footer, .mobilebar { position: relative; z-index: 1; }

/* le grain du métal (carrelage usé + aluminium brossé) sur la barre de menu,
   exactement comme sur le reste du site */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url('/assets/textures/dirty-tile.png'),
              url('/assets/textures/brushed-alum-dark.png');
  background-repeat: repeat;
  opacity: .7;
  mix-blend-mode: overlay;
  z-index: -1;
}

/* ==========================================================================
   Typographie
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4.8vw, 3.7rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: 1.22rem; }

/* le mot mis en avant passe en rose — « force sur le rose » */
h1 em, h2 em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 40px rgba(255, 47, 144, .45);
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-vif); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-vif);
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 47, 144, 0));
}

.kicker--center {
  margin-bottom: 0;
  text-align: center;
}

/* ==========================================================================
   Structure
   ========================================================================== */

.wrap {
  width: min(var(--maxw), 100% - 3rem);
  margin-inline: auto;
}

main { padding-bottom: 0; }

.section { padding: clamp(2.4rem, 5vw, 4.5rem) 0; }

.section-title {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}
.section-title h2 { margin: 0; }
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 47, 144, .55), rgba(255, 255, 255, .06));
}

/* ==========================================================================
   En-tête — logo du client en grand, intact
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  /* fond strictement identique au site : la barre est transparente, le métal
     du body (background-attachment: fixed) la traverse sans le moindre raccord */
  background-color: #ffffff;
  background-image:
    radial-gradient(circle at 50% 10%, #222222, transparent 50%),
    radial-gradient(circle at 80% 20%, #2A2A2A, transparent 50%),
    radial-gradient(circle at 20% 30%, #3E3E3E, transparent 50%),
    radial-gradient(circle at 50% 50%, #707070, transparent 60%),
    radial-gradient(circle at 80% 60%, #A8A8A8, transparent 50%),
    radial-gradient(circle at 30% 70%, #909090, transparent 50%),
    radial-gradient(circle at 50% 90%, #303030, transparent 60%);
  background-blend-mode: multiply;
  background-size: 100vw 100vh;
  background-position: 50% 66%;
  background-attachment: scroll;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 20, 147, .30);
  overflow: visible;
  box-shadow: none;
}


.header-inner {
  width: min(1380px, 100% - 2rem);
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: var(--header-h);
}

/* le vrai logo, non retouché : PNG transparent 1940 × 1030 */
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
}
.brand-logo {
  display: block;
  height: clamp(62px, 6.6vw, 100px);
  width: auto;
  /* le logo doit tenir sur le métal clair comme sur le métal sombre */
  filter:
    drop-shadow(0 1px 2px rgba(0, 0, 0, 1))
    drop-shadow(0 0 10px rgba(0, 0, 0, .95))
    drop-shadow(0 0 26px rgba(0, 0, 0, .8));
  transition: filter .3s;
}
.brand:hover .brand-logo { filter: drop-shadow(0 2px 6px rgba(0,0,0,.9)) drop-shadow(0 6px 20px var(--accent-glow)); }

.brand-name {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.15;
  color: var(--accent);
}
.brand-name em { font-style: normal; color: var(--metal-200); }
.brand-name small {
  display: block;
  margin-top: .2rem;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.nav {
  /* le menu occupe toute la place entre le logo et le bouton d'appel */
  flex: 1 1 auto;
  margin: 0 clamp(.4rem, 1.4vw, 1.6rem);
}
.nav ul {
  display: flex;
  justify-content: space-between;
  gap: clamp(.1rem, .3vw, .55rem);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav a {
  display: block;
  padding: .5rem .3rem;
  border-radius: 3px;
  font-size: clamp(.75rem, .74vw, .86rem);
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, .95),
    0 2px 9px rgba(0, 0, 0, .9),
    0 0 22px rgba(0, 0, 0, .8);
  text-decoration: none;
  transition: background .2s, color .2s;
}
/* --- effet "couleur qui circule" : dégradé rose/gris animé à l'intérieur
   des pilules du menu et des boutons (d'après un modèle client) --- */
@keyframes shimmerX {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.nav a {
  position: relative;
  isolation: isolate;
}
.nav a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: var(--shimmer);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity .3s ease;
}
/* petit trait fin sous le libellé : court, 2 px, mêmes couleurs qui circulent */
.nav a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 24px;
  height: 2px;
  margin-left: -12px;
  border-radius: 9999px;
  background-image: var(--shimmer-line);
  background-size: 200% 100%;
  opacity: 1;
  transition: opacity .3s ease, width .35s cubic-bezier(.4, 0, .2, 1), margin-left .35s cubic-bezier(.4, 0, .2, 1);
  animation: shimmerX 5s linear infinite;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { opacity: 1; animation: shimmerX 7s linear infinite; }
/* dès que la pilule apparaît (survol / onglet actif), le petit trait s'efface */
.nav a[aria-current="page"]::before,
.nav a:hover::before { opacity: 0; }
.nav a:hover { background: none; color: #fff; }
.nav a[aria-current="page"] {
  color: #fff;
  background: none;
  box-shadow: none;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .62rem 1.05rem;
  border-radius: 3px;
  background-image: var(--shimmer);
  background-size: 200% 100%;
  animation: shimmerX 6s linear infinite;
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 26px -14px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .2s, box-shadow .2s;
}
.header-phone:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 32px -14px rgba(255, 47, 144, .9), inset 0 1px 0 rgba(255, 255, 255, .45);
}

.burger {
  display: none;
  margin-left: auto;
  flex: 0 0 44px;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  position: relative;
}
.burger span,
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
  transition: transform .25s, opacity .2s;
}
.burger::before { top: 13px; }
.burger span { top: 19px; }
.burger::after { top: 25px; }
.burger[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span { opacity: 0; }
.burger[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Haut de l'accueil — le texte, et la mini-vidéo flottant au-dessus du métal
   ========================================================================== */

.hero-home {
  position: relative;
  padding: clamp(.7rem, 1.6vw, 1.4rem) 0 clamp(2rem, 4vw, 3.2rem);
}
/* le cadre sort de la largeur de colonne : il occupe presque toute la page */
.hero-home > .wrap {
  max-width: none;
  padding-inline: clamp(10px, 1.6vw, 30px);
}

.hero-home-inner {
  display: grid;
  justify-items: center;
  gap: clamp(1.4rem, 2.6vw, 2.2rem);
}

.hero-home-text {
  max-width: 52rem;
  text-align: center;
}
.hero-home-text h1 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: .85rem;
  text-shadow: 0 12px 40px rgba(0, 0, 0, .6);
}
.hero-home-text .lead {
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 auto;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  margin-top: 1.6rem;
}

/* la vidéo ne prend ni toute la largeur ni toute la hauteur : c'est un
   panneau posé devant le mur, qui flotte doucement */
.hero-home-media {
  position: relative;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
}
.hero-home-media::after {
  /* ombre portée au sol, comme un objet décollé du mur */
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -46px;
  height: 60px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0) 72%);
  filter: blur(10px);
  z-index: -1;
}

.film-frame--hero {
  /* le cadre occupe la hauteur de la fenêtre, menu compris */
  height: calc(100svh - var(--header-h) - clamp(3rem, 7vh, 5.5rem));
  display: flex;
  animation: floaty 11s ease-in-out infinite;
}

.film-frame--hero .film {
  flex: 1;
  min-height: 0;
  aspect-ratio: auto;
  max-height: none;
}

/* le cadre reste droit : seul un léger flottement vertical le fait vivre */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* variante plein écran (utilisée seulement si aucune vidéo n'est configurée) */
.hero-full {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: #101012;
}
.hero-full__media { position: absolute; inset: 0; z-index: 0; }
.hero-full__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 12, 14, .78) 0%, rgba(12, 12, 14, .12) 30%, rgba(12, 12, 14, .55) 74%, #16161a 100%),
    linear-gradient(90deg, rgba(12, 12, 14, .80) 0%, rgba(12, 12, 14, .18) 58%, transparent 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 8vw, 7rem) 0 clamp(2rem, 5vw, 4rem);
  max-width: 50rem;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  letter-spacing: -.03em;
  line-height: 1.02;
}
.hero-copy .lead { max-width: 44ch; }

/* ==========================================================================
   Bandeau de confiance — label Artisan d'Art en grand
   ========================================================================== */

.trustbar {
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.trustbar-inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.4rem);
  padding: .85rem 0;
}
.trustbar img {
  height: 110px;
  width: auto;
  flex: 0 0 auto;
  background: #fff;
  border-radius: 4px;
  padding: 6px 9px;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .9);
}
.trustbar ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .88rem;
  letter-spacing: .02em;
}
.trustbar li { color: var(--ink-soft); }
.trustbar strong { color: var(--accent); font-weight: 700; }

/* ==========================================================================
   Mini-film des 4 portails, dans un cadre en relief
   ========================================================================== */

.film-section { padding-top: clamp(2.5rem, 5vw, 4.5rem); }

.film-inner {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.film-text h2 { margin: .2rem 0 1rem; }
.film-text p { color: var(--ink-soft); }

.film-points {
  list-style: none;
  margin: 1.3rem 0 1.7rem;
  padding: 0;
  border-top: 1px solid var(--line);
}
.film-points li {
  padding: .62rem 0 .62rem 1.6rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: .92rem;
  color: var(--ink-soft);
}
.film-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 9px;
  height: 9px;
  border: 2px solid var(--accent);
  transform: rotate(45deg);
}

/* le cadre : moulure métal + épaisseur + halo rose */
.film-frame {
  position: relative;
  /* Cadre 3D du client : bordure grise (haut/gauche) et noire (bas/droite),
     les angles se coupent en diagonale — même effet que sur son ancien site,
     en plus fin. */
  border-style: solid;
  border-width: clamp(5px, .62vw, 9px);
  border-color: #9a9b9d #0a0b0d #0a0b0d #9a9b9d;
  border-radius: 0;
  background: #0a0b0d;
  box-shadow:
    0 44px 70px -34px rgba(0, 0, 0, .95),
    0 0 86px -28px var(--accent-glow);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.film-frame:hover { transform: translateY(-6px); }

.film {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0c0c0e;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .85), inset 0 0 60px rgba(0, 0, 0, .55);
}

.film-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .9s linear;
}
.film-slide:first-child { opacity: 1; }
.film[data-js="1"] .film-slide:first-child:not(.is-on) { opacity: 0; }
.film-slide.is-on { opacity: 1; }

.film-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.film-badge {
  position: absolute;
  left: clamp(10px, 1.5vw, 20px);
  bottom: clamp(10px, 1.5vw, 20px);
  z-index: 4;
  padding: .42rem .8rem;
  border-radius: 2px;
  background: rgba(12, 12, 14, .74);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 47, 144, .45);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
}

.film-dots {
  display: flex;
  gap: .4rem;
  margin-top: 1.1rem;
  justify-content: center;
}
.film-dots i {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .22);
  transition: background .4s;
}
.film-dots i.on { background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }

/* ==========================================================================
   En-tête de page + cadre 3D
   ========================================================================== */

.page-head {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}
.page-head-inner {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.page-head-text { padding-top: clamp(0rem, 2vw, 1.4rem); }
.page-head-text h1 { margin-bottom: .8rem; }
.page-head h1::after {
  content: "";
  display: block;
  width: 84px;
  height: 3px;
  margin-top: .95rem;
  background: linear-gradient(90deg, var(--accent), rgba(255, 47, 144, 0));
  border-radius: 2px;
}

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  color: var(--ink-soft);
  max-width: 46ch;
}

.frame-3d {
  position: relative;
  border-style: solid;
  border-width: clamp(5px, .62vw, 9px);
  border-color: #9a9b9d #0a0b0d #0a0b0d #9a9b9d;
  border-radius: 0;
  background: #0a0b0d;
  box-shadow:
    0 44px 70px -34px rgba(0, 0, 0, .95),
    0 0 70px -30px rgba(255, 20, 147, .35);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.frame-3d:hover { transform: translateY(-4px); }
.frame-3d img { display: block; width: 100%; height: auto; }
.frame-3d img { display: block; width: 100%; height: auto; }
.frame-3d::after {
  content: "";
  position: absolute;
  inset: var(--frame-h);
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .04) 26%, rgba(255, 255, 255, 0) 46%);
  border-radius: 2px;
  z-index: 2;
}
.frame-3d::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -28px;
  height: 32px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0) 72%);
  filter: blur(4px);
  z-index: -1;
}
.frame-3d img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Colonne d'intro de l'accueil : deux photos empilées qui prennent exactement
   la hauteur du texte (sinon il reste un grand vide sous la photo). */
.page-head-aside {
  display: grid;
  gap: clamp(.9rem, 1.5vw, 1.4rem);
  grid-template-rows: 1.16fr .84fr;
  align-self: stretch;
  min-height: 0;
}
.page-head-aside .frame-3d {
  margin: 0;
  min-height: 0;
  overflow: hidden;
}
.page-head-aside .frame-3d img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}
/* page à bloc unique (escaliers) : une seule photo, à son cadrage d'origine */
/* bandeau des galeries : label Artisan d'Art + H3 */
.gal-head {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 1.8vw, 1.5rem);
  margin: 0 0 clamp(1.1rem, 2vw, 1.8rem);
}
.gal-logo {
  height: clamp(3rem, 4.6vw, 4rem);
  width: auto;
  flex: none;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .55));
}
.gal-head .kicker { margin: 0 0 .3rem; }
.gal-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.3vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: #f4f2ef;
}
.prose--block { max-width: 74ch; margin-inline: auto; }

.page-head-aside--single { grid-template-rows: 1fr; }
.page-head-aside--single .frame-3d img { object-fit: cover; }
/* page prestation avec deux photos empilées : elles se partagent la hauteur
   du bloc de texte à parts égales. Les images sont en position absolue pour
   ne pas imposer leur hauteur au bloc : c'est le texte qui donne la hauteur. */
.page-head-aside--duo { grid-template-rows: 1fr 1fr; overflow: hidden; }
.page-head-aside--duo .frame-3d { position: relative; }
.page-head-aside--duo .frame-3d img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* photos d'origine petites (moins de 640 px de large) : on les affiche à leur
   taille réelle, sans agrandissement, sinon elles sortent floues */
.page-head-aside--native {
  grid-template-rows: auto auto;
  align-self: start;
  justify-items: center;
  overflow: visible;
}
.page-head-aside--native .frame-3d { position: relative; }
.page-head-aside--native .frame-3d img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: fill;
}

/* sous-titre à l'intérieur du bloc de texte */
.head-sub {
  margin: 1.1rem 0 .9rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.3;
  letter-spacing: -.005em;
  color: #f2eff0;
}
.page-head--single .prose--tight { margin-top: 0; max-width: 54ch; }

.zone-section .zone-head { max-width: 60ch; }
.zone-lead {
  margin: .6rem 0 0;
  color: var(--ink-soft);
  font-size: .96rem;
}
.zone-group { margin-top: clamp(1.4rem, 2.4vw, 2.2rem); }
.zone-group h3 {
  margin: 0 0 .7rem;
  font-family: var(--font-body);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.zone-list {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .1rem 1.15rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.9;
}
.zone-list a, .zone-list span { white-space: nowrap; }
.zone-list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 47, 144, .28);
  transition: color .2s, border-color .2s;
}
.zone-list a:hover { color: var(--accent); border-color: var(--accent); }

/* ==========================================================================
   Texte courant
   ========================================================================== */

.prose { max-width: 68ch; }
.prose p { color: var(--ink-soft); font-size: 1.04rem; }
.prose p:first-child { color: var(--ink); }
.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }

.prose--tight {
  max-width: 52ch;
  margin-top: 1.1rem;
  font-size: .96rem;
  color: var(--ink-soft);
}
.prose--tight p { margin: 0 0 .9rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
/* quand il n'y a pas de galerie à droite, le texte garde une largeur lisible */
.split--text {
  grid-template-columns: minmax(0, 1fr);
  max-width: 74ch;
  margin-inline: auto;
}
.split-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -.01em;
  color: #f4f2ef;
}

/* liste de liens internes (pages locales) */
.linklist {
  list-style: none;
  margin: 1.2rem 0 1.5rem;
  padding: 0;
  border-top: 1px solid var(--line);
}
.linklist li { border-bottom: 1px solid var(--line); }
.linklist a {
  display: block;
  padding: .7rem 0 .7rem 1.6rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color .2s, padding-left .2s;
}
.linklist a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 11px;
  height: 1px;
  background: var(--accent);
  transform: translateY(-50%);
  transition: width .2s;
}
.linklist a:hover { color: var(--accent); padding-left: 2rem; }
.linklist a:hover::before { width: 20px; }

/* ==========================================================================
   Galerie — photos qui flottent
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.7rem, 1.4vw, 1.15rem);
}
.gallery--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* même langage que les plaques des partenaires : une photo posée sur le mur,
   sans bordure, sans cadre, avec une ombre courte dessous */
.gallery figure {
  margin: 0;
  position: relative;
  border: 0;
  border-radius: 4px;
  background: #101114;
  box-shadow: 0 18px 28px -22px rgba(0, 0, 0, .95);
  transform: translateZ(0);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s;
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery figure:hover {
  /* la photo se détache : elle monte et l'ombre s'allonge sous elle */
  transform: translateY(-8px);
  box-shadow: 0 30px 38px -24px rgba(0, 0, 0, .95);
  z-index: 3;
}
.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.gallery figure:hover img { transform: scale(1.04); }

/* ==========================================================================
   Encarts, cartes, boutons
   ========================================================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.card {
  position: relative;
  padding: 1.7rem 1.6rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .03));
  border: 1px solid var(--line);
  box-shadow: 0 24px 40px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: rgba(255, 47, 144, .55); transform: translateY(-3px); }
.card h3 { margin-bottom: .5rem; color: var(--accent); }
.card p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.7rem 2rem;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(255, 47, 144, .22), transparent 60%),
    linear-gradient(140deg, #26262b, #171719 62%, #222227);
  border: 1px solid rgba(255, 47, 144, .30);
  color: var(--ink);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .10);
}
.callout p { margin: 0; font-family: var(--font-display); font-size: 1.22rem; }
.callout .btn { flex-shrink: 0; }

/* ==========================================================================
   Bandeau fournisseurs & partenaires (bas de l'accueil)
   ========================================================================== */

.partners { padding-top: clamp(1rem, 2vw, 1.6rem); }
.partner-head {
  display: grid;
  gap: .5rem;
  justify-items: center;
  text-align: center;
  margin-bottom: clamp(1.3rem, 2.6vw, 2rem);
}
.partner-head .rose-title { margin: 0; }
.partner-lead {
  max-width: 62ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: .96rem;
}
.partner-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(.6rem, 1.4vw, 1.1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.partner-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  width: clamp(9rem, 13vw, 12rem);
  height: clamp(4.4rem, 6.4vw, 5.6rem);
  padding: .7rem 1rem;
  border-radius: 4px;
  background: #eff0f2;
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 18px 28px -22px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.partner-plate img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .82;
  transition: filter .3s, opacity .3s;
}
.partner-plate:hover img { filter: grayscale(0); opacity: 1; }
.partner-plate[style] img { transform: scale(var(--s, 1)); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .82rem 1.55rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  background-image: var(--shimmer);
  background-size: 200% 100%;
  animation: shimmerX 6s linear infinite;
  color: #fff;
  box-shadow: 0 18px 30px -16px rgba(255, 47, 144, .85), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .2s, box-shadow .2s;
}
@media (prefers-reduced-motion: reduce) {
  .btn,
  .header-phone,
  .nav a::after,
  .nav a::before { animation: none; }
}
.btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 24px 38px -16px rgba(255, 47, 144, .95), inset 0 1px 0 rgba(255, 255, 255, .45);
}

.btn--ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover {
  border-color: transparent;
  color: #fff;
  background-image: var(--shimmer);
  background-size: 200% 100%;
  animation: shimmerX 6s linear infinite;
  box-shadow: 0 0 30px -10px var(--accent-glow);
}

/* ==========================================================================
   Section atelier
   ========================================================================== */

.atelier-section { padding-top: clamp(2rem, 4vw, 3.2rem); }
.atelier-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: start;
}
.atelier-text { padding-top: clamp(.5rem, 2vw, 2.5rem); }
.atelier-text h2 { margin: .2rem 0 .9rem; }
.atelier-text p { color: var(--ink-soft); }
.atelier-points {
  list-style: none;
  margin: 1.2rem 0 1.6rem;
  padding: 0;
  border-top: 1px solid var(--line);
}
.atelier-points li {
  padding: .62rem 0 .62rem 1.6rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: .93rem;
  color: var(--ink-soft);
}
.atelier-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 9px;
  height: 9px;
  border: 2px solid var(--accent);
  transform: rotate(45deg);
}
.atelier-frame img { aspect-ratio: 4 / 3.4; object-position: center 32%; }

/* ==========================================================================
   Pied de page
   ========================================================================== */

.site-footer {
  background: linear-gradient(180deg, rgba(12, 12, 14, .55), rgba(12, 12, 14, .92) 60%, #0e0e10);
  border-top: 1px solid rgba(255, 47, 144, .30);
  color: var(--ink-soft);
  padding: 3.5rem 0 2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.site-footer h2 {
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .42rem; }
.footer-grid a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .89rem;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.footer-grid a:hover { color: #fff; border-bottom-color: var(--accent); }

.footer-brand { color: var(--ink); }
.footer-logo {
  display: block;
  height: 118px;
  width: auto;
  margin-bottom: 1.3rem;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .7));
}
.footer-brand p { font-size: .9rem; color: var(--ink-dim); max-width: 34ch; }
/* label Artisan d'Art, présent sur toutes les pages */
.footer-label {
  display: block;
  height: 124px;
  width: auto;
  margin-top: 1.3rem;
  background: #fff;
  border-radius: 4px;
  padding: 7px 10px;
  box-shadow: 0 12px 26px -18px #000;
}
.footer-phone {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  text-decoration: none;
}
.footer-phone:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--ink-dim);
}
.footer-bottom a { color: var(--ink-dim); }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Visionneuse
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgba(8, 8, 10, .93);
  backdrop-filter: blur(8px);
  padding: 2rem;
}
.lightbox[open] { display: grid; }
.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  width: auto;
  border-radius: 3px;
  box-shadow: 0 50px 90px -30px #000, 0 0 0 1px rgba(255, 47, 144, .45), 0 0 100px -30px var(--accent-glow);
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 47, 144, .35); }

/* ==========================================================================
   Barre d'appel mobile
   ========================================================================== */

.mobilebar { display: none; }

@media (max-width: 760px) {
  .mobilebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    gap: .5rem;
    padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom));
    background: rgba(14, 14, 16, .97);
    border-top: 1px solid rgba(255, 47, 144, .45);
    box-shadow: 0 -10px 30px -18px #000;
  }
  .mobilebar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 3px;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: .02em;
    text-decoration: none;
  }
  .mobilebar__call {
    background: linear-gradient(180deg, var(--accent-vif), var(--accent));
    color: #fff;
  }
  .mobilebar__quote {
    flex: 0 0 32%;
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line-strong);
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  /* menu sur une seule ligne : on resserre plutôt que de passer à la ligne */
  .nav { margin: 0 clamp(.2rem, .8vw, .8rem); }
  .nav a { padding: .45rem .2rem; font-size: .7rem; }
  .header-phone { padding: .5rem .6rem; font-size: .78rem; }
}

@media (max-width: 1100px) {
  :root { --header-h: 94px; }
  .brand-logo { height: 62px; }
}

@media (max-width: 980px) {
  :root { --header-h: 84px; }
  .brand-logo { height: 56px; }
  .hero-home-inner { gap: 1.2rem; }
  /* sur mobile on ne force plus la hauteur de la fenêtre : le cadre garde le
     rapport des photos, sinon le portail est rogné */
  .film-frame--hero { height: auto; display: block; }
  .film-frame--hero .film { aspect-ratio: 4 / 3; }
  .hero-home-media { max-width: 100%; }
  .hero-home-text { text-align: left; }
  .hero-actions { justify-content: flex-start; }
  .hero-home-media::after { display: none; }
  .page-head-inner { grid-template-columns: 1fr; }
  .page-head-text { order: 2; }
  .frame-3d { order: 1; }
  /* sur une seule colonne les photos reprennent leur rapport naturel */
  .page-head-aside {
    grid-template-rows: none;
    align-self: auto;
    order: 1;
  }
  .page-head-aside .frame-3d img { height: auto; aspect-ratio: 4 / 3; }
  .split { grid-template-columns: 1fr; }
  .gallery, .gallery--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .film-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .atelier-inner { grid-template-columns: 1fr; }
  .atelier-frame { order: -1; }
}

@media (max-width: 760px) {
  :root { --header-h: 76px; }
  body { font-size: 16px; padding-bottom: 68px; }

  .brand-logo { height: 54px; }
  .brand-name { font-size: .8rem; }
  .brand-name small { font-size: .54rem; letter-spacing: .1em; }

  .burger { display: block; flex: 0 0 44px; }
  .header-phone { display: none; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(13, 14, 18, .88), rgba(13, 14, 18, .78));
    backdrop-filter: blur(10px) saturate(115%);
    border-bottom: 1px solid rgba(255, 20, 147, .45);
    box-shadow: 0 30px 50px -30px #000;
    display: none;
    max-height: 72vh;
    overflow-y: auto;
  }
  .nav[data-open="true"] { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: .5rem 1rem 1rem; }
  .nav a {
    padding: .8rem .25rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: .9rem;
    text-align: left;
    white-space: normal;
  }
  /* menu déroulant : pas de trait fin, la barre de séparation suffit */
  .nav a::before { display: none; }
  .nav a::after { border-radius: 2px; }

  .hero-copy h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-home-text h1 { font-size: clamp(1.9rem, 8.6vw, 2.7rem); }
  .hero-home { padding-top: 1.4rem; }
  .hero-full { min-height: calc(100svh - var(--header-h)); }

  .trustbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: .7rem;
    padding: .9rem 0;
  }
  .trustbar img { height: 66px; }
  .trustbar ul { flex-direction: column; gap: .2rem; font-size: .8rem; }

  .film-badge { font-size: .6rem; padding: .34rem .6rem; }

  .gallery, .gallery--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer { padding: 2.5rem 0 1.5rem; }
  .footer-logo { height: 72px; }
  .footer-label { height: 84px; }
  .footer-bottom { flex-direction: column; gap: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .frame-3d, .film-frame, .gallery figure { transform: none !important; }
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ==========================================================================
   Titres roses manuscrits, avec les petits traits blancs (code de Samira)
   ========================================================================== */

.rose-title {
  font-family: 'Great Vibes', cursive;
  color: #ff1493;
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.rose-title::before,
.rose-title::after {
  content: '';
  flex-grow: 1;
  height: 3px;
  background: white;
  max-width: 60px;
}

/* ==========================================================================
   PLAQUES SOMBRES SUR LE MÉTAL
   Le code de fond de Samira laisse une plaque claire (pas de background-color,
   donc base blanche) : du texte blanc posé directement dessus disparaît dans
   les zones claires. On pose donc les blocs de texte sur des plaques sombres
   translucides — le métal reste visible autour, entre et derrière.
   ========================================================================== */

.page-head-text,
.prose,
.atelier-text,
.section-title,
.hero-home-text,
.card,
.callout {
  background: linear-gradient(180deg, rgba(13, 14, 18, .84), rgba(13, 14, 18, .74));
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 8px;
  box-shadow:
    0 34px 60px -44px rgba(0, 0, 0, .95),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  padding: clamp(1.25rem, 2.3vw, 2rem) clamp(1.3rem, 2.4vw, 2.1rem);
}

/* une seule plaque par bloc */
.page-head-text .prose,
.page-head-text .prose--tight {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(5px, .7vw, 11px);
}

.hero-home-text {
  max-width: 60rem;
  padding: clamp(1.3rem, 2.4vw, 2rem) clamp(1.5rem, 3vw, 2.6rem);
}

.section-title {
  justify-content: center;
  padding: clamp(.9rem, 1.6vw, 1.3rem) clamp(1.2rem, 2.2vw, 2rem);
}

/* le bandeau de confiance et les cartes gagnent en opacité sur le métal clair */
.trustbar {
  background: linear-gradient(180deg, rgba(13, 14, 18, .84), rgba(13, 14, 18, .74));
  border-top: 1px solid rgba(255, 255, 255, .10);
}
.card, .callout { backdrop-filter: blur(4px); }

/* les ancres ne doivent pas passer sous le menu collant */
section[id], [id]:target { scroll-margin-top: calc(var(--header-h) + 14px); }

/* --------------------------------------------------------------------------
   Formulaire Elfsight (page contact) : le widget se pose sur une plaque
   -------------------------------------------------------------------------- */
.form-panel {
  position: relative;
  padding: clamp(.9rem, 2vw, 1.8rem);
  background: linear-gradient(180deg, rgba(13, 14, 18, .84), rgba(13, 14, 18, .74));
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 8px;
  box-shadow: 0 34px 60px -44px rgba(0, 0, 0, .95);
  min-height: 320px;
}
.form-panel .elfsight-app-746e0716-7c9c-4526-b683-1e03b84d7a5d {
  min-height: 300px;
}

/* le formulaire vit dans la plaque du haut : pas de deuxième cadre */
.page-head-text .form-panel {
  margin-top: clamp(1.2rem, 2.2vw, 2rem);
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 0;
}

/* le widget Elfsight pose son propre fond dégradé : on le rend transparent
   pour qu'il n'y ait qu'un seul cadre, celui de la plaque du site */
.form-panel .elfsight-app-746e0716-7c9c-4526-b683-1e03b84d7a5d > div > div > div > div > div > div {
  background: transparent !important;
  background-image: none !important;
}

/* galerie Elfsight (page mobilier à vendre) */
.gallery-panel {
  padding: clamp(.9rem, 2vw, 1.8rem);
  /* on réserve la place : le widget Elfsight met une seconde à se dessiner */
  min-height: clamp(420px, 70vh, 1000px);
  background: linear-gradient(180deg, rgba(13, 14, 18, .84), rgba(13, 14, 18, .74));
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 8px;
  box-shadow: 0 34px 60px -44px rgba(0, 0, 0, .95);
  min-height: 320px;
}

/* galeries Elfsight : les photos flottent au-dessus du mur, ombre portée 3D */
.efs-frame {
  padding: 0;
  min-height: clamp(420px, 70vh, 1000px);
  /* le bloc entier se détache du mur : ombre large et douce tout autour */
  box-shadow:
    0 60px 90px -50px rgba(0, 0, 0, .95),
    0 26px 46px -26px rgba(0, 0, 0, .8);
}
.efs-frame > div[class*="elfsight-app-"] {
  width: 100%;
}
/* le widget peint son propre fond gris : on le retire pour que les photos
   flottent directement au-dessus du mur métal */
.efs-frame [class*="EmbedRoot__Root"],
.gallery-panel [class*="EmbedRoot__Root"] {
  background: transparent !important;
}
.efs-frame [class*="Masonry__Container"],
.efs-frame [class*="ItemGrid__Grid"],
.gallery-panel [class*="Masonry__Container"],
.gallery-panel [class*="ItemGrid__Grid"] {
  overflow: visible;
}
.efs-frame { padding: 0; }
/* une seule ombre, portée par le bloc entier : les photos flottent au-dessus
   du mur sans qu'un voile translucide se glisse entre elles */
.efs-frame > div[class*="elfsight-app-"] {
  box-shadow: 0 28px 46px -34px rgba(0, 0, 0, .9);
}
/* un peu d'air entre les photos : l'ombre tombe sur le mur, pas sur la voisine */
.efs-frame [class*="MasonryItem__Content"],
.gallery-panel [class*="MasonryItem__Content"] {
  /* les photos se touchent : aucun interstice qui laisse voir le mur */
  padding: 0;
}
.efs-frame [class*="MasonryItem__Item"],
.gallery-panel [class*="MasonryItem__Item"] {
  border: 0 !important;
  outline: 0 !important;
  background: transparent;
  box-shadow: none;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s;
}

/* ==========================================================================
   Flux Facebook (Elfsight Social Feed)
   ========================================================================== */

.fb-head {
  display: grid;
  gap: .5rem;
  justify-items: center;
  text-align: center;
  margin-bottom: .5rem;
}
.fb-head .rose-title { margin: 0; }
.fb-lead {
  max-width: 64ch;
  margin: 0 auto clamp(1.2rem, 2.4vw, 1.8rem);
  text-align: center;
  color: var(--ink-soft);
  font-size: .96rem;
}
.fb-panel {
  padding: clamp(.8rem, 1.6vw, 1.4rem);
  /* on réserve la place : le widget se dessine une fois arrivé à l'écran */
  min-height: clamp(360px, 55vh, 720px);
  background: linear-gradient(180deg, rgba(13, 14, 18, .84), rgba(13, 14, 18, .74));
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 8px;
  box-shadow: 0 34px 60px -44px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.fb-panel [class*="EmbedRoot__Root"] { background: transparent !important; }
.fb-panel > div[class*="elfsight-app-"] { width: 100%; }

.efs-frame [class*="MasonryItem__Item"]:hover,
.gallery-panel [class*="MasonryItem__Item"]:hover {
  /* la photo se soulève : une ombre longue qui tombe sous elle et la détache
     du mur. Aucun halo, aucune bordure : rien qui fasse cadre autour de l'image */
  transform: translateY(-8px);
  box-shadow: 0 30px 34px -22px rgba(0, 0, 0, .92);
  border: 0 !important;
  outline: 0 !important;
  z-index: 3;
}
