/* =========================================================
   MANOIRS — CSS INSTITUTIONNEL 2026 (MINIMAL)
   Dépendances :
   - menu burger : css/menu-burger.css
   - styles grille index : css/index-manoirs.css (si tu veux garder .mx-*)
   ========================================================= */

*,
*::before,
*::after{ box-sizing:border-box; }

:root{
  --page-max: 1400px;
  --bg:#000;
  --text:#e6e6e6;
  --muted: rgba(255,255,255,.65);
  --panel:#0d1014;
  --line: rgba(255,255,255,.10);
}

html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  overflow-y:auto;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: Arial, sans-serif;
}

img, video, svg{ max-width:100%; height:auto; display:block; }

header, main, footer{ width:100%; }

/* =========================
   HEADER (léger)
   ========================= */
.menu-container{
  max-width: var(--page-max);
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 20px;
}

a.logo-manoirs{
  display:block;
  width: 200px;
  height: 40px;
  background: url('../img/manoirserie.png') left center / contain no-repeat;
  text-indent:-9999px;
}

/* =========================
   INDEX (tagline)
   ========================= */
.mx-wrap{
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(12px, 2vw, 24px);
}

.mx-tag{
  max-width: 60ch;
  margin: 6vh auto 3vh;
  color: var(--muted);
  text-align:center;
}
.mx-tag strong{ color:#f2f5f7; }

/* =========================
   TUILES (si tu n'as pas déjà tout dans index-manoirs.css)
   ========================= */
.mx-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:0;
}
@media (max-width: 360px){
  .mx-grid{ grid-template-columns: repeat(2, 1fr); }
}
.mx-tile{ margin:0; position:relative; aspect-ratio:1/1; overflow:hidden; }
.mx-tile img, .mx-tile video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
}
.mx-link{
  position:absolute; inset:0;
  display:block;
  text-decoration:none;
  color:inherit;
  z-index:3;
}
.mx-blur{ filter: blur(20px); transform: scale(1.06); opacity: .7; }
.mx-cap{
  position:absolute; left:8px; right:8px; bottom:8px;
  padding: 48px 8px 8px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.55));
  color:#e9eef2;
  border-radius:8px;
  opacity:.85;
}
@media (hover:hover){
  .mx-tile:hover .mx-cap{ opacity:1; }
}

/* =========================
   FOOTER — INSTITUTIONNEL 2026 (STO)
   Dépendances :
   --panel, --line, --page-max définis dans :root
   Images :
   - ../img/logo_adagp.png
   - ../img/manoirserie.png
   ========================= */

