/* =================================
   APP POKER PMU — PAGE SPECIFIC STYLES
   Fichier : projects/simple/app-poker-pmu.css
================================= */

:root {
  --margin: 40px;
  --gap: 96px;
  --poker-bg: #020015;
  --poker-white: #ffffff;
}

.page-poker {
  background-color: var(--poker-bg);
  color: var(--poker-white);
}

/* Garde le mix-blend-mode: difference sur footer comme la nav */
.page-poker footer {
  mix-blend-mode: difference;
}

.page-poker .nav-logo,
.page-poker .nav-links a,
.page-poker .footer-name,
.page-poker .footer-copyright,
.page-poker .footer-location,
.page-poker .footer-contact {
  color: var(--poker-white);
}


/* =================================
   INTRO — 2 colonnes 50/50
================================= */

.poker-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0;
  padding: 120px var(--margin) 0 var(--margin);
}

.poker-title {
  margin: 0;
  padding-right: 40px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 96px;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--poker-white);
}

.poker-body {
  margin: 0;
  padding-top: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--poker-white);
}


/* =================================
   MOCKUP — centré, 70% de largeur
================================= */

.poker-mockup {
  margin-top: var(--gap);
  padding: 0 var(--margin);
  display: flex;
  justify-content: center;
}

.poker-mockup-img {
  display: block;
  width: 70%;
  height: auto;
}


/* =================================
   ROWS — 2 colonnes, BORD À BORD
   Pas de padding latéral —
   l'image touche les bords de la page.
   Le texte a son propre padding interne.
   align-items: center pour centrer
   le texte verticalement vs l'image.
================================= */

.poker-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;             /* espace entre image et texte */
  align-items: center;
  margin-top: var(--gap);
  padding: 0 80px;       /* marges latérales généreuses */
}

/* L'image prend toute sa cellule */
.poker-row-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Le bloc texte est centré dans sa colonne (horizontalement et verticalement)
   texte ferré à gauche à l'intérieur du bloc */
.poker-row-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  text-align: left;
  width: 60%;           /* largeur limitée pour ne pas coller les bords */
  margin: 0 auto;       /* centre le bloc dans la colonne */
}

.poker-row-title {
  margin: 0 0 16px 0;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--poker-white);
}

.poker-row-desc {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}


/* =================================
   PLEINE LARGEUR avec marge
   Logos poker + typo PNG
================================= */

.poker-full {
  margin-top: var(--gap);
  padding: 0 var(--margin);
}

.poker-full-img {
  display: block;
  width: 100%;
  height: auto;
}


/* =================================
   COULEURS
   Grid 50/50 :
   - gauche : titre aligné en bas
   - droite : 2 swatches côte à côte
================================= */

.poker-colors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;    /* titre aligné en bas comme dans le design */
  margin-top: var(--gap);
  padding: 0 var(--margin);
  gap: 60px;
}

/* Grand titre "Les couleurs" — même taille que poker-title */
.poker-colors-title {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 64px;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--poker-white);
}

.poker-colors-right {
  display: flex;
  gap: 16px;
}

/* Le bloc EST la swatch — texte positionné en bas à l'intérieur */
.poker-color-block {
  flex: 1;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;  /* texte en bas du bloc */
  min-height: 500px;          /* plus haut comme dans le design */
}

.poker-color-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.poker-color-name,
.poker-color-hex,
.poker-color-rgb {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.75);  /* texte sombre sur fond coloré */
}


/* =================================
   META
================================= */

.poker-meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 88px var(--margin) 100px var(--margin);
}

.poker-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.poker-meta-label {
  font-family: 'Krub', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--poker-white);
}

.poker-meta-value {
  font-family: 'Krub', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--poker-white);
}


/* =================================
   MOBILE — max 768px
================================= */

@media (max-width: 768px) {

  :root {
    --margin: 20px;
    --gap: 56px;
  }

  .poker-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 96px var(--margin) 0 var(--margin);
  }

  .poker-title {
    padding-right: 0;
    font-size: clamp(42px, 11vw, 72px);
    line-height: 0.96;
  }

  .poker-body {
    padding-top: 0;
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.3;
  }

  .poker-mockup-img {
    width: 100%;
  }

  /* Rows empilés verticalement sur mobile */
  .poker-row {
    grid-template-columns: 1fr;
  }

  .poker-row-text {
    padding: 24px var(--margin) 0 var(--margin);
  }

  .poker-row-title {
    font-size: 36px;
  }

  .poker-colors {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }

  .poker-colors-title {
    font-size: 48px;
  }

  .poker-meta {
    gap: 20px;
    padding: 40px var(--margin) 120px var(--margin);
  }

}