/* NOUS. — Pages À propos & Nos services — transitions & mise en forme */

/* —— Page wrapper (transition d'entrée) */
.page-wrap {
  opacity: 0;
  transform: translateY(12px);
  animation: pageEnter 1s var(--ease-out-expo) forwards;
}

@keyframes pageEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-wrap {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* —— Page hero (bannière titre) */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--section-padding) + 4rem) 1.5rem var(--section-padding);
  text-align: center;
  background: var(--white);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, var(--yellow-soft) 0%, transparent 60%);
  pointer-events: none;
}

/* Page hero avec vidéo (À propos, Nos services) — même fond que l'index */
.page-hero--video {
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  padding: var(--section-padding) 1.5rem;
  padding-top: calc(var(--section-padding) + env(safe-area-inset-top, 0px));
  background: var(--black);
}

.page-hero--video::before {
  display: none;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-video-wrap {
  position: absolute;
  inset: 0;
}

.page-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.125rem, 10vw, 6.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--black);
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(30px);
  animation: pageTitleEnter 1s var(--ease-out-expo) 0.2s forwards;
}

.page-hero--video .page-hero-title {
  color: var(--yellow);
  text-shadow: 0 2px 24px rgba(255, 191, 0, 0.5), 0 4px 32px rgba(0, 0, 0, 0.5);
}

.page-hero-sub {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-700);
  margin-top: 1rem;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: pageTitleEnter 0.8s var(--ease-out-expo) 0.45s forwards;
}

.page-hero--video .page-hero-sub {
  color: var(--white);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

@keyframes pageTitleEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Contenu texte (À propos) */
.page-content {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.page-content .container {
  max-width: min(92vw, 720px);
}

/* ========== À propos — disposition non linéaire & interactivité ========== */
.page-content--about {
  padding: 0 0 var(--section-padding);
  background: var(--white);
  overflow: hidden;
}

/* Bandeau mots défilant — avant le bloc Origine */
.about-words-banner {
  width: 100%;
  overflow: hidden;
  padding: clamp(0.75rem, 2vw, 1.25rem) 0;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--black);
  border-top: 3px solid var(--yellow);
  border-bottom: 3px solid var(--yellow);
}

.about-words-track {
  display: flex;
  align-items: center;
  gap: 0  clamp(2rem, 5vw, 4rem);
  width: max-content;
  animation: aboutWordsScroll 45s linear infinite;
  will-change: transform;
}

.about-word {
  flex-shrink: 0;
  font-size: clamp(0.9rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0.95;
}

/* Cinq styles visuels distincts pour un bandeau plus parlant (un seul style en jaune pour ne jamais avoir 2 jaunes à la suite) */
.about-word:nth-child(5n) {
  font-family: "cuisine", sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.02em;
}

.about-word:nth-child(5n + 1) {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-word:nth-child(5n + 2) {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
}

.about-word:nth-child(5n + 3) {
  font-family: var(--font-body);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(0.9rem, 1.9vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.03em;
}

.about-word:nth-child(5n + 4) {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--white);
  letter-spacing: -0.02em;
}

@keyframes aboutWordsScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-words-track {
    animation: none;
  }
}

.about-layout {
  max-width: min(94vw, 1100px);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 6vw, 4rem);
}

.about-panel {
  position: relative;
  background: var(--white);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(2rem, 5vw, 3.5rem) clamp(2rem, 5vw, 3.5rem) clamp(3rem, 8vw, 5rem);
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray-200);
  transition: transform var(--duration-slow) var(--ease-out-expo),
              box-shadow var(--duration-slow) var(--ease-out-expo),
              border-color var(--duration-normal) var(--ease-out-expo);
  will-change: transform;
}

.about-panel:hover {
  transform: translateY(-6px) scale(1.005);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
  border-color: var(--yellow-soft);
}

.about-panel-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--yellow);
  border-radius: 8px 0 0 8px;
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 0.6s var(--ease-out-expo);
}

.about-panel.is-visible .about-panel-accent,
.about-panel:hover .about-panel-accent {
  transform: scaleY(1);
}

.about-panel-num {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2rem);
  left: clamp(1.5rem, 4vw, 2rem);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--yellow-soft);
  letter-spacing: -0.03em;
}

