/* ========================================================================
   CITATION-SECTION.CSS — Section Citation / Témoignage
   ========================================================================
   
   Purpose: Styles la section de citation/témoignage entre sections.
   
   ========================================================================== */

/* Section citation André Pecqueur */

.citation-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 80px);
  min-height: 100vh;
  height: auto;
  background: #2c77b9;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
}
.citation-section__img {
  flex: 0 0 auto;
  width: clamp(400px, 55vw, 750px);
  height: clamp(400px, 55vw, 750px);
  object-fit: cover;
  border-radius: 48px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  display: block;
  background: none;
}
.citation-section__text {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 3vw, 40px) clamp(30px, 5vw, 60px);
  font-family: var(--font-serif, serif);
  font-size: clamp(2.5rem, 7vw, 3.8rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.5px;
  background: transparent;
  min-width: 0;
  max-width: 600px;
}
.citation-section__quote {
  font-size: clamp(2.5rem, 7vw, 3.8rem);
  font-style: italic;
  color: var(--color-gold, var(--color-accent-gold-alt));
  margin-bottom: 0.1em;
  display: block;
}
.citation-section__author {
  display: block;
  margin-top: 10px;
  font-size: 1.1rem;
  color: var(--color-accent-gold-alt);
  font-family: var(--font-sans, sans-serif);
  font-weight: 200;
  letter-spacing: 0.2px;
}

@media (max-width: 1200px) {
  .citation-section {
    flex-direction: column;
    padding: clamp(30px, 4vw, 60px) clamp(16px, 3vw, 48px);
    min-height: auto;
  }

  .citation-section__text {
    padding: clamp(20px, 3vw, 40px) clamp(16px, 3vw, 32px);
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
  .citation-section__img {
    width: clamp(300px, 90vw, 600px);
    height: clamp(300px, 90vw, 600px);
    border-radius: 32px;
  }
  .citation-section__author {
    font-weight: bold;
  }
}

@media (max-width: 800px) {
  .citation-section {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0 16px;
    min-height: unset;
    height: auto;
    box-sizing: border-box;
  }
  .citation-section__img {
    width: 100%;
    height: 300px;
    max-height: 220px;
    min-height: 100px;
    border-radius: 18px;
    padding-left: 0;
    margin: 0;
    display: block;
    background: none;
  }
  .citation-section__text {
    padding: 18px 0;
    font-size: 1.15rem;
    text-align: left;
  }

  @media (max-width: 600px) {
      .citation-section__img {
        object-position: 50% 20%;
        padding-top: 10px;
      }

      .citation-section__text{font-size: 2rem;}
  }
}
