/* ASTRA + SYN : même contenu et même palette, une géométrie plus nette. */

.astra-syn {
  --angle: 0;
}

.astra-syn :is(.btn, .carte, .badge, .theme, .menu summary, .nav a,
  .confiance li, .taches li, .affiche, .affiche .num, .affiche .aller,
  .sans-rdv li, .sans-rdv .prix, .portrait, .preuves li, .avis li,
  .faq details, .vitrine figure, .legende-statuts, .statut, .fiche,
  .fiche .num, .fiche .tags span, .etape, .skip) {
  border-radius: var(--angle);
}

.astra-syn :is(.badge i, .statut i, .taches span::before,
  .registre-ligne ul li::before, .etape::before, .journal li em) {
  border-radius: 0;
}

.astra-syn .logo img {
  border-radius: 2px;
}

/* Des commandes planes, avec une arête franche plutôt qu'un volume bombé. */
.astra-syn .btn {
  box-shadow: 0 5px 18px rgba(36, 81, 255, .16);
  border: 1px solid transparent;
}

.astra-syn .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 22px rgba(36, 81, 255, .22);
}

.astra-syn .btn:active {
  transform: translateY(0);
}

.astra-syn .btn.ghost {
  border-color: var(--line-strong);
  box-shadow: none;
}

.astra-syn .btn.cyan {
  box-shadow: none;
}

.astra-syn .theme {
  flex-shrink: 0;
  background: transparent;
}

.astra-syn .nav a {
  border-bottom: 1px solid transparent;
}

.astra-syn .nav a:hover {
  background: transparent;
  border-bottom-color: var(--accent);
}

.astra-syn .badge {
  padding: 8px 0 8px 12px;
  border: 0;
  border-left: 2px solid var(--accent);
  background: transparent;
}

.astra-syn .badge i {
  width: 6px;
  height: 6px;
  box-shadow: none;
}

:root[data-theme="light"] .astra-syn .badge {
  background: transparent;
}

/* Le journal et la capture conservent leurs surfaces et leur lumière. */
.astra-syn .carte {
  box-shadow: 0 16px 44px rgba(0, 0, 0, .14);
}

.astra-syn :is(.journal, .vitrine) {
  position: relative;
  border-color: var(--line-strong);
}

.astra-syn :is(.journal, .vitrine)::before,
.astra-syn :is(.journal, .vitrine)::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  pointer-events: none;
}

.astra-syn :is(.journal, .vitrine)::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
}

.astra-syn :is(.journal, .vitrine)::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--magenta);
  border-bottom: 2px solid var(--magenta);
}

.astra-syn .vitrine {
  padding: 12px;
}

.astra-syn .vitrine figcaption {
  padding: 14px 2px 2px;
}

/* Des lignes continues rassemblent les petites cartes. */
.astra-syn :is(.confiance ul, .taches, .preuves, .sans-rdv ul, .etapes) {
  gap: 0;
  padding: 1px 0 0 1px;
}

.astra-syn :is(.confiance li, .taches li, .preuves li, .sans-rdv li, .etape) {
  margin: -1px 0 0 -1px;
  border: 1px solid var(--line);
}

.astra-syn .taches li:hover {
  transform: none;
  border-color: var(--accent);
  box-shadow: inset 2px 0 var(--accent);
  position: relative;
  z-index: 1;
}

.astra-syn main > section > .wrap::before {
  content: "";
  position: absolute;
  top: -28px;
  left: var(--gut);
  right: var(--gut);
  height: 1px;
  background: var(--line);
}

.astra-syn main > section.final > .wrap::before {
  display: none;
}

.astra-syn .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.astra-syn .eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  flex: 0 0 24px;
  background: currentColor;
}

/* Les cinq affiches et leurs couleurs restent au centre du parcours. */
.astra-syn .affiche {
  border-color: var(--line-strong);
}

.astra-syn .affiche .num {
  border-width: 1px;
  box-shadow: none;
}

.astra-syn .affiche .aller {
  border-color: var(--line-strong);
}

.astra-syn .affiche:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  border-color: var(--c);
}

.astra-syn .affiches:hover .affiche:not(:hover) {
  opacity: 1;
  filter: none;
}

.astra-syn .affiche:hover img {
  transform: scale(1.025);
}

.astra-syn .registre-entete,
.astra-syn .registre-ligne {
  column-gap: 0;
}

.astra-syn :is(.registre-entete, .registre-ligne) > :not(:first-child) {
  border-left: 1px solid var(--line);
  padding-left: 26px;
  padding-right: 20px;
}

.astra-syn .portrait {
  box-shadow: none;
  border-color: var(--line-strong);
}

.astra-syn .avis li {
  border-top: 2px solid var(--line-strong);
}

.astra-syn .faq {
  border-top: 1px solid var(--line-strong);
}

.astra-syn .faq details,
:root[data-theme="light"] .astra-syn .faq details {
  margin-bottom: 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
}

.astra-syn .faq details[open] {
  border-bottom-color: var(--accent);
}

.astra-syn .faq summary {
  padding-left: 0;
  padding-right: 0;
}

.astra-syn .faq details p {
  padding-left: 0;
}

/* La même écriture graphique dans la galerie, sans toucher aux visuels. */
.astra-syn .legende-statuts {
  border-left: 0;
  border-right: 0;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
}

:root[data-theme="light"] .astra-syn .legende-statuts {
  background: transparent;
}

.astra-syn .fiche {
  border-color: var(--line-strong);
}

.astra-syn a.fiche:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}

.astra-syn .fiche .tags {
  border-top: 1px solid var(--line);
  margin-top: 12px;
}

.astra-syn .fiche .tags span {
  padding: 4px 8px;
}

.astra-syn .etape::before {
  border-radius: 0;
  border-width: 1px;
}

.astra-syn .final .carte {
  border-color: var(--line-strong);
  border-left: 3px solid var(--primary);
  box-shadow: none;
}

@media (max-width: 1080px) {
  .astra-syn .nav,
  .astra-syn .entete .btn.desk { display: none; }
  .astra-syn .menu { display: block; }
  .astra-syn .entete .wrap { gap: 12px; }
  .astra-syn .theme { margin-left: auto; }
  .astra-syn .menu { margin-left: 0; }
}

@media (max-width: 980px) {
  .astra-syn :is(.registre-entete, .registre-ligne) > :not(:first-child) {
    border-left: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .astra-syn .registre-ligne > ul:not(:first-child) {
    border-left: 2px solid var(--accent);
    padding-left: 14px;
  }
}

@media (max-width: 720px) {
  .astra-syn .entete .wrap { gap: 8px; }
  .astra-syn .menu summary { padding: 10px 12px; }
  .astra-syn .affiches { gap: 12px; }
  .astra-syn .affiche { grid-template-columns: 112px minmax(0, 1fr); }
  .astra-syn .affiche .corps { min-width: 0; }
  .astra-syn .journal { padding: 20px 18px; }
  .astra-syn .vitrine figcaption { flex-wrap: wrap; }
  .astra-syn .final .carte { padding: 28px 22px; }
  .astra-syn .legende-statuts { gap: 10px 14px; }
}

@media (max-width: 359px) {
  .astra-syn .logo { font-size: 19px; gap: 8px; }
  .astra-syn .affiche { grid-template-columns: 92px minmax(0, 1fr); }
  .astra-syn .affiche .corps { padding: 12px; }
  .astra-syn .journal li { grid-template-columns: 45px minmax(0, 1fr); gap: 8px; }
  .astra-syn #journal-suite li { grid-template-columns: 76px minmax(0, 1fr); }
}
