/* =========================================================
   Concert Portfolio – main.css
   Dark • Cinematic • Editorial
   ========================================================= */

/* ── Police locale : MetaAccanthisAlternate ─────────────── */
@font-face {
  font-family: 'MetaAccanthis';
  src: url('../fonts/MetaAccanthisAlternate.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ── Reset & Variables ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Palette sombre ────────────────────────────────────── */
  --bg:       #0f0e0c;       /* noir chaud */
  --surface:  #f0ece4;       /* crème légèrement plus sombre */
  --border:   #2a2420;       /* bordure sombre */
  --text:     #f0ece4;       /* crème clair */
  --muted:    #7a6e62;       /* brun moyen */
  --accent:   #e06030;       /* terracotta lumineux */
  --accent2:  #4a7c59;       /* vert mousse */
  --accent3:  #d4943a;       /* ocre/miel */
  --white:    #f5f0e8;

  --font-display: 'MetaAccanthis', 'Gluten', cursive;
  --font-ui:      'Bricolage Grotesque', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --nav-h:    72px;
  --ease:     cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

html {
  scroll-behavior: auto; /* géré par JS uniquement sur clic */
  overflow-y: scroll;    /* scrollbar toujours visible → aucun saut à l'ouverture du menu */
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
  /* Texture grain organique subtile */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-ui); }

/* ── Custom cursor — cercle glassmorphism ────────────────── */
@media (pointer: fine) {
  *, *::before, *::after { cursor: none !important; }
}

.cursor {
  position: fixed;
  width: 10px; height: 10px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  /* Glassmorphism : fond semi-transparent + blur */
  background: rgba(240, 236, 228, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(240, 236, 228, 0.35);
  box-shadow: inset 0 0 6px rgba(240, 236, 228, 0.1),
              0 2px 8px rgba(0, 0, 0, 0.2);
  transition: width  0.3s cubic-bezier(0.16,1,0.3,1),
              height 0.3s cubic-bezier(0.16,1,0.3,1),
              opacity 0.3s,
              background 0.3s,
              border-color 0.3s;
}

/* Grossit au hover — même taille que la v1 */
.cursor.hovering {
  width: 40px;
  height: 40px;
  background: rgba(224, 96, 48, 0.12);
  border-color: rgba(224, 96, 48, 0.5);
  box-shadow: inset 0 0 10px rgba(224, 96, 48, 0.1),
              0 2px 12px rgba(224, 96, 48, 0.15);
}

body:not(:hover) .cursor { opacity: 0; }

/* Sur fond sombre du menu : légèrement plus visible */
body.menu-open .cursor {
  background: rgba(240, 236, 228, 0.18);
  border-color: rgba(240, 236, 228, 0.5);
}

/* ── Compenser le padding-right menu ouvert ─────────────── */
body.menu-open .site-header { padding-right: calc(48px + var(--scrollbar-width, 0px)); }

/* ── Loader ─────────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0;
  background: #0f0e0c;
  display: flex; align-items: center; justify-content: center;
  z-index: 9000;
  /* Grain sur le loader aussi */
  transition: opacity .6s var(--ease);
}
#loader.hidden { opacity: 0; pointer-events: none; }
.loader-word {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 100px);
  font-weight: 300;
  color: #e06030;
  letter-spacing: .04em;
  animation: loaderPulse 1.4s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: .3; }
  50%       { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION — statique, noir semi-transparent, même partout
   ═══════════════════════════════════════════════════════════ */

/* Header : statique (ne suit pas le scroll), noir semi-transparent */
.site-header {
  position: relative;
  top: auto; left: auto; right: auto;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 48px;
  z-index: 200;
  background: transparent;
  /* Pas de backdrop-filter au repos — le header est complètement invisible */
  transition: background 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease),
              -webkit-backdrop-filter 0.3s var(--ease);
}

