/* ============================================================
   GAÉ Finance - Valorisation & ingénierie financière
   Phase 3D-0 : harmonisation sur le système commun.
   Composant breadcrumb strictement identique à cession.css
   (.cess-breadcrumb) et acquisition.css (.acq-breadcrumb).
   Palette : exclusivement les variables du socle (pages.css).
   ============================================================ */

.val-breadcrumb {
  padding: 18px 0 0;
  font-size: 0.85rem;
  color: #5d6470;
}

.val-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.val-breadcrumb li { display: flex; align-items: center; }

.val-breadcrumb li + li::before {
  content: "›";
  margin-right: 10px;
  color: rgba(22, 24, 29, 0.35);
}

.val-breadcrumb a { text-decoration: none; }
.val-breadcrumb a:hover { text-decoration: underline; }

.val-breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 720px) {
  .val-breadcrumb { padding-top: 12px; }
}

/* ---------- FAQ (pattern identique à cess-faq / acq-faq) ---------- */

.val-faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.val-faq__item {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.val-faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}

.val-faq__item summary::-webkit-details-marker { display: none; }
.val-faq__item summary::marker { content: ""; }

.val-faq__item summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--muted);
  flex-shrink: 0;
}

.val-faq__item[open] summary::after { content: "\u2013"; }

.val-faq__item summary h3 {
  font-size: 1.06rem;
  line-height: 1.45;
  margin: 0;
}

.val-faq__body {
  max-width: 760px;
  padding: 0 24px 20px;
  color: var(--muted);
  line-height: 1.75;
}

.val-faq__body p { margin: 0 0 12px; }
.val-faq__body p:last-child { margin-bottom: 0; }
.val-faq__body strong { color: var(--text); }
.val-faq__body a { color: var(--accent); }

/* ---------- Bandeau lead magnet (fonds de la bande CTA crème validée) ---------- */

.val-leadmagnet__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 38px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f7f5f1 0%, #f1ece2 100%);
  border: 1px solid var(--line);
}

.val-leadmagnet__content h2 { margin: 8px 0 6px; }
.val-leadmagnet__content p { margin: 0; color: var(--muted); max-width: 62ch; }

.val-leadmagnet__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ---------- Ligne contact direct sous le CTA final ---------- */

.cta-band__direct {
  max-width: 62ch;
  margin: 18px auto 0;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(242, 246, 251, 0.75);
}

.cta-band__direct a {
  color: rgba(242, 246, 251, 0.92);
  text-decoration: none;
}

.cta-band__direct a:hover { text-decoration: underline; }

/* ---------- Espacement blocs empilés (pattern pages.css) ---------- */

.val-block-gap { margin-top: 38px; }

@media (max-width: 720px) {
  .val-leadmagnet__card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .val-faq__item summary { padding: 18px 20px; }
  .val-faq__body { padding: 0 20px 18px; }
}

/* =============================================================
   Phase 16C-1 - Valorisation : hero éditorial clair conservé.
   Raisonnements et méthodes mis en avant, cartes jumelles
   déchromées en compositions éditoriales filetées.
   Schéma VE -> dette nette -> valeur des titres ajouté.
   ============================================================= */

/* Fondamentaux : schéma en tête, trois notions ouvertes sur filets */
.val-fondamentaux .grid-3 { gap: 0 56px; margin-top: 30px; }
.val-fondamentaux .grid-3 .card {
  padding: 22px 0 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-top: 1px solid var(--line-strong);
  box-shadow: none;
  min-height: 0;
  overflow: visible;
}

/* Méthodes : raisonnement en liste éditoriale continue */
.val-methods .grid-3 { grid-template-columns: 1fr; gap: 0; margin-top: 8px; }
.val-methods .grid-3 .card {
  padding: 26px 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  min-height: 0;
  overflow: visible;
}
.val-methods .grid-3 .card:first-child { padding-top: 8px; }
.val-methods .grid-3 .card:last-child { border-bottom: none; padding-bottom: 0; }
.val-methods .card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.val-methods .card p { max-width: 72ch; }
.val-methods .method-note { max-width: 72ch; }

/* Mécanique financière : trois chaînes ouvertes sur filets */
.val-mech .grid-3 { gap: 0 56px; margin-top: 30px; }
.val-mech .grid-3 .card {
  padding: 22px 0 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-top: 1px solid var(--line-strong);
  box-shadow: none;
  min-height: 0;
  overflow: visible;
}

/* Situations : quatre usages ouverts */
.val-situ .grid-2 { gap: 0 56px; margin-top: 30px; }
.val-situ .grid-2 .card {
  padding: 22px 0 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-top: 1px solid var(--line-strong);
  box-shadow: none;
  min-height: 0;
  overflow: visible;
}
.val-situ .card p a { font-weight: 600; }

/* Calendrier : six moments compacts sur filets */
.val-cal .grid-3 { gap: 22px 40px; margin-top: 30px; }
.val-cal .grid-3 .card {
  padding: 18px 0 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-top: 1px solid var(--line-strong);
  box-shadow: none;
  min-height: 0;
  overflow: visible;
}
.val-cal .card h3 { font-size: 1.04rem; }
.val-cal .card p { font-size: 0.94rem; }

/* Pourquoi GAÉ Finance : quatre arguments ouverts */
.val-why .grid-2 { gap: 0 56px; margin-top: 30px; }
.val-why .grid-2 .card {
  padding: 22px 0 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-top: 1px solid var(--line-strong);
  box-shadow: none;
  min-height: 0;
  overflow: visible;
}

/* Bloc estimation : bande plate sur filets, plus de carte gradient */
.val-leadmagnet__card {
  gap: 18px 48px;
  padding: 26px 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}
.val-leadmagnet__content h2 { font-size: 1.6rem; }

/* Repères & définitions embarqués : chips déchromées (composant
   partagé aplati dans pages.css), grille resserrée */
.term-grid { gap: 0 56px; }

/* FAQ : filets continus, accordéon conservé */
.val-faq { gap: 0; }
.val-faq__item {
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.val-faq__item:first-child { border-top: 1px solid var(--line); }
.val-faq__item summary { padding: 18px 40px 18px 0; }

@media (max-width: 980px) {
  .val-fondamentaux .grid-3, .val-mech .grid-3,
  .val-situ .grid-2, .val-why .grid-2 { gap: 0; }
  .term-grid { gap: 0; }
}

/* Quote « Principe » (section sombre) : filet or, sans glass */
.quote-band {
  padding: 34px 0 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

/* Notes méthodes : texte discret sous filet (usage Valorisation) */
.method-note {
  padding: 12px 0 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.92rem;
}

/* ---------- Phase 16D : CTA final aligné sur le registre des
   autres expertises (bande pleine largeur, contenu centré) ----------
   Le gradient porte sur la section (pleine largeur) ; la section
   fournit déjà le rythme 96px 0 -> l'inner devient transparent. */
.cta-band {
  background: linear-gradient(135deg, #182536 0%, #10161f 100%);
  color: #f4f7fb;
}
.cta-band__inner {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  padding: 0 24px;
  border-radius: 0;
  background: none;
  border: none;
  box-shadow: none;
}
.cta-band__actions {
  justify-content: center;
}
.cta-band__actions .btn-secondary {
  padding: 12px 0;
}
