/* =========================================================
   DECOFER — style.css
   Direction artistique « Atelier & Braise » :
   fond clair uniforme (#f3efe3) façon papier / acier brossé,
   rehaussé des accents orange feu de la forge.
   ========================================================= */

/* ----------  Variables globales (à modifier ici)  ---------- */
:root {
  /* Palette */
  --fond: #f3efe3;        /* fond général clair (unique) */
  --noir: #1e1d18;        /* encre foncée : titres et texte fort */
  --acier: #ffffff;       /* surfaces / cartes claires */
  --fumee: #e2dccc;       /* bordures discrètes sur fond clair */
  --clair: #f3efe3;       /* ancien « fond clair » = même fond */
  --blanc: #ffffff;
  --braise: #ec6418;      /* orange feu — aplats, boutons, focus */
  --flamme: #f5a723;      /* jaune flamme — décor (braises, poignées) */
  --accent: #bf3d0c;      /* orange foncé — liens et petits textes sur fond clair */
  --gris: #56534b;        /* texte courant sur fond clair */
  --gris-fonce: #4c4f55;  /* texte secondaire sur fond clair */

  /* Typographies */
  --font-display: "Big Shoulders Display", Impact, sans-serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;

  /* Rythme */
  --container: 1160px;
  --section-pad: clamp(4rem, 9vw, 7.5rem);
  --radius: 10px;

  /* Transitions */
  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ----------  Base  ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* L'attribut hidden gagne toujours, même sur les éléments avec un display explicite */
[hidden] { display: none !important; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--gris);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

/* Focus clavier visible partout */
:focus-visible {
  outline: 2px solid var(--flamme);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

/* ----------  Titres & étiquettes  ---------- */
.eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow--dark { color: var(--accent); }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: .95;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--noir);
  margin-bottom: 1.2rem;
}
.section-title em {
  font-style: normal;
  color: var(--braise);
}
.section-title--dark { color: var(--noir); }

.section-lead {
  max-width: 46ch;
  margin-bottom: 3rem;
}

/* ----------  Boutons  ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  text-decoration: none;
  padding: .95rem 1.9rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn--fire {
  background: linear-gradient(120deg, var(--braise), #d3480c);
  color: var(--blanc);
  box-shadow: 0 8px 24px rgba(236, 100, 24, .28);
}
.btn--fire:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(236, 100, 24, .42);
}
.btn--ghost {
  border-color: var(--noir);
  color: var(--noir);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--flamme);
  color: var(--flamme);
}

/* =========================================================
   EN-TÊTE STICKY
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: .9rem;
  transition: background .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
}
/* État « scrollé » ajouté par script.js */
.header.is-scrolled {
  background: rgba(243, 239, 227, .92);
  backdrop-filter: blur(10px);
  padding-block: .55rem;
  box-shadow: 0 6px 24px rgba(30, 29, 24, .12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}
/* Pastille blanche pour le logo (fichier sur fond blanc) */
.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blanc);
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.nav-logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }

.nav-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: .06em;
  color: var(--noir);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}
.nav-link {
  font-size: .92rem;
  font-weight: 500;
  color: var(--gris);
  text-decoration: none;
  padding-block: .3rem;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--noir);
  border-bottom-color: var(--braise);
}
.nav-link--cta {
  border: 1px solid var(--braise);
  border-radius: var(--radius);
  padding: .5rem 1.1rem;
  color: var(--noir);
}
.nav-link--cta:hover {
  background: var(--braise);
  color: var(--blanc);
  border-bottom-color: transparent;
}

/* Burger mobile */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: .4rem;
}
.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--noir);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 7.5rem 4rem;
  background:
    radial-gradient(60% 50% at 75% 85%, rgba(236, 100, 24, .12), transparent 70%),
    radial-gradient(45% 40% at 15% 10%, rgba(245, 167, 35, .10), transparent 70%),
    var(--fond);
  overflow: hidden;
}

