:root{
  --bg:#efe7dd;
  --paper:#f6efe7;
  --ink:#2b2b2b;
  --muted:rgba(43,43,43,.70);
  --line:rgba(43,43,43,.12);

  --gold:#b08a52;
  --gold2:#caa66a;

  --radius:18px;
  --radius2:14px;
  --shadow:0 16px 40px rgba(0,0,0,.10);

  --max:1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--ink);
  background:var(--bg);
  font-family:"Cormorant Garamond", serif;
  overflow-x:hidden;
}

.container{
  width:min(var(--max), calc(100% - 36px));
  margin:0 auto;
}

/* Fond “papier” + léger grain */
.paper-bg{
  position:fixed;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(1200px 800px at 20% 15%, rgba(255,255,255,.70), transparent 60%),
    radial-gradient(1000px 700px at 85% 20%, rgba(255,255,255,.55), transparent 55%),
    radial-gradient(900px 700px at 50% 90%, rgba(255,255,255,.45), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.15), rgba(0,0,0,.02));
}
.paper-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
  opacity:.20;
  mix-blend-mode:multiply;
}

/* Header */
.topbar{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(239,231,221,.70);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(43,43,43,.08);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}

.brand{display:flex; align-items:center; text-decoration:none; color:inherit}
.brand__logo{
  height:58px;
  width:auto;
  display:block;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.08));
}

.nav{
  display:flex;
  align-items:center;
  gap:22px;
  padding:10px 18px;
  border-radius:999px;
  background:rgba(255,255,255,.28);
  border:1px solid rgba(43,43,43,.08);
}
.nav__link{
  text-decoration:none;
  color:rgba(43,43,43,.78);
  font-family:"Cormorant Garamond", serif;
  font-size:20px;
  letter-spacing:.2px;
}
.nav__link:hover{color:rgba(43,43,43,.95)}
.nav__link--active{color:rgba(43,43,43,.95); text-decoration:underline;}

.topbar__right{
  display:flex;
  align-items:center;
  gap:12px;
}

.socials{display:flex; gap:8px}
.socials__btn{
  width:34px; height:34px;
  border-radius:10px;
  display:grid; place-items:center;
  background:rgba(255,255,255,.35);
  border:1px solid rgba(43,43,43,.08);
  color:rgba(43,43,43,.75);
  text-decoration:none;
}
.socials__btn:hover{box-shadow:0 10px 22px rgba(0,0,0,.10); transform:translateY(-1px)}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:14px;
  border:1px solid var(--line);
  text-decoration:none;
  cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease;
  font-family:"Cormorant Garamond", serif;
  font-size:20px;
}
.btn:hover{transform:translateY(-1px); box-shadow:0 12px 26px rgba(0,0,0,.12)}
.btn--gold{
  background:linear-gradient(180deg,var(--gold2),var(--gold));
  border-color:rgba(176,138,82,.35);
  color:#fff;
}
.btn--ghost{
  background:rgba(255,255,255,.28);
  color:rgba(43,43,43,.88);
}
.btn--big{padding:14px 22px; font-size:22px; border-radius:16px;}
.btn--small{padding:10px 14px; font-size:18px; border-radius:12px;}

/* Hero */
.hero{
  padding:26px 0 10px;
}
.hero__grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  align-items:center;
  gap:20px;
}
.hero__title{
  font-family:"Cinzel", serif;
  font-weight:600;
  letter-spacing:.5px;
  margin:0 0 10px;
  color:#6f5b3a;
  font-size:56px;
  line-height:1.05;
  text-shadow:0 10px 26px rgba(0,0,0,.10);
}
.hero__title--small{font-size:50px;}
.hero__subtitle{
  margin:0 0 18px;
  font-size:22px;
  color:rgba(43,43,43,.70);
}

.hero-card{
  border-radius:22px;
  background:rgba(255,255,255,.22);
  border:1px solid rgba(43,43,43,.08);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.hero-card__img{
  height:360px;
  position:relative;
}
.hero-card__img img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}

/* Placeholder si pas d'image */
.hero-card__placeholder{
  position:absolute; inset:0;
  display:grid;
  place-items:center;
  background:
    radial-gradient(900px 400px at 20% 30%, rgba(255,255,255,.55), transparent 65%),
    radial-gradient(900px 400px at 80% 70%, rgba(255,255,255,.45), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.30), rgba(0,0,0,.02));
}
.stack{
  display:flex; gap:10px; margin-bottom:18px;
  transform:translateY(12px);
}
.stack__shirt{
  width:78px; height:110px;
  border-radius:12px;
  border:1px solid rgba(43,43,43,.10);
  background:rgba(255,255,255,.60);
  box-shadow:0 10px 26px rgba(0,0,0,.10);
}
.stack2{
  display:flex; gap:14px;
}
.kufi{
  width:92px; height:62px;
  border-radius:999px;
  border:1px solid rgba(43,43,43,.10);
  background:rgba(255,255,255,.50);
  box-shadow:0 10px 26px rgba(0,0,0,.10);
}

/* Ornement séparateur */
.ornament-line{
  height:1px;
  margin:18px auto 0;
  width:min(var(--max), calc(100% - 36px));
  background:linear-gradient(90deg, transparent, rgba(176,138,82,.55), transparent);
  position:relative;
}
.ornament-line::before{
  content:"";
  position:absolute;
  left:50%;
  top:-6px;
  transform:translateX(-50%);
  width:120px;
  height:12px;
  border-radius:999px;
  border:1px solid rgba(176,138,82,.35);
  background:rgba(255,255,255,.18);
}