/* Au hover : fond semi-transparent + blur */
.site-header:hover {
  background: rgba(18, 14, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Logo */
.site-logo {
  font-family: var(--font-ui);
  font-size: 18px; font-weight: 700;
  letter-spacing: .02em;
  color: #0f0e0c;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity .25s;
}
.site-logo:hover { opacity: .7; }

/* Liens de navigation */
.site-nav {
  display: flex; align-items: center;
  gap: 4px;
}
.site-nav a {
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(245,240,232,0.75);
  padding: 0 24px;
  position: relative;
  text-decoration: none;
  transition: color .25s;
}
.site-nav a:hover { color: #0f0e0c; }
/* Soulignement au hover */
.site-nav a::after {
  content: '';
  position: absolute; bottom: -4px; left: 24px; right: 24px;
  height: 1px; background: #0f0e0c;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav a:hover::after,
.site-nav a.current-menu-item::after { transform: scaleX(1); }
/* Séparateurs */
.site-nav a + a::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  height: 12px; width: 1px;
  background: rgba(245,240,232,0.2);
}

/* Plus besoin du floating-nav-text ni du nav-trigger
   puisque le header est statique — on les masque proprement */
.floating-nav-text,
.nav-trigger { display: none; }

/* homepage : le site-header est visible comme partout */
.home-page .mobile-menu { display: none !important; }

/* ─────────────────────────────────────────────────────────
   HEADER — Layout 3 zones : Instagram | Titre | Nav
   ───────────────────────────────────────────────────────── */
.site-header {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* Zone gauche : navigation */
.site-header__left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.site-header__instagram {
  color: rgba(240,236,228,0.7);
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.25s, transform 0.25s;
}
.site-header__instagram:hover {
  color: #f0ece4;
  transform: scale(1.15);
}

/* Zone centre : "Maoui !" en MetaAccanthis */
.site-header__title {
  font-family: 'MetaAccanthis', cursive;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 900;
  color: #f0ece4;
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-align: center;
  transition: opacity 0.25s;
}
.site-header__title:hover { opacity: 0.65; }

/* Zone droite : nav alignée à droite, sans séparateurs */
.site-header__right {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  margin-left: 0 !important;
}

/* Hamburger mobile */
.nav-toggle {
  display: none !important;
  flex-direction: column; gap: 5px;
  width: 30px; padding: 4px 0;
  margin-left: auto;
}
.nav-toggle span {
  display: block; height: 1.5px;
  background: var(--text);
  transition: transform .3s, opacity .3s, width .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: #111110;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 40px; z-index: 90;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 300; color: var(--text);
  letter-spacing: .04em; transition: color .3s;
}
.mobile-menu a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE — Layout 3 colonnes + scroll-jack
   ═══════════════════════════════════════════════════════════ */

/* La homepage a son propre fond */
.home-page {
  background: #0f0e0c;
  color: #f0ece4;
  cursor: none;
}
.home-page body { background: #0f0e0c; }

/* Variables homepage */
.home-page {
  --hp-bg:    #0f0e0c;
  --hp-text:  #f0ece4;
  --hp-muted: #7a6e62;
}

/* Zone scroll-jack : hauteur = nb de slides × 100vh */
.scroll-zone {
  position: relative;
}
.scroll-zone .sticky-hero {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* Grain texture subtil */
.scroll-zone .sticky-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 50;
}

/* Grille 3 colonnes */
.hero-3col {
  display: grid;
  grid-template-columns: 1fr 380px 1fr;
  height: 100%;
  background: #0f0e0c;
}

/* ── Col gauche : Artiste ──────────────────────────────── */
.col-artist {
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 60px;
  position: relative;
}
.col-artist::after {
  content: '';
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  height: 100px; width: 1px;
  background: linear-gradient(to bottom, transparent, #7a6e62, transparent);
  opacity: .4;
}

.artist-wrap { text-align: right; }

.col-label {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: .22em;
  text-transform: uppercase; color: #7a6e62;
  display: block; margin-bottom: 14px;
}

.artist-name {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 44px);
  font-weight: 400; line-height: 1.05;
  color: #f0ece4;
}
.artist-name-inner {
  display: block;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.text-exit-up   { opacity: 0; transform: translateY(-14px); }
.text-enter-up  { opacity: 0; transform: translateY(14px); }
.text-exit-down { opacity: 0; transform: translateY(14px); }
.text-enter-down{ opacity: 0; transform: translateY(-14px); }

/* ── Col centre : Stack de cartes ─────────────────────── */
.col-cards {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

.cards-stack {
  position: relative;
  width: 320px; height: 440px;
}

.photo-card {
  position: absolute; inset: 0;
  border-radius: 2px; overflow: hidden;
  will-change: transform, opacity;
  transition: transform .7s var(--ease-out), opacity .5s var(--ease);
  box-shadow: 0 20px 60px -10px rgba(26,23,20,.12);
}
.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  pointer-events: none; user-select: none;
}
.photo-card .card-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 72px; opacity: .1; color: #f0ece4;
}

/* États de position des cartes */
.photo-card[data-state="active"]     { transform: translateY(0)     scale(1);    opacity: 1; z-index: 10; }
.photo-card[data-state="prev"]       { transform: translateY(-108%) scale(.96);  opacity: 0; z-index: 5; }
.photo-card[data-state="next"]       { transform: translateY(108%)  scale(.96);  opacity: 0; z-index: 5; }
.photo-card[data-state="far-prev"]   { transform: translateY(-200%) scale(.92);  opacity: 0; z-index: 1; }
.photo-card[data-state="far-next"]   { transform: translateY(200%)  scale(.92);  opacity: 0; z-index: 1; }

/* Compteur sous la carte */
.card-counter {
  position: absolute;
  bottom: -36px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: .18em;
  color: #7a6e62;
}

/* ── Col droite : Lieu + Année ────────────────────────── */
.col-venue {
  display: flex; align-items: center; justify-content: flex-start;
  padding-left: 60px;
  position: relative;
}
.col-venue::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  height: 100px; width: 1px;
  background: linear-gradient(to bottom, transparent, #7a6e62, transparent);
  opacity: .4;
}

.venue-wrap { text-align: left; }
.venue-inner {
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}

.venue-name {
  font-family: var(--font-ui);
  font-size: clamp(13px, 1.3vw, 18px);
  font-weight: 500; line-height: 1.35;
  color: #f0ece4; margin-bottom: 10px;
}
.venue-year {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 300; font-style: italic;
  color: #f0ece4; line-height: 1;
  opacity: .14;
}

/* ── Dots de navigation ───────────────────────────────── */
.progress-dots {
  position: fixed;
  right: 32px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column;
  gap: 10px; z-index: 100;
}
.progress-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #7a6e62; opacity: .3;
  cursor: pointer;
  transition: opacity .3s, transform .3s, background .3s;
  border: none; padding: 0;
}
.progress-dot.active {
  opacity: 1; transform: scale(1.7);
  background: #f0ece4;
}

/* ── Section portfolio après scroll ──────────────────── */
.hp-after {
  background: #0f0e0c;
  padding: 120px 48px 80px;
  border-top: 1px solid rgba(26,23,20,.07);
}
.hp-after-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 300; line-height: .95;
  color: #f0ece4; text-align: center;
  margin-bottom: 80px;
}
.hp-after-title em { font-style: italic; opacity: .4; }

/* ── Marquee (homepage) ───────────────────────────────── */
.marquee-strip {
  background: #f0ece4;
  padding: 14px 0; overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase;
  color: #0f0e0c;
  padding: 0 32px; opacity: .7;
}
.marquee-track span::before { content: '◆ '; opacity: .4; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Responsive homepage ──────────────────────────────── */
@media (max-width: 900px) {
  .hero-3col { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .col-artist { justify-content: center; padding: 32px 24px 16px; text-align: center; }
  .col-artist::after { display: none; }
  .artist-wrap { text-align: center; }
  .col-cards { padding: 0; }
  .cards-stack { width: 260px; height: 360px; }
  .col-venue { justify-content: center; padding: 40px 24px 32px; }
  .col-venue::before { display: none; }
  .venue-wrap { text-align: center; }
  .progress-dots { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   PAGES INTÉRIEURES — fond sombre conservé
   ═══════════════════════════════════════════════════════════ */

/* Hero pages projet (inchangé) */
.hero__scroll {
  position: absolute; bottom: 40px; right: 40px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); writing-mode: vertical-rl;
  animation: fadeIn 1s var(--ease-out) 1.4s both;
}
.hero__scroll::before {
  content: '';
  display: block; width: 1px; height: 60px;
  background: var(--muted);
  animation: scrollLine 1.5s ease-in-out 2s infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(1); transform-origin: top; }
  50%  { transform: scaleY(0); transform-origin: top; }
  51%  { transform: scaleY(0); transform-origin: bottom; }
  100% { transform: scaleY(1); transform-origin: bottom; }
}

/* ── Marquee strip ──────────────────────────────────────── */
.marquee-strip {
  background: var(--accent);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 25s linear infinite;
}
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bg);
  padding: 0 32px;
}
.marquee-track span::before { content: '◆ '; opacity: .5; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Section titles ─────────────────────────────────────── */
.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 80px 40px 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
}

/* ── Filter bar ─────────────────────────────────────────── */
.filter-bar {
  display: flex; align-items: center; gap: 4px;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-btn {
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
  padding: 8px 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all .25s;
  white-space: nowrap;
}
.filter-btn:hover { color: var(--text); border-color: var(--border); }
.filter-btn.active { color: var(--bg); background: var(--accent); border-color: var(--accent); }

/* ── Portfolio grid — masonry ───────────────────────────────── */
.portfolio-grid {
  columns: 3;
  column-gap: 6px;
  padding: 6px;
}
@media (max-width: 1024px) {
  .portfolio-grid { columns: 2; }
}
@media (max-width: 600px) {
  .portfolio-grid { columns: 1; }
}

.project-card {
  break-inside: avoid;
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  /* Pas d'aspect-ratio — format original préservé */
}

.project-card__img {
  width: 100%;
  height: auto;        /* format original, pas de crop */
  object-fit: unset;
  display: block;
  transition: transform .6s var(--ease), filter .4s;
  filter: brightness(.85) saturate(.9);
}
.project-card:hover .project-card__img {
  transform: scale(1.04);
  filter: brightness(.6) saturate(.8);
}

.project-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.9) 0%, transparent 50%);
  opacity: 1;
  transition: opacity .4s;
}
.project-card:hover .project-card__overlay { opacity: 1; }

.project-card__info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px;
  transform: translateY(8px);
  transition: transform .4s var(--ease);
}
.project-card:hover .project-card__info { transform: translateY(0); }

