/* ==========================================================================
   pages.css : les quelques pièces propres aux pages intérieures (3 déc. 2026 · 00:50)
   Chargée après systeme.css par realisations, offres, le-lab, engagements, a-propos, contact
   et les pages légales. Aucune couleur en dur : seulement les jetons de systeme.css.
   ========================================================================== */

/* ---------- 1. Deux colonnes : média d'un côté, texte de l'autre (Réalisations, Qui sommes-nous) ---------- */
.duo { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.duo__texte > * + * { margin-top: var(--e-4); }
.duo__texte h2 { margin-bottom: var(--e-2); }
@media (min-width: 900px) {
  .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .duo--inverse > :first-child { order: 2; }
}
.duo__media { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }

/* Liste courte à puces d'or (ce qui est compris, ce qu'on voit) */
.puces > li { position: relative; padding-left: 1.4em; }
.puces > li + li { margin-top: .5em; }
.puces > li::before {
  content: ""; position: absolute; left: .1em; top: .62em; width: .5em; height: .5em; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--or-clair), var(--or-profond));
}

/* ---------- 2. Téléphone qui contient une vraie vidéo (Réalisations) ---------- */
.telephone--video { cursor: default; }
.telephone--video .telephone__ecran video { display: block; background: #05081C; }
button.telephone__lecture { border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button.telephone__lecture:focus-visible { outline: 3px solid var(--or-clair); outline-offset: 3px; }
.telephone--video.joue .telephone__lecture { display: none; }
@media (hover: hover) { .telephone--video:hover { transform: none; } }
/* La vitrine des vidéos : les ancres #fournil-1… laissent la place de l'en-tête */
.telephones > li[id] { scroll-margin-top: calc(var(--entete-h) + 24px); }

/* ---------- 3. Captures d'écran ---------- */
.galerie { display: grid; gap: 28px; align-items: start; }
@media (min-width: 760px) { .galerie { grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); } }
.capture { margin: 0; }
.capture img {
  display: block; width: 100%; height: auto; border-radius: 18px;
  border: 1px solid var(--trait-fort); box-shadow: 0 30px 60px -34px #000;
}
.capture--telephone img { max-width: 300px; margin-inline: auto; border-radius: 26px; }
.capture figcaption { margin-top: 12px; font-size: var(--t-petit); color: var(--texte-doux); line-height: 1.45; text-align: center; }

/* ---------- 4. Offres : formules et prix ---------- */
.offre { scroll-margin-top: calc(var(--entete-h) + 16px); }
.offre__tete { display: flex; align-items: center; gap: 18px; margin-bottom: var(--e-5); }
.offre__tete h2 { margin: 0; }
.offre__tete .carte__icone { width: 64px; height: 64px; }
.offre__intro { max-width: 40em; margin-bottom: clamp(28px, 4vw, 44px); }
.offre__intro > * + * { margin-top: var(--e-4); }
@media (min-width: 1100px) { .cartes--3 { grid-template-columns: repeat(3, 1fr); } }
.formule .etiquette { align-self: flex-start; margin-bottom: 12px; }
.formule--conseillee { border-color: var(--trait-fort); }
.formule h3 { margin-top: 0; }
.formule .puces { margin-bottom: 20px; color: var(--texte); }
.formule .prix { min-height: 0; padding-right: 0; }
.offre__notes { margin-top: 22px; max-width: 46em; }
.offre__notes > * + * { margin-top: var(--e-3); }

/* ---------- 5. Le Lab : la graine d'or et le journal ---------- */
.lab-graine { position: relative; height: 230px; max-width: 420px; margin: 0 auto; display: grid; place-items: center; }
.lab-graine::before {
  content: ""; position: absolute; inset: -6% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(36, 60, 176, .3), transparent);
}
.lab-graine .repli { width: min(200px, 60vw); height: auto; }
@media (min-width: 900px) { .lab-graine { height: 320px; } .lab-graine .repli { width: 260px; } }

.journal { position: relative; display: grid; gap: 0; max-width: 46rem; margin-inline: auto; }
.journal::before { /* le fil d'or du journal */
  content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 1px;
  background: linear-gradient(180deg, var(--or), rgba(217, 181, 100, .15));
}
.journal > li { position: relative; padding: 0 0 34px 48px; }
.journal > li:last-child { padding-bottom: 0; }
.journal > li::before { /* la perle */
  content: ""; position: absolute; left: 4px; top: 6px; width: 15px; height: 15px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--or-clair), var(--or-profond));
  box-shadow: 0 0 0 5px rgba(217, 181, 100, .08), 0 0 18px rgba(217, 181, 100, .45);
}
.journal__quand { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: var(--t-petit); color: var(--texte-doux); }
.journal__quand time { font-weight: 700; color: var(--or); }
.journal__version { padding: 1px 10px; border-radius: 999px; border: 1px solid var(--trait); color: var(--or-clair); font-size: .9375rem; }
.journal h3 { margin: 8px 0 6px; }
.journal p { max-width: 36em; }

/* ---------- 6. Qui sommes-nous ---------- */
.portrait { max-width: 380px; margin-inline: auto; }
.portrait .avatar-tls123 { max-width: 380px; margin-inline: auto; }
.portrait figcaption { margin-top: 4px; text-align: center; font-size: var(--t-petit); color: var(--texte-doux); }
.carte p + p { margin-top: -8px; }

/* ---------- 7. Contact ---------- */
.contact-grille { display: grid; gap: clamp(40px, 6vw, 72px); }
@media (min-width: 980px) { .contact-grille { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; } }
.contact-cote > * + * { margin-top: var(--e-5); }
.contact-cote .moyens { grid-template-columns: 1fr; }
.formulaire .actions { margin-top: 4px; }
.formulaire .bouton { flex: 1 1 220px; }
.champ select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--or) 50%), linear-gradient(135deg, var(--or) 50%, transparent 50%); background-position: calc(100% - 24px) 50%, calc(100% - 18px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.champ select option { color: #0A1030; }
.champ--erreur input, .champ--erreur textarea { border-color: var(--or-clair); }
.formulaire__erreur { color: var(--or-clair); font-weight: 700; }
.formulaire__erreur:empty { display: none; }
.apercu-message { white-space: pre-wrap; font-size: var(--t-petit); color: var(--texte); }

/* ---------- 8. Pages légales ---------- */
.legal { padding-top: 0; }
.legal .texte-long h2:first-child { margin-top: 0; }
.legal dl { display: grid; gap: 4px 18px; }
@media (min-width: 640px) { .legal dl { grid-template-columns: max-content minmax(0, 1fr); } }
.legal dt { font-weight: 700; color: var(--ivoire); }
.legal dd { margin: 0 0 8px; color: var(--texte); }
.bloc-apres { margin-top: clamp(36px, 5vw, 56px); }
