/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fafafa;
  color: #222;
  line-height: 1.6;
}

/* ================= NAVBAR ================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eaeaea;
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: clamp(12px, 2vw, 20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 1px;
}

/* LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: clamp(15px, 3vw, 30px);
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: clamp(0.9rem, 2vw, 1rem);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #000;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ================= BURGER ================= */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background: #000;
  transition: 0.3s;
}

/* ================= HERO ================= */
.hero {
  max-width: 1200px;
  margin: auto;
  padding: clamp(40px, 8vw, 80px) 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(25px, 5vw, 50px);
  align-items: center;
}

.hero-left img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.hero-right h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 15px;
}

.hero-right p {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: #555;
}

/* ================= MODAL ================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
}

.modal-content {
  background: #fff;
  padding: clamp(15px, 4vw, 25px);
  max-width: 600px;
  width: 100%;
  border-radius: 12px;
  text-align: center;
}

.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.modal-content p {
  margin-top: 15px;
  font-size: 0.95rem;
}

.close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: clamp(20px, 5vw, 30px);
  color: #777;
  border-top: 1px solid #eaeaea;
  margin-top: clamp(40px, 10vw, 80px);
  font-size: 0.9rem;
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: #fff;
    width: 100%;
    height: calc(100vh - 70px);
    align-items: center;
    justify-content: center;
    gap: 35px;
    transition: 0.35s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .burger {
    display: flex;
  }
}

/* PETITS SMARTPHONES (320px) */
@media (max-width: 360px) {
  .hero-right h1 {
    font-size: 1.6rem;
  }

  .hero-right p {
    font-size: 0.95rem;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .burger span {
    width: 22px;
  }
}
/* ================= NOUVEAUTÉS ================= */
.nouveautes {
  max-width: 1200px;
  margin: auto;
  padding: clamp(50px, 10vw, 90px) 20px;
  text-align: center;
}

.nouveautes h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: 40px;
  letter-spacing: 1px;
  position: relative;
}

.nouveautes h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #000;
  margin: 15px auto 0;
}

/* SLIDER */
.slider {
  position: relative;
  max-width: 700px;
  margin: auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 25px 45px rgba(0,0,0,0.18);
}

.slider img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

/* Effet artistique au survol */
.slider:hover img {
  transform: scale(1.05);
}

/* BOUTON */
.nouveautes .btn {
  display: inline-block;
  margin-top: 35px;
  padding: 12px 35px;
  border: 2px solid #000;
  text-decoration: none;
  color: #000;
  font-weight: 500;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

.nouveautes .btn:hover {
  background: #000;
  color: #fff;
}

/* ================= RESPONSIVE ================= */

/* TABLETTE */
@media (max-width: 900px) {
  .slider {
    max-width: 85%;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .nouveautes {
    padding: 60px 15px;
  }

  .nouveautes h2 {
    margin-bottom: 30px;
  }

  .nouveautes .btn {
    padding: 12px 30px;
  }
}

/* PETITS SMARTPHONES (320px) */
@media (max-width: 360px) {
  .nouveautes h2 {
    font-size: 1.4rem;
  }

  .nouveautes .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}
/* ================= À PROPOS ================= */
.apropos {
  max-width: 900px;
  margin: auto;
  padding: clamp(50px, 10vw, 100px) 20px;
  text-align: center;
}

.apropos h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: 35px;
  letter-spacing: 1px;
  position: relative;
}

.apropos h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #000;
  margin: 15px auto 0;
}

.apropos p {
  max-width: 650px;
  margin: auto;
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  color: #444;
  line-height: 1.8;
}

/* ================= RESPONSIVE ================= */

/* TABLETTE */
@media (max-width: 768px) {
  .apropos {
    padding: 70px 15px;
  }

  .apropos p {
    line-height: 1.7;
  }
}

/* PETITS SMARTPHONES (320px) */
@media (max-width: 360px) {
  .apropos h2 {
    font-size: 1.4rem;
  }

  .apropos p {
    font-size: 0.95rem;
  }
}
/* ================= RÉALISATIONS ================= */
.galerie {
  max-width: 1200px;
  margin: auto;
  padding: clamp(60px, 10vw, 100px) 20px;
}

.galerie h2 {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: 50px;
  letter-spacing: 1px;
  position: relative;
}

.galerie h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #000;
  margin: 15px auto 0;
}

/* GRID DES ŒUVRES */
.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

/* CARTE ŒUVRE */
.oeuvre {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* IMAGE PRINCIPALE */
.oeuvre .grand {
  width: 100%;
  height: auto;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 20px 35px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.oeuvre .grand:hover {
  transform: scale(1.03);
  box-shadow: 0 25px 45px rgba(0,0,0,0.25);
}

/* MINIATURES */
.oeuvre .petits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.oeuvre .petits img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.oeuvre .petits img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ================= RESPONSIVE ================= */

/* TABLETTE */
@media (max-width: 900px) {
  .galerie {
    gap: 30px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .galerie {
    padding: 70px 15px;
  }

  .oeuvre {
    gap: 12px;
  }
}

/* PETITS SMARTPHONES (320px) */
@media (max-width: 360px) {
  .galerie h2 {
    font-size: 1.4rem;
  }

  .galerie {
    gap: 25px;
  }

  .oeuvre .petits {
    gap: 8px;
  }
}
/* ================= CONTACT ================= */
.contact {
  max-width: 700px;
  margin: auto;
  padding: clamp(60px, 10vw, 100px) 20px;
  text-align: center;
}

.contact h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: 40px;
  letter-spacing: 1px;
  position: relative;
}

.contact h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #000;
  margin: 15px auto 0;
}

/* FORMULAIRE */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* CHAMPS */
.contact input,
.contact textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #fff;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact textarea {
  resize: none;
  min-height: 140px;
}

/* FOCUS */
.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 1px #000;
}

/* BOUTON */
.contact button {
  margin-top: 10px;
  padding: 14px;
  border: 2px solid #000;
  background: transparent;
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 30px;
  transition: 0.3s ease;
}

.contact button:hover {
  background: #000;
  color: #fff;
}

/* ================= RESPONSIVE ================= */

/* MOBILE */
@media (max-width: 768px) {
  .contact {
    padding: 70px 15px;
  }
}

/* PETITS SMARTPHONES (320px) */
@media (max-width: 360px) {
  .contact h2 {
    font-size: 1.4rem;
  }

  .contact input,
  .contact textarea {
    font-size: 0.95rem;
    padding: 12px 14px;
  }

  .contact button {
    font-size: 0.95rem;
    padding: 12px;
  }
}
.slider {
  position: relative;
  max-width: 700px;
  margin: auto;
  overflow: hidden;
}

.slide {
  width: 100%;
  display: none;
  border-radius: 12px;
}