.about-panel-num--right {
  left: auto;
  right: clamp(1.5rem, 4vw, 2rem);
}

.about-panel-inner {
  position: relative;
  z-index: 1;
}

.about-panel-inner--offset {
  margin-left: clamp(0, 8vw, 4rem);
}

@media (max-width: 700px) {
  .about-panel-inner--offset {
    margin-left: 0;
  }
}

.about-panel-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--yellow-dark);
  margin-bottom: 1.25rem;
}

.about-panel-title--spaced {
  margin-top: 1.5rem;
}

.about-panel-lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--black);
  margin-bottom: 1rem;
}

.about-panel p {
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 0.9rem;
}

.about-panel p:last-child {
  margin-bottom: 0;
}

.about-panel .highlight {
  color: var(--yellow-dark);
  font-weight: 600;
}

/* Citation — style éditorial type Be Dandy : typo, espace, filet fin */
.about-quote-wrap {
  margin: clamp(4rem, 12vw, 7rem) auto;
  max-width: min(88vw, 680px);
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  text-align: center;
}

.about-quote-wrap::before {
  content: '';
  display: block;
  width: min(80px, 20vw);
  height: 2px;
  background: var(--yellow);
  margin: 0 auto clamp(2rem, 5vw, 3rem);
}

.about-quote-wrap::after {
  content: '';
  display: block;
  width: min(80px, 20vw);
  height: 2px;
  background: var(--yellow);
  margin: clamp(2rem, 5vw, 3rem) auto 0;
}

.about-quote {
  position: relative;
  padding: 0 0.6em;
  border: none;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.5;
  color: var(--black);
}

.about-quote-line {
  display: block;
  margin-bottom: 0.65em;
}

.about-quote-line--emphasis {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: 0.95em;
  color: var(--yellow-dark);
  letter-spacing: -0.02em;
  margin-top: 0.5em;
}

.about-quote-guillemet {
  position: absolute;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 0.75em;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  pointer-events: none;
  opacity: 0.5;
}

.about-quote-guillemet--open {
  top: -0.1em;
  left: 0.15em;
  color: var(--gray-700);
}

.about-quote-guillemet--close {
  bottom: -0.1em;
  right: 0.15em;
  color: var(--yellow-dark);
  opacity: 0.7;
}

.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  padding: 2rem clamp(1.5rem, 4vw, 2.5rem);
}

.about-cta-btn {
  transition: transform var(--duration-normal) var(--ease-out-expo),
              box-shadow var(--duration-normal) var(--ease-out-expo);
}

.about-cta-btn:hover {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .about-panel:hover {
    transform: none;
  }
  .about-panel-accent {
    transform: scaleY(1);
    transition: none;
  }
  .about-cta-btn:hover {
    transform: none;
  }
}

/* Blocs de texte (fallback / autres pages) */
.page-block {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.page-block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-block .lead {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--black);
  margin-bottom: 1.25rem;
}

.page-block p {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.page-block p:last-child {
  margin-bottom: 0;
}

.page-block .highlight {
  color: var(--yellow-dark);
  font-weight: 600;
}

/* Lien retour / CTA page */
.page-cta {
  text-align: center;
  padding: 2rem 0 1rem;
}

.page-cta .btn {
  opacity: 0;
  transform: translateY(12px);
  animation: pageTitleEnter 0.7s var(--ease-out-expo) 0.6s forwards;
}

.page-cta .btn + .btn {
  margin-left: 0.75rem;
}

/* Bouton outline sur fond clair (pages) */
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--gray-700);
}

.btn-outline:hover {
  border-color: var(--black);
  background: var(--gray-100);
  color: var(--black);
}

/* —— Nos services : cartes dépliables / accordéon visuel */
.services-page {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.services-page .section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.services-page .section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 4px;
  transition: border-color var(--duration-normal) var(--ease-out-expo),
              box-shadow var(--duration-normal) var(--ease-out-expo),
              transform var(--duration-normal) var(--ease-out-expo);
}

.service-card:hover {
  border-color: var(--yellow-soft);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.service-card.is-open {
  border-color: var(--yellow);
  box-shadow: 0 16px 48px rgba(255, 191, 0, 0.12);
}

.service-card-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1.5rem, 4vw, 2.5rem);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--duration-fast) var(--ease-out-expo);
}

