/* ============================================================
   Argile — mobilier & décoration artisanale
   Palette terre/sable + terracotta, serif éditorial (Newsreader)
   + Inter. Pièce maîtresse : photo de salon avec points
   cliquables ("shoppez le look") ouvrant une fiche produit.
   ============================================================ */

:root {
  --sand: #f4ede1;
  --sand-2: #ebdcc4;
  --walnut: #372c23;
  --walnut-2: #4a3c30;
  --terracotta: #c1653d;
  --terracotta-dark: #a34f2c;
  --white: #ffffff;
  --muted: #756a5c;
  --border: rgba(55,44,35,.14);

  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --shadow-sm: 0 8px 22px rgba(55,44,35,.1);
  --shadow-md: 0 20px 48px rgba(55,44,35,.16);
  --shadow-lg: 0 34px 80px rgba(55,44,35,.26);

  --container: 1160px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0; overflow-x: hidden; background: var(--sand); color: var(--walnut);
  font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display { font-family: 'Newsreader', Georgia, serif; margin: 0 0 .35em; line-height: 1.08; font-weight: 500; letter-spacing: -.01em; }
p { margin: 0 0 1em; color: var(--muted); line-height: 1.7; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--walnut); color: #fff; padding: 12px 18px; z-index: 999; }
.skip-link:focus { left: 0; }

h1 { font-size: clamp(2.4rem, 1.7rem + 3.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 1.5rem + 2vw, 3rem); }
h3 { font-size: 1.3rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .76rem; color: var(--terracotta-dark);
  margin-bottom: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
}
.eyebrow::before { content: ''; width: 20px; height: 1.5px; background: var(--terracotta); display: inline-block; }

.section { padding: clamp(56px, 7vw, 110px) 0; }
.text-center { text-align: center; }
.stack-center { max-width: 640px; margin: 0 auto; }
.bg-walnut { background: var(--walnut); color: var(--sand); }
.bg-walnut p { color: rgba(244,237,225,.7); }
.bg-walnut .eyebrow { color: var(--terracotta); }
.bg-walnut .eyebrow::before { background: var(--terracotta); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px;
  border-radius: var(--radius-pill); border: none; font-weight: 700; font-size: .84rem;
  letter-spacing: .02em; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.96); }
.btn-terracotta { background: var(--terracotta); color: #fff; }
.btn-terracotta:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-walnut { background: var(--walnut); color: var(--sand); }
.btn-walnut:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--walnut); }
.btn-outline:hover { border-color: var(--walnut); }

/* ============================================================
   Bandeau annonce
   ============================================================ */
.announce-bar { background: var(--walnut); color: var(--sand); text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .02em; padding: 9px 16px; }

/* ============================================================
   Header
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 500; background: rgba(244,237,225,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 32px; height: 32px; border-radius: 50%; background: var(--terracotta); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; font-family: 'Newsreader'; font-style: italic; font-size: 1.05rem; }
.brand-name { font-family: 'Newsreader'; font-size: 1.25rem; letter-spacing: .01em; }
.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: 30px; }
.nav-desktop a { font-size: .86rem; font-weight: 600; color: var(--walnut); opacity: .78; }
.nav-desktop a:hover { opacity: 1; }
.header-actions { display: none; align-items: center; gap: 10px; }
.icon-btn { position: relative; width: 38px; height: 38px; border-radius: 50%; background: transparent; border: 1px solid var(--border); color: var(--walnut); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-btn:hover { background: var(--white); }
.icon-badge { position: absolute; top: -4px; right: -4px; width: 17px; height: 17px; border-radius: 50%; background: var(--terracotta); color: #fff; font-size: .62rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
@media (min-width: 640px) { .header-actions { display: flex; } }
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  width: 40px; height: 40px; border-radius: 50%; background: var(--walnut); flex-shrink: 0; border: none;
}
.nav-toggle span { display: block; width: 15px; height: 2px; background: var(--sand); margin: 0 auto; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile {
  position: fixed; inset: 0; background: var(--walnut); z-index: 600; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease);
}
.nav-mobile.is-open { opacity: 1; pointer-events: auto; }
.nav-mobile-top { display: flex; justify-content: flex-end; margin-bottom: 30px; }
.nav-mobile-close { width: 38px; height: 38px; border-radius: 50%; background: rgba(244,237,225,.1); color: var(--sand); border: none; display: flex; align-items: center; justify-content: center; }
.nav-mobile ul { display: flex; flex-direction: column; }
.nav-mobile a { display: block; color: var(--sand); font-family: 'Newsreader'; font-size: 1.9rem; padding: 14px 4px; border-bottom: 1px solid rgba(244,237,225,.14); }
.nav-mobile .btn { margin-top: 26px; width: fit-content; }
@media (min-width: 940px) { .nav-desktop { display: block; } .nav-toggle, .nav-mobile { display: none; } }

/* ============================================================
   Hero — bloc texte + photo, façon fiche produit
   ============================================================ */
