/* ─── polices servies par le site (aucun appel à un tiers) ─── */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(polices/outfit-400.woff2) format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(polices/outfit-500.woff2) format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(polices/outfit-600.woff2) format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(polices/outfit-700.woff2) format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(polices/outfit-800.woff2) format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(polices/instrument-sans-400.woff2) format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(polices/instrument-sans-500.woff2) format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(polices/instrument-sans-600.woff2) format("woff2");
}

body { margin: 0; background: #080A0E; color: #EEF1F4;
      font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
      -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
h1, h2, h3, h4 { font-family: "Outfit", system-ui, sans-serif; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: #FF2E80; text-decoration: none; }
a:hover { color: #FF6FA6; }
.wrap { width: 1200px; margin: 0 auto; }
.kicker { font-family: "Outfit", system-ui, sans-serif; font-size: 13px; font-weight: 600;
      letter-spacing: 0.16em; text-transform: uppercase; color: #8A959C; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 30px;
      font-family: "Outfit", system-ui, sans-serif; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.photo { position: relative; overflow: hidden; background-color: #161C26;
      background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 11px); }
.photo-tag { position: absolute; left: 14px; bottom: 12px; font-family: "Outfit", system-ui, sans-serif;
      font-size: 10px; font-weight: 600; letter-spacing: 0.14em; color: #78818B; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card { background: #131820; border: 1px solid rgba(255,255,255,.07); padding: 30px; }
.ref { height: 78px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; white-space: nowrap;
      background: #131820; border: 1px solid rgba(255,255,255,.09); padding: 0 30px;
      font-family: "Outfit", sans-serif; font-size: 16px; font-weight: 600; color: #D3D9DE; }
.marquee { overflow: hidden;
      -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
              mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.marquee-track { display: flex; gap: 14px; width: max-content; will-change: transform;
      animation: defile 52s linear infinite; }
.marquee-set { display: flex; gap: 14px; }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.kicker { font-family: "Outfit", system-ui, sans-serif; font-weight: 600;
      letter-spacing: 0.16em; text-transform: uppercase; color: #8A959C; }
.photo { position: relative; overflow: hidden; background-color: #161C26; }
.marquee-track { display: flex; gap: 12px; width: max-content; will-change: transform;
      animation: defile 52s linear infinite; }
.marquee-set { display: flex; gap: 12px; }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
.kicker { font-size: 13px; }
.photo { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 11px); }
.tag { font-family: "Outfit", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .12em;
      text-transform: uppercase; color: #E50064; }
.art { background: #131820; border: 1px solid rgba(255,255,255,.07); }
.presta { background: #131820; border: 1px solid rgba(255,255,255,.07); border-top: 3px solid #E50064; padding: 36px 34px 34px; }
.inc { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: #A9B3BC; }
.chip { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border: 1px solid rgba(255,255,255,.16);
      font-family: "Outfit", sans-serif; font-size: 14px; font-weight: 500; color: #B7C0C8; }
.filter { display: inline-flex; align-items: center; height: 44px; padding: 0 20px;
      font-family: "Outfit", sans-serif; font-size: 14px; font-weight: 600; color: #B7C0C8;
      border: 1px solid rgba(255,255,255,.16); }
.filter-on { background: #E50064; border-color: #E50064; color: #FFFFFF; }
.proj-meta { font-family: "Outfit", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .12em;
      text-transform: uppercase; color: #E50064; }
.lab { font-family: "Outfit", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #B7C0C8; }
input.field, select.field, textarea.field { width: 100%; font-family: inherit; color: #FFFFFF;
      -webkit-appearance: none; appearance: none; border-radius: 0; }
input.field::placeholder, textarea.field::placeholder { color: #8A959C; opacity: 1; }
input.field:focus, select.field:focus, textarea.field:focus { outline: none; border-color: #E50064; }
textarea.field { height: 140px; display: block; padding: 16px; line-height: 1.6; resize: vertical; }
select.field { cursor: pointer; padding-right: 44px;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238A959C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m3 6 5 5 5-5'/></svg>");
      background-repeat: no-repeat; background-position: right 16px center; }
select.field option { background: #131820; color: #FFFFFF; }
.rgpd { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; accent-color: #E50064; }
.field { height: 52px; background: #0B0E13; border: 1px solid rgba(255,255,255,.14);
      display: flex; align-items: center; padding: 0 16px; font-size: 15px; color: #8A959C; }

    /* ─────────── l'accent doré : création de site ─────────── */
    .card.or, .presta.or { border-top: 3px solid #C9A227; }
    .card.or:hover, .presta.or:hover {
      border-color: #C9A227;
      box-shadow: 0 10px 30px rgba(201, 162, 39, .18); }
    .card.or:hover h3, .presta.or:hover h3,
    .card.or:hover h3 .lien, .presta.or:hover h3 .lien { color: #E3C765 !important; }
    .chip.or-chip { border-color: rgba(201,162,39,.5); color: #E3C765; }
    .chip.or-chip:hover { border-color: #C9A227; color: #FFFFFF; }

    /* ─────────── survol des cartes ─────────── */
    .presta, .card, .art {
      transition: transform .18s ease, border-color .18s ease,
                  background-color .18s ease, box-shadow .18s ease; }
    .presta.cliquable, .card.cliquable, .art.cliquable { cursor: pointer; }
    .presta:hover, .card:hover, .art:hover {
      border-color: #E50064;
      background-color: #171E29;
      transform: translateY(-4px);
      box-shadow: 0 10px 30px rgba(229, 0, 100, .16); }
    .presta:hover h3, .card:hover h3, .art:hover h3,
    .presta:hover h3 .lien, .card:hover h3 .lien, .art:hover h3 .lien { color: #FF2E80 !important; }
    /* les étiquettes et les filtres suivent le même code couleur */
    .chip, .filter { transition: border-color .15s ease, color .15s ease; }
    .chip:hover, .filter:hover { border-color: #E50064; color: #FFFFFF; }
    .filter-on:hover { background: #E50064; border-color: #FFFFFF; }
    @media (prefers-reduced-motion: reduce) {
      .presta:hover, .card:hover, .art:hover { transform: none; } }
    @media (hover: none) {
      .presta:hover, .card:hover, .art:hover { transform: none; box-shadow: none; } }

    /* ─────────── responsive ─────────── */
    html { scroll-behavior: smooth; }
    
    
    a.lien, a.btn { text-decoration: none; }
    .lien:hover { color: #FF6FA6 !important; }
    .burger { display: none; }
    img { max-width: 100%; }

    @media (max-width: 1000px) {
      .wrap { width: 100% !important; max-width: 100% !important; padding-left: 20px !important; padding-right: 20px !important; }
      [style*="grid-template-columns: repeat(12"],
      [style*="grid-template-columns: repeat(4"],
      [style*="grid-template-columns: repeat(3"],
      [style*="grid-template-columns: repeat(2"] { grid-template-columns: minmax(0, 1fr) !important; }
      [style*="grid-column: span"] { grid-column: auto !important; }
      .nav-liens { display: none !important; }
      .nav-liens.ouvert { display: flex !important; position: absolute; top: 72px; left: 0; right: 0;
        flex-direction: column; align-items: flex-start !important; gap: 18px !important;
        background: #10151D; border-bottom: 1px solid rgba(255,255,255,.08); padding: 22px 20px 26px; z-index: 40; }
      .burger { display: flex; width: 44px; height: 44px; flex-direction: column; align-items: flex-end;
        justify-content: center; gap: 5px; cursor: pointer; }
      .burger div { width: 24px; height: 2px; background: #FFFFFF; }
      .burger div:last-child { width: 16px; background: #E50064; }
      .barre-nav { position: relative; height: 72px !important; }
      .barre-nav .wrap { height: 72px !important; }
      h1, .h1 { font-size: 34px !important; line-height: 1.08 !important; }
      h2 { font-size: 27px !important; line-height: 1.15 !important; }
      h3 { font-size: 20px !important; }
      .btn { width: 100%; }
      [style*="display: flex"][style*="justify-content: space-between"] { flex-wrap: wrap; gap: 20px; }
      [style*="height: 420px"], [style*="height: 460px"] { height: 260px !important; }
      [style*="height: 380px"], [style*="height: 340px"], [style*="height: 330px"] { height: 230px !important; }
      [style*="font-size: 62px"], [style*="font-size: 60px"], [style*="font-size: 58px"],
      [style*="font-size: 56px"], [style*="font-size: 54px"] { font-size: 34px !important; }
      [style*="font-size: 48px"], [style*="font-size: 44px"], [style*="font-size: 42px"],
      [style*="font-size: 40px"], [style*="font-size: 38px"] { font-size: 26px !important; }
      [style*="padding: 100px 0"], [style*="padding: 96px 0"], [style*="padding: 92px 0"],
      [style*="padding: 88px 0"], [style*="padding: 84px"], [style*="padding: 80px 0"],
      [style*="padding: 76px 0"] { padding-top: 48px !important; padding-bottom: 52px !important; }
      [style*="position: absolute"][style*="height: 100%"] { display: none !important; }

  /* les paires de photos restent côte à côte au lieu de s'empiler */
  [style*="grid-template-columns: repeat(2"]:has(> .photo) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .photo[style*="height: 150px"] { height: 118px !important; }
  .photo[style*="height: 260px"] { height: 200px !important; }
  .photo[style*="height: 220px"] { height: 190px !important; }
  /* la galerie des réalisations passe en deux colonnes */
  .grille-real { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; }
  .grille-real h3 { font-size: 15px !important; line-height: 1.25 !important; }
  .grille-real .proj-meta { font-size: 10px !important; }
  .grille-real p { font-size: 12px !important; }
  .grille-real .photo { height: 130px !important; }
    }


    /* ─── petites animations ─── */
    .anim { opacity: 0; transform: translateY(18px);
      transition: opacity .55s cubic-bezier(.22, .61, .36, 1),
                  transform .55s cubic-bezier(.22, .61, .36, 1); }
    .anim.vu { opacity: 1; transform: none; }

    .photo img { transition: transform .7s cubic-bezier(.22, .61, .36, 1); }
    .photo:hover img,
    .card:hover .photo img,
    .presta:hover .photo img,
    .art:hover .photo img { transform: scale(1.045); }

    .btn { transition: transform .18s ease, box-shadow .18s ease,
                       background-color .18s ease, border-color .18s ease; }
    .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, .32); }
    .btn:active { transform: translateY(0); box-shadow: none; }

    .ref { transition: transform .18s ease, border-color .18s ease, color .18s ease; }
    .ref:hover { transform: translateY(-3px); border-color: rgba(229, 0, 100, .55); color: #FFFFFF; }

    .chip { transition: transform .16s ease, border-color .16s ease, color .16s ease, background-color .16s ease; }
    .chip:hover { transform: translateY(-2px); }

    @media (prefers-reduced-motion: reduce) {
      .anim, .anim.vu { opacity: 1 !important; transform: none !important; transition: none !important; }
      .photo img { transition: none; }
      .photo:hover img, .card:hover .photo img,
      .presta:hover .photo img, .art:hover .photo img { transform: none; }
      .btn:hover, .ref:hover, .chip:hover { transform: none; box-shadow: none; }
    }

    /* le visuel du « format du moment » : compact sur grand écran, pleine largeur sur mobile */
    .visuel-format { max-width: 320px; }
    @media (max-width: 1000px) { .visuel-format { max-width: 520px; } }

/* ─── ajouts du site multi-fichiers ─── */
a { text-decoration: none; }
a.lien:hover { color: #FF6FA6 !important; }
.burger { display: none; }
@media (max-width: 1000px) {
  .nav-liens { display: none !important; }
  .nav-liens.ouvert { display: flex !important; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start !important; gap: 18px !important;
    background: #10151D; border-bottom: 1px solid rgba(255,255,255,.08); padding: 22px 20px 26px; z-index: 40; }
  .burger { display: flex; width: 44px; height: 44px; flex-direction: column; align-items: flex-end;
    justify-content: center; gap: 5px; cursor: pointer; }
  .burger div { width: 24px; height: 2px; background: #FFFFFF; }
  .burger div:last-child { width: 16px; background: #E50064; }
  .barre-nav { position: relative; height: 72px !important; }
  .barre-nav .wrap { height: 72px !important; }
}
