﻿/* ---------- BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}


html, body {
  margin: 0;
  padding: 0;
}


body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: linear-gradient(180deg, #ffe7f0, #fff8f2);
  color: #4a3427;
}


/* Limiter la largeur et respirer un peu */
main, header, footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.4rem;
}


/* ---------- HEADER ---------- */
.site-header {
  padding: 1.5rem 0 0.5rem;
}


.top-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
}


.logo-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff7df, #e7bf7b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
  color: #5b402a;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}


.brand-name {
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}


.brand-subtitle {
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}


/* Menu */
.main-nav {
  margin: 1.2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
  font-size: 0.98rem;
}


.main-nav a {
  text-decoration: none;
  color: #7a5237;
  position: relative;
}


.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff96c4, #ffc469);
  transition: width 0.25s ease;
}


.main-nav a:hover::after {
  width: 100%;
}


/* ---------- HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0 2rem;
}


.hero-title {
  font-size: 1.8rem;
  margin: 0 0 0.6rem;
}


.hero-subtitle {
  font-style: italic;
  margin: 0 0 1rem;
}


.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.3rem 0 1rem;
}


.hero-tags span {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  font-size: 0.86rem;
}


.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.4rem 0 0.8rem;
}


.price-line {
  font-size: 0.9rem;
  color: #7a5237;
}


/* Boutons */
.btn-heart,
.btn-ghost,
.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}


.btn-heart {
  background: linear-gradient(90deg, #ff8ac0, #ffb978);
  color: #4a1f26;
  box-shadow: 0 10px 22px rgba(255, 137, 176, 0.35);
}


.btn-heart:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(255, 137, 176, 0.45);
}


.btn-ghost {
  background: transparent;
  color: #7a5237;
  border: 1px solid rgba(122,82,55,0.3);
}


.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.7);
}


.btn-main {
  background: #ffb978;
  color: #4a3427;
  box-shadow: 0 8px 18px rgba(255, 185, 120, 0.35);
}


.btn-main:hover {
  transform: translateY(-1px);
  box-shadow: 0 11px 24px rgba(255, 185, 120, 0.45);
}


/* Cœur qui pulse */
.heart-pulse {
  margin-right: 0.4rem;
  font-size: 1.3rem;
  animation: heartbeat 1.4s infinite;
}


@keyframes heartbeat {
  0%, 20%, 40%, 60%, 80%, 100% { transform: scale(1); }
  10%, 30%, 50%, 70%, 90% { transform: scale(1.18); }
}


/* Diamant / gemme qui tourne */
.hero-image {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}


.gem-wrapper {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
}


.gem-outer {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff7f5, #0a8e6d);
  box-shadow:
    0 0 0 6px rgba(255,255,255,0.5),
    0 18px 40px rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 9s linear infinite;
}


.gem-inner {
  width: 58%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(circle at 25% 20%, #ffffff, #1af5c0, #006149);
  box-shadow:
    inset 0 0 18px rgba(0,0,0,0.35),
    0 0 22px rgba(172,255,230,0.9);
}


@keyframes spin {
  to { transform: rotate(360deg); }
}


.hero-photo {
  max-width: 100%;
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}


/* ---------- SECTIONS ---------- */
.section-block {
  padding: 2.2rem 0 2.4rem;
}


.section-soft {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  margin: 0 -1.4rem;
  padding: 2.4rem 1.4rem 2.6rem;
}


.section-header h2 {
  font-size: 1.6rem;
  margin: 0 0 0.4rem;
}


.section-header p {
  margin: 0.2rem 0 1.4rem;
}


/* Cartes produits */
.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 1.6rem;
  margin: 1.6rem 0 2rem;
  align-items: center;
}


.product-image img {
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 16px 38px rgba(0,0,0,0.18);
  display: block;
}


.product-info h3 {
  margin-top: 0;
}


.product-price {
  font-weight: 700;
  margin: 0.8rem 0 0.4rem;
}


.pill {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}


.pill-soft {
  background: #f3e6ff;
  color: #6b3c82;
}


/* Grilles de cartes */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.3rem;
  margin-top: 0.8rem;
}