/* Mobile : photo plein cadre en haut, carte de texte qui remonte par-dessus
   (façon écran d'accueil d'application) plutôt qu'un simple empilement
   texte / image. */
.hero-split { display: grid; grid-template-columns: minmax(0,1fr); background: var(--sand-2); width: 100%; }
.hero-photo { order: -1; min-height: 46vh; position: relative; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; min-height: 46vh; }
.hero-copy {
  position: relative; z-index: 2; margin-top: -32px;
  background: var(--sand-2); border-radius: 28px 28px 0 0; box-shadow: 0 -18px 34px rgba(32,29,23,.1);
  padding: 40px clamp(24px, 6vw, 100px) clamp(40px, 6vw, 90px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-copy .btn { margin-top: 6px; align-self: flex-start; }
.hero-trust { margin-top: 20px; font-size: .84rem; color: var(--muted); }
.hero-trust .stars { color: var(--terracotta); letter-spacing: 1px; }
.hero-trust strong { color: var(--walnut); }
@media (min-width: 860px) {
  .hero-split { grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); min-height: 560px; }
  .hero-photo { order: 0; min-height: 100%; }
  .hero-photo img { min-height: 100%; }
  .hero-copy { margin-top: 0; border-radius: 0; box-shadow: none; padding: clamp(40px, 6vw, 90px) clamp(24px, 6vw, 100px); }
}

/* ============================================================
   Interactif — shoppez le look
   ============================================================ */
.shop-look { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); margin-top: 34px; }
.shop-look img { width: 100%; height: auto; display: block; }
.hotspot-wrap { position: absolute; transform: translate(-50%, -50%); z-index: 5; }
.hotspot-wrap.is-active { z-index: 25; }
.hotspot-dot {
  position: relative; width: 36px; height: 36px; border-radius: 50%; padding: 0;
  background: var(--terracotta); border: 3px solid rgba(255,255,255,.92);
  box-shadow: 0 4px 14px rgba(20,14,8,.35), 0 0 0 0 rgba(193,101,61,.5);
  display: flex; align-items: center; justify-content: center;
  animation: hotspot-pulse 2.4s ease-in-out infinite;
}
.hotspot-icon { transition: transform .3s var(--ease); pointer-events: none; }
.hotspot-wrap.is-active .hotspot-dot { animation: none; }
.hotspot-wrap.is-active .hotspot-icon { transform: rotate(45deg); }
@keyframes hotspot-pulse { 0% { box-shadow: 0 4px 14px rgba(20,14,8,.35), 0 0 0 0 rgba(193,101,61,.45); } 70% { box-shadow: 0 4px 14px rgba(20,14,8,.35), 0 0 0 14px rgba(193,101,61,0); } 100% { box-shadow: 0 4px 14px rgba(20,14,8,.35), 0 0 0 0 rgba(193,101,61,0); } }
@media (prefers-reduced-motion: reduce) { .hotspot-dot { animation: none; } }

.hotspot-card {
  position: absolute; z-index: 20; width: 240px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 18px; opacity: 0; visibility: hidden; transform: translateY(6px) scale(.97);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.hotspot-card.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.hotspot-card-close { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--sand); border: none; display: flex; align-items: center; justify-content: center; color: var(--walnut); }