/* Canvas des braises flottantes */
.hero-embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 9vw, 6.8rem);
  line-height: .92;
  text-transform: uppercase;
  color: var(--noir);
  margin-bottom: 1.6rem;
}
.hero-line { display: block; }
.hero-line--accent {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--braise);
}

/* Apparition orchestrée des lignes du titre */
.hero-line {
  opacity: 0;
  transform: translateY(28px);
  animation: hero-rise .8s var(--ease) forwards;
}
.hero-line:nth-child(1) { animation-delay: .05s; }
.hero-line:nth-child(2) { animation-delay: .16s; }
.hero-line:nth-child(3) { animation-delay: .27s; }
.hero-line:nth-child(4) { animation-delay: .4s; }
@keyframes hero-rise {
  to { opacity: 1; transform: none; }
}

.hero-text {
  max-width: 44ch;
  margin-bottom: 2.2rem;
  opacity: 0;
  animation: hero-rise .8s var(--ease) .55s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: hero-rise .8s var(--ease) .68s forwards;
}
.hero-eyebrow {
  opacity: 0;
  animation: hero-rise .8s var(--ease) 0s forwards;
}

.hero-figure {
  position: relative;
  opacity: 0;
  animation: hero-rise 1s var(--ease) .35s forwards;
}
.hero-img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow:
    0 26px 55px rgba(30, 29, 24, .18),
    0 0 80px rgba(236, 100, 24, .12);
}
.hero-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blanc);
  background: rgba(19, 20, 23, .72);
  padding: .45rem .8rem;
  border-left: 3px solid var(--braise);
  border-radius: 4px;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gris);
  text-decoration: none;
}
.hero-scroll-line {
  width: 42px;
  height: 1px;
  background: var(--braise);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  50% { transform: scaleX(.4); opacity: .4; }
}

/* =========================================================
   SECTIONS GÉNÉRIQUES + DÉCOUPES PLASMA
   ========================================================= */
.section { padding-block: var(--section-pad); }
.section--dark { background: var(--fond); }
.section--light {
  background: var(--fond);
  color: var(--gris-fonce);
}

/* Découpe irrégulière entre deux sections, comme une tôle
   déchirée à la torche plasma (clip-path en zigzag) */
.cut {
  height: 46px;
  clip-path: polygon(0 0, 4% 62%, 9% 18%, 15% 78%, 22% 30%, 28% 88%,
    36% 22%, 43% 70%, 50% 12%, 57% 74%, 64% 28%, 71% 82%,
    78% 20%, 85% 66%, 92% 26%, 100% 72%, 100% 100%, 0 100%);
}
.cut--to-light { background: var(--fond); margin-bottom: -1px; }
.cut--to-light + .section--light { margin-top: -47px; padding-top: calc(var(--section-pad) + 47px); }
.cut--to-dark { background: var(--fond); margin-bottom: -1px; }
.cut--to-dark + .section--dark { margin-top: -47px; padding-top: calc(var(--section-pad) + 47px); }
/* Les découpes se posent sur la section suivante */
.cut { position: relative; z-index: 2; }

/* Révélation au défilement (classe ajoutée par script.js) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   COMPARATEUR AVANT / APRÈS (élément signature)
   ========================================================= */
.compare-section { text-align: left; }

.compare {
  position: relative;
  /* largeur bornée par la hauteur d'écran pour voir l'image en entier sur PC */
  max-width: min(480px, 52vh);
  margin-inline: auto;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 26px 60px rgba(30, 29, 24, .20),
    0 0 90px rgba(236, 100, 24, .10);
  user-select: none;
  touch-action: none;
}
.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Couche « après » (allumé), rognée horizontalement */
.compare-after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  /* la largeur visible est pilotée par --pos (script.js) */
  clip-path: inset(0 0 0 var(--pos, 50%));
}
.compare-after .compare-img { position: absolute; inset: 0; }

