/* =============================================
   RAMISTORE V2 — Minimal Beauty (BANAATU-style)
   Rose #C47D8E · Dark #1A1A1A · Warm #FBF8F5
   Cormorant (display) + Jost (body)
   ============================================= */

:root {
    --rose: #C47D8E;
    --rose-dark: #A86575;
    --rose-pale: #F3E0E5;
    --dark: #1A1A1A;
    --dark-s: #2C2C2C;
    --warm: #FBF8F5;
    --tint: #F5F0EC;
    --white: #FFFFFF;
    --g100: #F0ECE8;
    --g200: #E0DAD4;
    --g300: #C8C0B8;
    --g400: #9A928A;
    --g500: #6E665E;

    --serif: 'Cormorant', Georgia, serif;
    --sans: 'Jost', sans-serif;
    --mw: 1180px;
    --r: 6px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-size: 15px; line-height: 1.65; color: var(--dark); background: var(--warm); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
.container { max-width: var(--mw); margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }

/* BTNS */
.btn-main {
    display: inline-block; padding: clamp(12px, 1.5vw, 14px) clamp(28px, 3vw, 36px);
    background: var(--white); color: var(--dark);
    font-family: var(--sans); font-weight: 500; font-size: clamp(0.8rem, 1vw, 0.88rem);
    letter-spacing: 0.06em; text-transform: uppercase; transition: all 0.3s;
}
.btn-main:hover { background: var(--dark); color: var(--white); }
.btn-dark {
    display: inline-block; padding: 13px 32px; background: var(--dark); color: var(--white);
    font-family: var(--sans); font-weight: 500; font-size: 0.85rem;
    letter-spacing: 0.06em; text-transform: uppercase; transition: all 0.3s;
}
.btn-dark:hover { background: var(--dark-s); transform: translateY(-1px); }

/* ANNOUNCE */
.announce { background: var(--dark); color: var(--white); text-align: center; padding: 9px 16px; font-size: clamp(0.7rem, 0.9vw, 0.78rem); letter-spacing: 0.03em; }
.announce a { color: var(--rose-pale); text-decoration: underline; text-underline-offset: 2px; }

/* HEADER */
.header { background: var(--white); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--g200); }
.h-row { max-width: var(--mw); margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); height: 58px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.h-left { display: flex; align-items: center; gap: 8px; }
.nav-desk { display: flex; gap: clamp(18px, 2.5vw, 28px); }
.nav-desk a { font-size: clamp(0.8rem, 1vw, 0.86rem); font-weight: 400; color: var(--g500); letter-spacing: 0.02em; transition: color 0.2s; }
.nav-desk a:hover { color: var(--dark); }
.logo { font-family: var(--sans); font-weight: 400; font-size: clamp(1rem, 1.8vw, 1.2rem); letter-spacing: 0.3em; color: var(--dark); text-align: center; }
.h-right { display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 1.5vw, 18px); }
.h-icon { color: var(--dark); display: flex; transition: color 0.2s; }
.h-icon:hover { color: var(--rose); }
.burger { display: none; flex-direction: column; gap: 5px; }
.burger span { width: 18px; height: 1.5px; background: var(--dark); transition: all 0.3s; }

/* CATEGORY STRIP */
.cat-strip { border-top: 1px solid var(--g100); }
.cat-strip-inner { max-width: var(--mw); margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); display: flex; justify-content: center; gap: 0; overflow-x: auto; scrollbar-width: none; }
.cat-strip-inner::-webkit-scrollbar { display: none; }
.cs-link { display: block; padding: 11px clamp(12px, 1.5vw, 18px); font-size: clamp(0.76rem, 0.95vw, 0.84rem); font-weight: 400; color: var(--g400); white-space: nowrap; position: relative; transition: color 0.2s; }
.cs-link::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 1.5px; background: var(--dark); transition: all 0.25s; transform: translateX(-50%); }
.cs-link:hover { color: var(--dark); }
.cs-link:hover::after, .cs-link.active::after { width: 60%; }
.cs-link.active { color: var(--dark); }