.hotspot-card .kicker { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--terracotta-dark); font-weight: 700; margin-bottom: 4px; }
.hotspot-card h3 { font-size: 1.1rem; margin: 0 0 4px; padding-right: 20px; }
.hotspot-card .price { display: block; font-family: 'Newsreader'; font-size: 1.2rem; color: var(--walnut); margin-bottom: 8px; }
.hotspot-card p { font-size: .84rem; margin: 0 0 12px; }
.hotspot-card .btn { padding: 9px 18px; font-size: .74rem; width: 100%; justify-content: center; }

/* positionnement des fiches selon l'espace disponible autour du point */
.hotspot-card.align-right { left: calc(100% + 16px); top: 50%; transform: translateY(calc(-50% + 6px)); }
.hotspot-card.align-right.is-open { transform: translateY(-50%); }
.hotspot-card.align-left { right: calc(100% + 16px); top: 50%; transform: translateY(calc(-50% + 6px)); }
.hotspot-card.align-left.is-open { transform: translateY(-50%); }
.hotspot-card.align-top { bottom: calc(100% + 16px); left: 50%; transform: translate(-50%, 6px); }
.hotspot-card.align-top.is-open { transform: translate(-50%, 0); }
.hotspot-card.align-bottom { top: calc(100% + 16px); left: 50%; transform: translate(-50%, -6px); }
.hotspot-card.align-bottom.is-open { transform: translate(-50%, 0); }

.shop-look-hint { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: .84rem; color: var(--muted); }
.shop-look-hint .pulse-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--terracotta); flex-shrink: 0; position: relative; }
.shop-look-hint .pulse-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--terracotta); animation: hotspot-pulse 2.4s ease-in-out infinite; }

/* ============================================================
   Boutique — grille produits
   ============================================================ */