.mini-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}


.mini-card img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 0.6rem;
}


.mini-card h4 {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
}


.mini-price {
  font-weight: 600;
  font-size: 0.9rem;
}


/* --------- LIVRE --------- */
.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 1.6rem;
  align-items: center;
}


.book-photo {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 18px 38px rgba(0,0,0,0.2);
  margin-bottom: 0.8rem;
}


.book-photo.second {
  transform: translateX(10px) translateY(-10px);
  opacity: 0.96;
}


/* --------- POÈMES --------- */
.poem-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1.6rem;
}


.small-side-image {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.16);
}


/* Formulaire */
.share-form {
  display: grid;
  gap: 0.8rem;
  max-width: 600px;
}


.share-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.92rem;
}


.share-form input,
.share-form textarea {
  border-radius: 14px;
  border: 1px solid rgba(122,82,55,0.3);
  padding: 0.6rem 0.8rem;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}


.form-note {
  font-size: 0.8rem;
  color: #7a5237;
}


/* --------- MON UNIVERS --------- */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1.8rem;
  align-items: center;
}


.portrait-photo {
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}


.contact-line {
  margin-top: 0.8rem;
  font-size: 0.92rem;
}


.contact-line a {
  color: #7a5237;
}


/* --------- FOOTER --------- */
.site-footer {
  text-align: center;
  font-size: 0.8rem;
  padding: 1rem 0 1.6rem;
  color: #7a5237;
}


/* --------- RESPONSIVE --------- */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }


  .hero-image {
    order: -1;
  }


  .product-card,
  .book-layout,
  .poem-intro,
  .about-layout {
    grid-template-columns: 1fr;
  }


  .section-soft {
    margin: 0;
  }
}  gap: 1.3rem;
  margin-top: 0.8rem;
}

.mini-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.mini-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.mini-card img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 0.6rem;
  transition: transform 0.3s ease;
}

.mini-card:hover img {
  transform: scale(1.05);
}

.mini-card h4 {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
}

.mini-price {
  font-weight: 600;
  font-size: 0.9rem;
  color: #d4af37;
}

/* --------- LIVRE --------- */
.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 1.6rem;
  align-items: center;
}

.book-photo {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 18px 38px rgba(0,0,0,0.2);
  margin-bottom: 0.8rem;
  transition: transform 0.3s ease;
}

.book-photo:hover {
  transform: translateY(-3px) rotate(-1deg);
}

.book-photo.second {
  transform: translateX(10px) translateY(-10px);
  opacity: 0.96;
}

.book-photo.second:hover {
  transform: translateX(10px) translateY(-13px) rotate(1deg);
}

/* --------- POÈMES --------- */
.poem-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1.6rem;
}

.small-side-image {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.16);
  transition: transform 0.3s ease;
}

.small-side-image:hover {
  transform: scale(1.05) rotate(-2deg);
}

/* Formulaire */
.share-form {
  display: grid;
  gap: 0.8rem;
  max-width: 600px;
}

.share-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.92rem;
}

.share-form input,
.share-form textarea {
  border-radius: 14px;
  border: 1px solid rgba(122,82,55,0.3);
  padding: 0.6rem 0.8rem;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.share-form input:focus,
.share-form textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-note {
  font-size: 0.8rem;
  color: #7a5237;
}

/* --------- MON UNIVERS --------- */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1.8rem;
  align-items: center;
}

.portrait-photo {
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portrait-photo:hover {
  transform: scale(1.03);
  box-shadow: 0 22px 50px rgba(0,0,0,0.28);
}

.contact-line {
  margin-top: 0.8rem;
  font-size: 0.92rem;
}

.contact-line a {
  color: #7a5237;
  transition: color 0.3s ease;
}

.contact-line a:hover {
  color: #d4af37;
}

/* --------- FOOTER --------- */
.site-footer {
  text-align: center;
  font-size: 0.8rem;
  padding: 1rem 0 1.6rem;
  color: #7a5237;
  opacity: 0.8;
}

/* --------- RESPONSIVE --------- */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .product-card,
  .book-layout,
  .poem-intro,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .section-soft {
    margin: 0;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }
}
