/* =========================================================
   Maison Affilé — PAGE D'ACCUEIL (complète style.css)
   ========================================================= */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.btn-sm{padding:10px 18px;font-size:14px}
.btn-ghost{border:1.5px solid var(--ink);color:var(--ink)}
.btn-ghost:hover{background:var(--ink);color:var(--cream)}

/* Hero */
.hero{display:grid;grid-template-columns:1fr 1.15fr;gap:60px;align-items:center;padding-top:56px;padding-bottom:90px}
.hero h1{font-size:clamp(44px,6.2vw,88px);line-height:1.02;margin-bottom:24px}
.hero-lead{font-size:18px;color:var(--ink-2);max-width:500px;margin-bottom:34px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:40px}
.hero-points{list-style:none;display:flex;gap:28px;flex-wrap:wrap;font-size:14px;color:var(--muted);border-top:1px solid var(--line);padding-top:22px}
.hero-points strong{color:var(--ink);font-weight:600}
.hero-media{position:relative}
.hero-frame{border-radius:28px;overflow:hidden;aspect-ratio:4/4.4;box-shadow:var(--shadow)}
.hero-frame img{width:100%;height:100%;object-fit:cover;object-position:30% 50%;animation:kenburns 18s ease-in-out infinite alternate}
@keyframes kenburns{from{transform:scale(1.02)}to{transform:scale(1.12) translate(-2%,1%)}}
.hero-card{position:absolute;left:-36px;bottom:40px;display:flex;align-items:center;gap:14px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);padding:12px 18px 12px 12px;border-radius:18px;box-shadow:0 20px 40px -14px rgba(0,0,0,.3);animation:float 5s ease-in-out infinite}
@keyframes float{50%{translate:0 -8px}}
.hero-card img{width:64px;height:64px;border-radius:12px;object-fit:cover}
.hero-card span{display:flex;flex-direction:column;line-height:1.25}
.hero-card small{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--brass);font-weight:700}
.hero-card strong{font-size:15px}
.hero-card em{font-style:normal;font-size:14px;color:var(--muted)}
.hero-card .hero-card-arrow{width:34px;height:34px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;margin-left:6px;transition:transform .25s}
.hero-card:hover .hero-card-arrow{transform:translateX(3px)}
.hero-in{opacity:0;transform:translateY(22px);animation:heroIn .9s cubic-bezier(.22,.8,.2,1) forwards}
.hero-in:nth-child(2){animation-delay:.1s}.hero-in:nth-child(3){animation-delay:.2s}.hero-in:nth-child(4){animation-delay:.3s}.hero-in:nth-child(5){animation-delay:.4s}
@keyframes heroIn{to{opacity:1;transform:none}}

/* Bandeau promesses */
.promise-strip{background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.promise-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding-top:26px;padding-bottom:26px}
.promise-inner>div{display:flex;align-items:center;gap:14px}
.promise-inner svg{width:28px;height:28px;color:var(--walnut);flex:none}
.promise-inner span{display:flex;flex-direction:column;line-height:1.3}
.promise-inner strong{font-size:14.5px}
.promise-inner small{font-size:13px;color:var(--muted)}

/* En-têtes alignés à gauche */
.section-head-left{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;text-align:left;max-width:none}
.section-aside{max-width:360px;color:var(--muted);font-size:15.5px}

