/* ============================================================
   N'joy — Boutique Mode Féminine
   Feuille de styles principale
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --rose:        #c98a8a;
  --rose-dark:   #a86a6a;
  --rose-soft:   #f4e6e3;
  --cream:       #faf6f2;   /* fond général (≈ blanc cassé) */
  --beige:       #f0e8e0;
  --logo-bg:     #f5e3d4;   /* teinte du fond du logo — hero + topbar uniquement */
  --ink:         #2b2421;
  --ink-soft:    #6b615b;
  --line:        #e7ddd5;
  --white:       #ffffff;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --radius: 4px;
  --shadow-sm: 0 4px 20px rgba(43, 36, 33, 0.06);
  --shadow-md: 0 12px 40px rgba(43, 36, 33, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section { padding-block: 6rem; }

/* ---------- Headings / typography ---------- */
.section-head { text-align: center; margin-bottom: 3.5rem; }

.section-head__eye {
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.75rem;
}

.section-head__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
  color: var(--ink);
}

.section-head__line {
  width: 56px;
  height: 1px;
  background: var(--rose);
  margin: 1.25rem auto 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 2rem;
  border-radius: var(--radius);
  transition: all 0.35s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--ink);
  color: var(--white);
}
.btn--primary:hover { background: var(--rose-dark); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(43, 36, 33, 0.4);
}
.btn--ghost:hover { background: rgba(43, 36, 33, 0.06); border-color: var(--ink); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--white); }

.btn--cart {
  width: 100%;
  background: var(--white);
  color: var(--ink);
}
.btn--cart:hover { background: var(--rose); color: var(--white); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding-block: 0.1rem;
}
.header.scrolled {
  background: rgba(245, 227, 212, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding-block: 0;
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav__left { justify-self: start; display: flex; gap: 1.6rem; }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 1.6rem; }

.nav__link {
  position: relative;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--rose);
  transition: width 0.3s var(--ease);
}
.nav__link:hover { color: var(--rose); }
.nav__link:hover::after { width: 100%; }

/* Logo de la topbar : masqué tant que le logo du hero est visible */
.nav__logo {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* sortie rapide (pas de délai à la remontée) */
  transition: opacity 0.15s var(--ease-out), visibility 0.15s var(--ease-out);
}
.nav__logo--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  /* entrée douce */
  transition: opacity 0.45s var(--ease-out), visibility 0.45s var(--ease-out);
}
.nav__logo-img { height: 92px; width: auto; object-fit: contain; }
.nav__logo-text {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
}
/* En-tête voilé : on réduit un peu le logo pour gagner de la hauteur */
.header.scrolled .nav__logo-img { height: 72px; }
.header.scrolled .nav__logo-text { font-size: 1.25rem; }
.nav__logo-img, .nav__logo-text { transition: height 0.4s var(--ease), font-size 0.4s var(--ease); }