.ft-inst{
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.ft-inst__inner{
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 22px 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  align-items: center;
}

.ft-inst__left{
  display: grid;
  gap: 14px;
}

/* ADAGP */
.ft-inst__adagp{
  display: flex;
  align-items: center;
  gap: 14px;
}

.ft-inst__adagpLogo{
  flex: 0 0 auto;
  width: 100px;  /* ajuste selon ton PNG */
  height: 44px;
  background: url('../img/logo_adagp.png') center / contain no-repeat;
}

.ft-inst__adagpText{
  display: grid;
  gap: 2px;
}

.ft-inst__name{
  font-size: 14px;
  color: rgba(255,255,255,.85);
  line-height: 1.2;
}

.ft-inst__meta{
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 1.2;
}

/* MANOIRS logo (footer) */
a.ft-logo-manoirs{
  display: block;
  width: 260px;
  height: 60px;
  background: url('../img/manoirserie.png') left center / contain no-repeat;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}

/* Mobile-only copyright : caché en desktop */
.ft-inst__copyrightMobile{
  display: none;
}

/* Centre (desktop) */
.ft-inst__center{
  text-align: center;
  color: rgba(255,255,255,.75);
  font-size: 16px;
}

/* Droite */
.ft-inst__right{
  text-align: right;
  display: grid;
  gap: 10px;
  justify-items: end;
}

.ft-inst__glyphs{
  font-size: 18px;
  color: rgba(255,255,255,.85);
  letter-spacing: .02em;
}

.ft-inst__ig{
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: 16px;
}
.ft-inst__ig:hover{ color:#fff; }

/* Responsive */
@media (max-width: 900px){
  .ft-inst__inner{
    grid-template-columns: 1fr;
    padding: 18px 20px;
  }

  /* Desktop copyright masqué */
  .ft-inst__center{
    display: none;
  }

  /* MANOIRS + copyright sur une ligne */
  .ft-inst__manoirs{
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .ft-inst__copyrightMobile{
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,.7);
    line-height: 1.2;
  }

  .ft-inst__right{
    text-align: left;
    justify-items: start;
  }
}
.mx-hero-video{
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 20px 0;
}

.mx-hero-video video{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}
.mx-oeuvre{ padding-bottom: 24px; }
    .mx-oeuvre-head{ max-width: 980px; margin: 0 auto; padding: 28px 20px 18px; }
    .mx-h1{ margin: 0 0 6px; }
    .dash{ opacity: .75; margin: 0 0 12px; }

    .mx-cta{
      margin-top: 16px;
      display:flex;
      gap: 10px;
      flex-wrap: wrap;
    }
    .mx-btn{
      display:inline-block;
      padding: 10px 12px;
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 10px;
      color: rgba(255,255,255,.85);
      text-decoration: none;
      font-size: 14px;
    }
    .mx-btn:hover{ color:#fff; border-color: rgba(255,255,255,.35); }

    /* HERO */
    .mx-hero-video{
      max-width: 980px;
      margin: 0 auto;
      padding: 14px 20px 0;
    }
    .mx-hero-video video{
      width:100%;
      height:auto;
      display:block;
      border-radius: 16px;
    }

    /* Archives label */
    .mx-archives-head{
      max-width: 1400px;
      margin: 18px auto 10px;
      padding: 0 20px;
      color: rgba(255,255,255,.75);
    }
    .mx-archives-kicker{
      letter-spacing: .08em;
      text-transform: uppercase;
      font-size: 12px;
      margin: 0 0 6px;
      opacity: .75;
    }
    .mx-archives-title{
      margin: 0;
      font-size: 16px;
      letter-spacing: .02em;
      color: rgba(255,255,255,.9);
    }

    /* Masonry */
    .masonry{
      column-count: 3;
      column-gap: 16px;
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 20px 40px;
    }
    @media (max-width: 900px){ .masonry{ column-count: 2; } }
    @media (max-width: 520px){ .masonry{ column-count: 1; } }

    .masonry-item{
      break-inside: avoid;
      margin: 0 0 16px;
      opacity: 0;
      transform: translateY(10px);
      transition: opacity .35s ease, transform .35s ease;
    }
    .masonry-item.is-in{ opacity: 1; transform: none; }

    .masonry img, .masonry video{
      width:100%;
      height:auto;
      display:block;
      border-radius: 14px;
    }
     .mx-oeuvre{ padding-bottom: 24px; }
    .mx-hero-video{ max-width: 980px; margin: 0 auto; padding: 14px 20px 0; }
    .mx-hero-video video{ width:100%; height:auto; display:block; border-radius: 16px; }

    .mx-oeuvre-head{ max-width: 980px; margin: 0 auto; padding: 28px 20px 18px; }
    .mx-h1{ margin: 0 0 6px; }
    .dash{ opacity: .75; margin: 0 0 12px; }

    .mx-cta{ margin-top: 16px; display:flex; gap: 10px; flex-wrap: wrap; }
    .mx-btn{
      display:inline-block; padding: 10px 12px;
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 10px;
      color: rgba(255,255,255,.85);
      text-decoration: none;
      font-size: 14px;
    }
    .mx-btn:hover{ color:#fff; border-color: rgba(255,255,255,.35); }

    .mx-archives-head{ max-width: 980px; margin: 0 auto; padding: 10px 20px 10px; }
    .mx-archives-kicker{ margin:0; font-size: 12px; letter-spacing:.08em; text-transform: uppercase; opacity:.7; }
    .mx-archives-title{ margin: 6px 0 0; font-size: 16px; opacity:.9; }

    .masonry{
      column-count: 3;
      column-gap: 16px;
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 20px 40px;
    }
    @media (max-width: 900px){ .masonry{ column-count: 2; } }
    @media (max-width: 520px){ .masonry{ column-count: 1; } }

    .masonry-item{
      break-inside: avoid;
      margin: 0 0 16px;
      opacity: 0;
      transform: translateY(10px);
      transition: opacity .35s ease, transform .35s ease;
    }
    .masonry-item.is-in{ opacity: 1; transform: none; }

    .masonry img, .masonry video{
      width:100%;
      height:auto;
      display:block;
      border-radius: 14px;
    }
/* Cœur mécénat */
.coeur{
  color: #b30000; /* rouge profond, pas flashy */
  margin-right: 4px;
  transition: transform .25s ease, color .25s ease;
}

/* Survol discret */
a:hover .coeur{
  transform: scale(1.08);
  color: #d10000;
}

    