/* Page-owned styles for À propos */

.a-propos-page {
  background-color: #09050E;
  color: #EAE6ED;
}

/* Introduction */
.a-propos-intro {
  padding: 3rem 1rem;
  background: radial-gradient(circle at 50% 0%, #180F25 0%, #09050E 70%);
}

.a-propos-intro__inner {
  max-width: 800px;
  margin-inline: auto;
  text-align: left;
}

.a-propos-intro__inner h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1.1;
  margin-block-end: 1.5rem;
  color: #EAE6ED;
}

.a-propos-intro__lead {
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 65ch;
  margin-block-end: 1.5rem;
  color: #C9C2D1;
}

.a-propos-intro__inner p:not(.a-propos-intro__lead) {
  max-width: 65ch;
  margin-block-end: 0;
}

/* Notre Histoire */
.a-propos-histoire {
  padding: 3rem 1rem;
}

.a-propos-histoire__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin-inline: auto;
}

.a-propos-histoire__text {
  min-width: 0;
}

.a-propos-histoire__text h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-block-end: 1.25rem;
}

.a-propos-histoire__text p {
  max-width: 70ch;
  margin-block-end: 1rem;
}

.a-propos-histoire__text blockquote {
  margin-block-start: 1.5rem;
}

.a-propos-histoire__media {
  min-width: 0;
  position: relative;
}

.a-propos-histoire__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  filter: brightness(0.7) sepia(0.2) hue-rotate(240deg) saturate(0.8);
  transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
}

.a-propos-histoire__image:hover {
  filter: brightness(0.75) sepia(0.2) hue-rotate(240deg) saturate(0.9);
  animation: a-propos-glitch 0.2s ease-in-out;
}

@keyframes a-propos-glitch {
  0% { transform: translateX(0); }
  25% { transform: translateX(2px); }
  50% { transform: translateX(-2px); }
  75% { transform: translateX(1px); }
  100% { transform: translateX(0); }
}

/* Philosophie Culinaire */
.a-propos-philosophie {
  padding: 3rem 1rem;
  background: radial-gradient(circle at 100% 50%, #180F25 0%, #09050E 70%);
}

.a-propos-philosophie__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin-inline: auto;
}

.a-propos-philosophie__main {
  min-width: 0;
}

.a-propos-philosophie__main h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-block-end: 1.25rem;
}

.a-propos-philosophie__main p {
  max-width: 70ch;
  margin-block-end: 1rem;
}

.a-propos-philosophie__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  filter: brightness(0.7) sepia(0.1) hue-rotate(240deg) saturate(0.8);
  margin-block-start: 1.5rem;
}

.a-propos-philosophie__cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.a-propos-philosophie__card {
  background-color: #180F25;
  border: 1px solid rgba(157, 78, 221, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.a-propos-philosophie__card:hover {
  box-shadow: 0 0 20px rgba(157, 78, 221, 0.15), 0 4px 20px rgba(9, 5, 14, 0.6);
  border-color: rgba(157, 78, 221, 0.4);
  transform: translateY(-2px);
}

.a-propos-philosophie__card h3 {
  font-size: 1.25rem;
  margin-block-end: 0.75rem;
  color: #EAE6ED;
}

.a-propos-philosophie__card p {
  max-width: 60ch;
  margin-block-end: 0;
  color: #C9C2D1;
}

/* Le Poker en Présentiel */
.a-propos-poker {
  padding: 3rem 1rem;
}

.a-propos-poker__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin-inline: auto;
}

.a-propos-poker__media {
  min-width: 0;
}

.a-propos-poker__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  filter: brightness(0.7) sepia(0.1) hue-rotate(240deg) saturate(0.8);
  transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
}

.a-propos-poker__image:hover {
  filter: brightness(0.75) sepia(0.1) hue-rotate(240deg) saturate(0.9);
  animation: a-propos-glitch 0.2s ease-in-out;
}

.a-propos-poker__text {
  min-width: 0;
}

.a-propos-poker__text h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-block-end: 1.25rem;
}

.a-propos-poker__text p {
  max-width: 70ch;
  margin-block-end: 1rem;
}

.a-propos-poker__text blockquote {
  margin-block-start: 1.5rem;
}

/* L'Ambiance */
.a-propos-ambiance {
  position: relative;
  padding: 4rem 1rem;
  overflow: hidden;
}

.a-propos-ambiance__background {
  position: absolute;
  inset: 0;
  background-image: url('/public/media/terrasse-claire-ambiance.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.5) sepia(0.1) hue-rotate(240deg) saturate(0.7);
  z-index: 0;
}

.a-propos-ambiance__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-inline: auto;
  text-align: left;
  background-color: rgba(9, 5, 14, 0.75);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(157, 78, 221, 0.2);
}

.a-propos-ambiance__content h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-block-end: 1.25rem;
  color: #EAE6ED;
}

.a-propos-ambiance__content p {
  max-width: 65ch;
  margin-block-end: 1rem;
  color: #EAE6ED;
}

