/* GB2C — page d'accueil
   Idée : fond noir du logo, logo en grand, un descriptif, deux entrées. */
:root {
  --noir: #121212;
  --noir-haut: #262626;
  --or: #C9A55C;
  --or-clair: #E8CD8A;
  --or-fonce: #A67C3A;
  --texte: #D8D2C2;
  --discret: #8F8A7C;
  --titre: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --corps: "Jost", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 90% 70% at 85% -10%, var(--noir-haut) 0%, transparent 60%),
    var(--noir);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 17px;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 4px; }

main {
  flex: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo */
.logo { margin: 0; width: min(760px, 100%); }
.logo img { display: block; width: 100%; height: auto; }

/* Descriptif */
.descriptif { max-width: 60ch; text-align: center; margin: 36px auto 0; }
.descriptif .filet { width: 56px; height: 1px; background: var(--or-fonce); margin: 0 auto 32px; border: 0; }
.descriptif h1 {
  font-family: var(--titre);
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.3;
  color: var(--or-clair);
  margin: 0 0 20px;
  text-wrap: balance;
}
.descriptif p { margin: 0; color: var(--texte); font-size: 16.5px; }
.descriptif p + p { margin-top: 14px; color: var(--discret); font-size: 15px; }

/* Les deux entrées */
.entrees {
  margin-top: 52px;
  width: 100%;
  max-width: 820px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.entree {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 30px 26px;
  border: 1px solid #4A412C;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.015);
  transition: border-color .25s ease, background .25s ease;
}
.entree:hover { border-color: var(--or); background: rgba(201, 165, 92, 0.06); }
.entree .titre {
  font-family: var(--titre);
  font-size: 30px;
  line-height: 1.1;
  color: var(--or-clair);
  letter-spacing: 0.02em;
}
.entree .detail { font-size: 14.5px; color: var(--discret); line-height: 1.55; }
.entree .acces {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--or);
  display: flex; align-items: center; gap: 12px;
}
.entree .acces::after { content: ""; flex: 0 0 36px; height: 1px; background: currentColor; transition: flex-basis .25s ease; }
.entree:hover .acces::after { flex-basis: 56px; }
@media (prefers-reduced-motion: reduce) {
  .entree, .entree .acces::after { transition: none; }
}

/* Pied de page */
footer {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 24px 32px;
  border-top: 1px solid #2C2820;
  display: flex;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--discret);
}
footer a { text-decoration: none; margin-left: 18px; }
footer a:first-child { margin-left: 0; }
footer a:hover { color: var(--or-clair); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  main { padding-top: 40px; }
  .entrees { grid-template-columns: 1fr; margin-top: 40px; }
  .entree { padding: 24px 22px; }
  footer { flex-direction: column; }
}

/* Onglets en haut de page */
header.haut { border-bottom: 1px solid #2E2A1E; }
header.haut nav { max-width: 1040px; margin: 0 auto; padding: 18px 24px; display: flex; justify-content: center; align-items: center; gap: 14px 30px; flex-wrap: wrap; }
header.haut a { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: #CFC8B2; padding: 6px 0; border-bottom: 1px solid transparent; }
header.haut a:hover { color: var(--or-clair); border-bottom-color: var(--or-fonce); }
header.haut a[aria-current="page"] { color: var(--or-clair); border-bottom-color: var(--or); }
header.haut a.cta { border: 1px solid var(--or-fonce); padding: 9px 18px; color: var(--or-clair); }
header.haut a.cta:hover { background: var(--or); color: var(--noir); border-color: var(--or); }
@media (max-width: 640px) { header.haut nav { gap: 10px 18px; padding: 14px 16px; } header.haut a { font-size: 11px; letter-spacing: .14em; } header.haut a.cta { padding: 7px 12px; } }

/* Accueil : logo plus compact */
.logo { width: min(520px, 100%); }
main { padding-top: 40px; }

/* Appel direct */
.appel-direct { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.btn { display: inline-block; padding: 14px 26px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--or); color: var(--or-clair); transition: background .25s, color .25s; }
.btn.plein { background: var(--or); color: var(--noir); font-weight: 500; }
.btn.plein:hover { background: var(--or-clair); }
.btn.contour:hover { background: rgba(201,165,92,.1); }

/* Repères */
.preuves { list-style: none; margin: 56px 0 0; padding: 0; width: 100%; max-width: 920px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #3A3322; }
.preuves li { padding: 24px 20px 0 0; }
.preuves strong { display: block; font-family: var(--titre); font-weight: 500; font-size: 30px; line-height: 1.1; color: var(--or-clair); }
.preuves span { display: block; margin-top: 8px; font-size: 14px; color: var(--discret); line-height: 1.5; }

/* Présentation */
.surtitre { font-size: 11.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--or); margin: 0 0 10px; }
.presentation { margin-top: 72px; width: 100%; max-width: 920px; display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: center; }
.presentation .cadre { position: relative; aspect-ratio: 1; border: 1px solid var(--or-fonce); overflow: hidden; }
.presentation .cadre::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(232,205,138,.5); pointer-events: none; }
.presentation .cadre img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.presentation h2, .faq-accueil h2 { font-family: var(--titre); font-weight: 500; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; color: var(--or-clair); margin: 0 0 14px; }
.presentation p { margin: 0 0 14px; font-size: 16px; }
.lien { display: inline-block; color: var(--or); text-decoration: none; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid var(--or-fonce); padding-bottom: 3px; }
.lien:hover { color: var(--or-clair); }

/* FAQ d'accueil */
.faq-accueil { margin-top: 72px; width: 100%; max-width: 760px; }
.faq-accueil details { border-bottom: 1px solid #3A3322; }
.faq-accueil details:first-of-type { border-top: 1px solid #3A3322; }
.faq-accueil summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--titre); font-size: 22px; color: var(--texte); }
.faq-accueil summary::-webkit-details-marker { display: none; }
.faq-accueil summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 200; color: var(--or); transition: transform .25s; }
.faq-accueil details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-accueil details p { margin: 0 0 22px; color: var(--discret); font-size: 15.5px; max-width: 62ch; }
.faq-accueil .lien { margin-top: 26px; }

/* Barre d'appel mobile */
.barre-appel { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .barre-appel { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #121212; border-top: 1px solid var(--or-fonce); }
  .barre-appel a { text-align: center; padding: 18px 8px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--or-clair); }
  .barre-appel a.plein { background: var(--or); color: var(--noir); font-weight: 500; }
  .preuves { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .presentation { grid-template-columns: 1fr; gap: 24px; }
  .presentation .cadre { max-width: 220px; }
}
.preuves strong, .presentation h2, .faq-accueil h2 { font-variant-numeric: lining-nums; }

/* Logos des structures de rattachement dans les cartes */
.entree { position: relative; }
.entree .partenaire { position: absolute; bottom: 22px; right: 24px; display: flex; align-items: center; gap: 10px; }
.entree .partenaire small { display: none; }
.entree .partenaire img { display: block; height: 34px; width: auto; border: 1px solid #4A412C; }
.entree .partenaire img.p-sagesse { background: #fff; padding: 4px 8px; height: 34px; }
.entree .partenaire img.p-ac { height: 34px; }
@media (max-width: 640px) { .entree .partenaire { bottom: 20px; right: 20px; } }