.project-card__artist {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
}
.project-card__venue {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s .1s, transform .3s .1s;
}
.project-card:hover .project-card__venue { opacity: 1; transform: translateY(0); }

.project-card__arrow {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .3s, transform .3s;
  color: var(--text); font-size: 16px;
}
.project-card:hover .project-card__arrow { opacity: 1; transform: scale(1); }

/* No image placeholder */
.project-card__placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  /* Fond par défaut, remplacé inline par PHP */
  background: var(--surface);
}

/* Grain texture sur le placeholder */
.project-card__placeholder::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Numéro du projet */
.project-card__placeholder-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,236,228,0.3);
  position: absolute;
  top: 20px; left: 20px;
}

/* Nom de l'artiste centré */
.project-card__placeholder-name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 900;
  color: rgba(240,236,228,0.18);
  text-align: center;
  padding: 0 20px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

/* Icône note de musique */
.project-card__placeholder-icon {
  font-size: 28px;
  opacity: 0.12;
  position: relative;
  z-index: 1;
}

/* ── Load more ──────────────────────────────────────────── */
.load-more-wrap {
  display: flex; justify-content: center;
  padding: 60px 40px;
  border-top: 1px solid var(--border);
}
.btn-load-more {
  font-family: var(--font-ui);
  font-size: 12px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 36px;
  border-radius: 999px;
  transition: all .3s;
  position: relative; overflow: hidden;
}
.btn-load-more::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
  z-index: -1;
}
.btn-load-more:hover { color: var(--bg); border-color: var(--accent); }
.btn-load-more:hover::before { transform: scaleX(1); }