.service-card-trigger:hover {
  background: var(--yellow-soft);
}

.service-card-trigger:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.service-card-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--yellow-dark);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  flex-shrink: 0;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--black);
  flex: 1;
}

.service-card-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--yellow-soft);
  color: var(--yellow-dark);
  transition: transform var(--duration-normal) var(--ease-out-expo),
              background var(--duration-fast);
}

.service-card.is-open .service-card-icon {
  background: var(--yellow);
  color: var(--black);
  transform: rotate(180deg);
}

.service-card-icon svg {
  width: 18px;
  height: 18px;
}

.service-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-out-expo);
}

.service-card-body-inner {
  padding: 0 clamp(1.5rem, 4vw, 2.5rem) 2rem;
  padding-top: 0;
}

.service-card-body p {
  font-size: clamp(1rem, 1.2vw, 1.05rem);
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.service-card-body p:last-child {
  margin-bottom: 0;
}

.service-card-body .list {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.service-card-body .list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.service-card-body .list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--yellow-dark);
  font-weight: 600;
}

/* Apparition des cartes au scroll */
.service-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo),
              border-color var(--duration-normal), box-shadow var(--duration-normal);
}

.service-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:nth-child(1).is-visible { transition-delay: 0s; }
.service-card:nth-child(2).is-visible { transition-delay: 0.1s; }
.service-card:nth-child(3).is-visible { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .page-wrap,
  .page-hero-title,
  .page-hero-sub,
  .page-quote blockquote .line,
  .page-cta .btn {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .service-card {
    opacity: 1;
    transform: none;
  }
  .service-card.is-visible {
    transition-delay: 0s;
  }
}

/* ========== Page Contact (inspirée Spiriit) ========== */
.contact-page {
  padding: clamp(2.5rem, 6vw, 5rem) 0 var(--section-padding);
  background: var(--white);
}

.contact-page__container {
  max-width: min(94vw, 1000px);
}

.contact-page__intro {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.contact-page__intro strong {
  color: var(--yellow-dark);
  font-weight: 700;
}

.contact-page__accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
}

.contact-page__item {
  position: relative;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--duration-normal) var(--ease-out-expo),
              box-shadow var(--duration-normal) var(--ease-out-expo);
}

.contact-page__item:hover {
  border-color: var(--yellow-soft);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.contact-page__item.is-open {
  border-color: var(--yellow-soft);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.contact-page__card-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--yellow);
  border-radius: 8px 0 0 8px;
}

.contact-page__item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1.25rem, 3vw, 1.5rem);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background-color var(--duration-fast);
}

.contact-page__item-header:hover {
  background: rgba(255, 191, 0, 0.06);
}

.contact-page__item-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.contact-page__card-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--black);
}

.contact-page__card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.contact-page__item-icon {
  flex-shrink: 0;
  color: var(--yellow-dark);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.contact-page__item.is-open .contact-page__item-icon {
  transform: rotate(180deg);
}

.contact-page__item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out-expo);
}

.contact-page__item-body .contact-page__embed {
  margin: clamp(1rem, 2.5vw, 1.25rem) clamp(1.25rem, 3vw, 1.5rem) clamp(1.25rem, 3vw, 1.5rem);
}

.contact-page__embed {
  position: relative;
  width: 100%;
  height: 320px;
  max-height: 320px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--gray-100);
}

.contact-page__embed.typeform-embed {
  height: 320px;
  max-height: 320px;
}

.contact-page__embed.typeform-embed iframe,
.contact-page__embed .contact-embed-fallback {
  height: 320px !important;
  min-height: 320px;
  max-height: 320px;
}

.contact-page__embed--calendly,
.contact-page__embed--calendly iframe {
  height: 380px;
  min-height: 380px;
  max-height: 380px;
}

@media (min-width: 768px) {
  .contact-page__embed--calendly,
  .contact-page__embed--calendly iframe {
    height: 400px;
    min-height: 400px;
    max-height: 400px;
  }
}

#calendly-contact-page {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 380px;
}

@media (min-width: 768px) {
  #calendly-contact-page {
    min-height: 400px;
    max-height: 400px;
  }
}

#calendly-contact-page iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 380px;
  border: none;
}

@media (min-width: 768px) {
  #calendly-contact-page iframe {
    min-height: 400px;
    max-height: 400px;
  }
}

