/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: var(--space-2) var(--space-4);
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
}

.btn--primary {
  background: var(--accent-strong);
  color: var(--on-accent-strong);
}

.btn--primary:hover {
  filter: brightness(1.08);
}

/* Badges des stores : texte seul, pas de logo de marque tierce */
.store-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 3.25rem;
  padding: var(--space-2) var(--space-4);
  background: var(--text);
  color: var(--bg);
  border-radius: 14px;
  line-height: 1.2;
  text-decoration: none;
}

.store:hover {
  filter: brightness(1.2);
}

.store__label {
  font-size: 0.75rem;
}

.store__name {
  font-size: 1.125rem;
  font-weight: 600;
}

/* Étiquette de section : petites majuscules grises, comme dans l'app */
.eyebrow {
  margin: 0 0 var(--space-2);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Cartes blanches à fin liseré (lignes de la fiche bâtiment de l'app) */
.feature,
.price-card {
  padding: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.feature h3,
.price-card h3 {
  color: var(--accent-text);
}

.feature p,
.price-card p {
  margin: 0;
  color: var(--text-muted);
}

.feature__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: var(--space-3);
  background: var(--accent-soft);
  border-radius: 10px;
}

.feature__mark::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  background: var(--accent);
  border-radius: 50%;
}

/* Bandeau terracotta (en-tête de fiche de l'app) : blanc réservé aux gros titres */
.band--accent {
  background: var(--accent);
  border-top: 0;
  border-radius: 0 0 var(--radius-sheet) var(--radius-sheet);
}

.band--accent h2 {
  color: #FFFFFF;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.price-card__price {
  margin: 0 0 var(--space-2);
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Prix encore à renseigner : gabarit du texte courant, pas du prix */
.price-card__price .todo {
  font-size: 0.875rem;
  line-height: 1.8;
}

/* Téléphone : cadre d'encre et encoche, comme les maquettes de l'app */
.phone {
  position: relative;
  justify-self: center;
  width: min(100%, 17rem);
  padding: 0.6rem;
  background: var(--text);
  border-radius: 2.6rem;
  box-shadow: var(--shadow);
}

.phone::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: 50%;
  z-index: 2;
  width: 34%;
  height: 0.95rem;
  background: var(--text);
  border-radius: 0 0 0.7rem 0.7rem;
  transform: translateX(-50%);
}

.phone__screen {
  overflow: hidden;
  aspect-ratio: 9 / 19;
  border-radius: 2rem;
  background: var(--bg);
}

.phone__screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Maquette CSS de l'écran carte : fond crème, épingles rondes, boutons blancs, fiche terracotta */
.phone__mock {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, transparent 47%, var(--line) 47% 53%, transparent 53%) 0 0 / 42% 100%,
    linear-gradient(0deg, transparent 47%, var(--line) 47% 53%, transparent 53%) 0 0 / 100% 20%,
    var(--bg);
}

.phone__pin {
  position: absolute;
  width: 1.15rem;
  height: 1.15rem;
  background: var(--pin-flashy);
  border: 3px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.22);
}

.phone__pin--mid { background: var(--pin-mid); }
.phone__pin--neutral { background: var(--pin-neutral); }

.phone__pin:nth-child(1) { top: 14%; left: 18%; }
.phone__pin:nth-child(2) { top: 24%; left: 52%; }
.phone__pin:nth-child(3) { top: 41%; left: 24%; }
.phone__pin:nth-child(4) { top: 47%; left: 72%; }
.phone__pin:nth-child(5) { top: 30%; left: 34%; }

.phone__me {
  position: absolute;
  top: 56%;
  left: 46%;
  width: 3rem;
  height: 3rem;
  background: var(--accent-soft);
  border-radius: 50%;
}

.phone__me::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.9rem;
  height: 0.9rem;
  background: var(--accent);
  border: 3px solid #FFFFFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.phone__fab {
  position: absolute;
  right: 0;
  width: 2.1rem;
  height: 2.1rem;
  background: #FFFFFF;
  border-radius: 0.7rem 0 0 0.7rem;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.14);
}

.phone__me + .phone__fab { top: 12%; }
.phone__fab + .phone__fab { top: 21%; }

.phone__card {
  position: absolute;
  inset: auto 0.7rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.9rem;
  background: var(--accent);
  border-radius: var(--radius-sheet);
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.2);
}

.phone__bar {
  display: block;
  height: 0.55rem;
  background: #FFFFFF;
  border-radius: 99px;
}

.phone__bar--short {
  width: 60%;
  background: rgb(255 255 255 / 0.65);
}

.phone__tag {
  align-self: flex-start;
  padding: 0.1rem 0.6rem;
  background: #FFFFFF;
  border-radius: 99px;
  color: var(--accent-text);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.5;
}

/* Pièce manquante : bien visible */
.todo {
  padding: 0.05em 0.4em;
  background: var(--todo-bg);
  border: 1px dashed currentColor;
  border-radius: 6px;
  color: var(--todo-text);
  font-weight: 600;
}

@media (min-width: 40rem) {
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