/* Poignée verticale */
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
}
.compare-handle-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--flamme);
  box-shadow: 0 0 14px rgba(245, 167, 35, .8);
}
.compare-handle-knob {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--flamme);
  color: var(--noir);
  font-size: 1.2rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .5);
}

/* Le vrai contrôle : un range invisible qui couvre tout,
   accessible au clavier et aux lecteurs d'écran */
.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}

.compare-tag {
  position: absolute;
  top: 1rem;
  z-index: 3;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .4rem .8rem;
  border-radius: 4px;
  pointer-events: none;
  transition: opacity .25s ease;
}
.compare-tag.is-hidden { opacity: 0; }
.compare-tag--before { left: 1rem; background: rgba(19,20,23,.75); color: var(--clair); }
.compare-tag--after { right: 1rem; background: rgba(236,100,24,.9); color: var(--blanc); }

/* =========================================================
   L'ATELIER — à propos + équipe
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.about-content p { margin-bottom: 1.1rem; }
.about-content strong { color: var(--noir); }

.about-points {
  list-style: none;
  margin-top: 1.6rem;
  border-top: 1px solid rgba(19, 20, 23, .12);
}
.about-points li {
  padding: .9rem 0;
  border-bottom: 1px solid rgba(19, 20, 23, .12);
}
.about-points strong { color: var(--accent); }

/* Équipe en mosaïque décalée */
.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.team-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(19, 20, 23, .18);
}
.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.team-card:hover img { transform: scale(1.05); }
.team-card--wide { grid-column: 1 / -1; }
.team-card--wide img { height: 380px; object-position: center 30%; }

.team-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 1rem .8rem;
  background: linear-gradient(transparent, rgba(19, 20, 23, .85));
  color: var(--blanc);
}
.team-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.team-role { font-size: .85rem; color: #d8d5cf; }

/* =========================================================
   CRÉATIONS / SERVICES
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.service-card {
  background: var(--acier);
  border: 1px solid var(--fumee);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(236, 100, 24, .5);
  box-shadow: 0 22px 45px rgba(30, 29, 24, .14);
}
.service-media { overflow: hidden; }
.service-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.service-card:hover .service-media img { transform: scale(1.06); }

.service-body { padding: 1.6rem 1.6rem 1.8rem; }
.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--noir);
  margin-bottom: .6rem;
}
.service-body p { font-size: .97rem; margin-bottom: 1rem; }
.service-link {
  font-weight: 600;
  font-size: .9rem;
  color: var(--accent);
  text-decoration: none;
}
.service-link:hover { color: var(--braise); }

.services-cta { text-align: center; margin-top: 3rem; }

/* =========================================================
   ÉVÉNEMENTS
   ========================================================= */
.section--events {
  background:
    radial-gradient(50% 45% at 90% 10%, rgba(236, 100, 24, .08), transparent 70%),
    var(--fond);
}
.events-list {
  list-style: none;
  max-width: 820px;
  border-top: 1px solid var(--fumee);
}
.event {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.6rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--fumee);
  transition: background .3s;
}
.event:hover { background: rgba(236, 100, 24, .04); }

.event-date {
  text-align: center;
  align-self: start;
  border: 1px solid var(--fumee);
  border-radius: var(--radius);
  padding: .7rem .4rem;
  background: var(--acier);
}
.event-day {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--accent);
}
.event-month {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.event-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--noir);
}
.event-place {
  font-size: .88rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .3rem;
}
.event-desc { font-size: .95rem; }
.event-period {
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--noir);
  margin-bottom: .15rem;
}