/* ── About section ──────────────────────────────────────── */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  border-top: 1px solid var(--border);
}
.about-visual {
  position: relative; overflow: hidden;
  border-right: 1px solid var(--border);
}
.about-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
  transition: transform 1s var(--ease);
}
.about-visual:hover img { transform: scale(1.04); }
.about-visual__num {
  position: absolute; bottom: 24px; left: 24px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .15em;
  color: var(--accent);
}

.about-content {
  padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
  gap: 32px;
}
.about-content .section-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300; line-height: 1.1;
}
.about-content h2 em { font-style: italic; color: var(--accent); }
.about-content p {
  font-size: 16px; line-height: 1.8;
  color: rgba(240,236,228,.7);
  max-width: 480px;
}
.about-stats {
  display: flex; gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 42px; font-weight: 300;
  color: var(--accent); line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}

/* ── Single project ─────────────────────────────────────── */
.project-hero {
  height: 100vh; position: relative;
  display: flex; align-items: flex-end; overflow: hidden;
}
.project-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.6);
}
.project-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg) 100%);
}
.project-hero__content {
  position: relative; z-index: 2;
  padding: 0 60px 80px;
}
.project-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.project-hero__title {
  font-family: var(--font-display);
  font-size: clamp(60px, 8vw, 120px);
  font-weight: 300; line-height: .92;
  color: var(--text);
}
.project-hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 26px);
  font-style: italic;
  color: rgba(240,236,228,.6);
  margin-top: 20px; max-width: 600px;
}