/* Sections */
.section{padding:34px 0;}
.center{text-align:center}
.section__title{
  font-family:"Cinzel", serif;
  font-weight:600;
  letter-spacing:.4px;
  color:#6f5b3a;
  font-size:44px;
  margin:0 0 8px;
}
.section__title.left{text-align:left}
.section__subtitle{
  margin:0;
  color:rgba(43,43,43,.70);
  font-size:22px;
}

/* Cards preview */
.cards{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
}
.card{
  text-decoration:none;
  color:inherit;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(43,43,43,.10);
  background:rgba(255,255,255,.20);
  box-shadow:var(--shadow);
  transition:transform .12s ease, box-shadow .12s ease;
}
.card:hover{transform:translateY(-2px); box-shadow:0 22px 50px rgba(0,0,0,.14)}
.card__img{
  height:165px;
  background:rgba(255,255,255,.35);
}
.card__img img{width:100%; height:100%; object-fit:cover; display:block;}
.card__body{padding:14px 14px 18px;}
.card__title{
  font-family:"Cormorant Garamond", serif;
  font-weight:600;
  font-size:24px;
  margin:0 0 6px;
}
.card__text{
  margin:0;
  font-size:18px;
  color:rgba(43,43,43,.70);
}

/* Join section */
.section--join{
  background:rgba(255,255,255,.16);
  border-top:1px solid rgba(43,43,43,.06);
  border-bottom:1px solid rgba(43,43,43,.06);
}

.join{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.join__item{
  border-radius:22px;
  border:1px solid rgba(43,43,43,.10);
  background:rgba(255,255,255,.20);
  box-shadow:var(--shadow);
  padding:18px 14px;
}
.join__item i{
  font-size:26px;
  color:#6f5b3a;
}
.join__label{
  margin-top:10px;
  font-size:22px;
  font-weight:600;
}
.join__handle{
  margin-top:4px;
  font-size:20px;
  color:rgba(43,43,43,.70);
}

.contact-cta{
  margin-top:18px;
  border-radius:22px;
  border:1px solid rgba(43,43,43,.10);
  background:rgba(255,255,255,.22);
  box-shadow:var(--shadow);
  padding:18px;
}
.contact-cta__text{
  margin:0 0 14px;
  font-size:22px;
  color:rgba(43,43,43,.78);
}
.contact-cta__actions{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}

/* Catalogue */
.catalog__head{padding:26px 0 12px;}
.chips{
  margin-top:12px;
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}
.chip{
  text-decoration:none;
  font-size:18px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(43,43,43,.10);
  background:rgba(255,255,255,.22);
  color:rgba(43,43,43,.80);
}
.chip:hover{box-shadow:0 12px 24px rgba(0,0,0,.10); transform:translateY(-1px)}

.catalog__section{padding:26px 0;}
.grid{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

.product{
  border-radius:22px;
  border:1px solid rgba(43,43,43,.10);
  background:rgba(255,255,255,.20);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.product__img{
  height:190px;
  background:rgba(255,255,255,.35);
}
.product__img img{width:100%; height:100%; object-fit:cover; display:block;}
.product__info{padding:14px;}
.product__name{
  font-size:24px;
  font-weight:600;
}
.product__desc{
  margin-top:6px;
  font-size:18px;
  color:rgba(43,43,43,.70);
}
.product__price{
  margin-top:10px;
  font-size:18px;
  color:rgba(43,43,43,.80);
}

/* Footer */
.footer{
  padding:18px 0;
  border-top:1px solid rgba(43,43,43,.08);
  background:rgba(239,231,221,.65);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  font-size:18px;
  color:rgba(43,43,43,.70);
}
.footer__link{
  text-decoration:none;
  color:#6f5b3a;
  font-weight:600;
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns:1fr; }
  .hero__title{font-size:48px;}
  .cards{grid-template-columns:repeat(2,1fr);}
  .grid{grid-template-columns:repeat(2,1fr);}
  .nav{display:none;}
}
@media (max-width: 620px){
  .hero__title{font-size:40px;}
  .cards{grid-template-columns:1fr;}
  .grid{grid-template-columns:1fr;}
  .join{grid-template-columns:1fr;}
  .socials{display:none;}
}
.hero-visual{
  height: 380px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: transparent;
}

/* Image bien visible */
.hero-visual img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  /* léger adoucissement mais pas “lavé” */
  filter: saturate(.98) contrast(.98) brightness(1.02);
}

/* FONDU DOUX SUR LES BORDS UNIQUEMENT (le "glisse") */
.hero-visual::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;

  /* on “mange” seulement les bords avec la couleur du background */
  background:
    radial-gradient(120% 90% at 50% 55%, rgba(239,231,221,0) 55%, rgba(239,231,221,.55) 78%, rgba(239,231,221,.85) 100%);

  /* petit flou = transition ultra douce */
  filter: blur(10px);
}

/* Masque (si supporté) : edges encore plus clean */
@supports (-webkit-mask-image: radial-gradient(circle, #000, transparent)) or (mask-image: radial-gradient(circle, #000, transparent)) {
  .hero-visual{
    -webkit-mask-image: radial-gradient(120% 95% at 50% 55%, #000 62%, rgba(0,0,0,.4) 78%, transparent 100%);
    mask-image: radial-gradient(120% 95% at 50% 55%, #000 62%, rgba(0,0,0,.4) 78%, transparent 100%);
  }
}
