/* ================================================================
   TRIKROMI — Template commun aux 5 pages :
   Direction artistique, Identité visuelle, Design graphique,
   Image et contenu, Projet et collaboration.
   ESPACEMENTS EXACTS extraits de la maquette Figma (base 1920px).
   ================================================================ */

/* ---------- HERO : titre blanc sur grande image sombre ---------- */
.da-hero {
  width: 100%;
  padding: clamp(104px, 9.2vw, 140px) var(--page-margin) clamp(14px, 1.4vw, 26px);
  display: flex;
  flex-direction: column;
}
.da-hero__inner {
  position: relative;
  flex: none;                     /* le cadre épouse l'image */
  width: 100%;
  border-radius: 34px;            /* coins arrondis */
  overflow: hidden;               /* clip net : l'image et le voile suivent l'arrondi, pas de fond carré */
}
.da-hero__img {
  width: 100%;
  height: auto;                   /* image à sa vraie taille, ses propres bords */
  display: block;
}
.da-hero__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}
.da-hero__title {
  position: absolute;
  left: clamp(20px, 2vw, 48px);
  bottom: clamp(6px, 1vw, 20px);
  z-index: 2;
  font-family: var(--font-display);
  font-size: var(--fs-hero-page);     /* 444px à 1920 */
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #fff;
}
/* Mentions : Figma 35px sous l'image */
.da-hero .cr-hero__tags {
  margin-top: clamp(16px, 1.82vw, 35px);
}

/* ---------- Titre centré (Identité visuelle / Direction artistique) ---------- */
/* Figma : 96px sous les mentions */
.da-hero + .cr-bigcenter,
.cr-bigcenter {
  padding-top: clamp(40px, 5vw, 96px);
}

/* ---------- Bloc 01 : Figma 45px sous le titre centré ---------- */
.cr-bigcenter + .cr-intro2col {
  padding-top: clamp(24px, 2.34vw, 45px);
}

/* ---------- Intro astérisque : Figma 155px sous la galerie ---------- */
.gallery + .intro,
.intro {
  padding-top: clamp(70px, 8vw, 155px);
}

/* ---------- Sections listes ---------- */
/* Figma : 152px au-dessus du titre de liste */
.da-list {
  width: 100%;
  padding: clamp(70px, 7.9vw, 152px) var(--page-margin) 0;
}
/* Titre géant centré : Figma 176px, marge 46px avant les items */
.da-list__title {
  font-family: var(--font-body);
  font-size: clamp(52px, 9.17vw, 176px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1;
  text-align: center;
  color: var(--color-black);
  margin-bottom: clamp(20px, 2.4vw, 46px);
}
.da-list__title .slash { font-weight: 400; }

/* Items : Figma 17px gris #868686 uppercase, pas vertical 44px,
   nom dans une PILULE grise arrondie */
.da-list__items {
  max-width: 1650px;
  margin: 0;
}
.da-list__items li {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.5vw, 28px);
  padding: clamp(3px, 0.36vw, 7px) 0;     /* pas vertical ≈ 44px à 1920 */
}
.da-id,
.da-name {
  font-size: clamp(13px, 0.9vw, 17px);
  line-height: 1.4;
  letter-spacing: -0.07em;
  color: var(--color-list-grey);           /* #868686 */
  text-transform: uppercase;
}
.da-id { font-weight: 300; flex-shrink: 0; }
.da-name {
  font-weight: 500;
  background: #e4e4e4;                     /* pilule grise (Figma) */
  border-radius: 999px;
  padding: clamp(4px, 0.42vw, 8px) clamp(12px, 1.04vw, 20px);
}

/* Variante 2 colonnes centrées (Identité visuelle, Design graphique...) */
.da-list__items--2col {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  column-gap: clamp(24px, 3vw, 60px);
  row-gap: clamp(2px, 0.3vw, 6px);
  max-width: none;
  margin: 0 auto;
}
.da-list__items--2col li { border-bottom: none; }
@media (max-width: 760px) {
  .da-list__items--2col { grid-template-columns: auto; justify-content: start; }
}

