/* Démarrage et avis retravaillés (20/11) : l'action en titre, la durée en pastille,
   l'étape 3 en carte d'arrivée ; des avis façon Trustpilot (carrés verts, citations du coach).
   Chargée en dernier : elle reprend aube.css, acces.css et avis-prix.css sans les modifier. */

/* --- Six minutes pour commencer --- */
.begin-steps li > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.begin-steps .step-time { order: 0; margin: 0; padding: 5px 12px; border-radius: 999px; background: white; border: 1px solid color-mix(in srgb, var(--nuit-2) 22%, transparent); font-family: var(--body); font-size: 14px; font-weight: 650; letter-spacing: 0; line-height: 1.3; color: var(--nuit-2); }
.begin-steps li:last-child .step-time { font-size: 14px; letter-spacing: 0; background: var(--aube); border-color: color-mix(in srgb, var(--soleil) 55%, transparent); color: var(--soleil-texte); }
.begin-steps h3 { order: 1; margin: 0; font-family: var(--heading); font-size: clamp(22px, 1.9vw, 28px); font-weight: 800; letter-spacing: -.7px; line-height: 1.2; color: var(--ink); text-wrap: balance; }
.begin-steps h3 .step-aside { display: block; margin-top: 6px; font-family: var(--body); font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); white-space: normal; }

/* L'arrivée : la sélection du matin, comme dans la démo de Claire */
.begin-steps li:last-child > div { width: 100%; padding: 20px 22px 22px; border-radius: 18px; background: linear-gradient(160deg, white 0%, var(--aube) 100%); border: 1px solid color-mix(in srgb, var(--soleil) 40%, transparent); box-shadow: 0 14px 34px -22px color-mix(in srgb, var(--soleil-texte) 40%, transparent); }
.begin-apercu { order: 2; display: grid; gap: 2px; width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 12px; background: white; border-left: 4px solid var(--soleil); font-size: 15px; line-height: 1.35; color: var(--muted); }
.begin-apercu b { font-family: var(--heading); font-size: 17px; font-weight: 750; letter-spacing: -.3px; color: var(--ink); }
.begin-apercu-tag { justify-self: start; margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--soleil-texte); }

/* --- Ils ont trouvé de quoi avancer : façon Trustpilot --- */
.avis.section { background: color-mix(in srgb, var(--teal) 10%, white); }
.tp-etoiles { display: inline-flex; gap: 3px; margin: 0; letter-spacing: 0; }
.tp-etoiles i { letter-spacing: 0; display: grid; place-items: center; width: 24px; height: 24px; background: var(--tp-vert); color: white; font-style: normal; font-size: 16px; line-height: 1; }
.avis-total { display: grid; justify-items: start; gap: 8px; padding: 16px 20px; border-radius: 14px; background: white; border: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.avis-total .tp-etoiles i { width: 28px; height: 28px; font-size: 19px; }
.tp-marque { display: inline-flex; align-items: center; gap: 6px; font-family: var(--heading); font-size: 19px; font-weight: 800; letter-spacing: -.4px; color: var(--ink); }
.avis-total:hover .tp-marque, .avis-total:focus-visible .tp-marque { text-decoration: none; }
.tp-logo { color: var(--tp-vert); font-size: 22px; line-height: 1; }

.avis-cartes { align-items: stretch; gap: 20px; }
.avis-carte { padding: 26px 26px 22px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: none; }
.avis-label { margin: 16px 0 10px; font-family: var(--body); font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); }
.avis-carte blockquote { margin: 0 0 22px; }
.avis-carte blockquote p { font-family: "Fraunces", Georgia, serif; font-size: 21px; font-weight: 400; line-height: 1.45; letter-spacing: -.2px; color: var(--ink); text-wrap: pretty; }
.avis-carte .avis-auteur { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; row-gap: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.avis-initiale { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--teal) 16%, white); color: var(--teal); font-family: var(--heading); font-size: 17px; font-weight: 800; }
.avis-carte .avis-tp { padding: 2px 0; font-size: 14px; }

@media (min-width: 1101px) {
  /* Le premier avis, l'entretien obtenu, mis en avant */
  .avis-cartes { grid-template-columns: 1.35fr 1fr 1fr; }
  .avis-carte:first-child { padding: 32px 34px 26px; background: var(--nuit); border-color: var(--nuit); }
  .avis-carte:first-child blockquote p { font-size: 30px; line-height: 1.3; letter-spacing: -.5px; color: white; }
  .avis-carte:first-child .avis-label, .avis-carte:first-child .avis-auteur b { color: white; }
  .avis-carte:first-child .avis-auteur { border-top-color: color-mix(in srgb, white 18%, transparent); }
  .avis-carte:first-child .avis-tp { color: color-mix(in srgb, white 72%, transparent); }
  .avis-carte:first-child .avis-tp:hover, .avis-carte:first-child .avis-tp:focus-visible { color: white; outline-color: white; }
  .avis-carte:first-child .avis-initiale { background: var(--soleil); color: var(--nuit); }
}
@media (max-width: 900px) {
  .avis-cartes { grid-template-columns: 1fr; }
  .begin-steps li:last-child > div { padding: 16px 16px 18px; }
  .avis-carte blockquote p { font-size: 19px; }
}
