/* Uni Sushi — site vitrine (reproduction de www.unisushi.ma, ex-Squarespace) */
/* Polices auto-hébergées (SIL Open Font License, voir fonts/LICENSE-*) */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/montserrat-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/montserrat-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/montserrat-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Rubik Mono One"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/rubik-mono-one-latin-400-normal.woff2) format("woff2"); }

:root {
  --prune: #3a3238;        /* fond des sections : rgb(58,50,56) */
  --prune-2: #4d464b;      /* bandeau vidéo, panneau CGV, lettres U N I : rgb(77,70,75) */
  --teal: #22aaa1;         /* boutons, accents : rgb(34,170,161) */
  --creme: #f8fff4;        /* texte : rgb(248,255,244) */
  --blanc: #ffffff;
  --mono: "Rubik Mono One", sans-serif;
  --sans: "Montserrat", sans-serif;
  /* Largeur du contenu (grille Squarespace : 1146 px max, 2 vw de marge) */
  --cw: min(1146px, 96vw);
  --gut: calc((100vw - var(--cw)) / 2);
  --body: 14.3px;
}
@media (max-width: 767px) {
  :root {
    --cw: calc(100vw - 2 * 6vw); --body: 14.9px;
    /* Tailles relevées sur iPhone : elles suivent la hauteur d'écran (852 px de référence) */
    --fs-title: min(calc(31.336px + (100vh - 852px) * 0.018), 32.2px);
    --fs-legal: min(calc(26.224px + (100vh - 852px) * 0.012), 26.8px);
    --fs-foot: min(calc(19.067px + (100vh - 852px) * 0.0036), 19.24px);
    --fs-body: max(calc(14.978px - (100vh - 852px) * 0.0012), 14.92px);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--teal);
  color: var(--creme);
  font-family: var(--sans);
  font-size: var(--body);
  line-height: 1.6;
  letter-spacing: 0.416px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh; display: flex; flex-direction: column;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--mono); font-weight: 400; margin: 0; letter-spacing: 0.03em; }
.wrap, .stage { width: var(--cw); margin: 0 auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--teal); padding: 10px 16px; border-radius: 60px 10px; text-transform: uppercase; font-weight: 500; }
main { display: block; flex: 1 0 auto; background: var(--prune); }

/* ---------- En-tête ----------
   Relevé Squarespace : l'en-tête diffère selon l'écran (tactile ou non) et rétrécit au défilement.
   --hh : hauteur au repos (le héros est positionné par rapport à elle), --hs : après défilement,
   --hp : marge haute (logo décentré vers le bas sur écran non tactile). */
:root {
  --hh: calc(83px + (var(--cw) - 983.04px) * 0.0614); --hs: var(--hh); --hp: 19px;
  --ho: var(--hh);   /* décalage du contenu sous l'en-tête : suit son rétrécissement, comme Squarespace */
}
html.scrolled { --ho: var(--hs); }
@media (max-width: 799.98px) { :root { --hh: 154px; --hs: 93px; } }
@media (max-width: 767.98px) { :root { --hh: 104px; --hs: 93px; } }
@media (hover: none) and (pointer: coarse) and (max-width: 1024px) { :root { --hh: calc(42px + 12.1vw); --hs: 84px; --hp: 0px; } }
@media (hover: none) and (pointer: coarse) and (max-width: 767.98px) { :root { --hh: calc(36.3px + 12.08vw); --hs: max(min(calc(46.85px + 4.11vw), 63px), min(calc(20.5px + 10.8vw), 73px)); } }

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .25s ease;
}
.header.is-scrolled, .page-inner .header { background: var(--prune); }
.header__inner {
  width: var(--cw); margin: 0 auto; height: var(--hh); padding-top: var(--hp);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  transition: height .3s ease;
}
.header.is-scrolled .header__inner { height: var(--hs); }
.header__logo { justify-self: start; display: block; width: 238px; }
.header__logo img { width: 100%; height: auto; }
.nav { display: flex; gap: 36px; }
.nav__item { position: relative; }
.nav__title {
  display: block; padding: 8px 0; text-decoration: none; background: none; border: 0; cursor: pointer;
  color: var(--creme); font: 700 16px/1 var(--sans); letter-spacing: 3.2px; text-transform: uppercase;
}
.nav__folder {
  position: absolute; left: -16px; top: 100%; min-width: 200px; padding: 8px 16px 12px;
  background: var(--prune); opacity: 0; visibility: hidden; transition: opacity .15s;
}
.nav__item:hover .nav__folder, .nav__item:focus-within .nav__folder { opacity: 1; visibility: visible; }
.nav__folder a {
  display: block; padding: 2px 0; text-decoration: none;
  font: 700 16px/1.5 var(--sans); letter-spacing: 3.2px; text-transform: uppercase;
}
.header__social { justify-self: end; display: flex; gap: 26px; }
.ico {
  width: 43px; height: 43px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 0 0 2px var(--creme) inset; color: var(--creme);
}
.ico svg { width: 23px; height: 23px; fill: currentColor; }
.burger { display: none; }