.project-meta-bar {
  display: flex; gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0 0 2px;
}
.meta-item {
  flex: 1;
  padding: 28px 40px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px;
}
.meta-item:last-child { border-right: none; }
.meta-label {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted);
}
.meta-value {
  font-family: var(--font-ui);
  font-size: 15px; font-weight: 600;
  color: var(--text);
}

.project-description {
  padding: 80px 60px;
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300; line-height: 1.6;
  color: rgba(240,236,228,.8);
}

.project-gallery {
  columns: 3;
  column-gap: 6px;
  padding: 6px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 6px;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
}
/* Pas d'aspect-ratio forcé — la photo garde son format original */
.gallery-item img {
  width: 100%;
  height: auto;        /* format original préservé — pas de crop */
  object-fit: unset;
  display: block;
  transition: transform .6s var(--ease), filter .4s;
}
.gallery-item:hover img {
  transform: scale(1.03);
  filter: brightness(1.08);
}

/* Responsive masonry */
@media (max-width: 1024px) {
  .project-gallery { columns: 2; }
}
@media (max-width: 600px) {
  .project-gallery { columns: 1; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 8000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 0 80px rgba(0,0,0,.8);
}
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  font-family: var(--font-mono);
  font-size: 22px; color: var(--muted);
  transition: color .3s;
}
.lightbox-close:hover { color: var(--text); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 32px; color: var(--muted);
  transition: color .3s; padding: 20px;
}
.lightbox-nav:hover { color: var(--text); }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }

/* Next project */
.next-project {
  display: block;
  padding: 80px 60px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .3s;
}
.next-project:hover { background: var(--surface); }
.next-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 12px;
}
.next-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 300; color: var(--text);
}
.next-arrow {
  font-size: 48px; color: var(--accent);
  transform: translateX(0);
  transition: transform .4s var(--ease);
}
.next-project:hover .next-arrow { transform: translateX(12px); }

/* ── Contact section ────────────────────────────────────── */
.contact-section {
  padding: 120px 60px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.contact-section h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 300; line-height: .9;
  margin-bottom: 40px;
}
.contact-section h2 em { font-style: italic; color: var(--accent); }
.contact-email {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 36px);
  font-style: italic;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  transition: color .3s;
}
.contact-email:hover { color: var(--bg); background: var(--accent); border-color: var(--accent); }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 18px; color: var(--muted);
  letter-spacing: .06em;
}
.footer-logo span { color: var(--accent); }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
}
.footer-social { display: flex; gap: 20px; }
.footer-social a {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
}
.footer-social a:hover { color: var(--accent); }

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .15s; }
.reveal-delay-2 { transition-delay: .3s; }
.reveal-delay-3 { transition-delay: .45s; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .project-card:nth-child(1)  { grid-column: span 12; }
  .project-card:nth-child(2)  { grid-column: span 6; }
  .project-card:nth-child(3)  { grid-column: span 6; }
  .project-card:nth-child(n+4) { grid-column: span 6; }
  .about-section { grid-template-columns: 1fr; }
  .about-visual { height: 60vw; border-right: none; border-bottom: 1px solid var(--border); }
}

/* ── Tablette (≤ 1024px) — pages intérieures ─────────────── */
@media (max-width: 1024px) {
  /* Portfolio grid : 2 colonnes */
  .portfolio-grid { grid-template-columns: repeat(6, 1fr); }
  .project-card:nth-child(1)  { grid-column: span 6; }
  .project-card:nth-child(n+2) { grid-column: span 3; }

  /* Galerie projet */

  /* Page projet */
  .project-meta-bar { flex-wrap: wrap; }
  .meta-item { flex: 1 1 45%; border-right: none; border-bottom: 1px solid var(--border); }
}