.contact-page__email {
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  border-left: 4px solid var(--yellow);
}

.contact-page__email-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.contact-page__email-link {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--yellow-dark);
  transition: color var(--duration-fast);
}

.contact-page__email-link:hover {
  color: var(--black);
}

/* —— Cercles de fond par page (passent sous le contenu) */

/* Page Nos services : un grand cercle en bas à droite */
.content-block--services .content-block-bg-circle--2,
.content-block--services .content-block-bg-circle--3,
.content-block--services .content-block-bg-circle--4 {
  display: none;
}

.content-block--services .content-block-bg-circle--1 {
  top: auto;
  left: auto;
  right: -15%;
  bottom: -20%;
  width: min(85vw, 520px);
  height: min(85vw, 520px);
  background: rgba(255, 191, 0, 0.18);
  animation-duration: 25s;
}

.content-block--services .services-page {
  position: relative;
  z-index: 1;
  background: transparent;
}

@media (max-width: 900px) {
  .content-block--services .content-block-bg-circle--1 {
    width: min(75vw, 320px) !important;
    height: min(75vw, 320px) !important;
    right: -25%;
    bottom: -15%;
  }
}

/* Page À propos : en haut à droite + en bas à gauche */
.content-block--about .content-block-bg-circle--2,
.content-block--about .content-block-bg-circle--4 {
  display: none;
}

.content-block--about .content-block-bg-circle--1 {
  top: 6%;
  left: auto;
  right: -8%;
  width: clamp(140px, 22vw, 260px);
  height: clamp(140px, 22vw, 260px);
  background: rgba(255, 191, 0, 0.2);
}

.content-block--about .content-block-bg-circle--3 {
  bottom: 8%;
  right: auto;
  left: -6%;
  width: clamp(120px, 18vw, 220px);
  height: clamp(120px, 18vw, 220px);
  background: rgba(255, 204, 51, 0.16);
  animation-delay: -6s;
}

.content-block--about .page-content {
  position: relative;
  z-index: 1;
  background: transparent;
}

@media (max-width: 900px) {
  .content-block--about .content-block-bg-circle--1 {
    width: 72px !important;
    height: 72px !important;
    top: 4%;
    right: 0.5rem;
  }
  .content-block--about .content-block-bg-circle--3 {
    width: 64px !important;
    height: 64px !important;
    bottom: 6%;
    left: 0.5rem;
  }
}

/* Page Contact : composition asymétrique — grand cercle en haut à gauche, moyen en bas à droite, petit accent au centre droit */
.content-block--contact .content-block-bg-circle--1 {
  top: -12%;
  left: -15%;
  right: auto;
  bottom: auto;
  width: min(70vw, 380px);
  height: min(70vw, 380px);
  background: rgba(255, 191, 0, 0.14);
  animation-duration: 22s;
}

.content-block--contact .content-block-bg-circle--2 {
  top: auto;
  left: auto;
  right: -10%;
  bottom: -8%;
  width: min(50vw, 280px);
  height: min(50vw, 280px);
  background: rgba(255, 204, 51, 0.18);
  animation-delay: -4s;
  animation-duration: 26s;
  animation-direction: reverse;
}

.content-block--contact .content-block-bg-circle--3 {
  top: 45%;
  left: auto;
  right: -4%;
  bottom: auto;
  width: clamp(80px, 12vw, 140px);
  height: clamp(80px, 12vw, 140px);
  background: rgba(230, 172, 0, 0.12);
  animation-delay: -10s;
  animation-duration: 20s;
}

.content-block--contact .content-block-bg-circle--4 {
  display: none;
}

.content-block--contact .contact-page {
  position: relative;
  z-index: 1;
  background: transparent;
}

@media (max-width: 900px) {
  .content-block--contact .content-block-bg-circle--1 {
    width: min(60vw, 200px) !important;
    height: min(60vw, 200px) !important;
    top: -8%;
    left: -20%;
  }
  .content-block--contact .content-block-bg-circle--2 {
    width: min(55vw, 180px) !important;
    height: min(55vw, 180px) !important;
    right: -18%;
    bottom: -10%;
  }
  .content-block--contact .content-block-bg-circle--3 {
    width: 56px !important;
    height: 56px !important;
    right: 0.5rem;
    top: 50%;
  }
}
