/* --------- RESET --------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: #111111;
}

/* --------- HEADER --------- */
header {
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-size: 18px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
  color: #111;
  margin-left: 24px;
  font-size: 14px;
  letter-spacing: 0.1em;
  opacity: 0.6;
}
nav a:hover {
  opacity: 1;
}

/* --------- HOME PAGE --------- */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.card img {
  width: 90%;
  border-radius: 14px;
  transition: transform .25s;
}
.card:hover img {
  transform: scale(1.03);
}

.card-title {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .05em;
}

/* --------- GALLERY --------- */
h1 {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: .03em;
}

.gallery {
  max-width: 1400px;
  margin: auto;
  padding: 0 10px 15px;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gallery img {
  width: 100%;
  border-radius: 14px;
  cursor: pointer;
  transition: transform .2s;
}
.gallery img:hover {
  transform: scale(1.02);
}

/* --------- LIGHTBOX --------- */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
}
#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 14px;
}

/* --------- HERO + A PROPOS --------- */

.hero-wrapper {
  background: #f5f5f7;
  padding: 5px 16px 20px;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 18px;
  color: #b1b0b0;
  margin-bottom: 20px;
}

.about-card {
  background: #ffffff;
  border-radius: 32px;
  padding: 32px 40px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.about-title {
  font-size: 20px;
  font-weight: 600;
}

.about-text {
  font-size: 16px;
  line-height: 1.7;
  color: #444444;
}

/* Responsive */
@media (max-width: 768px) {
  .about-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.about-card {
  background: #ffffff;
  border-radius: 32px;
  padding: 32px 40px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
  display: flex;
  gap: 32px;
  align-items: center;
  text-align: left;
}

/* Bloc image */
.about-image {
  flex: 0 0 150px;           /* largeur réservée */
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  max-width: 200px;          /* taille max de ton visuel */
  max-height: 200px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 24px;       /* enlève si tu veux pas les arrondis */
}

.about-image:hover {
  transform: scale(1.03);
}

/* Bloc texte */
.about-content {
  flex: 1;
}

.about-label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.about-text {
  font-size: 16px;
  line-height: 1.7;
  color: #444444;
}

/* Responsive */
@media (max-width: 768px) {
  .about-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-image {
    margin-bottom: 12px;
  }
}