/* ═══════════════════════════════════════════════════════
   SELENA RIMELLI — Homepage styles
   ═══════════════════════════════════════════════════════ */

/* ══ HERO — Quiet Luxury ══════════════════════════════
   Fond crème · composition asymétrique · canvas droit
   ══════════════════════════════════════════════════════ */

/* Override layout du hero de base (style.css) */
.hero {
  background: #F5EEE6;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: stretch;
}

/* Suppression des anciens éléments */
.hero-bg     { display: none; }
.hero-bottom { display: none; }
.hero-monogram { display: none; }
.hero-aside    { display: none; }

/* ── Canvas décoratif — bloc droit ─────────────────── */
/* Évoque le tissu, crée la tension visuelle sans photo  */
.hero-canvas {
  position: absolute;
  top: 0; right: 0;
  width: clamp(240px, 40%, 580px);
  height: 100%;
  z-index: 0;
  pointer-events: none;
  animation: canvasReveal .9s cubic-bezier(.16,1,.3,1) .6s both;
}
@keyframes canvasReveal {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
/* Ligne de séparation fine — touche éditoriale */
.hero-canvas::before {
  content: '';
  position: absolute;
  left: 0; top: 12%; bottom: 12%;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%, rgba(196,160,112,.5) 25%,
    rgba(196,160,112,.5) 75%, transparent 100%);
  z-index: 1;
}
.hero-canvas-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(178deg,
    #EFE2CF 0%,
    #DDC4A4 15%,
    #CBAA80 32%,
    #B99268 50%,
    #A87C56 65%,
    #956844 80%,
    #825636 92%,
    #724830 100%
  );
}

/* ── Eyebrow — saison / provenance ─────────────────── */
.hero-eyebrow {
  position: relative;
  z-index: 2;
  padding: 7.5rem 4rem 0;
  display: flex;
  justify-content: space-between;
  max-width: 62%;
}
.hero-eyebrow span {
  font-size: .52rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #A09080;
}

/* ── Titre ──────────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 4rem 3.5rem;
  max-width: 65%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(4.8rem, 11.5vw, 12rem);
  line-height: .88;
  letter-spacing: -.028em;
  color: #1E1612;
  margin: 0;
}
.ht-l1 { display: block; }
.ht-l2 {
  display: block;
  font-style: italic;
  padding-left: clamp(2rem, 4vw, 5.5rem);
  color: #7A6055;
}

.hero-rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 2.4rem 0 2rem;
  opacity: 1;
}
.hero-sub {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 300;
  font-style: italic;
  color: #9E8E7E;
  line-height: 1.8;
  letter-spacing: .01em;
  margin: 0;
  max-width: 400px;
}

/* ── Pied du hero — CTA ─────────────────────────────── */
.hero-foot {
  position: relative;
  z-index: 2;
  padding: 0 4rem 3.8rem;
  display: flex;
  align-items: center;
  max-width: 65%;
}
.hero-cta-text {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #1E1612;
  position: relative;
  transition: gap .35s var(--ease);
}
.hero-cta-text::after {
  content: '';
  position: absolute;
  bottom: -.28rem; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .5s var(--ease-out);
}
.hero-cta-text:hover::after { width: calc(100% - 22px); }
.hero-cta-text:hover { gap: 1.2rem; }
.hero-cta-text svg {
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .4s var(--ease);
}
.hero-cta-text:hover svg { transform: translateX(5px); }

.hero-foot-no {
  margin-left: auto;
  font-size: .5rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #C0AE9A;
}