.a-propos-ambiance__content p:last-child {
  margin-block-end: 0;
}

/* Notre Équipe */
.a-propos-equipe {
  padding: 3rem 1rem;
}

.a-propos-equipe__heading {
  text-align: center;
  margin-block-end: 2rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.a-propos-equipe__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin-inline: auto;
}

.a-propos-equipe__card {
  background-color: #180F25;
  border: 1px solid rgba(157, 78, 221, 0.2);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.a-propos-equipe__card:hover {
  box-shadow: 0 0 20px rgba(157, 78, 221, 0.15), 0 4px 20px rgba(9, 5, 14, 0.6);
  border-color: rgba(157, 78, 221, 0.4);
  transform: translateY(-2px);
}

.a-propos-equipe__initial {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #9D4EDD;
  color: #09050E;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-block-end: 1rem;
}

.a-propos-equipe__card h3 {
  font-size: 1.5rem;
  margin-block-end: 0.75rem;
  color: #EAE6ED;
}

.a-propos-equipe__card p {
  max-width: 60ch;
  margin-inline: auto;
  margin-block-end: 0;
  color: #C9C2D1;
}

/* Nos Valeurs */
.a-propos-valeurs {
  padding: 3rem 1rem;
  background: radial-gradient(circle at 0% 50%, #180F25 0%, #09050E 70%);
}

.a-propos-valeurs__heading {
  text-align: left;
  margin-block-end: 2rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.a-propos-valeurs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin-inline: auto;
}

.a-propos-valeurs__column {
  min-width: 0;
}

.a-propos-valeurs__column h3 {
  font-size: 1.5rem;
  margin-block-end: 1rem;
  color: #EAE6ED;
}

.a-propos-valeurs__column p {
  max-width: 70ch;
  margin-block-end: 1rem;
}

.a-propos-valeurs__column ul {
  margin-block-end: 0;
  padding-inline-start: 1.5rem;
}

.a-propos-valeurs__column li {
  margin-block-end: 0.5rem;
}

.a-propos-valeurs__column li:last-child {
  margin-block-end: 0;
}

/* Invitation à Réserver */
.a-propos-reservation {
  padding: 4rem 1rem;
  background: radial-gradient(circle at 50% 100%, #180F25 0%, #09050E 70%);
}

.a-propos-reservation__inner {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}

.a-propos-reservation__inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-block-end: 1.25rem;
  color: #EAE6ED;
}

.a-propos-reservation__inner p {
  max-width: 60ch;
  margin-inline: auto;
  margin-block-end: 1rem;
  color: #C9C2D1;
}

.a-propos-reservation__contact {
  font-size: 0.875rem;
  line-height: 1.25;
}

.a-propos-reservation__contact a {
  color: #9D4EDD;
}

.a-propos-reservation__button {
  margin-block-start: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #9D4EDD;
  color: #09050E;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25;
  border-radius: 4px;
  border: 1px solid #9D4EDD;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out, transform 0.2s ease-in-out;
  text-align: center;
  min-width: 0;
}

.a-propos-reservation__button:hover {
  background-color: #B87AE8;
  border-color: #B87AE8;
  color: #09050E;
  transform: translateY(-2px);
}

.a-propos-reservation__button:focus-visible {
  outline: 2px solid #9D4EDD;
  outline-offset: 2px;
}

/* Tablet and desktop breakpoints */
@media (min-width: 768px) {
  .a-propos-intro,
  .a-propos-histoire,
  .a-propos-philosophie,
  .a-propos-poker,
  .a-propos-ambiance,
  .a-propos-equipe,
  .a-propos-valeurs,
  .a-propos-reservation {
    padding-inline: 2rem;
  }

  .a-propos-histoire__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .a-propos-histoire__media {
    transform: translateY(1rem);
  }

  .a-propos-philosophie__grid {
    grid-template-columns: 3fr 2fr;
    align-items: start;
  }

  .a-propos-poker__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .a-propos-poker__media {
    order: 1;
  }

  .a-propos-poker__text {
    order: 2;
  }

  .a-propos-equipe__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .a-propos-valeurs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .a-propos-intro,
  .a-propos-histoire,
  .a-propos-philosophie,
  .a-propos-poker,
  .a-propos-ambiance,
  .a-propos-equipe,
  .a-propos-valeurs,
  .a-propos-reservation {
    padding-inline: 2rem;
  }
}

/* Ensure no horizontal overflow on small screens */
@media (max-width: 767px) {
  .a-propos-ambiance__background {
    background-attachment: scroll;
  }

  .a-propos-ambiance__content {
    padding: 1.5rem;
  }

  .a-propos-reservation__button {
    width: 100%;
  }
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  .a-propos-histoire__image,
  .a-propos-poker__image,
  .a-propos-philosophie__card,
  .a-propos-equipe__card,
  .a-propos-reservation__button {
    transition: none;
    animation: none;
  }

  .a-propos-ambiance__background {
    background-attachment: scroll;
  }
}
