
:root{
  /* ============================================================
     OR — plus présent, mais toujours bijou
  ============================================================ */
  --gold: #d9c27a;
  --gold-2: #f1e4bb;
  --gold-line: rgba(217,194,122,0.55);
  --gold-line-soft: rgba(217,194,122,0.24);

  /* ============================================================
     FOND — VALIDÉ, ON N’Y TOUCHE PLUS
  ============================================================ */
  --wrap-top: #35201a;
  --wrap-mid: #2d1a14;
  --wrap-bot: #241410;

  /* Texte fond */
  --page-ink: #27190f;
  --page-ink-soft: rgba(39,25,15,0.72);

  /* ============================================================
     CARTE — BRUN NOIR SATIN (CHIC)
     → sombre, mais distinct du fond
  ============================================================ */
  --card-bg: #1c1110;
  --card-border: rgba(217,194,122,0.18);
  --card-border-2: rgba(217,194,122,0.34);

  /* ============================================================
     SURFACES INTERNES — LECTURE NATURELLE
  ============================================================ */
--q-bg: #1f1210;   /* question légèrement plus claire */
--a-bg: #140907;   /* réponse légèrement plus sombre */

  /* ============================================================
     TEXTE CARTES — CONTRASTE RAFFINÉ
  ============================================================ */
  --ink: rgba(255,253,248,0.95);
  --ink-soft: rgba(255,253,248,0.80);
  --ink-muted: rgba(255,253,248,0.60);

  /* ============================================================
     OMBRE — NETTE, ÉLÉGANTE
  ============================================================ */
  --shadow: 0 14px 24px rgba(0,0,0,0.28);

  /* ============================================================
     RYTHME
  ============================================================ */
  --radius: 14px;
  --pad-x: 24px;
  --pad-y: 16px;

  /* Transitions */
  --t-fast: 140ms;
  --t-med: 220ms;
}


/* ============================================================
   WRAPPER FAQ — fond clair
============================================================ */

.faq-section-wrapper{
  position: relative;
  padding: 110px 0 130px;

  background:
    radial-gradient(1000px 460px at 50% -12%, rgba(0,0,0,0.05), transparent 64%),
    linear-gradient(180deg, var(--wrap-top), var(--wrap-mid) 52%, var(--wrap-bot));
}

/* Liseré discret haut/bas (sur fond clair) */
.faq-section-wrapper::before,
.faq-section-wrapper::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(217,194,122,0.28), transparent);
}
.faq-section-wrapper::before{ top: 0; }
.faq-section-wrapper::after{ bottom: 0; }

/* ============================================================
   CONTENU
============================================================ */

.faq-section{
  max-width: 920px;
  margin: 0 auto;
  padding: 0 22px;
  text-align: center;

  color: var(--page-ink);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.faq-title{
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 3rem;
  letter-spacing: 0.2px;
  margin: 0 0 44px;

  color: var(--page-ink);
}

.faq-title::after{
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, transparent, rgba(217,194,122,0.72), transparent);
}

/* ============================================================
   LISTE
============================================================ */

.faq-container{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============================================================
   ITEM — cartes sombres sur fond clair
============================================================ */

.faq-item{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;

  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);

  contain: layout paint;
}

/* Liseré interne fin (côté “net”) */


/* Hover uniquement desktop */
@media (hover: hover) and (pointer: fine){
  .faq-item{
    transition: transform var(--t-fast) ease, border-color var(--t-fast) ease;
  }
  .faq-item:hover{
    transform: translateY(-1px);
    border-color: var(--card-border-2);
  }
}

/* Actif : accent doré maîtrisé */
.faq-item.active{
  border-color: rgba(217,194,122,0.28);
}

/* ============================================================
   QUESTION — sombre, texte clair
============================================================ */

.faq-question{
  width: 100%;
  padding: var(--pad-y) var(--pad-x);

  background: var(--q-bg);
  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  gap: 12px;

  text-align: left;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;

  color: var(--ink);
}

/* Accent discret à gauche */

.faq-item.active .faq-question::before{
  background: rgba(217,194,122,0.44);
  box-shadow: 0 0 0 1px rgba(217,194,122,0.18);
}

/* Focus net (sans glow) */
.faq-question:focus-visible{
  outline: 2px solid rgba(217,194,122,0.55);
  outline-offset: 2px;
  border-radius: 10px;
}

/* Séparation Q/R : fine ligne dorée */
.faq-question{
  position: relative;
}

.faq-item.active .faq-question::after{
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
}

/* Flèche : discrète, propre */
.faq-question .arrow{
  margin-left: auto;

  width: 34px;
  height: 34px;
  border-radius: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.085);
  color: var(--gold);

  line-height: 1;
  font-size: 16px;

  transition: transform var(--t-med) ease, border-color var(--t-fast) ease, background-color var(--t-fast) ease;
}
.faq-item.active .arrow{
  transform: rotate(180deg);
  border-color: rgba(217,194,122,0.22);
  background: rgba(217,194,122,0.055);
}

/* ============================================================
   RÉPONSE — un cran plus profond
============================================================ */

.faq-answer{
  max-height: 0;
  overflow: hidden;
  opacity: 0;

  background: var(--a-bg);
  transition: max-height 260ms ease, opacity 160ms ease;
}

.faq-item.active .faq-answer{
  opacity: 1;
  max-height: 900px;
}

.faq-answer-inner{
  padding: 16px var(--pad-x) 22px;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 1.02rem;
  line-height: 1.62;

  color: var(--ink-soft);
}

.faq-answer-inner p{ margin: 0 0 10px; }
.faq-answer-inner p:last-child{ margin-bottom: 0; }
.faq-answer-inner strong{
  color: var(--ink);
  font-weight: 600;
}

/* ============================================================
   ACCESSIBILITÉ
============================================================ */

@media (prefers-reduced-motion: reduce){
  *{
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 700px){
  :root{
    --pad-x: 18px;
    --pad-y: 14px;
  }

  .faq-title{
    font-size: 2.2rem;
    margin-bottom: 36px;
  }

  .faq-question{
    font-size: 1.00rem;
  }

  .faq-answer-inner{
    font-size: 0.95rem;
  }

  .faq-question .arrow{
    width: 32px;
    height: 32px;
  }
}

/* ============================================================
   OPTION PERF (si tu sens du lag au scroll sur mobile)
   Supprime le radial-gradient, garde seulement le linear-gradient.
   Tu peux activer ça en ajoutant la classe "faq-no-radial"
   sur .faq-section-wrapper
============================================================ */

.faq-section-wrapper.faq-no-radial{
  background: linear-gradient(180deg, var(--wrap-top), var(--wrap-mid) 52%, var(--wrap-bot));
}