/* Cart button */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  transition: color 0.3s;
}
.cart-btn:hover { color: var(--rose); }
.badge {
  position: absolute;
  top: -8px; right: -10px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: var(--rose);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 500;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  justify-self: end;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu__link {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--ink);
  transition: color 0.3s;
}
.mobile-menu__link:hover { color: var(--rose); }
.mobile-menu__insta { font-size: 1.1rem; font-family: var(--sans); color: var(--rose); letter-spacing: 0.1em; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero__media {
  background: linear-gradient(160deg, #f7e8db 0%, var(--logo-bg) 55%, #ecd6c4 100%);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  /* léger voile clair + halo pour donner de la profondeur sans assombrir */
  background: radial-gradient(120% 80% at 70% 30%, rgba(255,255,255,0.35), transparent 60%);
}

.hero__content { position: relative; z-index: 2; max-width: 540px; color: var(--ink); }

/* Premier panneau : focus N'joy + mot de bienvenue (voix de Nathalie) */
.hero__wordmark { margin: 0 0 0.8rem; line-height: 0; opacity: 0; animation: fadeUp 1s var(--ease) 0.2s forwards; }
.hero__wordmark img { width: min(270px, 64%); height: auto; display: block; }

.hero__intro {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  color: var(--rose);
  margin: 0 0 0.1rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.3s forwards;
}
.hero__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.1;
  color: var(--rose);
  margin: 0 0 1.1rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.4s forwards;
}

.hero__welcome {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 0 0.4rem;
  color: var(--ink-soft);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.45s forwards;
}
.hero__signature {
  font-family: "Great Vibes", cursive;
  font-size: 1.35rem;
  color: #e09890;   /* rose du wordmark N'joy */
  text-align: right;
  max-width: 460px;
  margin: 0 0 1.75rem;
  line-height: 1;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.6s forwards;
}

/* ============================================================
   Branches fleuries décoratives (esprit logo), réparties sur la page
   Structure imbriquée pour composer les transforms sans conflit :
     .branch (placement) >
       .branch__wind (vent piloté par JS au scroll, pivot à la base) >
         .branch__tilt (oscillation continue CSS) >
           svg.branch__svg (miroir éventuel)
   ============================================================ */
.branch {
  position: absolute;
  z-index: 0;            /* derrière le contenu, devant le fond */
  pointer-events: none;
  opacity: 0;
  animation: branchIn 1.2s var(--ease-out) forwards;
}
.branch__wind { transform-origin: bottom center; will-change: transform; }
.branch__tilt {
  transform-origin: bottom center;
  animation: branchSway 7s ease-in-out infinite;
  will-change: transform;
}
.branch__svg { width: 100%; height: auto; display: block; }
.branch--flip .branch__svg { transform: scaleX(-1); }

@keyframes branchIn { to { opacity: 0.6; } }
/* Oscillation continue (présente même sans scroll) */
@keyframes branchSway {
  0%, 100% { transform: rotate(-2.5deg); }
  50%      { transform: rotate(2.5deg); }
}
/* ---- Tiges retombantes le long des bords du hero ---- */
.vine { top: -2%; }
/* taillées par la HAUTEUR (filiformes), pivot en haut pour onduler comme des tendrilles */
.vine .branch__svg { height: 104vh; width: auto; }
.vine .branch__wind,
.vine .branch__tilt { transform-origin: top center; }
.vine .branch__tilt { animation-name: vineSway; }

.vine--left    { left: -1%; }
.vine--right-1 { right: 9%;  top: -4%; }
.vine--right-2 { right: -3%; top: -4%; }

/* désynchronisation */
.vine--right-1 .branch__tilt { animation-duration: 9s; }
.vine--right-2 .branch__tilt { animation-duration: 7.5s; }

/* ondulation douce, pivot haut (faible amplitude car tige très longue) */
@keyframes vineSway {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2deg); }
}

@media (max-width: 768px) {
  .vine .branch__svg { height: 90vh; }
  .vine--right-1 { display: none; }      /* on garde 1 à gauche, 1 à droite */
  .vine--left    { left: -6%; }
  .vine--right-2 { right: -8%; }
}

/* Accessibilité : on coupe le mouvement, les branches restent visibles */
@media (prefers-reduced-motion: reduce) {
  .branch__tilt { animation: none !important; }
  .branch__wind { transform: none !important; }
}
.hero__eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose-dark);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.2s forwards;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.05;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.35s forwards;
}
.hero__title em { font-style: italic; color: var(--rose); }
.hero__sub {
  font-size: 1.05rem;
  max-width: 440px;
  margin-bottom: 2.25rem;
  color: var(--ink-soft);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.5s forwards;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.65s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
}
.hero__scroll span {
  display: block;
  width: 1px; height: 48px;
  background: rgba(43, 36, 33, 0.25);
  position: relative;
  overflow: hidden;
}
.hero__scroll span::after {
  content: "";
  position: absolute;
  top: -48px; left: 0;
  width: 100%; height: 48px;
  background: var(--rose-dark);
  animation: scrollDown 2s var(--ease) infinite;
}
@keyframes scrollDown {
  0%   { transform: translateY(0); }
  100% { transform: translateY(96px); }
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories { padding-top: 6rem; }
.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cat-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm);
}
.cat-card--tall { grid-row: span 1; aspect-ratio: 3 / 4; }

