/* =========================================================================
   Portfolio — thème « Premium sombre »
   near-black · blanc cassé chaud · accent or champagne · bordures fines · air
   ========================================================================= */
:root {
  --bg: #0b0b0d;
  --bg-soft: #111114;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #ECEAE3;
  --muted: #918e86;
  --accent: #CBA257;            /* or champagne */
  --accent-soft: rgba(203, 162, 87, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* Petites étiquettes en majuscules espacées = signature premium */
.eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin: 0 0 20px;
}

/* ---------- Hero ---------- */
.hero { max-width: 1080px; margin: 0 auto; padding: 104px 24px 60px; }
.hero h1 {
  font-size: clamp(30px, 5.2vw, 52px);
  line-height: 1.08; letter-spacing: -.02em; font-weight: 700;
  margin: 0 0 20px; max-width: 18ch;
}
.hero-sub { color: var(--muted); font-size: 17px; margin: 0; max-width: 48ch; }
.hero-cta {
  display: inline-block; margin-top: 32px; padding: 13px 26px;
  border: 1px solid var(--accent); border-radius: 3px; color: var(--accent);
  font-weight: 600; font-size: 14px; letter-spacing: .02em;
  transition: background .2s, color .2s;
}
.hero-cta:hover { background: var(--accent); color: #0b0b0d; }

/* ---------- Libellé de section ---------- */
.section-label {
  max-width: 1080px; margin: 0 auto 26px; padding: 0 24px 14px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
.section-label span { display: block; border-bottom: 1px solid var(--line); padding-bottom: 14px; }

/* ---------- Grille de projets ---------- */
.grid {
  max-width: 1080px; margin: 0 auto; padding: 0 24px 20px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px;
}
.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }

/* Aperçu (capture du site) en haut de la carte */
.card-preview { overflow: hidden; border-bottom: 1px solid var(--line); background: #000; }
.card-preview img {
  width: 100%; height: 170px; object-fit: cover; object-position: top center;
  display: block; transition: transform .4s ease; filter: saturate(.96);
}
.card:hover .card-preview img { transform: scale(1.045); }

.card-pad { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card h2 {
  font-size: 20px; font-weight: 650; letter-spacing: -.01em; margin: 0;
  display: flex; align-items: center; gap: 8px;
}
.card h2 .bi { color: var(--accent); font-size: .92em; }
.card-pad > p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0 0 16px; }
.card-link { color: var(--accent); font-weight: 600; font-size: 13.5px; letter-spacing: .02em; margin-top: auto; }
.card:hover .card-link { letter-spacing: .05em; }

/* Étiquette accès libre / protégé */
.tag {
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  padding: 4px 10px; border-radius: 3px; border: 1px solid var(--line-2); white-space: nowrap;
}
.tag.libre { color: #a9d4af; border-color: rgba(169, 212, 175, .32); }
.tag.prive { color: var(--accent); border-color: rgba(203, 162, 87, .38); }

/* Étiquettes « valeur » */
.features { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 22px; }
.feat {
  font-size: 11.5px; color: #c2bfb6; padding: 5px 10px;
  border: 1px solid var(--line); border-radius: 3px; white-space: nowrap;
}
.feat .bi { margin-right: 5px; opacity: .85; color: var(--accent); }

/* ---------- Section Services / Tarifs ---------- */
.services {
  max-width: 1080px; margin: 54px auto 0; padding: 80px 24px 40px;
  border-top: 1px solid var(--line);
}
.services h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 700; letter-spacing: -.01em; margin: 0 0 12px; }
.services-sub { color: var(--muted); max-width: 60ch; margin: 0 0 38px; }

.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px;
}
.svc {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 4px;
  padding: 30px 26px; display: flex; flex-direction: column;
}
.svc-emoji { margin-bottom: 16px; line-height: 1; }
.svc-emoji .bi { font-size: 27px; color: var(--accent); }
.svc h3 { font-size: 18px; font-weight: 650; margin: 0 0 10px; }
.svc > p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0 0 16px; }
.svc ul { margin: 0 0 22px; padding-left: 18px; color: #c4c1b8; font-size: 13.5px; line-height: 1.8; }
.svc ul li::marker { color: var(--accent); }
.svc-price { margin-top: auto; font-weight: 700; font-size: 16px; color: var(--accent); letter-spacing: .01em; }

.svc-extra {
  margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
  color: var(--muted); font-size: 14.5px;
}
.svc-extra b { color: var(--text); }
.svc-extra .bi { color: var(--accent); margin-right: 5px; }
.cta {
  display: inline-block; padding: 13px 28px; background: var(--accent); color: #0b0b0d;
  border-radius: 3px; font-weight: 700; font-size: 14px; letter-spacing: .02em;
}
.cta:hover { filter: brightness(1.08); }

/* ---------- Pied de page ---------- */
.foot {
  text-align: center; color: var(--muted); font-size: 12.5px;
  padding: 54px 24px; border-top: 1px solid var(--line); letter-spacing: .02em;
}