/* ── Mobile L (≤ 768px) — pages intérieures ──────────────── */
@media (max-width: 768px) {
  :root { --nav-h: 58px; }

  /* Nav */
  .site-header { padding: 0 20px; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }

  /* Portfolio */
  .section-header { padding: 60px 20px 32px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .filter-bar { padding: 14px 20px; }
  .portfolio-grid { gap: 1px; padding: 1px; }

  /* Page projet */
  .project-hero__content { padding: 0 20px 48px; }
  .project-meta-bar { flex-direction: column; }
  .meta-item { border-right: none; border-bottom: 1px solid var(--border); padding: 20px 24px; }
  .project-description { padding: 48px 20px; font-size: 18px; }
  .gallery-item:nth-child(n) { grid-column: span 6; }

  /* Footer */
  .site-footer { padding: 28px 20px; flex-direction: column; gap: 16px; }

  /* Sections génériques */
  .about-content { padding: 48px 20px; }
  .about-stats { flex-wrap: wrap; gap: 20px; }
  .contact-section { padding: 64px 20px; }
  .next-project { padding: 48px 20px; }
}

/* ── Mobile S (≤ 480px) — pages intérieures ──────────────── */
@media (max-width: 480px) {
  .project-hero__content { padding: 0 16px 36px; }
  .project-description { padding: 36px 16px; }
  .gallery-item:nth-child(n) { grid-column: span 12; }
  .section-header { padding: 48px 16px 24px; }
  .filter-bar { padding: 12px 16px; }
  .site-footer { padding: 24px 16px; }
  .meta-item { padding: 16px 20px; }
}

/* ═══════════════════════════════════════════════════════════
   HAMBURGER + MENU PLEIN ÉCRAN
   Cercle qui explose depuis le coin haut-droit
   ═══════════════════════════════════════════════════════════ */

/* ── Bouton hamburger ─────────────────────────────────────── */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 700; /* au-dessus du menu plein écran et du cercle */
}
.hamburger__line {
  display: block;
  width: 100%; height: 1.5px;
  background: rgba(240,236,228,0.85);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
              opacity   0.25s,
              width     0.35s cubic-bezier(0.16,1,0.3,1);
  transform-origin: center;
}
/* État ouvert — croix */
.hamburger.is-open .hamburger__line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.is-open .hamburger__line:nth-child(2) {
  opacity: 0; width: 0;
}
.hamburger.is-open .hamburger__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
/* Hover : ligne du milieu raccourcie */
.hamburger:hover .hamburger__line:nth-child(2) { width: 65%; }

/* ── Cercle d'expansion ───────────────────────────────────── */
.menu-circle {
  position: fixed;
  /* Positionné au coin haut-droit, là où est le hamburger */
  top: 32px;
  right: 48px;
  width: 0; height: 0;
  border-radius: 50%;
  background: #0f0e0c;
  transform: translate(50%, -50%);
  z-index: 650;
  /* scale() via JS — pas de transition initiale */
  transition: none;
  pointer-events: none;
}
.menu-circle.is-expanding {
  /* Taille de départ : 0, la taille finale est calculée par JS */
  transition: width  0.65s cubic-bezier(0.16,1,0.3,1),
              height 0.65s cubic-bezier(0.16,1,0.3,1);
}
.menu-circle.is-collapsing {
  transition: width  0.38s cubic-bezier(0.4,0,1,1),
              height 0.38s cubic-bezier(0.4,0,1,1);
}

/* ── Menu plein écran ─────────────────────────────────────── */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 660;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.fullscreen-menu.is-open {
  pointer-events: auto;
  opacity: 1;
}

.fullscreen-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  transform: translateY(24px);
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1) 0.15s,
              opacity   0.4s                               0.1s;
  opacity: 0;
}
.fullscreen-menu.is-open .fullscreen-menu__inner {
  transform: translateY(0);
  opacity: 1;
}

