/* Accueil — « Écouter un vrai appel » (29 nov. 2026). Chargée seulement quand des enregistrements existent
   (v3-27\enregistrements-sarah\). Même règle de couleur que app.css : l'or, c'est Sarah qui parle.
   Sans JavaScript : le lecteur du navigateur (audio controls) et le texte de l'appel en entier. */

.acc-ecouter { padding: clamp(64px, 8vw, 104px) 0; background: #faf7f1; border-top: 1px solid #eee7da; border-bottom: 1px solid #eee7da; scroll-margin-top: 72px; }
.acc-ecouter .p-section-heading { margin-bottom: 28px; }
.acc-ecouter-etiquette { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; border: 1px solid #8c610c40; border-radius: 999px; padding: 5px 12px 6px; background: #fff; color: var(--acc-or-texte); font-size: 13px; font-weight: 500; line-height: 1.4; }
.acc-ecouter-etiquette::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc-or); flex: none; }

/* les onglets : un par appel */
.acc-ecouter-onglets { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.acc-ecouter-onglets [role="tab"] { appearance: none; border: 1px solid #d9d2c4; border-radius: 999px; padding: 9px 16px; background: #fff; color: #1b1a19; font: inherit; font-size: 14.5px; font-weight: 500; line-height: 1.2; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease; }
.acc-ecouter-onglets [role="tab"]:hover { border-color: var(--acc-or); }
.acc-ecouter-onglets [role="tab"][aria-selected="true"] { border-color: var(--acc-encre); background: var(--acc-encre); color: #fff; }

.acc-ecouter-grille { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 899px) { .acc-ecouter-grille { grid-template-columns: minmax(0, 1fr); } }
.acc-ecouter-gauche, .acc-a-vous { border: 1px solid #ebe4d7; border-radius: 20px; background: #fff; box-shadow: 0 18px 40px -28px #3b2a0a40; }
.acc-ecouter-gauche { overflow: hidden; }

/* le lecteur */
.acc-lecteur { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid #f0ebe1; }
.acc-lecteur audio { width: 100%; }
.acc-lecteur-bouton, .acc-lecteur-piste, .acc-lecteur-temps { display: none; }
.acc-ecouter-js .acc-lecteur audio { display: none; }
.acc-ecouter-js .acc-lecteur-bouton { display: inline-grid; }
.acc-ecouter-js .acc-lecteur-piste { display: block; }
.acc-ecouter-js .acc-lecteur-temps { display: inline; }
.acc-lecteur-bouton { place-items: center; flex: none; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--acc-encre); color: #fff; cursor: pointer; transition: transform 0.2s ease, background 0.2s ease; }
.acc-lecteur-bouton:hover { background: #2a2826; transform: scale(1.04); }
.acc-lecteur-bouton svg { width: 20px; height: 20px; }
.acc-lecteur-bouton .acc-pause { display: none; }
.joue .acc-lecteur-bouton .acc-lire { display: none; }
.joue .acc-lecteur-bouton .acc-pause { display: block; }
.acc-lecteur-milieu { flex: 1; min-width: 0; }
.acc-lecteur-titre { display: flex; justify-content: flex-start; align-items: center; gap: 10px; margin: 0 0 8px; color: #1b1a19; font-size: 14px; font-weight: 600; line-height: 1.3; }
.acc-lecteur-titre .acc-onde { height: 11px; }
.joue .acc-lecteur-titre .acc-onde i { animation: acc-onde 1.15s ease-in-out infinite; }
.joue .acc-lecteur-titre .acc-onde i:nth-child(2) { animation-delay: 0.16s; }
.joue .acc-lecteur-titre .acc-onde i:nth-child(3) { animation-delay: 0.32s; }
.joue .acc-lecteur-titre .acc-onde i:nth-child(4) { animation-delay: 0.48s; }
.joue .acc-lecteur-titre .acc-onde i:nth-child(5) { animation-delay: 0.64s; }
.acc-lecteur-temps { margin-left: auto; color: var(--acc-gris); font-size: 12.5px; font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
.acc-lecteur-piste { --rempli: 0%; width: 100%; height: 18px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
.acc-lecteur-piste::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--acc-or) var(--rempli), #ece6da var(--rempli)); }
.acc-lecteur-piste::-moz-range-track { height: 4px; border-radius: 4px; background: #ece6da; }
.acc-lecteur-piste::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--acc-or); }
.acc-lecteur-piste::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border: 2px solid #fff; border-radius: 50%; background: var(--acc-or-texte); box-shadow: 0 0 0 1px #8c610c55; }
.acc-lecteur-piste::-moz-range-thumb { width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: var(--acc-or-texte); }

/* le texte de l'appel : la ligne dite s'allume, on peut cliquer une ligne pour y aller */
.acc-transcription { max-height: 390px; overflow-y: auto; padding: 10px 10px 14px; scroll-behavior: smooth; overscroll-behavior: contain; }
@media (max-width: 899px) { .acc-transcription { max-height: 62vh; overscroll-behavior: auto; } }
.acc-transcription li { margin: 0; }
.acc-replique { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; width: 100%; margin: 0; border: 0; border-radius: 12px; padding: 9px 10px; background: transparent; color: #1b1a19; font: inherit; font-size: 15px; line-height: 1.5; text-align: left; cursor: pointer; transition: background 0.25s ease, opacity 0.25s ease; }
.acc-replique:hover { background: #f6f2ea; }
.acc-qui { padding-top: 1px; color: #4e4e4d; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.acc-replique[data-qui="sarah"] .acc-qui { color: var(--acc-or-texte); }
.acc-quand { padding-top: 2px; color: #8a8885; font-size: 12px; font-variant-numeric: tabular-nums; }
.joue .acc-transcription li:not(.est-passee):not(.est-dite) .acc-replique { opacity: 0.5; }
.est-dite .acc-replique { background: #e1a54b1f; }
.est-dite .acc-replique[data-qui="sarah"] { box-shadow: inset 2px 0 0 var(--acc-or); }
.acc-ecouter-voix { margin: 0; padding: 11px 20px 15px; border-top: 1px solid #f1ebe0; color: var(--acc-gris); font-size: 12.5px; } /* (30 nov.) un filet : la note ne touche plus le texte qui défile */

/* à droite : ce que le propriétaire reçoit, puis le passage à l'appel */
.acc-ecouter-droite { display: grid; gap: 16px; }
.acc .acc-ecouter-proprio { position: relative; inset: auto; width: auto; max-width: none; margin: 0; transform: none; }
.acc-ecouter-texto { margin: 10px 0 0; border-radius: 16px 16px 16px 4px; padding: 12px 14px; background: #f3efe7; color: #1b1a19; font-size: 14.5px; line-height: 1.5; white-space: pre-line; }
.acc-a-vous { padding: 20px; }
.acc-a-vous-titre { margin: 0 0 12px; color: #060606; font-size: 19px; font-weight: 600; line-height: 1.3; }
.acc-a-vous-appeler { display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid var(--acc-encre); border-radius: 999px; padding: 12px 20px; background: #fff; color: var(--acc-encre); font-size: 16px; font-weight: 600; text-decoration: none; }
.acc-a-vous-appeler svg { width: 18px; height: 18px; color: var(--acc-or-texte); }
.acc-a-vous-ordi { display: none; align-items: center; gap: 14px; }
.acc-a-vous-ordi img { flex: none; width: 104px; height: 104px; border: 1px solid #ebe4d7; border-radius: 12px; background: #fff; }
.acc-a-vous-ordi p { margin: 0; color: #3d3c3a; font-size: 14px; line-height: 1.5; }
.acc-a-vous-ordi a { color: var(--acc-encre); font-size: 21px; font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .acc-a-vous-appeler { display: none; }
  .acc-a-vous-ordi { display: flex; }
}
.acc-a-vous-phrase { margin: 14px 0 0; border-left: 2px solid var(--acc-or); padding-left: 12px; color: #3d3c3a; font-size: 14.5px; line-height: 1.55; }
.acc-a-vous-phrase strong { color: #060606; font-weight: 600; }
.acc-a-vous-texto { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; border-top: 1px solid #f0ebe1; padding-top: 14px; color: #3d3c3a; font-size: 14px; line-height: 1.55; }
.acc-a-vous-texto > svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--acc-or-texte); }
.acc-a-vous-texto a { color: var(--acc-encre); font-weight: 600; }
.acc-a-vous-texto img { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) { .acc-a-vous-texto img { display: block; flex: none; width: 72px; height: 72px; margin-left: auto; border: 1px solid #ebe4d7; border-radius: 10px; } }
.acc-ecouter-suite { margin-top: 22px; }

/* le bouton du haut de page : « Écouter un vrai appel » */
.acc .acc-bouton-ecouter { display: inline-flex; align-items: center; gap: 10px; color: #060606; font-weight: 600; text-decoration: none; }
.acc .acc-bouton-ecouter .acc-rond { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--acc-encre); color: #fff; transition: transform 0.2s ease; }
.acc .acc-bouton-ecouter .acc-rond svg { width: 13px; height: 13px; margin-left: 2px; }
.acc .acc-bouton-ecouter:hover .acc-rond { transform: scale(1.06); }
.acc .acc-bouton-ecouter small { color: var(--acc-gris); font-size: 13px; font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  .acc-transcription { scroll-behavior: auto; }
  .joue .acc-lecteur-titre .acc-onde i { animation: none; }
}
