/* =========================================
   POWERLAB - SEO CONTENT
   Préfixe exclusif : seo-
========================================= */

.seo-content {
  --seo-ink: #1d1d1f;
  --seo-ink-2: #424245;
  --seo-ink-3: #636366;
  --seo-bg: #ffffff;
  --seo-soft: #f5f5f7;
  --seo-line: #d2d2d7;
  --seo-gold: #c7a14e;
  --seo-accent: #86692a;

  --seo-font: -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "SF Pro Display", "Helvetica Neue",
    "Inter", "Segoe UI", Roboto, Arial, sans-serif;

  width: 100%;
  max-width: 100%;
  margin: 0 auto;

  background: var(--seo-bg);
  color: var(--seo-ink);

  font-family: var(--seo-font);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.011em;
  text-align: left;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.seo-content *,
.seo-content *::before,
.seo-content *::after {
  box-sizing: border-box;
}

/* Largeur de lecture */

.seo-header,
.seo-body {
  width: min(100% - 40px, 1080px);
  margin-right: auto;
  margin-left: auto;
}

/* =========================================
   INTRODUCTION
========================================= */

.seo-header {
  margin-bottom: clamp(34px, 5vw, 56px);
}

.seo-eyebrow {
  display: inline-block;
  margin-bottom: 15px;

  color: var(--seo-accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.seo-content .seo-header h1 {

  margin: 0 0 20px;
  padding: 0;

  color: var(--seo-ink);
  font-family: inherit;
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 720;
  line-height: 1.12;
  letter-spacing: -.045em;
  text-transform: none;
}

.seo-content .seo-intro {
  max-width: 900px;
  margin: 0;
  padding: 0;

  color: var(--seo-ink-2);
  font-size: clamp(17px, 1.7vw, 19px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -.018em;
}

/* =========================================
   CORPS DU TEXTE
========================================= */

.seo-body {
  color: var(--seo-ink-2);
}

.seo-content .seo-body p {

  margin: 0 0 19px;
  padding: 0;

  color: var(--seo-ink-2);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: -.008em;
}

.seo-content .seo-body strong {
  color: var(--seo-ink);
  font-weight: 650;
}

/* =========================================
   TITRES H2
========================================= */

.seo-content .seo-body h2 {
  position: relative;

  margin: clamp(42px, 5vw, 58px) 0 18px;
  padding: 0;

  color: var(--seo-ink);
  font-family: inherit;
  font-size: clamp(23px, 2.5vw, 29px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.032em;
  text-transform: none;
}

.seo-content .seo-body h2::after {
  content: "";
  display: block;

  width: 38px;
  height: 2px;
  margin-top: 13px;

  background: var(--seo-gold);
}

/* =========================================
   TITRES H3
========================================= */

.seo-content .seo-body h3 {
  margin: 29px 0 10px;
  padding: 0;

  color: var(--seo-ink);
  font-family: inherit;
  font-size: 19px;
  font-weight: 680;
  line-height: 1.38;
  letter-spacing: -.02em;
  text-transform: none;
}

/* =========================================
   LIENS
========================================= */

.seo-content .seo-body a {
  color: var(--seo-accent);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(134, 105, 42, .35);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;

  transition:
    color .2s ease,
    text-decoration-color .2s ease;
}

.seo-content .seo-body a:hover {
  color: var(--seo-ink);
  text-decoration-color: var(--seo-gold);
}

.seo-content .seo-body a:focus-visible {
  outline: 2px solid var(--seo-gold);
  outline-offset: 4px;
  border-radius: 3px;
}

/* =========================================
   LISTES
========================================= */

.seo-content .seo-body ul {
  max-width: 950px;
  margin: 20px 0 25px;
  padding: 0 0 0 23px;

  list-style: disc;
}

.seo-content .seo-body li {
  margin: 0 0 11px;
  padding: 0 0 0 5px;

  color: var(--seo-ink-2);
  font-size: 16px;
  line-height: 1.7;
}

.seo-content .seo-body li::marker {
  color: var(--seo-gold);
}

/* =========================================
   FAQ ACCORDÉON
========================================= */

.seo-content .seo-faq {
  width: 100%;
  max-width: 950px;
  margin: 25px 0 0;

  border-top: 1px solid var(--seo-line);
}

.seo-content .seo-faq-item {
  margin: 0;
  padding: 0;

  border: 0;
  border-bottom: 1px solid var(--seo-line);
  background: transparent;
}

/* Question */

.seo-content .seo-faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  min-height: 66px;
  padding: 18px 48px 18px 0;

  color: var(--seo-ink);
  font-family: var(--seo-font);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -.015em;

  cursor: pointer;
  list-style: none;

  transition: color .2s ease;
}

.seo-content .seo-faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-content .seo-faq-item summary::marker {
  content: "";
}

/* Icône */

.seo-content .seo-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  width: 29px;
  height: 29px;

  border: 1px solid var(--seo-line);
  border-radius: 50%;

  color: var(--seo-accent);
  font-size: 21px;
  font-weight: 400;
  line-height: 1;

  transition:
    transform .25s ease,
    background .25s ease,
    border-color .25s ease,
    color .25s ease;
}

/* Survol */

.seo-content .seo-faq-item summary:hover {
  color: var(--seo-accent);
}

.seo-content .seo-faq-item summary:hover::after {
  border-color: var(--seo-gold);
  background: rgba(199, 161, 78, .09);
}

/* Question ouverte */

.seo-content .seo-faq-item[open] summary {
  color: var(--seo-accent);
}

.seo-content .seo-faq-item[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);

  border-color: var(--seo-gold);
  background: rgba(199, 161, 78, .12);
}

/* Réponse */

.seo-content .seo-faq-answer {
  padding: 0 48px 21px 0;
  animation: seo-faq-reveal .25s ease;
}

.seo-content .seo-faq-answer p {
  max-width: 850px;
  margin: 0;

  color: var(--seo-ink-2);
  font-size: 15px;
  line-height: 1.75;
}

/* Liens dans la FAQ */

.seo-content .seo-faq-answer a {
  color: var(--seo-accent);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(134, 105, 42, .35);
  text-underline-offset: 3px;
}

.seo-content .seo-faq-answer a:hover {
  color: var(--seo-ink);
  text-decoration-color: var(--seo-gold);
}

/* Focus clavier */

.seo-content .seo-faq-item summary:focus-visible {
  outline: 2px solid var(--seo-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Animation */

@keyframes seo-faq-reveal {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   DATE DE MISE À JOUR
========================================= */

.seo-content .seo-update {
  max-width: 950px;
  margin-top: 35px !important;
  padding: 15px 18px !important;

  background: var(--seo-soft);
  border-left: 3px solid var(--seo-gold);

  color: var(--seo-ink-3) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

.seo-content .seo-update strong {
  color: var(--seo-ink) !important;
}

/* =========================================
   TABLETTE
========================================= */

@media (max-width: 900px) {
  .seo-header,
  .seo-body {
    width: min(100% - 36px, 1080px);
  }

  .seo-content .seo-header h1 {
    font-size: clamp(29px, 4.5vw, 36px);
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {
  .seo-content {
    padding: 25px 0 42px;
    font-size: 15px;
    line-height: 1.7;
  }

  .seo-header,
  .seo-body {
    width: calc(100% - 32px);
  }

  .seo-header {
    margin-bottom: 32px;
  }

  .seo-eyebrow {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .seo-content .seo-header h1 {
    margin-bottom: 15px;
    font-size: 28px;
    line-height: 1.17;
    letter-spacing: -.035em;
  }

  .seo-content .seo-intro {
    font-size: 16px;
    line-height: 1.65;
  }

  .seo-content .seo-body h2 {
    margin-top: 38px;
    margin-bottom: 15px;
    font-size: 23px;
    line-height: 1.25;
  }

  .seo-content .seo-body h2::after {
    width: 30px;
    margin-top: 10px;
  }

  .seo-content .seo-body h3 {
    margin-top: 23px;
    margin-bottom: 9px;
    font-size: 18px;
  }

  .seo-content .seo-body p,
  .seo-content .seo-body li {
    font-size: 15px;
    line-height: 1.72;
  }

  .seo-content .seo-body p {
    margin-bottom: 16px;
  }

  .seo-content .seo-body ul {
    padding-left: 20px;
  }

  .seo-content .seo-faq {
    margin-top: 20px;
  }

  .seo-content .seo-faq-item summary {
    min-height: 62px;
    padding: 16px 42px 16px 0;

    font-size: 15px;
    line-height: 1.45;
  }

  .seo-content .seo-faq-item summary::after {
    right: 0;
    width: 27px;
    height: 27px;
    font-size: 20px;
  }

  .seo-content .seo-faq-answer {
    padding: 0 5px 18px 0;
  }

  .seo-content .seo-faq-answer p {
    font-size: 14px;
    line-height: 1.7;
  }

  .seo-content .seo-update {
    padding: 13px 14px !important;
    font-size: 12px !important;
  }
}

/* =========================================
   ACCESSIBILITÉ
========================================= */

@media (prefers-reduced-motion: reduce) {
  .seo-content .seo-faq-item summary,
  .seo-content .seo-faq-item summary::after {
    transition: none;
  }

  .seo-content .seo-faq-answer {
    animation: none;
  }
}