.product-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 22px; margin-top: 40px; }
.product-card { background: var(--walnut-2); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s var(--ease); }
.product-card:hover { transform: translateY(-4px); }
.product-thumb { position: relative; aspect-ratio: 1; background-size: 280%; background-repeat: no-repeat; }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--terracotta); color: #fff; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 5px 11px; border-radius: var(--radius-pill); }
.product-body { padding: 18px 20px 20px; color: var(--sand); }
.product-body h3 { font-size: 1.2rem; margin-bottom: 2px; color: var(--sand); }
.product-body p { font-size: .84rem; color: rgba(244,237,225,.62); margin: 0 0 14px; }
.product-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-price { font-family: 'Newsreader'; font-size: 1.25rem; color: var(--sand); }
.btn-cart { width: 38px; height: 38px; border-radius: 50%; background: var(--terracotta); color: #fff; border: none; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .25s var(--ease), transform .25s var(--ease); }
.btn-cart:hover { background: var(--terracotta-dark); transform: scale(1.06); }

/* ============================================================
   Réassurance
   ============================================================ */
.trust-strip { padding: 30px 0; border-bottom: 1px solid var(--border); }
.trust-strip-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.trust-strip-row div { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; color: var(--walnut); }
.trust-strip-row svg { color: var(--terracotta); flex-shrink: 0; }

/* ============================================================
   Avis clients
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; margin-top: 36px; }
.testi-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.testi-stars { color: var(--terracotta); letter-spacing: 2px; margin-bottom: 14px; font-size: .9rem; }
.testi-card p { font-size: .94rem; color: var(--walnut); margin-bottom: 16px; }
.testi-author { padding-top: 14px; border-top: 1px solid var(--border); }
.testi-author strong { display: block; font-size: .9rem; }
.testi-author span { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }

/* ============================================================
   Fondatrice — photo + forme organique + carte flottante
   ============================================================ */
.founder-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 50px; align-items: center; }
.founder-photo-wrap { position: relative; max-width: 380px; margin: 0 auto; }
.founder-blob {
  position: absolute; inset: -7%; z-index: 0; background: var(--terracotta);
  opacity: .16; border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%;
  animation: blob-morph 14s ease-in-out infinite;
}
@keyframes blob-morph {
  0%, 100% { border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%; }
  50% { border-radius: 45% 55% 40% 60% / 55% 40% 60% 45%; }
}
@media (prefers-reduced-motion: reduce) { .founder-blob { animation: none; } }
.founder-photo { position: relative; z-index: 1; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.founder-quote {
  position: relative; z-index: 2; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 20px 22px; max-width: 240px; margin: -50px 0 0 auto; margin-right: -18px;
}
.founder-quote .quote-mark { font-family: 'Newsreader'; font-style: italic; font-size: 2.4rem; color: var(--terracotta); line-height: .6; display: block; }
.founder-quote p { font-family: 'Newsreader'; font-style: italic; font-size: 1.05rem; color: var(--walnut); margin: 6px 0 10px; line-height: 1.35; }
.founder-quote .quote-author { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.founder-stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.founder-stats strong { display: block; font-family: 'Newsreader'; font-size: 1.7rem; color: var(--terracotta-dark); }
.founder-stats span { display: block; font-size: .76rem; color: var(--muted); margin-top: 2px; }

/* ============================================================
   Story
   ============================================================ */
.story-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 34px; align-items: center; }
.story-photo { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.story-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.story-badge { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 9px 16px 9px 9px; font-weight: 700; font-size: .82rem; }
.story-badge .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--terracotta); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ============================================================
   Newsletter / contact
   ============================================================ */
.newsletter-card { background: var(--sand-2); border-radius: var(--radius-xl); padding: clamp(30px, 5vw, 56px); text-align: center; }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin: 26px auto 0; }
.newsletter-form input { padding: 15px 18px; border-radius: var(--radius-pill); border: 1.5px solid var(--border); font-family: inherit; font-size: .92rem; background: #fff; }
.newsletter-form input:focus { outline: none; border-color: var(--terracotta); }
.newsletter-note { font-size: .76rem; color: var(--muted); margin-top: 12px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--walnut); color: rgba(244,237,225,.7); padding: 50px 0 24px; }
.footer-top { display: grid; grid-template-columns: minmax(0,1fr); gap: 30px; margin-bottom: 36px; }
.footer-brand .brand-name { color: var(--sand); }
.footer-brand p { max-width: 40ch; margin-top: 14px; color: rgba(244,237,225,.6); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 22px; }
.footer-col h5 { color: var(--sand); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; font-weight: 700; }
.footer-col a, .footer-col span { display: block; font-size: .88rem; color: rgba(244,237,225,.65); margin-bottom: 8px; }
.footer-col a:hover { color: var(--terracotta); }
.footer-bottom { border-top: 1px solid rgba(244,237,225,.12); padding-top: 18px; font-size: .78rem; color: rgba(244,237,225,.45); }

/* ============================================================
   Reveal
   ============================================================ */
[data-reveal] { animation: reveal-fade .7s var(--ease) both; }
@keyframes reveal-fade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { [data-reveal] { animation: none; } }

/* ============================================================
   Breakpoints
   ============================================================ */
@media (min-width: 640px) {
  .newsletter-form { flex-direction: row; }
  .newsletter-form input { flex: 1; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .testi-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .trust-strip-row { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (min-width: 860px) {
  .founder-grid { grid-template-columns: minmax(0,.8fr) minmax(0,1fr); }
  .story-grid { grid-template-columns: minmax(0,.8fr) minmax(0,1fr); }
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  /* Sur mobile, la fiche produit devient une feuille ancrée en bas de l'écran.
     Elle est déplacée en JS dans #hotspotSheet (hors de .hotspot-wrap, qui a un
     transform CSS et casserait le position:fixed en le rattachant au wrapper
     au lieu du viewport). */
  .hotspot-sheet:not(:empty) {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 900;
  }
  .hotspot-sheet .hotspot-card {
    position: static; width: auto; max-width: none;
    left: auto; right: auto; top: auto; bottom: auto; transform: none !important;
  }
}
