/* Reset et base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

/* Container principal */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

/* Section présentation */
.presentation {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.profile {
  flex-shrink: 0;
  text-align: center;
}

.photo {
  width: 150px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.contact {
  font-size: 0.9rem;
}

.contact .name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.contact p {
  margin-bottom: 0.25rem;
}

.contact a {
  color: #0066cc;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

.contact i {
  width: 1.2em;
  text-align: center;
}

.intro p {
  margin-bottom: 1rem;
}

.intro h2 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.intro ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.intro li {
  margin-bottom: 0.5rem;
}

/* Section flyers */
.flyers {
  border-top: 1px solid #ddd;
  padding-top: 2rem;
}

.flyers > h2 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.flyers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
}

.flyer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 1rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.2s, transform 0.2s;
}

.flyer-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.flyer-thumbnail {
  width: 180px;
  height: 240px;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flyer-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flyer-label {
  font-weight: 500;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 700px) {
  .container {
    padding: 1rem;
  }

  .presentation {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .photo {
    width: 120px;
  }

  .intro ul {
    text-align: left;
  }

  .flyers-grid {
    max-width: none;
  }

  .flyer-thumbnail {
    width: 150px;
    height: 200px;
  }
}
