/* ============================================================
   Fleurs & Merveilles — style.css
   Thème : pastel floral, moderne et élégant
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

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

:root {
  --rose:      #f2a7bb;
  --rose-dark: #e07b98;
  --pink-light:#fde8ef;
  --cream:     #fff8f2;
  --green:     #a8c5a0;
  --green-dark:#7aa870;
  --lavender:  #c9b8e8;
  --text:      #3d2c2c;
  --text-light:#7a5f5f;
  --white:     #ffffff;
  --shadow:    0 8px 32px rgba(200,100,120,0.12);
  --radius:    16px;
  --transition:0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.7;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
}

a {
  color: var(--rose-dark);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--green-dark); }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(255,248,242,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(242,167,187,0.2);
  box-shadow: 0 2px 16px rgba(200,100,120,0.07);
}

.navbar__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rose-dark);
  letter-spacing: 0.5px;
}
.navbar__logo span { color: var(--green-dark); }

.navbar__links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.navbar__links a {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}
.navbar__links a:hover,
.navbar__links a.active {
  color: var(--rose-dark);
  border-bottom-color: var(--rose-dark);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: linear-gradient(135deg, #fde8ef 0%, #fff4f8 40%, #e8f4e8 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '🌸';
  position: absolute;
  font-size: 18rem;
  opacity: 0.06;
  top: -3rem; left: -3rem;
  transform: rotate(-20deg);
  pointer-events: none;
}
.hero::after {
  content: '🌷';
  position: absolute;
  font-size: 14rem;
  opacity: 0.06;
  bottom: -2rem; right: -2rem;
  transform: rotate(15deg);
  pointer-events: none;
}

.hero__content { position: relative; z-index: 1; max-width: 680px; }

.hero__badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--rose), var(--lavender));
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.35rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--text);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 12px rgba(242,167,187,0.15);
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--rose-dark), #c45e7a);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 24px rgba(224,123,152,0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}
.hero__cta:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(224,123,152,0.45);
}

/* ---------- Sections ---------- */
section { padding: 5rem 2rem; }

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}
.section__header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--text);
  margin-bottom: 0.6rem;
}
.section__header p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}
.section__divider {
  width: 60px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--rose), var(--lavender));
  margin: 1rem auto 0;
}

/* ---------- Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(200,100,120,0.18);
}

.card__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: linear-gradient(135deg, var(--pink-light), #e8f4e8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  min-height: 200px;
}

.card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rose-dark);
  margin-bottom: 0.5rem;
}

.card__title {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.card__desc {
  font-size: 0.92rem;
  color: var(--text-light);
  flex: 1;
  margin-bottom: 1.2rem;
}

.card__price {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--rose-dark);
  margin-bottom: 1rem;
}

.card__btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--rose), var(--lavender));
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  transition: opacity var(--transition), transform var(--transition);
}
.card__btn:hover {
  color: var(--white);
  opacity: 0.88;
  transform: scale(1.03);
}

/* ---------- About Banner ---------- */
.about-banner {
  background: linear-gradient(135deg, #e8f4e8 0%, #fde8ef 100%);
  border-radius: var(--radius);
  max-width: 800px;
  margin: 0 auto;
  padding: 3.5rem 3rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.about-banner h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.about-banner p {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--rose-dark);
  color: var(--rose-dark);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover {
  background: var(--rose-dark);
  color: var(--white);
}

/* ---------- About Page ---------- */
.page-hero {
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 2rem 4rem;
  background: linear-gradient(135deg, #fde8ef 0%, #e8f4e8 100%);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text);
}

.about-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.9;
}

.about-content strong { color: var(--rose-dark); font-weight: 700; }

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.value-card .icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.value-card h3 { font-size: 1.05rem; color: var(--text); margin-bottom: 0.4rem; }
.value-card p  { font-size: 0.88rem; color: var(--text-light); }

/* ---------- Footer ---------- */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 2.5rem 2rem;
  font-size: 0.9rem;
}
footer a { color: var(--rose); }
footer a:hover { color: var(--white); }
.footer__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .navbar { padding: 1rem 1.5rem; }
  .navbar__links { gap: 1.2rem; }
  .about-banner { padding: 2.5rem 1.5rem; }
  .cards-grid { grid-template-columns: 1fr; }
}