/* ── Indicateur de scroll ───────────────────────────── */
/* Ligne dorée qui tombe en boucle — sobre, élégant      */
.hero-scroll {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  right: auto;          /* override style.css right: 3rem */
  z-index: 3;
  width: 1px; height: 56px;
  overflow: hidden;
  color: transparent;   /* masque texte éventuel */
}
.hero-scroll span {
  display: block;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent 0%, #C9A87C 65%);
  animation: scrollDrop 2.2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%   { transform: translateY(-100%); opacity: 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

/* ── Engagements (ex-guarantees) ────────────────────── */
/* Numérotés, sobres — plus d'icônes                     */
.engagements {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #EDE5D8;
  border-bottom: 1px solid rgba(90,64,53,.1);
}
.engagement-item {
  padding: 3rem 3.2rem;
  border-right: 1px solid rgba(90,64,53,.09);
  display: flex;
  flex-direction: column;
  gap: .45rem;
  transition: background .3s;
}
.engagement-item:last-child { border-right: none; }
.engagement-item:hover { background: #E5DCD0; }
.eng-no {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .3rem;
}
.eng-title {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
}
.eng-sub {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 300;
  font-style: italic;
  margin: 0;
}

/* ── Section eyebrow — label doré éditorial ─────────── */
.section-eyebrow {
  display: block;
  font-size: .52rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .55rem;
}

/* ── PRODUCT CARD UPGRADES ───────────────────────────── */

/* Rich radial gradient placeholders — look more like lit photos */
.ph-r1 { background: radial-gradient(ellipse at 35% 65%, #F0E4D6 0%, #C4A070 40%, #8A6040 80%, #5A3A25 100%); }
.ph-r2 { background: radial-gradient(ellipse at 65% 35%, #E8DCD0 0%, #B89070 40%, #806048 80%, #503828 100%); }
.ph-r3 { background: radial-gradient(ellipse at 40% 60%, #E0D0C0 0%, #B08868 40%, #785040 80%, #4A3020 100%); }
.ph-r4 { background: radial-gradient(ellipse at 60% 40%, #EEE4D8 0%, #C8A878 40%, #908060 80%, #5C4030 100%); }
.ph-r5 { background: radial-gradient(ellipse at 45% 55%, #D8CCC0 0%, #A88878 40%, #707060 80%, #404030 100%); }
.ph-r6 { background: radial-gradient(ellipse at 55% 45%, #EAE0D4 0%, #CCB090 40%, #9A8060 80%, #604828 100%); }

.card-num { display: none; }

/* Material hint under product name */
.product-material {
  font-size: .7rem;
  color: var(--muted);
  font-weight: 300;
  font-style: italic;
  margin-bottom: .4rem;
}

/* Quick-view — inherit light style from style.css, only add z-index override */
.product-quick-view { z-index: 4; }

/* ── MANIFESTO ───────────────────────────────────────── */
.manifesto {
  background: var(--text);
  padding: 9rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '"';
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 30rem;
  color: rgba(255,255,255,.02);
  line-height: 1;
  pointer-events: none;
}
.manifesto-inner { position: relative; z-index: 2; }
.manifesto-quote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 3.2rem);
  font-weight: 300;
  font-style: italic;
  color: white;
  line-height: 1.5;
  max-width: 860px;
  margin: 0 auto 2rem;
}
.manifesto-author {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 3.5rem;
  display: block;
}
.manifesto-cta {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
  padding: 1rem 2.2rem;
  transition: border-color .4s, color .4s, background .4s;
}
.manifesto-cta:hover {
  border-color: var(--accent);
  color: white;
  background: rgba(196,150,90,.15);
}
.manifesto-cta svg { width: 16px; transition: transform .4s var(--ease); }
.manifesto-cta:hover svg { transform: translateX(4px); }

/* ── PHILOSOPHY POINTS ───────────────────────────────── */
.philosophy-points {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin: 2.5rem 0 3rem;
}
.philo-point {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--border);
}
.philo-point:last-child { border-bottom: none; padding-bottom: 0; }
.philo-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--brand-pale);
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}
.philo-point h5 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: .4rem;
}
.philo-point p {
  font-size: .85rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  margin: 0;
}

.editorial-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 3;
  background: rgba(250,247,242,.9);
  padding: .6rem 1rem;
  backdrop-filter: blur(8px);
}
.editorial-split-img { position: relative; }

/* ── STATS BAND ──────────────────────────────────────── */
.stats-band {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  padding: 5rem 3rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 300;
  color: var(--brand);
  line-height: 1;
}
.stat-num small {
  font-size: 50%;
  vertical-align: super;
}
.stat-lbl {
  line-height: 1.6;
}
.stat-divider {
  width: 1px;
  background: var(--border);
  margin: 2rem 0;
}

/* ── CATEGORY TILE UPGRADES ──────────────────────────── */
/* Gradients plus profonds + labels épurés */
.cat-pulls    { background: linear-gradient(155deg, #C4B4A4 0%, #8A6850 40%, #5A3E28 100%); }
.cat-vestes   { background: linear-gradient(155deg, #B8AAA0 0%, #786050 40%, #3E2C22 100%); }
.cat-cardigans{ background: linear-gradient(155deg, #D4C4B4 0%, #A08060 40%, #604030 100%); }

.cat-no {
  display: block;
  font-size: .5rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: .5rem;
}
.cat-desc {
  color: rgba(255,255,255,.45);
  font-size: .68rem;
  font-weight: 300;
  letter-spacing: .06em;
  margin-top: .3rem;
}

/* ── TESTIMONIALS ────────────────────────────────────── */

/* ── TESTIMONIALS ────────────────────────────────────── */
/* Fond crème chaud — quotes éditoriales sans étoiles    */
.testimonials {
  padding: 7rem 3rem;
  background: #EDE5D8;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 4.5rem;
  border-top: 1px solid rgba(90,64,53,.14);
}
.testimonial-card {
  padding: 3.5rem 3rem 3rem 0;
  border-right: 1px solid rgba(90,64,53,.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  transition: background .3s;
}
.testimonial-card:first-child { padding-left: 0; }
.testimonial-card:nth-child(n+2) { padding-left: 3rem; }
.testimonial-card:last-child { border-right: none; }
.testimonial-text {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 300;
  line-height: 1.8;
  font-style: italic;
  color: var(--text);
  margin: 0 0 2rem;
  flex: 1;
}
.testimonial-foot {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.testimonial-rule {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.testimonial-author {
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── NEWSLETTER — Le Cercle Privé ───────────────────── */
/* Layout 2 col · fond très sombre · typographie magazine */
.newsletter {
  background: #1A1310;
  padding: 7rem 4rem;
  text-align: left; /* reset du text-align:center de style.css */
}
.newsletter-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: end;
}
.newsletter-eyebrow { color: rgba(201,168,124,.55) !important; }
.newsletter-text h2 {
  color: white;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: .8rem 0 1.6rem;
}
.newsletter-text h2 em {
  font-style: italic;
  color: #C9A87C;
}
.newsletter-text p {
  color: rgba(255,255,255,.4);
  font-size: .82rem;
  font-weight: 300;
  line-height: 1.9;
  margin: 0;
}
.newsletter-right {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding-bottom: .3rem;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: none;
  margin: 0;
}
.newsletter-form input {
  padding: 1.1rem 0;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.15);
  border-right: none;
  background: transparent;
  color: white;
  font-size: .88rem;
  font-weight: 300;
  font-family: var(--sans);
  outline: none;
  transition: border-color .3s;
  width: 100%;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.28); }
.newsletter-form input:focus { border-color: #C9A87C; }
.newsletter-form button {
  align-self: flex-start;
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
  padding: .9rem 2rem;
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .35s, color .35s, background .35s, gap .3s;
}
.newsletter-form button:hover {
  border-color: #C9A87C;
  color: white;
  background: rgba(201,168,124,.1);
  gap: 1.1rem;
}
.newsletter-form button svg { transition: transform .35s var(--ease); }
.newsletter-form button:hover svg { transform: translateX(4px); }
.newsletter-note {
  font-size: .56rem;
  color: rgba(255,255,255,.2);
  letter-spacing: .08em;
  line-height: 1.6;
  margin-bottom: 0 !important; /* reset du .newsletter p { margin-bottom:3.5rem } de style.css */
}
/* Reset margin sur les p internes newsletter — style.css injecte margin-bottom:3.5rem */
.newsletter-text p { margin-bottom: 0; }

/* ── DATA-REVEAL — Intersection Observer ─────────────── */
/* CSS gère opacité + slide. JS ajoute .will-reveal au chargement,
   puis .is-revealed quand l'élément entre dans le viewport.
   Si JS échoue, les éléments restent visibles (aucun état caché via JS). */
.will-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s cubic-bezier(.16, 1, .3, 1),
              transform .85s cubic-bezier(.16, 1, .3, 1);
}
.will-reveal[data-reveal="left"]  { transform: translateX(-32px); }
.will-reveal[data-reveal="right"] { transform: translateX(32px); }
.will-reveal[data-reveal="scale"] { transform: scale(.97); }

.will-reveal.is-revealed {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ──────────────────────────────────────── */

/* ── Homepage grid : garde 4 cols jusqu'à 768px ─────────
   style.css passe à repeat(3,1fr) à 1100px → la 4e carte
   se retrouve seule sur une 2e ligne.
   .section .products-grid (0,2,0) bat .products-grid (0,1,0)
   ──────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .section .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem .75rem;
  }
}

@media (max-width: 1024px) {
  .guarantees        { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  /* Hero */
  .hero-eyebrow { padding: 7rem 2.5rem 0; max-width: 64%; }
  .hero-content { padding: 0 2.5rem 3rem; max-width: 64%; }
  .hero-foot    { padding: 0 2.5rem 3.5rem; max-width: 64%; }
  .hero-canvas  { width: clamp(200px, 36%, 480px); }
}
@media (max-width: 768px) {
  /* Hero mobile */
  .hero-canvas   { display: none; }
  .hero-eyebrow  { padding: 6.5rem 1.5rem 0; max-width: 100%; }
  .hero-content  { padding: 0 1.5rem 2.5rem; max-width: 100%; }
  .hero-foot     { padding: 0 1.5rem 3.5rem; max-width: 100%; }
  .hero-title    { font-size: clamp(3.8rem, 13vw, 6rem); }
  .ht-l2         { padding-left: clamp(1.2rem, 3vw, 2.5rem); }
  .hero-sub      { font-size: .95rem; max-width: 100%; }
  .hero-foot-no  { display: none; }
  /* Engagements */
  .engagements   { grid-template-columns: 1fr 1fr; }
  .engagement-item { padding: 2rem 1.5rem; }
  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; gap: 0; }
  .testimonial-card  { border-right: none; border-bottom: 1px solid rgba(90,64,53,.1); padding: 2.5rem 0; }
  .testimonial-card:nth-child(n+2) { padding-left: 0; }
  .testimonial-card:last-child { border-bottom: none; }
  /* Grid produits — repasse à 2 cols sur mobile comme le reste du site */
  .section .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .9rem .5rem;
  }
  /* Newsletter */
  .newsletter        { padding: 5rem 1.5rem; }
  .newsletter-inner  { grid-template-columns: 1fr; gap: 3.5rem; }
  /* Misc */
  .stats-band        { grid-template-columns: 1fr; gap: 0; }
  .stat-divider      { width: 60px; height: 1px; margin: 0 auto; }
  .stat-block        { padding: 3rem 0; }
  .philosophy-points { gap: 1.2rem; }
  .manifesto         { padding: 6rem 1.5rem; }
  .manifesto::before { display: none; }
}
@media (max-width: 480px) {
  .engagements { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
}
