/* === style.css — MAISON LIORA === */

/* --- Palette et polices --- */
:root {
  --rose-poudre: #f9e4e6;
  --rose-clair: #fceff0;
  --beige: #f8f3ef;
  --dore: #d8b58d;
  --texte: #4a3f3f;
  --blanc: #ffffff;
}

/* --- Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--rose-clair);
  color: var(--texte);
  overflow-x: hidden;
  line-height: 1.7;
}

/* --- SCROLL DOUX --- */
html {
  scroll-behavior: smooth;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--dore);
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--texte);
  font-weight: 600;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: var(--dore);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  font-size: 1.8rem;
  color: var(--dore);
  cursor: pointer;
}

/* === HERO === */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8rem 4rem 5rem;
  background: linear-gradient(to right, var(--rose-poudre), var(--beige));
  flex-wrap: wrap;
  position: relative;
}

.hero-content {
  max-width: 500px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--texte);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #6b5b5b;
}

.btn-primary {
  background-color: var(--dore);
  color: var(--blanc);
  padding: 0.9rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background 0.3s, transform 0.3s;
}

.btn-primary:hover {
  background-color: #caa278;
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  min-width: 300px;
  height: 400px;
  background: url('images/hero-maquillage.jpg') center/cover no-repeat;
  border-radius: 50% 50% 0 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* === PRODUITS === */
.produits {
  background-color: var(--blanc);
  padding: 6rem 2rem 5rem;
  position: relative;
  text-align: center;
}

.courbe-haute, .courbe-basse {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100px;
  background-repeat: no-repeat;
  background-size: cover;
}

.courbe-haute {
  top: -50px;
  background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><path fill="%23f9e4e6" d="M0,50 C200,150 400,0 600,100 L600,0 L0,0 Z"/></svg>');
}

.courbe-basse {
  bottom: -50px;
  background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><path fill="%23f9e4e6" d="M0,0 C200,100 400,-50 600,50 L600,100 L0,100 Z"/></svg>');
}

.produits h2 {
  font-family: 'Playfair Display', serif;
  color: var(--texte);
  font-size: 2.2rem;
  margin-bottom: 3rem;
}

.produits-conteneur {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.produit {
  background-color: var(--rose-clair);
  border-radius: 20px;
  padding: 2rem;
  max-width: 280px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.produit:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.produit img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 1rem;
}

.produit h3 {
  font-family: 'Playfair Display', serif;
  color: var(--dore);
  margin-bottom: 0.5rem;
}

/* === PHILOSOPHIE === */
.philosophie {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 3rem;
  gap: 3rem;
  flex-wrap: wrap;
  background-color: var(--rose-poudre);
}

.philo-texte {
  flex: 1;
  max-width: 500px;
}

.philo-texte h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--texte);
  margin-bottom: 1rem;
}

.philo-texte p {
  color: #5e4f4f;
}

.philo-image {
  flex: 1;
  text-align: center;
}

.philo-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* === GALERIE === */
.galerie {
  padding: 6rem 2rem;
  background-color: var(--blanc);
  text-align: center;
}

.galerie h2 {
  font-family: 'Playfair Display', serif;
  color: var(--texte);
  margin-bottom: 3rem;
}

.galerie-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.galerie-grid img {
  width: 280px;
  border-radius: 20px;
  object-fit: cover;
  transition: transform 0.3s, box-shadow 0.3s;
}

.galerie-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* === CONTACT === */
.contact {
  background-color: var(--rose-poudre);
  text-align: center;
  padding: 5rem 2rem;
}

.contact h2 {
  font-family: 'Playfair Display', serif;
  color: var(--texte);
  margin-bottom: 1rem;
}

.contact p {
  margin-bottom: 2rem;
  color: #6b5b5b;
}

.contact form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact input {
  padding: 1rem;
  border-radius: 30px;
  border: 1px solid #ddd;
  font-size: 1rem;
  min-width: 280px;
}

.btn-secondary {
  background-color: var(--dore);
  color: var(--blanc);
  border: none;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.btn-secondary:hover {
  background-color: #caa278;
  transform: translateY(-2px);
}

/* === FOOTER === */
footer {
  background-color: var(--beige);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #7a6b6b;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: var(--rose-clair);
    text-align: center;
    padding: 1rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: block;
  }

  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-image {
    width: 80%;
    height: 300px;
    border-radius: 50%;
    margin-bottom: 2rem;
  }

  .philosophie {
    flex-direction: column;
  }
}



/* === EFFET D'APPARITION EN DOUCEUR === */
.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

