/* Styles propres à la page d'accueil */
.status {
  width: min(calc(100% - 3rem), var(--container));
  margin: clamp(1.5rem, 4vw, 3.5rem) auto;
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
  align-items: center;
  overflow: hidden;
  background: var(--blanc);
  border: 1px solid rgba(122, 16, 16, .18);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}

/* L'ancien CSS masque les réseaux sociaux sur certaines largeurs mobiles. */
.nav-social {
  display: flex;
}

.nav {
  flex-wrap: nowrap;
  justify-content: space-between;
}

.nav-logo,
.nav-side {
  width: auto;
}

.status__visual {
  height: 100%;
  min-height: 310px;
  background: #f5f1ed;
}

.status__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.status__content {
  padding: clamp(2rem, 5vw, 4rem);
}

.status__label,
.reviews__heading p {
  margin: 0 0 .45rem;
  color: var(--rouge);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.status h1 {
  max-width: 18ch;
  margin: 0 0 1rem;
  color: var(--rouge);
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.social-note {
  width: min(calc(100% - 3rem), 760px);
  margin: 0 auto clamp(1.75rem, 4vw, 3rem);
  padding: 1rem 1.25rem;
  border: 1px solid var(--bord);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .6);
  color: var(--texte-2);
  text-align: center;
}

.social-note p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.6;
}

.social-note a {
  color: var(--rouge);
  font-weight: 600;
  text-decoration: none;
}

.social-note a:hover {
  color: var(--rouge-dk);
}

.social-note__icons {
  margin-top: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
}

.social-note__icons a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(122, 16, 16, .22);
  border-radius: 50%;
  background: var(--blanc);
  box-shadow: 0 3px 10px rgba(122, 16, 16, .06);
  transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}

.social-note__icons a:hover {
  border-color: rgba(122, 16, 16, .45);
  background: var(--rouge-lt);
  transform: translateY(-1px);
}

.social-note__icons svg {
  flex: 0 0 auto;
}

.reviews {
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  border-top: 1px solid var(--bord);
  background: linear-gradient(180deg, var(--rouge-lt), var(--fond) 72%);
}

.reviews__inner {
  max-width: 760px;
  margin: 0 auto;
}

.reviews__heading {
  margin-bottom: 1.25rem;
}

.reviews__heading h2 {
  margin: 0;
  color: var(--rouge);
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1.2;
}

.reviews__viewport {
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}

.reviews__track {
  display: flex;
  transition: transform .42s cubic-bezier(.4, 0, .2, 1);
}

.review {
  min-width: 100%;
  min-height: 270px;
  padding: clamp(1.35rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--blanc);
  border: 1px solid var(--bord);
  border-radius: var(--r-lg);
}

.review__top,
.review__footer {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.review__top { justify-content: space-between; }
.review__stars { color: var(--or); letter-spacing: .08em; }

.review__service {
  padding: .25rem .65rem;
  border-radius: 999px;
  background: var(--rouge-lt);
  color: var(--rouge);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.review__text {
  flex: 1;
  margin: 0;
  font-size: .95rem;
  font-style: italic;
  line-height: 1.7;
}

.review__footer {
  padding-top: .9rem;
  border-top: 1px solid var(--bord);
}

.review__avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rouge-lt);
  color: var(--rouge);
  font-size: .78rem;
  font-weight: 600;
}

.review__identity { display: grid; }
.review__name { font-size: .88rem; font-weight: 500; }
.review__date { color: var(--texte-2); font-size: .75rem; }

.reviews__controls {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.reviews__controls button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(122, 16, 16, .22);
  border-radius: 50%;
  background: var(--blanc);
  color: var(--rouge);
  font: inherit;
  font-size: 1.25rem;
  cursor: pointer;
}

.reviews__controls button:hover { background: var(--rouge); color: var(--blanc); }
#reviewsCounter { min-width: 60px; color: var(--texte-2); font-size: .78rem; text-align: center; }

@media (max-width: 720px) {
  .status { width: calc(100% - 2rem); grid-template-columns: 1fr; }
  .status__visual { min-height: 0; height: 190px; }
  .status__visual img { width: auto; margin-inline: auto; object-fit: contain; }
  .status__content { padding: 1.5rem; }
  .review { min-height: 340px; }
}

@media (max-width: 440px) {
  .nav { flex-wrap: nowrap; justify-content: space-between; }
  .nav-logo { width: auto; }
  .nav-side { width: auto; }
  .nav-links { display: none; }
  .nav-social { display: flex; }
  .review__top { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .review { min-height: 410px; }
}

@media (prefers-reduced-motion: reduce) {
  .reviews__track { transition: none; }
}