.event--affiche { grid-template-columns: 110px 1fr 120px; }
.event-poster {
  display: block;
  align-self: start;
  border: 1px solid var(--fumee);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.event-poster:hover { transform: scale(1.03); border-color: var(--accent); }
.event-poster img { display: block; width: 100%; height: auto; }

.events-empty {
  color: var(--gris);
  padding: 2rem 0;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.form {
  background: var(--acier);
  border: 1px solid var(--fumee);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.form-field { margin-bottom: 1.2rem; }
.form-field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--noir);
  margin-bottom: .45rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--noir);
  background: var(--fond);
  border: 1px solid var(--fumee);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  transition: border-color .25s, box-shadow .25s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #8a857a; }
.label-hint { text-transform: none; font-weight: 400; letter-spacing: normal; color: var(--gris, #56534b); }
.form-field input[type="file"] {
  width: 100%;
  color: var(--noir);
  background: var(--fond);
  border: 1px dashed var(--fumee);
  border-radius: var(--radius);
  padding: .7rem 1rem;
  font: inherit;
}

/* Animation au focus des champs */
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--braise);
  box-shadow: 0 0 0 3px rgba(236, 100, 24, .22);
}
/* État d'erreur élégant */
.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #e2483d;
  box-shadow: 0 0 0 3px rgba(226, 72, 61, .18);
}
.form-error {
  font-size: .82rem;
  color: #c0392b;
  margin-top: .35rem;
  min-height: 1em;
}

.form-submit { width: 100%; border: 0; }
.form-submit[disabled] { opacity: .6; cursor: wait; }

.form-status {
  margin-top: 1rem;
  font-size: .95rem;
  text-align: center;
  min-height: 1.4em;
}
.form-status.is-success { color: #2e7d32; }
.form-status.is-error { color: #c0392b; }

.contact-list {
  list-style: none;
  margin-bottom: 1.6rem;
}
.contact-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--fumee);
  color: var(--gris);
}
.contact-list a { color: var(--accent); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--noir);
  margin-bottom: .2rem;
}

.map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--fumee);
}
.map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
  filter: grayscale(.4) contrast(1.05);
}

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.footer {
  background: #ece4d3;
  border-top: 1px solid var(--fumee);
  padding-block: 2.6rem;
}
.footer-grid {
  display: grid;
  gap: 1.6rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.footer-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: .06em;
  color: var(--noir);
}
.footer-tagline { font-size: .88rem; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}
.footer-nav a {
  font-size: .9rem;
  color: var(--gris);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--accent); }
.footer-legal { font-size: .82rem; color: #7a756a; }
.footer-legal a { color: var(--gris); }
.footer-credit { font-size: .82rem; color: #7a756a; }
.footer-credit a { color: var(--gris); }
.footer-credit a:hover { color: var(--accent); }

/* =========================================================
   PAGE RÉALISATIONS — filtres, grille
   ========================================================= */
.gallery-head { padding-top: calc(var(--section-pad) + 4.5rem); padding-bottom: 3rem; }

.gallery-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.4rem;
}
.gallery-search { flex: 1 1 260px; }
.gallery-search input {
  width: 100%;
  font: inherit;
  color: var(--noir);
  background: var(--acier);
  border: 1px solid var(--fumee);
  border-radius: var(--radius);
  padding: .8rem 1.1rem;
  transition: border-color .25s, box-shadow .25s;
}
.gallery-search input:focus {
  outline: none;
  border-color: var(--braise);
  box-shadow: 0 0 0 3px rgba(236, 100, 24, .22);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.filter-btn {
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gris);
  background: transparent;
  border: 1px solid var(--fumee);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  cursor: pointer;
  transition: color .25s, border-color .25s, background .25s;
}
.filter-btn:hover { color: var(--noir); border-color: var(--gris); }
.filter-btn.is-active {
  color: var(--blanc);
  background: var(--braise);
  border-color: var(--braise);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.gallery-item {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 0;
  padding: 0;
  text-decoration: none;
  background: var(--acier);
  aspect-ratio: 3 / 4;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .4s;
}
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(30, 29, 24, .16);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.8rem .9rem .7rem;
  background: linear-gradient(transparent, rgba(13, 14, 16, .88));
  text-align: left;
}
.gallery-item-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--blanc);
}
.gallery-item-cat {
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--flamme);
}