/* Menu hamburger : fenêtre étroite, ou tablette tactile jusqu'à 1024 px (comme Squarespace) */
@media (max-width: 799.98px), (hover: none) and (pointer: coarse) and (max-width: 1024px) {
  .nav, .header__social { display: none; }
  .header__logo { grid-column: 2; }
  .burger {
    display: block; grid-column: 3; justify-self: end; width: 36px; height: 36px;
    background: none; border: 0; padding: 0; cursor: pointer; position: relative; color: var(--creme);
  }
  .burger span { position: absolute; left: 1px; right: 1px; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
  .burger span:nth-child(1) { top: 7px; } .burger span:nth-child(2) { top: 17px; } .burger span:nth-child(3) { top: 27px; }
  .menu-open .burger span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .menu-open .burger span:nth-child(2) { opacity: 0; }
  .menu-open .burger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
  .mmenu { display: flex; }
}
@media (max-width: 767.98px) {
  .header__logo { width: 149px; }
}

/* Menu mobile plein écran */
.mmenu {
  position: fixed; inset: 0; z-index: 40; background: var(--prune);
  display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  overflow: hidden;
}
.menu-open .mmenu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.mmenu__panels { flex: 1; position: relative; margin-top: 86px; }
.mmenu__panel {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.mmenu__panel[data-level="1"] { transform: translateX(100%); }
.mmenu[data-open] .mmenu__panel[data-level="0"] { transform: translateX(-100%); }
.mmenu[data-open] .mmenu__panel.is-current { transform: none; }
.mmenu__link {
  display: inline-flex; align-items: center; gap: 16px; padding: 11px 0; background: none; border: 0; cursor: pointer;
  color: var(--creme); text-decoration: none; font: 700 33px/1.5 var(--sans); letter-spacing: 4.6px; text-transform: uppercase;
}
.mmenu__link svg { width: 14px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.mmenu__back { letter-spacing: 3.9px; }
.mmenu__social { display: flex; justify-content: center; gap: 16px; padding: 0 0 38px; }
@media (min-width: 800px) and (hover: hover), (min-width: 1025px) { .mmenu { display: none; } }

/* ---------- Boutons « feuille » ---------- */
.leaf {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  padding: 25.4px 37px; border-radius: 60px 10px;
  background: var(--teal); color: var(--creme); text-decoration: none;
  font: 700 16px/1.2 var(--sans); letter-spacing: 1.6px; text-transform: uppercase;
  transition: opacity .2s;
}
.leaf:hover { opacity: .8; }

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; background: var(--prune); height: calc(316px + 0.7 * var(--cw)); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__content { position: relative; height: 100%; }
.hero h1 {
  position: absolute; left: 0; top: calc(93px + 0.16 * var(--cw));
  font-size: calc(0.0572 * var(--cw)); line-height: 1; letter-spacing: 0.03em; white-space: nowrap;
}
.hero__sub {
  position: absolute; left: 0; top: calc(93px + 0.16 * var(--cw) + 1.24 * 0.0572 * var(--cw));
  margin: 0; font-weight: 700; font-size: calc(0.0647 * var(--cw)); line-height: 1; letter-spacing: 0.416px;
}
.hero__btn { position: absolute; transform: translateX(-50%); max-width: calc(0.239 * var(--cw)); }
.hero__btn--rabat { left: 37.4%; top: calc(286px + 0.443 * var(--cw)); }
.hero__btn--casa { left: 62.6%; top: calc(286px + 0.443 * var(--cw)); }
.hero__btn--call { left: 50%; top: calc(286px + 0.536 * var(--cw)); }
.wave { position: absolute; left: 0; bottom: 0; width: 100%; height: 6vw; display: block; }
.wave .fill { fill: var(--prune); }
.wave .line { fill: none; stroke: var(--blanc); stroke-width: 5px; vector-effect: non-scaling-stroke; }

@media (max-width: 767px) {
  .hero { height: 841px; }
  .hero h1 { top: 133px; font-size: 7.13vw; }
  .hero__sub { top: 168px; font-size: 7.6vw; }
  .hero__btn { max-width: none; transform: none; }
  .hero__btn--rabat { left: calc(35px - 6vw); top: 530px; }
  .hero__btn--casa { left: auto; right: calc(42px - 6vw); top: 530px; }
  .hero__btn--call { left: 50%; transform: translateX(-50%); top: 670px; white-space: nowrap; }
  .wave { height: 7vw; }
}

/* ---------- Sections de contenu ---------- */
.sec { background: var(--prune); }
.kicker { white-space: nowrap; text-align: center; font-weight: 700; color: var(--teal); font-size: calc(0.0177 * var(--cw)); line-height: 1; margin: 0; letter-spacing: 0.416px; }
.icon-dot {
  width: calc(0.0218 * var(--cw)); height: calc(0.0218 * var(--cw)); margin: 0 auto;
  border-radius: 50%; overflow: hidden;
}
.icon-dot img, .icon-strip img { width: 100%; height: 100%; object-fit: cover; }
.icon-strip { width: calc(0.1 * var(--cw)); height: calc(0.0218 * var(--cw)); margin: 0 auto; }
.icon-strip img { object-fit: contain; }
.title { text-align: center; font-size: calc(0.0349 * var(--cw)); line-height: 1.128; }
.lead { width: calc(0.411 * var(--cw)); margin: 0 auto; text-align: center; line-height: 1.6; }

.intro { padding: 43px 0 0; height: calc(201px + 0.163 * var(--cw)); }
.intro .kicker { margin-top: calc(0.028 * var(--cw)); }
.intro .title { margin-top: calc(0.0475 * var(--cw)); }
.intro .lead { margin-top: calc(0.0314 * var(--cw)); }

/* Mosaïque produits : 1 grande + 4 petites */
.mosaic { padding: 95px 0; }
.mosaic__grid {
  width: var(--cw); margin: 0 auto; display: grid;
  grid-template-columns: 49.4fr 24.2fr 24.2fr; column-gap: 1.25%; row-gap: calc(0.0131 * var(--cw));
  grid-template-rows: repeat(2, calc(106px + 0.171 * var(--cw)));
}
.mosaic__grid > * { margin: 0; overflow: hidden; position: relative; }
.mosaic__big { grid-row: 1 / 3; border-radius: 150px 0 0 0; }
.mosaic__grid img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__big button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }

.taste { padding: 47px 0 calc(0.069 * var(--cw)); }
.taste .title { margin-top: calc(0.0393 * var(--cw)); }
.taste .lead { margin-top: calc(0.0236 * var(--cw)); }

.band { position: relative; height: calc(127px + 0.284 * var(--cw)); background: var(--prune-2); overflow: hidden; }
.band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.insta { padding: 95px 0; }
.insta h3 { width: var(--cw); margin: 0 auto calc(0.039 * var(--cw)); font-size: calc(0.0308 * var(--cw)); line-height: 1; text-align: left; }
.insta h3 a { text-decoration: none; }

/* U N I + carte */
.uni { padding: 95px 0; }
.uni__grid { width: var(--cw); margin: 0 auto; display: grid; grid-template-columns: 54.7% 1fr; column-gap: 0; position: relative; }
.uni__letters { position: absolute; left: 0; top: 0; width: calc(0.2426 * var(--cw)); pointer-events: none; }
.uni__letters h4 { font-size: calc(0.2753 * var(--cw)); line-height: 1; color: var(--prune-2); font-weight: 700; letter-spacing: 0.03em; }
.uni__menu {
  position: relative; grid-column: 1; margin: calc(0.124 * var(--cw)) 0 0 calc(0.042 * var(--cw)); width: calc(0.411 * var(--cw));
  font-weight: 700; font-size: calc(0.0251 * var(--cw)); line-height: 1.6;
}
.uni__text { grid-column: 2; margin-top: calc(0.124 * var(--cw)); width: calc(0.453 * var(--cw)); }
.uni__text strong { color: var(--teal); }
.uni__text p:last-child { margin-bottom: 5px; }

/* ---------- Pied de page ---------- */
.footer { background: var(--prune); padding: 28.8px 0 19px; }
.footer hr { border: 0; height: 1px; background: var(--blanc); margin: 10px 0; }
.footer__cols {
  display: grid; grid-template-columns: 42% 38% 1fr; padding: 41px 0 32px;
  grid-template-areas: "client call follow" "client call cgv";
}
.footer__col--client { grid-area: client; } .footer__col--call { grid-area: call; }
.footer__col--follow { grid-area: follow; } .footer__col--cgv { grid-area: cgv; }
.footer__h { font-weight: 700; font-size: 20.8px; line-height: 1.6; margin: 0 0 8px; }
.footer__desc { color: var(--teal); max-width: 375px; margin: 0 0 34px; }
.ul { text-decoration: none; background: linear-gradient(var(--blanc), var(--blanc)) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; color: var(--blanc); }
.footer__contact { font-size: 16.5px; white-space: nowrap; }
.footer__calls { display: flex; gap: 0; }
.footer__calls a { font-weight: 700; font-size: 20.8px; line-height: 1.3; width: 145px; display: inline-block; }
.footer__calls a span { background: linear-gradient(var(--blanc), var(--blanc)) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; }
.footer__social { display: flex; gap: 10px; margin-bottom: 34px; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; background: var(--blanc); display: grid; place-items: center; color: var(--prune); }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__cgv { font-weight: 700; font-size: 20.8px; }
.footer__tag { text-align: center; padding-top: 7px; }
.footer__tag h2 { line-height: 1; }
.footer__tag .t1 { font-size: 28.7px; }
.footer__tag .t2 { font-size: 39.5px; margin-top: 3px; }
.footer__tag p { margin: 17px 0 0; text-transform: uppercase; }

/* ---------- Pages intérieures ---------- */
.inner { padding: 178px 0 95px; }
.contact p:last-child { margin-bottom: 0; }
.panel p:last-child { margin-bottom: 0; }
.panel a { overflow-wrap: anywhere; }
.inner__grid { width: var(--cw); margin: 0 auto; display: grid; grid-template-columns: calc(0.042 * var(--cw)) calc(0.38 * var(--cw)) 1fr; }
.inner__title { grid-column: 2; font-size: 32px; line-height: 1.152; }
.inner__title strong { font-weight: 700; }
.panel { grid-column: 3; background: var(--prune-2); padding: 43px 43px 30px; margin-left: calc(0.05 * var(--cw)); }
.panel p { margin: 0 0 1.1em; }
.panel p:empty { min-height: 1.6em; }
.panel a { color: var(--creme); text-decoration: none; background: linear-gradient(var(--prune), var(--prune)) 0 100% / 100% 1px no-repeat; }
.contact h2 { grid-column: 2 / 4; font-size: 40px; line-height: 1.128; max-width: 471px; margin-bottom: 33px; }
.contact p { grid-column: 2 / 4; font-size: 20.8px; line-height: 1.6; margin: 0 0 16px; }
.contact p strong { background: linear-gradient(var(--creme), var(--creme)) 0 100% / 100% 2px no-repeat; }
.contact a { text-decoration: none; }
.nf { text-align: center; }
.nf p { max-width: 560px; margin: 16px auto; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(255, 255, 255, .96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; }
.lightbox button { position: fixed; top: 20px; right: 24px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: #000; font-size: 34px; line-height: 1; }

/* ---------- Mobile (< 768 px) ---------- */
@media (max-width: 767px) {
  .kicker { font-size: 11.9px; }
  .icon-dot { width: 24px; height: 24px; }
  .icon-strip { width: 110px; height: 24px; }
  .title { font-size: 8.26vw; }
  .lead { width: var(--cw); }
  .intro { height: auto; padding: 27px 0 8px; }
  .intro .kicker { margin-top: 35px; }
  .intro .title { margin: 34px auto 0; width: 255px; }
  .intro .lead { margin-top: 11px; }
  .mosaic { padding: 59px 0 99px; }
  .mosaic__grid > :nth-child(2) { grid-area: 2 / 1; } .mosaic__grid > :nth-child(3) { grid-area: 3 / 1; }
  .mosaic__grid > :nth-child(4) { grid-area: 3 / 2; } .mosaic__grid > :nth-child(5) { grid-area: 2 / 2; }
  .mosaic--insta .mosaic__grid > :nth-child(2) { grid-area: 2 / 1; } .mosaic--insta .mosaic__grid > :nth-child(3) { grid-area: 3 / 2; }
  .mosaic--insta .mosaic__grid > :nth-child(4) { grid-area: 3 / 1; } .mosaic--insta .mosaic__grid > :nth-child(5) { grid-area: 2 / 2; }
  .mosaic__grid {
    grid-template-columns: 1fr 1fr; column-gap: 14px; row-gap: 15px;
    grid-template-rows: 336px 180px 180px;
  }
  .mosaic__big { grid-column: 1 / 3; grid-row: 1; }
  .mosaic--insta .mosaic__grid { grid-template-rows: 375px 180px 180px; }
  .taste { padding: 30px 0 48px; }
  .taste .title { margin-top: 46px; }
  .taste .lead { margin-top: 32px; margin-bottom: 0; }
  .band { height: 479px; }
  .insta { padding: 98px 0 60px; }
  .insta h3 { font-size: 8.33vw; text-align: center; margin-bottom: 45px; }
  .uni { padding: 60px 0 55px; }
  .uni__grid { grid-template-columns: 1fr; }
  .uni__letters { top: 0; width: 100%; }
  .uni__letters h4 { font-size: 99.9vw; }
  .uni__menu { margin: 35px 0 0; width: auto; font-size: 6.32vw; min-height: 0; }
  .uni__text { grid-column: 1; width: auto; margin-top: 46px; }
  .footer { padding-top: 79px; }
  .footer__cols { grid-template-columns: 1fr; grid-template-areas: "client" "cgv" "call" "follow"; padding: 13px 0 30px; }
  .footer__desc { margin-bottom: 20px; }
  .footer__contact { font-size: 20.7px; }
  .footer__cgv { display: inline-block; margin: 15px 0 36px; font-size: 19.24px; }
  .footer__col--call .footer__h { margin-bottom: 4px; }
  .footer__col--follow { margin-top: 98px; }
  .footer__col--follow .footer__h { margin-bottom: -14px; }
  .footer__tag p { margin-top: 33px; }
  .footer__tag { padding-top: 12px; }
  .footer { padding-bottom: 56px; }
  .footer__h { font-size: 19.24px; }
  .footer__calls a { width: min(178px, 50%); font-size: 19.24px; }
  .footer__cols { min-width: 0; } .footer__cols > div { min-width: 0; }
  .footer__social { margin: 0 0 5px; }
  .footer__tag { text-align: left; }
  .footer__tag .t1 { font-size: 9.08vw; }
  .footer__tag .t2 { font-size: 12.49vw; }
  .footer__tag p { text-align: center; }
  /* Pages intérieures, relevé iPhone : titre 44 px sous l'en-tête, marges 8 vw, panneau 5 vw */
  .inner { padding: calc(var(--ho) + 33.9px + 1.19vh) 0 50px; }
  .inner__grid { width: 84vw; grid-template-columns: 1fr; }
  .inner__title { grid-column: 1; font-size: var(--fs-legal); overflow-wrap: anywhere; min-height: 140px; }
  .panel { grid-column: 1; margin: 0; padding: 5vw 5vw 0; }
  .panel p { font-size: var(--fs-body); }
  .contact h2 { grid-column: 1; font-size: var(--fs-title); margin-bottom: 32px; max-width: none; }
  .contact { padding-bottom: 70px; min-height: calc(var(--ho) + 325px); }
  .panel { letter-spacing: 0.385px; }
  .contact p { grid-column: 1; font-size: var(--fs-foot); margin-bottom: 15px; }
}
@media (min-width: 768px) and (max-width: 1023.98px) { body { letter-spacing: 0.375px; } }
@media (max-width: 767.98px) { body { letter-spacing: 0.385px; } }
.hero__sub, .hero h1, .footer__tag h2 { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