.cat-card__img { position: absolute; inset: 0; background: var(--rose-soft); }
.cat-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.cat-card:hover .cat-card__img img { transform: scale(1.06); }

.cat-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.75rem;
  background: linear-gradient(to top, rgba(43,36,33,0.65), transparent);
  color: var(--white);
}
.cat-card__title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
}
.cat-card__desc { font-size: 0.9rem; opacity: 0.9; margin-top: 0.25rem; }
.cat-card__cta {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: gap 0.3s;
}
.cat-card:hover .cat-card__cta { color: var(--rose-soft); }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card.hide { display: none; }

.product-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--rose-soft);
}
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.05); }

/* Image révélée au survol (2ᵉ photo) */
.product-card__img--back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s var(--ease), transform 0.7s var(--ease);
}
.product-card:hover .product-card__img--back { opacity: 1; }

.product-card__badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--white);
  color: var(--ink);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  z-index: 2;
}
.product-card__badge--new { background: var(--rose); color: var(--white); }

.product-card__actions {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.product-card:hover .product-card__actions { transform: translateY(0); opacity: 1; }

.product-card__info {
  padding: 1.25rem;
  text-align: center;
}
.product-card__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.product-card__price { color: var(--rose-dark); font-size: 0.95rem; letter-spacing: 0.05em; }

.section-foot { text-align: center; margin-top: 3.5rem; }

/* Filtres */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.filter-btn {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--white);
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--rose); color: var(--rose); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ============================================================
   STORY / HISTOIRE
   ============================================================ */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--white);
}
.story__media { background: var(--rose-soft); min-height: 540px; }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__content {
  padding: clamp(3rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-top: 0.75rem;
}
.story__title em { font-style: italic; color: var(--rose); }
.story__line { width: 56px; height: 1px; background: var(--rose); margin: 1.5rem 0; }
.story__text { color: var(--ink-soft); margin-bottom: 1.25rem; max-width: 46ch; }
.story__content .btn { align-self: flex-start; margin-top: 1rem; }

/* ============================================================
   INSTAGRAM
   ============================================================ */
.insta__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-top: 2.5rem;
}
.insta__item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--rose-soft);
}
.insta__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s;
}
.insta__item:hover img { transform: scale(1.08); filter: brightness(0.92); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--beige); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.contact__form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  transition: border-color 0.3s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--rose);
}
.contact__form .btn { width: 100%; }
.form-success {
  margin-top: 1rem;
  text-align: center;
  color: var(--rose-dark);
  font-size: 0.9rem;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.4s, height 0.4s;
}
.form-success.show { opacity: 1; height: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding-top: 4rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__logo { height: 64px; width: 64px; object-fit: cover; border-radius: 50%; margin-bottom: 1rem; }
.footer__tagline { color: rgba(250, 246, 242, 0.7); font-family: var(--serif); font-size: 1.2rem; font-style: italic; }
.footer__nav h4,
.footer__social h4 {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--rose);
  font-weight: 500;
}
.footer__nav a,
.footer__social a {
  display: block;
  color: rgba(250, 246, 242, 0.75);
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
  transition: color 0.3s;
}
.footer__nav a:hover,
.footer__social a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.75rem;
  font-size: 0.82rem;
  color: rgba(250, 246, 242, 0.55);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .products__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding-block: 4rem; }

  .nav__left,
  .nav__right { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__logo { justify-self: start; }
  .burger { display: flex; }

  .categories__grid { grid-template-columns: 1fr; }
  .products__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .story { grid-template-columns: 1fr; }
  .story__media { min-height: 360px; }

  .insta__grid { grid-template-columns: repeat(3, 1fr); }

  .contact__inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  /* Actions toujours visibles sur mobile (pas de hover) */
  .product-card__actions { transform: translateY(0); opacity: 1; position: static; margin-top: 0; }
  .product-card__actions { padding: 0 1rem 1rem; }
}

@media (max-width: 420px) {
  .products__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