/* ---------- Bandes images : centrées, pas pleine largeur ---------- */
/* Figma : x=342, largeur 1236 (64.4% de 1920), hauteur 222, 226px au-dessus */
.da-band {
  width: 100%;
  padding: clamp(100px, 11.8vw, 226px) var(--page-margin) 0;
}
.da-band img {
  display: block;
  width: min(100%, 82vw);
  max-width: 1540px;
  height: auto;                 /* image à sa vraie taille, ses propres bords — aucun cadre ajouté */
  margin: 0 auto;
}
/* Liste qui suit une bande : Figma 179px (au lieu de 152) */
.da-band + .da-list {
  padding-top: clamp(80px, 9.3vw, 179px);
}

/* ---------- Feature : TEXTE AVANT IMAGE sur ce template ---------- */
/* Figma : 274px au-dessus du texte, 194px entre texte et image */
.feature {
  padding-top: clamp(120px, 14.3vw, 274px);
}
.feature__text--top {
  margin-top: 0;
  margin-bottom: clamp(80px, 10.1vw, 194px);
}

/* ---------- Contact : Figma 112px au-dessus, 385px sous ---------- */
.feature + .contact {
  padding-top: clamp(50px, 5.83vw, 112px);
  padding-bottom: clamp(160px, 20vw, 385px);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .da-list__items li { gap: 14px; }
}

/* ---------- Bloc /Approche en 2 colonnes (Design graphique, Image et contenu) ----------
   Positions Figma : gauche x≈391 (19%, w≈521/28%), droite x≈1152 (60%, w≈416/23%) */
.dg-approche {
  display: flex;
  align-items: flex-start;
  margin-top: 0;   /* l'écart sous le titre = marge basse du titre uniquement (cohérent avec les sections à pilules) */
}
.dg-approche__left { margin-left: 19%; width: 28%; }
.dg-approche__right { margin-left: 13.5%; width: 23%; }
.dg-pourqui-title {
  font-size: clamp(20px, 1.56vw, 30px);     /* Figma : 30px Inter Semi Bold */
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.1;
  color: #595959;
  margin-bottom: 10px;
}
.dg-pourqui-text {
  font-size: clamp(13px, 1vw, 19px);         /* Figma : 19px */
  line-height: 1.38;
  letter-spacing: -0.06em;
  color: #595959;
}
@media (max-width: 760px) {
  .dg-approche { flex-direction: column; gap: 28px; }
  .dg-approche__left, .dg-approche__right { margin-left: 0; width: 100%; }
}

/* ============================================
   PLAQUE DE VERRE — retirée
   ============================================ */
/* ============================================
   HERO MOBILE — titre au-dessus, image plus petite en dessous
   (pages services : direction-artistique, identite-visuelle,
    design-graphique, image-et-contenu, projet-et-collaboration)
   ============================================ */
@media (max-width: 760px) {
  .da-hero {
    height: auto;
    padding-top: clamp(96px, 24vw, 130px);
    padding-bottom: 0;
  }
  .da-hero__inner {
    display: flex;
    flex-direction: column;
    flex: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
  }
  .da-hero__inner::after { display: none; }     /* plus de voile sombre */

  .da-hero__title {
    position: static;
    order: -1;                                   /* titre AVANT l'image */
    left: auto;
    bottom: auto;
    color: #111;                                 /* noir : plus superposé sur l'image */
    font-size: clamp(48px, 16vw, 96px);          /* plus petit sur mobile */
    line-height: 0.95;
    margin: 0 0 18px;
  }
  .da-hero__img {
    height: auto;                                /* image à sa vraie taille */
    border-radius: 24px;                         /* coins arrondis sur mobile aussi */
  }
}