/* HERO */
.hero { position: relative; min-height: 500px; height: 65vh; overflow: hidden; }
.hero-img-wrap { position: absolute; inset: 0; }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%;}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(26,26,26,0.6) 0%, rgba(26,26,26,0.2) 50%, transparent 100%); }
.hero-content { position: absolute; top: 50%; left: clamp(24px, 6vw, 72px); transform: translateY(-50%); color: var(--white); max-width: 460px; z-index: 2; }
.hero-tag { font-size: clamp(0.65rem, 0.85vw, 0.75rem); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose-pale); margin-bottom: clamp(10px, 1.5vw, 16px); display: block; }
.hero h1 { color: var(--white); margin-bottom: clamp(10px, 1.5vw, 16px); }
.hero-content > p { font-size: clamp(0.85rem, 1.1vw, 0.95rem); color: rgba(255,255,255,0.75); line-height: 1.65; margin-bottom: clamp(18px, 2.5vw, 24px); }

/* TRUST BAND */
.trust-band { border-bottom: 1px solid var(--g200); }
.tb-row { display: flex; justify-content: center; gap: clamp(20px, 4vw, 48px); padding: 16px 0; flex-wrap: wrap; }
.tb { display: flex; align-items: center; gap: 7px; font-size: clamp(0.72rem, 0.9vw, 0.8rem); color: var(--g500); }
.tb svg { color: var(--rose); flex-shrink: 0; }

/* PRODUCTS */
.products { padding: clamp(48px, 7vw, 72px) 0; }
.products.bg-tint { background: var(--tint); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: clamp(20px, 3vw, 32px); gap: 12px; }
.see-link { font-size: clamp(0.78rem, 0.95vw, 0.85rem); font-weight: 500; color: var(--rose); }
.see-link:hover { color: var(--rose-dark); }

.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 20px); }
.p-card { position: relative; }
.p-img-link { display: block; }
.p-img { aspect-ratio: 3/4; overflow: hidden; background: var(--g100); border-radius: var(--r); }
#gommages .p-img { aspect-ratio: 4/4; overflow: hidden; background: var(--g100); border-radius: var(--r); }
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.p-card:hover .p-img img { transform: scale(1.05); }
.p-info { padding: clamp(10px, 1.2vw, 14px) 0 0; }
.p-info h3 { font-family: var(--sans); font-weight: 500; font-size: clamp(0.82rem, 1.05vw, 0.92rem); margin-bottom: 2px; }
.p-info h3 a:hover { color: var(--rose); }
.p-sub { font-size: clamp(0.7rem, 0.85vw, 0.78rem); color: var(--g400); margin-bottom: clamp(4px, 0.5vw, 6px); }
.p-price { font-family: var(--serif); font-size: clamp(0.95rem, 1.2vw, 1.08rem); color: var(--dark); margin-bottom: clamp(6px, 0.8vw, 8px); }
.p-wa { font-size: clamp(0.72rem, 0.9vw, 0.8rem); font-weight: 500; color: #25D366; transition: color 0.2s; }
.p-wa:hover { color: #1fb855; }

/* EDITORIAL */
.editorial { padding: clamp(48px, 7vw, 72px) 0; }
.ed-card { display: grid; grid-template-columns: 1.1fr 0.9fr; background: var(--tint); overflow: hidden; border-radius: var(--r); }
.ed-img img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.ed-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 48px); }
.ed-tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose); margin-bottom: 12px; }
.ed-text h2 { margin-bottom: 20px; }
.ed-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.ed-step { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; color: var(--g500); }
.ed-step span { width: 28px; height: 28px; border-radius: 50%; background: var(--rose); color: var(--white); font-weight: 600; font-size: 0.78rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ed-note { font-size: 0.78rem; color: var(--g400); margin-bottom: 20px; }

/* FOOTER */
.footer { background: var(--dark); color: rgba(255,255,255,0.6); padding: clamp(44px, 6vw, 56px) 0 0; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(20px, 3vw, 36px); padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.f-logo { font-family: var(--sans); font-weight: 400; font-size: 1.1rem; letter-spacing: 0.25em; color: var(--white); display: block; margin-bottom: 10px; }
.f-bc > p { font-size: 0.82rem; line-height: 1.65; max-width: 230px; margin-bottom: 14px; }
.f-social { display: flex; gap: 10px; }
.f-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.45); transition: all 0.2s; }
.f-social a:hover { border-color: var(--rose); color: var(--rose); }
.f-col h4 { color: var(--white); font-family: var(--sans); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; margin-bottom: 12px; }
.f-col a { display: block; padding: 3px 0; font-size: 0.8rem; transition: color 0.2s; }
.f-col a:hover { color: var(--rose-pale); }
.f-pay { display: flex; gap: 6px; margin-top: 10px; }
.f-pay span { padding: 3px 8px; border: 1px solid rgba(255,255,255,0.1); font-size: 0.68rem; font-weight: 500; border-radius: 3px; }
.f-bottom { display: flex; justify-content: space-between; padding: 16px 0; font-size: 0.75rem; }
.f-bottom a { color: var(--rose-pale); font-weight: 500; }

