/* =========================================================
   BLOCK — Citation
========================================================= */

.citation{
  width: 100%;
  background: var(--page-accent);
  padding: 150px 0;         /* ✅ 150 haut/bas, 0 côtés */
  overflow: hidden;
  color: #fff;
}

/* =========================================================
   CONTAINER (wide)
========================================================= */

.citation__container{
  max-width: var(--layout-content-size);
  margin: 0 auto;
  padding: 0 20px;          /* padding latéral du contenu (ok) */
}

/* =========================================================
   LAYOUT
========================================================= */

.citation__layout{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.citation__content{
  min-width: 0;
  max-width: 80ch;
}

/* =========================================================
   QUOTE + TEXTE
   - quote même taille que texte-image
   - fond #000 + icône #fff
========================================================= */


.citation__quote{
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 4px;
  background: #000;
  color: #fff;
  margin-bottom:15px;
}

.citation__text{
  color: #fff;
  font-size: var(--font-size-l);
  font-weight: 400;
  line-height: 1.6;
}

.citation__text p{ margin: 0 0 12px; color: #fff; font-size: var(--font-size-l);}
.citation__text p:last-child{ margin-bottom: 0; }

/* liens éventuels */
.citation a{
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.55);
  text-underline-offset: 3px;
}

/* =========================================================
   AUTEUR / POSTE
========================================================= */

.citation__author{
  margin-top: 22px;
  color: #fff;
  font-size: var(--font-size-s, 15px);
  font-style: italic;
  font-weight: 400;
}

.citation__role{
  margin-top: 6px;
  color: #fff;
  font-size: var(--font-size-s, 15px);
  font-weight: 400;
}

/* =========================================================
   AVATAR (strictement rond 290x290)
========================================================= */

.citation__media{
  flex: 0 0 auto;
}

.citation__avatar{
  width: 290px;
  height: 290px;
  border-radius: 999px;
  overflow: hidden;
}

.citation__avatar img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 980px){
  .citation{
    padding: 110px 0;
  }

  .citation__layout{
    gap: 40px;
  }

  .citation__avatar{
    width: 240px;
    height: 240px;
  }
}

@media (max-width: 680px){
  .citation{
    padding: 80px 0;
  }

  .citation__layout{
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .citation__media{
    order: 2;
  }

  .citation__content{
    order: 1;
    max-width: none;
  }

  .citation__avatar{
    width: 220px;
    height: 220px;
  }
}