/* Collections */
.collections{display:grid;grid-template-columns:1.4fr 1fr 1fr;grid-template-rows:280px 280px;gap:18px}
.collection{position:relative;border-radius:var(--radius);overflow:hidden;display:block;background:var(--sand)}
.collection-lg{grid-row:span 2}
.collection:nth-child(2){grid-column:span 2}
.collection img{width:100%;height:100%;object-fit:cover;transition:transform 1s cubic-bezier(.22,.8,.2,1)}
.collection:hover img{transform:scale(1.06)}
.collection::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(22,18,15,.78))}
.collection.soon img{filter:saturate(.75)}
.collection-label{position:absolute;left:24px;right:24px;bottom:22px;z-index:1;color:var(--cream);display:flex;flex-direction:column}
.collection-label small{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:#e2bf8f}
.collection-label strong{font-family:var(--serif);font-weight:500;font-size:28px;line-height:1.15}
.collection-lg .collection-label strong{font-size:42px}
.collection-label em{font-style:normal;font-size:14px;margin-top:6px;opacity:.85;transition:opacity .2s}
.collection:hover .collection-label em{opacity:1}

/* Spotlight best-seller */
.spotlight{background:var(--ink);color:var(--cream);padding:100px 0}
.spotlight-inner{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.spotlight-media{position:relative;border-radius:var(--radius);overflow:hidden;aspect-ratio:4/3.2}
.spotlight-media video{width:100%;height:100%;object-fit:cover}
.spotlight-tag{position:absolute;left:18px;top:18px;background:rgba(0,0,0,.55);font-size:12px;font-weight:600;padding:7px 12px;border-radius:999px;backdrop-filter:blur(6px)}
.spotlight-copy h2{color:var(--cream);margin-bottom:20px}
.spotlight-copy h2 em{color:#e2bf8f}
.spotlight-copy>p{color:#cfc4b7;font-size:17px;margin-bottom:30px}
.spotlight-list{list-style:none;margin-bottom:36px;border-top:1px solid #3a322b}
.spotlight-list li{display:flex;gap:20px;align-items:baseline;padding:16px 0;border-bottom:1px solid #3a322b;color:#d8cdbf}
.spotlight-list span{font-family:var(--serif);font-size:22px;color:#e2bf8f;min-width:150px}
.spotlight-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.spotlight-price{color:#bfb3a6}
.spotlight-price strong{font-family:var(--serif);font-size:26px;color:var(--cream);font-weight:500}

/* Grille boutique */
.shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.shop-grid-2{grid-template-columns:repeat(2,1fr);max-width:860px}
.card-price small{font-family:var(--sans);font-size:13px;font-weight:500;color:var(--muted)}
.card-soon{font-size:13px;font-weight:600;color:var(--muted);padding:9px 14px;border:1.5px dashed var(--line);border-radius:999px;white-space:nowrap}
.card-badge-soon{background:var(--ink-2)}

/* Produits pas encore en vente */
.tag-soon{background:var(--sand);color:var(--walnut)}
.soon-note{display:none}
.not-sellable .soon-note{display:block;font-size:13.5px;color:var(--muted);margin:14px 0 24px;padding:12px 16px;background:var(--sand);border-radius:12px}
.not-sellable .bundle-hint{display:none}
.btn:disabled{background:#d9cfc3;color:#6f645b;cursor:not-allowed;transform:none;box-shadow:none}
.qty.is-disabled{opacity:.45;pointer-events:none}
.cross-sell{padding-top:40px}

/* Coffret : contenu */
.value-line{font-size:14px;color:var(--ink-2);margin:-10px 0 20px}
.included{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.included-item{display:block;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:transform .3s, box-shadow .3s}
.included-item:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.included-item img{width:100%;aspect-ratio:1/1;object-fit:cover}
.included-item .included-num{display:block;font-family:var(--serif);font-style:italic;color:var(--brass);font-size:20px;margin:18px 22px 0}
.included-item h3{font-size:24px;margin:4px 22px 8px}
.included-item p{color:var(--ink-2);font-size:15px;margin:0 22px 12px}
.included-item em{display:block;font-style:normal;font-size:13px;color:var(--muted);margin:0 22px 22px}
.compare-note{max-width:720px;margin:28px auto 0;text-align:center;color:#bfb3a6;font-size:15px}
@media (max-width:860px){.included{grid-template-columns:1fr}}
.card{background:var(--white);border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);display:flex;flex-direction:column;transition:transform .3s, box-shadow .3s}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.card-media{position:relative;aspect-ratio:1/1;overflow:hidden;display:block}
.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .8s ease}
.card:hover .card-media img{transform:scale(1.06)}
.card-badge{position:absolute;top:14px;left:14px;z-index:1;background:var(--walnut);color:#fff;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:5px 10px;border-radius:999px}
.card-body{padding:20px;display:flex;flex-direction:column;flex:1}
.card-cat{font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--brass);font-weight:600;margin-bottom:6px}
.card h3{font-size:20px;margin-bottom:8px}
.card h3 a:hover{color:var(--walnut)}
.card-desc{font-size:14px;color:var(--muted);margin-bottom:18px;flex:1}
.card-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto}
.card-price{font-family:var(--serif);font-size:22px;font-weight:600}

/* Manifeste */
.manifesto{position:relative;min-height:620px;display:flex;align-items:center;overflow:hidden;color:var(--cream)}
.manifesto>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.manifesto-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(22,18,15,.88) 0%,rgba(22,18,15,.6) 45%,rgba(22,18,15,.05) 80%)}
.manifesto-inner{position:relative;width:100%}
.manifesto blockquote{font-family:var(--serif);font-size:clamp(28px,3.6vw,48px);line-height:1.15;letter-spacing:-.02em;max-width:720px;margin-bottom:26px}
.manifesto blockquote em{color:#e2bf8f}
.manifesto-inner>p:last-child{max-width:520px;color:#d8cdbf;font-size:17px}

/* Piliers */
.pillars{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line)}
.pillar{padding:40px 36px 10px 0}
.pillar+.pillar{padding-left:36px;border-left:1px solid var(--line)}
.pillar-num{font-family:var(--serif);font-style:italic;font-size:44px;color:var(--brass);display:block;margin-bottom:12px}
.pillar h3{font-size:26px;margin-bottom:10px}
.pillar p{color:var(--ink-2)}

/* Newsletter */
.newsletter{background:var(--sand);padding:90px 0}
.newsletter-inner{display:grid;grid-template-columns:1.1fr 1fr;gap:60px;align-items:center}
.newsletter h2{font-size:clamp(28px,3.4vw,42px)}
.newsletter-form{display:flex;flex-wrap:wrap;gap:10px}
.newsletter-form input{flex:1;min-width:220px;padding:16px 22px;border-radius:999px;border:1.5px solid var(--line);background:var(--white);font:15px var(--sans);outline:none;transition:border-color .2s}
.newsletter-form input:focus{border-color:var(--walnut)}
.newsletter-form small{flex-basis:100%;color:var(--muted);font-size:13px;padding-left:22px}

@media (prefers-reduced-motion:reduce){.hero-in{opacity:1;transform:none}}

@media (max-width:1024px){
  .shop-grid:not(.shop-grid-2){grid-template-columns:repeat(2,1fr)}
  .promise-inner{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:860px){
  .hero{grid-template-columns:1fr;gap:40px;padding-top:32px;padding-bottom:70px}
  .hero-frame{aspect-ratio:4/3.4}
  .hero-card{left:12px;bottom:-24px}
  .section-head-left{flex-direction:column;align-items:flex-start;gap:16px}
  .collections{grid-template-columns:1fr 1fr;grid-template-rows:none}
  .collection{aspect-ratio:1/1}
  .collection-lg{grid-column:1/-1;grid-row:auto;aspect-ratio:16/11}
  .collection:nth-child(2){grid-column:1/-1;aspect-ratio:16/10}
  .spotlight{padding:70px 0}
  .spotlight-inner{grid-template-columns:1fr;gap:36px}
  .pillars{grid-template-columns:1fr}
  .pillar,.pillar+.pillar{padding:30px 0;border-left:0;border-bottom:1px solid var(--line)}
  .newsletter-inner{grid-template-columns:1fr;gap:30px}
  .manifesto{min-height:540px}
  .manifesto-overlay{background:linear-gradient(180deg,rgba(22,18,15,.5),rgba(22,18,15,.88))}
}
@media (max-width:560px){
  .hero h1{font-size:44px}
  .hero-actions .btn{width:100%}
  .hero-points{gap:14px 22px}
  .hero-card strong{font-size:14px}
  .promise-inner{grid-template-columns:1fr;gap:16px}
  .shop-grid{grid-template-columns:1fr 1fr;gap:12px}
  .card-body{padding:14px}
  .card h3{font-size:16px}
  .card-desc{display:none}
  .card-foot{flex-direction:column;align-items:stretch}
  .card-price{font-size:18px}
  .collection-label strong{font-size:22px}
  .collection-lg .collection-label strong{font-size:30px}
  .collection-label{left:16px;right:16px;bottom:16px}
  .spotlight-list span{min-width:110px;font-size:18px}
}
.hero-frame{background:#f1ebe2}
.hero-frame img{object-fit:contain;object-position:center;animation:none}
.collection img{object-fit:contain;object-position:center;background:#eee8df}
.spotlight-media{background:#ede7dd}
.spotlight-media img{display:block;width:100%;height:100%;object-fit:contain}
.card-media{background:#f1ebe2}
.card-media img{object-fit:contain}

/* Direction Maison Affilé : accueil plus lisible, photographies produits préservées. */
:root{--ma-red:#a7222c;--ma-red-dark:#7e1720;--ma-paper:#f6f4f1;--ma-line:#e8e4df}
body.home{background:#fff}
.home .hero{max-width:1440px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:0;padding:32px 36px 72px;align-items:stretch}
.home .hero-copy{background:var(--ma-paper);padding:clamp(50px,6vw,100px);display:flex;align-items:flex-start;justify-content:center;flex-direction:column}
.home .hero .eyebrow{color:var(--ma-red);font-size:11px;letter-spacing:.19em}
.home .hero h1{font-size:clamp(48px,5.5vw,78px);line-height:1.06;letter-spacing:-.035em;max-width:620px}
.home .hero h1 em{color:var(--ma-red)}
.home .hero-lead{font-size:17px;line-height:1.8;color:#56504c;max-width:460px}
.home .hero-actions{gap:16px;margin-bottom:38px}
.home .hero .btn{border-radius:4px;font-size:14px;padding:16px 24px}
.home .hero .btn-primary{background:var(--ma-red);color:#fff}.home .hero .btn-primary:hover{background:var(--ma-red-dark);box-shadow:none}
.home .hero .btn-ghost{border:1px solid #bdb6b0;color:#2b2522;background:transparent}.home .hero .btn-ghost:hover{border-color:var(--ma-red);color:var(--ma-red)}
.home .hero-points{width:100%;gap:0;border-color:#dcd5ce;padding-top:22px}.home .hero-points li{font-size:12px;letter-spacing:.04em;text-transform:uppercase}.home .hero-points li+li:before{content:'·';padding:0 18px;color:var(--ma-red)}
.home .hero-media{min-height:600px}.home .hero-frame{height:100%;min-height:600px;aspect-ratio:auto;border-radius:0;background:#eee9e1;box-shadow:none}
.home .hero-frame img{object-fit:contain;object-position:center;animation:none}
.home .hero-card{left:24px;bottom:24px;right:24px;width:max-content;max-width:calc(100% - 48px);padding:10px 16px 10px 10px;border-radius:4px;background:#fff;box-shadow:0 10px 30px #2017141c;animation:none}
.home .hero-card img{border-radius:2px}.home .hero-card small{color:var(--ma-red)}.home .hero-card .hero-card-arrow{background:var(--ma-red);border-radius:2px}
.home .promise-strip{background:#f8f7f5;border-color:var(--ma-line)}.home .promise-inner{padding-top:25px;padding-bottom:25px;gap:0}.home .promise-inner>div{padding:0 24px}.home .promise-inner>div+div{border-left:1px solid #ddd8d2}.home .promise-inner svg{color:var(--ma-red)}.home .promise-inner strong{font-size:13px}.home .promise-inner small{font-size:12px}
.home .section{padding-top:100px;padding-bottom:100px}.home .section-head{margin-bottom:44px}.home .section-head h2,.home .feature-copy h2{letter-spacing:-.035em}.home .section-head h2 em,.home .feature-copy h2 em{color:var(--ma-red)}.home .eyebrow{color:var(--ma-red)}
.home .collections{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:390px;gap:18px}.home .collection,.home .collection-lg,.home .collection:nth-child(2){grid-column:auto;grid-row:auto;aspect-ratio:auto;border-radius:3px;background:#f2efeb}.home .collection img{object-fit:contain;object-position:center;transition:transform .5s}.home .collection:hover img{transform:scale(1.025)}.home .collection::after{background:linear-gradient(0deg,rgba(28,21,18,.84),rgba(28,21,18,.05) 48%,transparent 70%)}.home .collection-label{left:22px;bottom:22px}.home .collection-label strong,.home .collection-lg .collection-label strong{font-size:28px;color:#fff}.home .collection-label small{color:#fff;opacity:.8}.home .collection-label em{font-size:13px}
.home .spotlight{background:#282322;padding:95px 0}.home .spotlight-inner{gap:80px}.home .spotlight-media{border-radius:3px;background:#f0ece6;aspect-ratio:1/1}.home .spotlight-media img{object-fit:contain;width:100%;height:100%}.home .spotlight-copy h2 em{color:#e8b4ae}.home .spotlight-copy .eyebrow{color:#e7aca7}.home .spotlight-list span{color:#e7aca7;font-size:20px;min-width:60px}.home .spotlight-list li{border-color:#4e4542}.home .spotlight-list{border-color:#4e4542}
.home .feature-split{gap:80px}.home .feature-media{border-radius:3px;box-shadow:none;background:#f1ede8}.home .feature-media img{object-fit:contain}
.home .card,.home .pcard{border-radius:3px}.home .card:hover,.home .pcard:hover{transform:translateY(-3px)}.home .card-media img,.home .pcard-media img{object-fit:contain}.home .card-badge{background:var(--ma-red)}
.home .coffret-band{background:#8e2028}.home .coffret-inner h2 em,.home .coffret-inner .eyebrow{color:#ffe4d9}.home .coffret-item{border-radius:3px}.home .coffret-item img{object-fit:contain}
.home .manifesto{min-height:530px}.home .manifesto-overlay{background:linear-gradient(90deg,rgba(30,23,22,.9),rgba(30,23,22,.45) 65%,rgba(30,23,22,.12))}.home .manifesto blockquote em{color:#f2c1b5}
.home .pillar-num{color:var(--ma-red)}.home .newsletter{background:#f4f1ed}.home .newsletter h2 em{color:var(--ma-red)}
@media(max-width:1024px){.home .collections{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,340px)}.home .promise-inner>div{padding:14px}.home .promise-inner>div:nth-child(3){border-left:0}}
@media(max-width:860px){.home .hero{grid-template-columns:1fr;padding:20px 20px 60px}.home .hero-copy{padding:50px 30px}.home .hero-media,.home .hero-frame{min-height:0}.home .hero-frame{height:auto;aspect-ratio:1/1}.home .hero-card{left:15px;bottom:15px}.home .section{padding-top:70px;padding-bottom:70px}.home .spotlight-inner{gap:36px}.home .feature-split{gap:35px}}
@media(max-width:560px){.home .hero h1{font-size:46px}.home .hero-points li+li:before{padding:0 9px}.home .collections{grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,260px);gap:10px}.home .collection-label{left:14px;bottom:14px}.home .collection-label strong,.home .collection-lg .collection-label strong{font-size:21px}.home .promise-inner>div{padding:12px 8px}.home .promise-inner svg{width:22px;height:22px}.home .promise-inner small{font-size:11px}.home .hero-card strong{font-size:12px}.home .hero-card img{width:50px;height:50px}}
@media(prefers-reduced-motion:reduce){.home .collection img,.home .card,.home .pcard{transition:none}}

.home .hero-video-frame{position:relative}
.home .hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .5s ease;pointer-events:none}
.home .hero-video.is-playing{opacity:1}
.home .hero-video-caption{position:absolute;right:18px;bottom:18px;color:#fff;background:rgba(25,22,20,.7);padding:6px 9px;font-size:10px;letter-spacing:.05em;line-height:1.3}
.home .hero-video-toggle{position:absolute;right:18px;top:18px;width:42px;height:42px;border-radius:50%;background:rgba(25,22,20,.7);color:#fff;display:grid;place-items:center;font-size:15px;z-index:2}
.home .hero-video-toggle[hidden],.home .hero-video-caption[hidden]{display:none}
.home .hero-video-toggle:focus-visible{outline:2px solid white;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.home .hero-video{display:none;transition:none}}
