:root {
  --violet: #7138d8;
  --rose: #f34d9b;
  --corail: #ff915d;
  --menthe: #8de4c4;
  --bleu: #4e79ff;
  --encre: #251331;
  --fond: #fffafc;
  --blanc: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--encre);
  background: var(--fond);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

/* Vérification d'âge */
.age-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(37, 19, 49, 0.9);
}

.age-modal.is-hidden {
  display: none;
}

.age-box {
  width: min(100%, 480px);
  padding: 36px;
  border-radius: 28px;
  text-align: center;
  background: var(--blanc);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.age-icon {
  font-size: 3rem;
}

.age-box h1 {
  margin: 12px 0;
  font-size: 2rem;
  line-height: 1.1;
}

.age-box p {
  color: #654f6e;
  line-height: 1.6;
}

.age-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

/* Boutons */
.button,
.small-button,
.cart-button {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.small-button:hover,
.cart-button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--violet);
  color: var(--blanc);
}

.button-secondary {
  background: #eeeeee;
  color: var(--encre);
}

/* Bandeau supérieur */
.topbar {
  padding: 9px 5%;
  text-align: center;
  background: var(--encre);
  color: var(--blanc);
  font-size: 0.88rem;
}

/* En-tête */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 17px 7%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 14px rgba(37, 19, 49, 0.08);
}

.brand {
  line-height: 1;
}

.brand-name {
  display: block;
  color: var(--violet);
  font-size: 1.6rem;
  font-weight: 900;
}

.brand-slogan {
  display: block;
  margin-top: 5px;
  color: var(--rose);
  font-size: 0.67rem;
}

.main-nav {
  display: flex;
  gap: 22px;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--violet);
}

.cart-button {
  background: var(--corail);
  color: var(--encre);
  white-space: nowrap;
}

/* Bannière */
.hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  padding: 90px 8%;
  color: var(--blanc);
  background: linear-gradient(125deg, var(--violet), var(--rose) 58%, var(--corail));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-label,
.eyebrow {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h2 {
  margin: 0 0 22px;
  font-size: clamp(3.1rem, 7vw, 5.8rem);
  line-height: 0.9;
}

.hero-text {
  max-width: 540px;
  font-size: 1.15rem;
  line-height: 1.6;
}

.hero-button {
  margin-top: 14px;
  background: var(--blanc);
  color: var(--violet);
}

.hero-decor {
  position: absolute;
  border-radius: 50%;
  opacity: 0.9;
}

.hero-decor-one {
  top: 48px;
  right: -55px;
  width: 250px;
  height: 250px;
  background: var(--menthe);
}

.hero-decor-two {
  right: 24%;
  bottom: -45px;
  width: 130px;
  height: 130px;
  background: var(--bleu);
}

/* Sections */
.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 64px 7%;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.eyebrow {
  color: var(--rose);
}

.text-link {
  color: var(--violet);
  font-weight: 800;
}

.text-link:hover {
  text-decoration: underline;
}

/* Catégories */
.category-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 22px;
}

.category-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-radius: 26px;
  transition: transform 0.2s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-clothes {
  background: var(--menthe);
}

.category-toys {
  background: #ffd2e4;
}

.category-icon {
  font-size: 3rem;
}

.category-title {
  font-size: 1.65rem;
  font-weight: 900;
}

.category-link {
  font-weight: 800;
}

/* Produits */
.product-card {
  overflow: hidden;
  border-radius: 22px;
  background: var(--blanc);
  box-shadow: 0 9px 26px rgba(37, 19, 49, 0.1);
}

.product-image {
  display: grid;
  height: 230px;
  place-items: center;
  font-size: 5rem;
}

.product-image-purple {
  background: linear-gradient(135deg, #edd6ff, #c9f5e4);
}

.product-image-pink {
  background: linear-gradient(135deg, #ffe1bd, #ffd4e2);
}

.product-image-blue {
  background: linear-gradient(135deg, #d8deff, #c9f5e4);
}

.product-content {
  padding: 20px;
}

.product-meta {
  margin: 0;
  color: #765d80;
  font-size: 0.86rem;
}

.product-content h3 {
  margin: 8px 0;
  font-size: 1.25rem;
}

.product-description {
  min-height: 48px;
  margin: 0;
  color: #654f6e;
  font-size: 0.94rem;
  line-height: 1.45;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.product-price {
  font-weight: 900;
}

.small-button {
  padding: 10px 14px;
  background: var(--violet);
  color: var(--blanc);
  font-size: 0.85rem;
}

/* Réassurance */
.reassurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 15px;
  background: #eaddeb;
}

.reassurance div {
  display: flex;
  min-height: 130px;
  flex-direction: column;
  justify-content: center;
  padding: 28px 8%;
  background: var(--blanc);
}

.reassurance strong {
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.reassurance span {
  color: #654f6e;
  font-size: 0.92rem;
}

/* Pied de page */
.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 2fr 1fr;
  gap: 28px;
  padding: 45px 7%;
  background: var(--encre);
  color: var(--blanc);
}

.footer-brand {
  font-size: 1.35rem;
}

.site-footer p {
  margin: 8px 0 0;
  color: #eaddeb;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-content: start;
}

.footer-links a:hover {
  color: var(--menthe);
}

.footer-copy {
  text-align: right;
  font-size: 0.8rem;
}

/* Mobile */
@media (max-width: 760px) {
  .site-header {
    padding: 15px 5%;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 470px;
    padding: 74px 7%;
  }

  .section {
    padding: 48px 6%;
  }

  .section-heading-row {
    align-items: start;
    flex-direction: column;
  }

  .reassurance {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 40px 7%;
  }

  .footer-copy {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .brand-name {
    font-size: 1.25rem;
  }

  .cart-button {
    padding: 11px 14px;
  }

  .age-box {
    padding: 28px 20px;
  }

  .hero h2 {
    font-size: 3.1rem;
  }
}
.product-image {
    overflow: hidden;
    background: #f5efff;
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
/* =========================
   Footer
   ========================= */

.site-footer {
    margin-top: 60px;
    padding: 34px 20px;
    color: #fff;
    background: #35106b;
    border-top: 5px solid #ff5b6e;
}

.site-footer-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    text-align: center;
}

.site-footer-brand {
    margin: 0 0 18px;
    font-size: 1.05rem;
    line-height: 1.45;
}

.site-footer-brand strong {
    color: #ffcf4a;
    font-size: 1.4rem;
}

.site-footer-brand span {
    color: #ff9fbd;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    margin: 0 0 22px;
}

.footer-nav a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
    color: #72f0c4;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer-notice {
    margin: 0 0 10px;
    color: #ffcf4a;
    font-size: 0.92rem;
    font-weight: 700;
}

.site-footer-copy {
    margin: 0;
    color: #d8c7f2;
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .site-footer {
        margin-top: 40px;
        padding: 28px 16px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }
}