/* Masquage animé lors du filtrage */
.gallery-item.is-hidden { display: none; }

.gallery-empty {
  padding: 3rem 0;
  text-align: center;
}
.gallery-empty a { color: var(--accent); }

.gallery-cta { padding-top: 0; }
.cta-band {
  text-align: center;
  background:
    radial-gradient(70% 120% at 50% 130%, rgba(236, 100, 24, .25), transparent 70%),
    var(--acier);
  border: 1px solid var(--fumee);
  border-radius: var(--radius);
  padding: clamp(2.4rem, 6vw, 4rem);
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  text-transform: uppercase;
  color: var(--noir);
  margin-bottom: .6rem;
}
.cta-band p { margin-bottom: 1.6rem; }

/* =========================================================
   FAQ — questions fréquentes (accordéons)
   ========================================================= */
.faq-list {
  max-width: 780px;
  margin-top: 2.4rem;
  display: grid;
  gap: .9rem;
}
.faq-item {
  background: var(--blanc);
  border: 1px solid rgba(19, 20, 23, .1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item[open] { border-color: var(--braise); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 3rem 1.1rem 1.3rem;
  font-weight: 600;
  color: var(--noir);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--braise);
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
  padding: 0 1.3rem 1.2rem;
  color: var(--gris-fonce);
}
.faq-item a { color: var(--accent); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 420px; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  /* Menu mobile plein écran */
  .nav-burger { display: flex; }
  /* Le blur ferait du header le bloc conteneur du menu fixed (il resterait
     affiché/décalé pendant le scroll) : on le retire sur mobile */
  .header.is-scrolled { backdrop-filter: none; background: rgba(243, 239, 227, .98); }
  /* Bloque le défilement de la page tant que le menu est ouvert */
  body.menu-open { overflow: hidden; }
  .nav-menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(243, 239, 227, .98);
    transform: translateY(-100%);
    transition: transform .4s var(--ease);
    z-index: -1;
  }
  .nav-menu.is-open { transform: none; }
  .nav-link { font-size: 1.25rem; }

  .hero { padding-top: 6.5rem; }
  .hero-scroll { display: none; }

  .event, .event--affiche { grid-template-columns: 80px 1fr; gap: 1rem; }
  .event-poster { grid-column: 2; max-width: 160px; }

  .team { grid-template-columns: 1fr; }
  .team-card img { height: 240px; }

  .gallery-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   ACCESSIBILITÉ — mouvement réduit
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-line,
  .hero-text,
  .hero-actions,
  .hero-eyebrow,
  .hero-figure { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
  .hero-embers { display: none; }
}

/* =========================================================
   BOUTIQUE — prix et compteur de photos sur les cartes du catalogue
   (articles gérés depuis la page d'administration /admin)
   ========================================================= */
.gallery-item-price {
  position: absolute;
  top: .7rem;
  right: .7rem;
  z-index: 2;
  background: var(--braise);
  color: var(--blanc);
  font-weight: 600;
  font-size: .82rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(30, 29, 24, .22);
}
.gallery-item-photos {
  position: absolute;
  top: .7rem;
  left: .7rem;
  z-index: 2;
  background: rgba(19, 20, 23, .78);
  color: var(--clair);
  font-size: .76rem;
  letter-spacing: .05em;
  padding: .22rem .65rem;
  border-radius: 999px;
}
/* ---------- Panier (badge dans la nav) ---------- */
.nav-link--cart { position: relative; }
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3em;
  height: 1.3em;
  margin-left: .3rem;
  padding: 0 .3em;
  border-radius: 999px;
  background: var(--braise);
  color: var(--blanc);
  font-size: .72rem;
  font-weight: 700;
  vertical-align: middle;
}