/* WA FLOAT */
.wa-float { position: fixed; bottom: 22px; right: 22px; width: 50px; height: 50px; background: #25D366; color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(37,211,102,0.3); z-index: 999; transition: transform 0.3s; }
.wa-float:hover { transform: scale(1.1); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 960px) {
    .p-grid { grid-template-columns: repeat(3, 1fr); }
    .p-grid .p-card:nth-child(4) { display: none; }
    .ed-card { grid-template-columns: 1fr; }
    .ed-img img { min-height: 220px; max-height: 280px; }
}

@media (max-width: 700px) {
    .nav-desk { display: none; }
    .burger { display: flex; }
    .burger.active span:first-child { transform: rotate(45deg) translate(4px, 4px); }
    .burger.active span:last-child { transform: rotate(-45deg) translate(4px, -4px); }
    .h-row { grid-template-columns: auto 1fr auto; }
    .hero { position: relative; min-height: 380px; max-height: 520px; }
    .hero-content { left: 20px; right: 20px; max-width: none; }
    .p-grid { grid-template-columns: repeat(2, 1fr); }
    .p-grid .p-card:nth-child(4) { display: block; }
    .cat-strip-inner { justify-content: flex-start; }
    .tb-row { gap: 14px; }
    .f-grid { grid-template-columns: 1fr 1fr; }
    .f-bc { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .tb-row { flex-direction: column; align-items: center; gap: 8px; }
    .f-grid { grid-template-columns: 1fr; gap: 20px; }
    .f-bottom { flex-direction: column; gap: 4px; text-align: center; }
}

/* ===== GOMMAGES — EXTENSIONS ===== */

/* Grille 8 produits (pas de cache au 4e) */
.p-grid--full { grid-template-columns: repeat(4, 1fr); }
.p-grid--full .p-card:nth-child(4) { display: block; }

/* Catégorie au-dessus du titre */
.p-cat {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1px;
}

/* Badge sur l'image */
.p-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 3px 10px;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
}
.p-badge--green   { background: rgba(22,163,74,0.1);  color: #16a34a; }
.p-badge--rose    { background: var(--rose-pale);      color: var(--rose-dark); }
.p-badge--indigo  { background: #eef2ff;               color: #6366f1; }
.p-badge--amber   { background: #fffbeb;               color: #b45309; }
.p-badge--slate   { background: var(--g100);           color: var(--g500); }

/* Bouton rapide (panier) au hover */
.p-quick {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
}
.p-card:hover .p-quick { opacity: 1; transform: translateY(0); }
.p-quick:hover { background: var(--rose-dark); }

/* Toast */
.scr-toast {
  position: fixed;
  bottom: 80px;
  right: 22px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--white);
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: var(--r);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s, transform 0.35s;
  pointer-events: none;
}
.scr-toast svg { color: var(--rose); flex-shrink: 0; }
.scr-toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Responsive grille 8 */
@media (max-width: 960px) {
  .p-grid--full { grid-template-columns: repeat(3, 1fr); }
  .p-grid--full .p-card:nth-child(n+7) { display: none; }
}
@media (max-width: 700px) {
  .p-grid--full { grid-template-columns: repeat(2, 1fr); }
  .p-grid--full .p-card:nth-child(n+7) { display: block; }
  .p-quick { opacity: 1; transform: translateY(0); }
}