/* Liens du menu */
.fullscreen-menu__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.fullscreen-menu__links li {
  /* overflow: hidden supprimé — c'était la cause des titres coupés */
  overflow: visible;
}
.fullscreen-menu__links a {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'MetaAccanthis', cursive;
  font-size: clamp(40px, 6vw, 80px); /* desktop */
  font-weight: 900;
  color: rgba(240,236,228,0.85);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1.1;
  white-space: nowrap;
  /* Apparition : grossit depuis le centre */
  transform: scale(0.4);
  opacity: 0;
  transform-origin: center center;
  /* will-change prépare le calque graphique à l'avance — évite le micro décalage */
  will-change: transform, opacity;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1),
              opacity   0.4s cubic-bezier(0.16,1,0.3,1),
              color     0.2s;
  /* Forcer le sous-pixel rendering sur GPU */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.fullscreen-menu.is-open .fullscreen-menu__links a {
  transform: scale(1);
  opacity: 1;
}
/* Tous les liens arrivent en même temps */
.fullscreen-menu__links li a { transition-delay: 0.18s; }

.fullscreen-menu__links a:hover {
  transform: scale(1.05);
}
/* Couleur différente sur chaque lien au hover */
.fullscreen-menu__links li:nth-child(1) a:hover { color: #e06030; } /* terracotta */
.fullscreen-menu__links li:nth-child(2) a:hover { color: #5a9e6a; } /* vert mousse */
.fullscreen-menu__links li:nth-child(3) a:hover { color: #e0a840; } /* ocre */
.fullscreen-menu__links li:nth-child(4) a:hover { color: #7a8fd4; } /* bleu lavande */
.fullscreen-menu__links li:nth-child(5) a:hover { color: #d47aaa; } /* rose */

/* Numéros */
.fullscreen-menu__num {
  font-family: 'Space Mono', monospace;
  font-size: clamp(10px, 1.2vw, 14px);
  font-weight: 400;
  color: #e06030;
  letter-spacing: 0.1em;
  align-self: center;
}

/* Lien Instagram en bas */
.fullscreen-menu__instagram {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(240,236,228,0.4);
  text-decoration: none;
  /* Même animation scale que les titres */
  transform: scale(0.4);
  opacity: 0;
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1),
              opacity   0.4s cubic-bezier(0.16,1,0.3,1),
              color     0.2s;
  transition-delay: 0.18s; /* même délai que les titres */
}
.fullscreen-menu.is-open .fullscreen-menu__instagram {
  transform: scale(1);
  opacity: 1;
}
.fullscreen-menu__instagram:hover { color: rgba(240,236,228,0.8); }

/* Bouton fermer (croix) */
.fullscreen-menu__close {
  /* Position calculée dynamiquement par JS pour correspondre exactement au hamburger */
  position: fixed;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  z-index: 700; /* même z-index que le hamburger */
  padding: 0;
}
.fullscreen-menu__close span {
  position: absolute;
  width: 22px; height: 1.5px;
  background: rgba(240,236,228,0.8);
  border-radius: 2px;
  transform-origin: center;
  transition: background 0.2s;
}
.fullscreen-menu__close span:nth-child(1) { transform: rotate(45deg); }
.fullscreen-menu__close span:nth-child(2) { transform: rotate(-45deg); }
.fullscreen-menu__close:hover span { background: #f0ece4; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  /* .fullscreen-menu__close : position auto via fixed */
  .menu-circle { right: 24px; }
}

/* ═══════════════════════════════════════════════════════════
   GUTENBERG — Canvas stylé aux couleurs du thème
   Toutes les pages WordPress classiques héritent de ces styles
   ═══════════════════════════════════════════════════════════ */

.gutenberg-page {
  min-height: 100vh;
  color: #f0ece4;
}

.gutenberg-content {
  padding: 64px 64px 120px;
  max-width: 1400px;
}

/* ── Titres ───────────────────────────────────────────────── */
.gutenberg-content h1,
.gutenberg-content .wp-block-heading.is-style-h1 {
  font-family: 'MetaAccanthis', cursive;
  font-size: clamp(52px, 9vw, 120px);
  font-weight: 900;
  color: #f0ece4;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 48px;
}
.gutenberg-content h2 {
  font-family: 'MetaAccanthis', cursive;
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 900;
  color: #f0ece4;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 64px 0 32px;
}
.gutenberg-content h3 {
  font-family: 'MetaAccanthis', cursive;
  font-size: clamp(24px, 4vw, 52px);
  font-weight: 900;
  color: #f0ece4;
  line-height: 1.1;
  margin: 48px 0 24px;
}
.gutenberg-content h4, .gutenberg-content h5, .gutenberg-content h6 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 600;
  color: #f0ece4;
  margin: 32px 0 16px;
}

/* ── Paragraphes ──────────────────────────────────────────── */
.gutenberg-content p,
.gutenberg-content .wp-block-paragraph {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.75;
  color: rgba(240, 236, 228, 0.7);
  margin: 0 0 24px;
}

/* ── Liens ────────────────────────────────────────────────── */
.gutenberg-content a {
  color: #e06030;
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 96, 48, 0.3);
  transition: border-color 0.2s;
}
.gutenberg-content a:hover { border-color: #e06030; }

/* ── Images ───────────────────────────────────────────────── */
.gutenberg-content img,
.gutenberg-content figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.gutenberg-content figure {
  margin: 40px 0;
}
.gutenberg-content figcaption {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 236, 228, 0.3);
  text-align: center;
  margin-top: 12px;
}

/* ── Colonnes Gutenberg ───────────────────────────────────── */
.gutenberg-content .wp-block-columns {
  display: flex;
  gap: 40px;
  margin: 48px 0;
}
.gutenberg-content .wp-block-column { flex: 1; }

/* ── Séparateur ───────────────────────────────────────────── */
.gutenberg-content hr,
.gutenberg-content .wp-block-separator {
  border: none;
  border-top: 1px solid rgba(240, 236, 228, 0.1);
  margin: 64px 0;
}

/* ── Citation ─────────────────────────────────────────────── */
.gutenberg-content blockquote,
.gutenberg-content .wp-block-quote {
  border-left: 2px solid #e06030;
  padding: 4px 0 4px 32px;
  margin: 40px 0;
}
.gutenberg-content blockquote p,
.gutenberg-content .wp-block-quote p {
  font-family: 'MetaAccanthis', cursive;
  font-size: clamp(22px, 3vw, 40px);
  font-style: italic;
  color: rgba(240, 236, 228, 0.8);
}
.gutenberg-content .wp-block-quote cite {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 236, 228, 0.35);
}

/* ── Listes ───────────────────────────────────────────────── */
.gutenberg-content ul, .gutenberg-content ol {
  padding-left: 28px;
  margin: 0 0 24px;
}
.gutenberg-content li {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.75;
  color: rgba(240, 236, 228, 0.7);
  margin-bottom: 8px;
}

/* ── Boutons ──────────────────────────────────────────────── */
.gutenberg-content .wp-block-button__link,
.gutenberg-content .wp-element-button {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  border-radius: 999px;
  background: transparent;
  color: #f0ece4;
  border: 1px solid rgba(240, 236, 228, 0.3);
  text-decoration: none;
  display: inline-block;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
  cursor: pointer;
}
.gutenberg-content .wp-block-button__link:hover,
.gutenberg-content .wp-element-button:hover {
  color: #f0ece4;
  border-color: #e06030;
  background: rgba(224, 96, 48, 0.1);
}
/* Bouton rempli */
.gutenberg-content .wp-block-button.is-style-fill .wp-block-button__link {
  background: #e06030;
  border-color: #e06030;
  color: #0f0e0c;
}

/* ── Espacement ───────────────────────────────────────────── */
.gutenberg-content .wp-block-spacer { display: block; }

/* ── Galerie d'images ─────────────────────────────────────── */
.gutenberg-content .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin: 40px 0;
}
.gutenberg-content .wp-block-gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0;
}

/* ── Couleurs Gutenberg ── palette du thème ───────────────── */
.gutenberg-content .has-accent-color          { color: #e06030 !important; }
.gutenberg-content .has-accent-background-color { background: #e06030 !important; }
.gutenberg-content .has-text-color           { color: #f0ece4 !important; }
.gutenberg-content .has-muted-color          { color: rgba(240,236,228,0.45) !important; }

/* ── Pleine largeur (blocs wide/full) ─────────────────────── */
.gutenberg-content .alignwide {
  margin-left: -64px;
  margin-right: -64px;
}
.gutenberg-content .alignfull {
  margin-left: -64px;
  margin-right: -64px;
  border-radius: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .gutenberg-content {
    padding: 48px 24px 80px;
  }
  .gutenberg-content .wp-block-columns {
    flex-direction: column;
    gap: 24px;
  }
  .gutenberg-content .alignwide,
  .gutenberg-content .alignfull {
    margin-left: -24px;
    margin-right: -24px;
  }
}
