/* Épat & Moi — finitions premium MAW (lot EPAT1, 25/11/2026).
   Servie sur epatmoi.com par le Worker maw-ext-sites (/__maw/x/epatmoi/premium.css), chargée dans <head> : aucun saut de mise en page.
   Règles maw-design : un seul moment signé (l'ouverture « ouvre » de la photo d'accueil, famille « bouche »), texte jamais masqué,
   transform / clip-path / opacité seulement, courbe de sortie, rien de ce qui bouge en mouvement réduit. */
:root{--emx-out:cubic-bezier(.23,1,.32,1);--emx-drawer:cubic-bezier(.32,.72,0,1);--emx-spice:#db9d6a}

/* 1. En-tête : ombre douce une fois la page défilée (deux couches, une seule source de lumière). */
.em-header{transition:box-shadow .3s ease}
.emx-scrolled .em-header{box-shadow:0 1px 0 rgba(36,37,31,.06),0 10px 30px -18px rgba(36,37,31,.35)}

/* 2. Pression : le bouton répond au doigt (120 ms), jamais d'effet de survol collé sur écran tactile. */
.em-btn,.em-food,.em-categories a,.em-3d-controls button{transition:transform .16s var(--emx-out),background .2s ease}
.em-btn:active,.em-3d-controls button:active{transform:scale(.97)}
.em-food:active,.em-categories a:active{transform:scale(.985)}
@media (hover:none){.em-btn:hover,.em-food:hover{transform:none}.em-food:hover img{transform:none}}

/* 3. Ouverture signée « ouvre » : le cadre de la photo s'élargit, le burger se pose. Une seule fois, au chargement (grand écran). */
@keyframes emx-ouvre{from{clip-path:inset(7% 9% 9% 9% round 130px 12px 12px 12px)}to{clip-path:inset(0 round 130px 12px 12px 12px)}}
@keyframes emx-pose{from{transform:scale(1.12)}to{transform:scale(1)}}
@keyframes emx-badge{from{transform:rotate(-24deg) scale(.9)}to{transform:rotate(12deg) scale(1)}}
@keyframes emx-label{from{transform:translateY(12px)}to{transform:none}}
@media (prefers-reduced-motion:no-preference) and (min-width:701px){
 .em-hero-photo{animation:emx-ouvre 1.15s var(--emx-out) both}
 .em-hero-photo>img{animation:emx-pose 1.6s var(--emx-out) both}
 .em-round{animation:emx-badge .9s .35s var(--emx-out) both}
 .em-photo-label{animation:emx-label .8s .25s var(--emx-out) both}
}

/* 4. Bandeau des engagements : défilement continu (lent), étoile dessinée à la place du caractère ✳. */
.em-ribbon i{font-size:0;width:17px;height:17px;flex:0 0 17px;background:var(--emx-spice);
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 2.5v19M2.5 12h19M5.3 5.3l13.4 13.4M18.7 5.3 5.3 18.7'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 2.5v19M2.5 12h19M5.3 5.3l13.4 13.4M18.7 5.3 5.3 18.7'/%3E%3C/svg%3E") center/contain no-repeat}
/* EPAT4 (01/12/2026) : bandeau immobile (maw-design §5 : rien ne bouge en permanence sur ce qu'on voit souvent). */
.em-ribbon{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 26px;padding:22px 5vw;white-space:normal;font-size:11px;letter-spacing:2.2px;line-height:1.4;text-align:center}
.em-ribbon>i{margin:0}
@media (max-width:700px){.em-ribbon{gap:10px 16px;padding:18px 16px;font-size:10.5px;letter-spacing:1.6px}.em-ribbon>i{width:12px;height:12px;flex-basis:12px}}

/* 5. Photos qui s'ouvrent au défilement (liées au défilement, sans script ; ailleurs tout reste visible). */
@supports (animation-timeline:view()){
 @media (prefers-reduced-motion:no-preference){
  @keyframes emx-ouvre-photo{from{clip-path:inset(10% 8% 10% 8%)}to{clip-path:inset(0)}}
  @keyframes emx-zoom{from{transform:scale(1.14)}to{transform:scale(1)}}
  .em-story-photo,.em-contact>img{animation:emx-ouvre-photo linear both;animation-timeline:view();animation-range:entry 0% cover 40%}
  .em-story-photo{overflow:hidden}
  .em-story-photo>img{animation:emx-zoom linear both;animation-timeline:view();animation-range:entry 0% cover 55%}
 }
 @media (prefers-reduced-motion:no-preference) and (max-width:700px){
  @keyframes emx-ouvre-tel{from{clip-path:inset(7% 9% 9% 9% round 85px 10px 10px 10px)}to{clip-path:inset(0 round 85px 10px 10px 10px)}}
  .em-hero-photo{animation:emx-ouvre-tel linear both;animation-timeline:view();animation-range:entry 0% cover 38%}
  .em-hero-photo>img{animation:emx-zoom linear both;animation-timeline:view();animation-range:entry 0% cover 50%}
 }
}

/* 6. Cartes et étapes : apparition une seule fois, en cascade irrégulière (script ; seulement ce qui est encore sous l'écran). */
.emx-rv{opacity:0;transform:translateY(18px)}
.emx-rv.emx-in{opacity:1;transform:none;transition:opacity .45s ease,transform .6s var(--emx-out);transition-delay:var(--emx-d,0ms)}
@media (prefers-reduced-motion:reduce){.emx-rv{transform:none}.emx-rv.emx-in{transition:opacity .4s ease}}

/* 7. Téléphone : en-tête compact sur une ligne de navigation, barre « Commander » pleine largeur en bas. */
@media (max-width:700px){
 .em-header{padding:10px 16px 0;row-gap:0}
 .em-header nav{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;justify-content:space-between;gap:18px;margin:8px -16px 0;padding:0 16px;width:calc(100% + 32px);scrollbar-width:none;border-top:1px solid var(--line)}
 .em-header nav::-webkit-scrollbar{display:none}
 .em-header nav a{font-size:12.5px;padding:11px 0;flex:none}
 .em-header>.em-btn{transition:opacity .2s ease,transform .16s var(--emx-out)}
 .emx-bar-on .em-header>.em-btn{opacity:0;pointer-events:none}
 html{scroll-padding-top:120px}
 .emx-bar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:var(--ink);color:var(--cream);
  box-shadow:0 -1px 0 rgba(255,255,255,.06),0 -12px 30px -14px rgba(0,0,0,.45);
  transform:translateY(105%);transition:transform .32s var(--emx-drawer);font-size:12px;line-height:1.35}
 .emx-bar-on .emx-bar{transform:none}
 .emx-bar-slot{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e5d9c3}
 .emx-bar-slot b{display:block;font-size:9px;letter-spacing:1.5px;color:var(--emx-spice);font-weight:800}
 .emx-bar .em-btn{flex:none;min-height:46px;padding:0 20px;gap:12px;font-size:13px}
}
@media (min-width:701px){.emx-bar{display:none}}
@media (prefers-reduced-motion:reduce){.emx-bar{transition:none}}

/* 8. Bandeau « L'appli Épat & Moi » en haut de l'accueil (EPAT3, posé par le Worker : aucun saut de mise en page).
   Masqué dans l'appli installée et après « Masquer » ; « Commander » reste dans l'en-tête. */
.emx-app{display:flex;align-items:center;gap:12px;padding:10px max(16px,calc((100% - 1180px)/2));background:var(--ink,#24251f);color:#f6f2e9;font-size:13px;line-height:1.3}
.emx-app img{width:36px;height:36px;border-radius:9px;flex:none;box-shadow:0 0 0 1px rgba(246,242,233,.12)}
.emx-app p{margin:0;min-width:0;flex:1}
.emx-app b{display:block;font-weight:800;letter-spacing:-.2px}
.emx-app span{display:block;color:#cfc4b0;font-size:12px}
.emx-app-go{flex:none;display:inline-flex;align-items:center;min-height:36px;padding:0 16px;border-radius:999px;background:#db9d6a;color:#24251f!important;font-weight:800;font-size:12.5px;text-decoration:none;transition:transform .14s var(--emx-out),background .2s ease}
.emx-app-go:active{transform:scale(.96)}
.emx-app-x{flex:none;width:36px;height:36px;margin-right:-8px;border:0;border-radius:50%;background:transparent;color:#cfc4b0;cursor:pointer;display:grid;place-items:center}
.emx-app-x::before{content:"";width:14px;height:14px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5 5 19'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5 5 19'/%3E%3C/svg%3E") center/contain no-repeat}
.emx-app-off .emx-app{display:none}
@media (display-mode:standalone){.emx-app{display:none}}
@media (max-width:380px){.emx-app span{display:none}}
/* Écart n° 5 (26/11/2026) : textes blancs posés sur photo lisibles (voile sombre en bas, photo intacte en haut). */
.em-story-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(17,17,17,.35) 55%,rgba(17,17,17,.78));pointer-events:none}
.em-story-photo span{z-index:1}
.em-hero-photo:after{background:linear-gradient(180deg,transparent 40%,rgba(17,17,17,.45) 60%,rgba(17,17,17,.85))}

/* 9. EPAT4 (01/12/2026) — refonte : lecture, carte au doigt, pied de page.
   Code seul : aucun texte ni prix modifié (tout reste éditable dans l'atelier), commande et appli intactes. */
:root{--muted:#57574d}
/* Lecture : plus aucun texte courant sous 14 px, étiquettes à 11 px au moins. */
.em-intro{font-size:17px;line-height:1.65}
.em-eyebrow{font-size:11.5px;letter-spacing:2.2px}
.em-food h3{font-size:22px}
.em-food p{font-size:14.5px;line-height:1.55;min-height:0;margin-bottom:18px}
.em-food{display:flex;flex-direction:column}.em-food-img{flex:none}.em-food-copy{flex:1;display:flex;flex-direction:column}
.em-food-copy>div{font-size:14.5px;margin-top:auto}
.em-food-img>span{font-size:10.5px;letter-spacing:1.4px;padding:8px 12px}
.em-categories a{font-size:12px}
.em-categories b{font-size:15.5px}
.em-steps span{font-size:11.5px;letter-spacing:1.6px}
.em-steps p{font-size:15px;line-height:1.6;max-width:320px}
.em-story-copy>p,.em-recipe p,.em-loyal p{font-size:16px;line-height:1.65}
.em-ingredients li{font-size:15px}
.em-caption{font-size:13.5px}
.em-hero-notes span{font-size:13px}.em-hero-notes b{font-size:14px}
/* Photo d'accueil : l'étiquette et la pastille restent entières à l'intérieur du cadre. */
.em-photo-label{left:clamp(22px,4%,40px);right:22px;bottom:clamp(22px,4%,38px);line-height:1.5}
.em-photo-label i{font-size:clamp(28px,3vw,38px);line-height:1.1;display:inline-block;margin-top:4px}
.em-story-photo span{left:clamp(22px,5%,44px);right:22px;bottom:clamp(24px,5%,44px);font-size:clamp(48px,6vw,78px);line-height:.92}
/* Pied de page : trois colonnes nettes, réseaux alignés avec le reste, mentions sur une ligne. */
.em-footer{font-size:14.5px;line-height:1.7;column-gap:48px}
.em-footer strong{font-size:11px;letter-spacing:1.8px;margin:6px 0 14px}
.em-footer .msoc{grid-column:1/-1;display:flex;align-items:center;gap:14px;justify-content:flex-start;text-align:left;margin:0;padding:0 0 6px}
.em-footer .msoc-t{margin:0;width:auto;text-align:left;font-size:13.5px;color:var(--muted);opacity:1}
.em-footer>div:has(.em-wordmark){grid-column:1/-1}
@media (min-width:701px){.em-footer>div:has(.em-wordmark){grid-column:auto}}
.em-colophon{font-size:12.5px;align-items:center;gap:10px 24px;flex-wrap:wrap}
.em-colophon .maw-site-credit,.em-colophon .maw-site-credit a{font-size:12.5px!important}
@media (min-width:701px){.em-footer{grid-template-columns:2fr 1fr 1fr}}
/* Téléphone : la carte se parcourt au doigt (une carte et le bord de la suivante), catégories en 2 × 2, étapes resserrées. */
@media (max-width:700px){
 .em-intro{font-size:16px}
 .em-categories{grid-template-columns:1fr 1fr;gap:8px}
 .em-categories a{padding:14px 11px;min-height:52px;gap:8px;font-size:11px}
 .em-categories b{font-size:14px;white-space:nowrap}
 .em-foods{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px;padding:2px 16px 10px;scroll-padding:0 16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .em-foods::-webkit-scrollbar{display:none}
 .em-food{flex:0 0 82%;scroll-snap-align:start;display:flex;flex-direction:column}
 .em-food-img{height:210px;flex:none}
 .em-food-copy{height:auto;flex:1;padding:20px}
 .emx-dots{display:flex;justify-content:center;gap:7px;margin:14px 0 4px}
 .emx-dots i{width:7px;height:7px;border-radius:50%;background:var(--line);transition:background .2s ease,transform .2s var(--emx-out)}
 .emx-dots i.on{background:var(--copper);transform:scale(1.15)}
 .em-steps{gap:0;margin-top:26px}
 .em-steps article{padding:20px 0 22px}
 .em-steps h3{margin:10px 0 8px}
 .em-footer{grid-template-columns:1fr 1fr;padding-bottom:calc(90px + env(safe-area-inset-bottom))}
 .em-colophon{flex-direction:column;align-items:flex-start}
}
@media (min-width:701px){.emx-dots{display:none}}

/* 10. EPAT4 — ouverture plein cadre sur téléphone (« waouh » du premier écran) :
   le burger occupe tout l'écran, le titre et l'action se posent dessus. Un seul mouvement signé :
   le cadre s'ouvre et le titre monte de 24 px (500 ms, sortie douce), une fois, coupé en mouvement réduit. */
@media (max-width:700px){
 .em-hero{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;min-height:calc(100svh - 112px);padding:0;margin:0 0 6px;overflow:hidden;border-radius:0 0 26px 26px;background:#1c1a15}
 .em-hero-photo{position:absolute;inset:0;margin:0;height:auto;min-height:0;border-radius:0;z-index:-1;animation:none}
 .em-hero-photo>img{animation:none;object-position:50% 38%}
 .em-hero-photo:after{background:linear-gradient(180deg,rgba(20,18,14,.4) 0%,rgba(20,18,14,0) 16%,rgba(20,18,14,.4) 34%,rgba(20,18,14,.86) 52%,rgba(20,18,14,.95) 100%)}
 .em-photo-label{display:none}
 .em-round{top:16px;right:16px;width:84px;height:84px;font-size:9px;z-index:2}
 .em-hero-copy{position:relative;z-index:1;padding:120px 20px 26px;color:#f6f2e9}
 .em-hero-copy .em-eyebrow{color:#f3e2cc;text-shadow:0 1px 12px rgba(0,0,0,.5)}
 .em-hero-copy .em-eyebrow span{background:#db9d6a}
 .em-hero h1{color:#fff;font-size:clamp(46px,13.5vw,60px);line-height:.95;letter-spacing:-2px;text-shadow:0 2px 24px rgba(0,0,0,.25)}
 .em-hero h1 em{color:#f1b183}
 .em-hero .em-intro{color:#e9e1d2;font-size:15.5px;line-height:1.6;margin-top:14px}
 .em-hero .em-actions{margin-top:20px;gap:14px 18px;align-items:center}
 .em-hero .em-actions .em-btn{min-height:52px;padding:0 24px;font-size:15px;box-shadow:0 10px 28px -10px rgba(182,74,40,.7)}
 .em-hero .em-text-link{color:#fff;border-color:rgba(255,255,255,.55);width:max-content}
 .em-hero .em-live-service{color:#f1b183;margin-top:14px}
 .em-hero .em-hero-notes{border-color:rgba(246,242,233,.22);margin-top:16px;padding-top:14px}
 .em-hero .em-hero-notes span{color:#cfc4b0}
 .em-hero .em-hero-notes b{color:#fff}
}
@media (max-width:700px) and (prefers-reduced-motion:no-preference){
 @keyframes emx-plein{from{clip-path:inset(4% 5% 0 5% round 28px)}to{clip-path:inset(0 round 0)}}
 @keyframes emx-monte{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
 @keyframes emx-pose-tel{from{transform:scale(1.1)}to{transform:scale(1)}}
 .em-hero{animation:emx-plein .9s var(--emx-out) both}
 .em-hero-photo>img{animation:emx-pose-tel 1.4s var(--emx-out) both}
 .em-hero h1{animation:emx-monte .5s .18s var(--emx-out) both}
}
/* Petits téléphones (iPhone SE) : en-tête sur une seule ligne. */
@media (max-width:400px){
 .em-header{flex-wrap:wrap}
 .em-header>.em-btn{min-height:42px;padding:0 14px;gap:8px;font-size:13.5px}
 .em-brand img{width:38px;height:auto}
 .em-brand span{font-size:23px}
 .em-brand small{font-size:8.5px;letter-spacing:2px}
}

/* 11. EPAT5 (01/12/2026) — titre de food truck : Anton (OFL), condensée et grasse, servie par epatmoi.com (Worker maw-ext-sites v7).
   Deux polices en tout : Anton pour les grands titres, Manrope pour le reste. Le mot mis en valeur change de couleur, plus d'italique Georgia. */
@font-face{font-family:"EM Anton";src:url(/__maw/x/epatmoi/anton.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap;size-adjust:100%}
.em-hero h1,.em-section h2,.em-story h2,.em-recipe h2,.em-loyal h2,.em-how h2,.em-contact h2,.em-section-head h2,.em-install h2,.em-wordmark{font-family:"EM Anton","Arial Narrow",Impact,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:.2px}
.em-hero h1{font-size:clamp(56px,5.6vw,92px);line-height:.93}
.em-hero h1 em,.em-story h2 em,.em-recipe h2 em,.em-contact h2 em{font-family:inherit;font-style:normal;letter-spacing:inherit}
.em-section h2,.em-story h2,.em-recipe h2,.em-loyal h2,.em-how h2,.em-contact h2{font-size:clamp(44px,4.8vw,76px);line-height:.95}
.em-food h3{font-family:"EM Anton","Arial Narrow",Impact,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:.4px;font-size:26px}
.em-story-photo span{font-family:"EM Anton","Arial Narrow",Impact,sans-serif;font-weight:400;letter-spacing:0}
.em-photo-label i{font-family:"EM Anton","Arial Narrow",Impact,sans-serif;font-style:normal;text-transform:uppercase;letter-spacing:.5px}
.em-wordmark{font-size:44px}
@media (max-width:700px){
 .em-hero h1{font-size:clamp(58px,17vw,74px);line-height:.92;letter-spacing:.3px}
 .em-section h2,.em-story h2,.em-recipe h2,.em-loyal h2,.em-how h2,.em-contact h2{font-size:clamp(40px,11.5vw,50px)}
}
.em-app h2{font-family:"EM Anton","Arial Narrow",Impact,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:.2px;font-size:clamp(40px,4.8vw,76px);line-height:.95}
.em-contact h2 em{white-space:nowrap}
@media (max-width:700px){.em-app h2{font-size:clamp(38px,11vw,48px)}.em-contact h2{font-size:clamp(38px,11vw,46px)}}
/* Capitales accentuées (À, Ê, Û) : interligne qui ne fait pas toucher l'accent à la ligne du dessus. */
.em-section h2,.em-story h2,.em-recipe h2,.em-loyal h2,.em-how h2,.em-contact h2,.em-app h2{line-height:1.04}
.em-hero h1{line-height:1}
@media (max-width:700px){.em-hero h1{line-height:.98}}
/* Lien « L'appli » du menu (EPAT5). */
.em-header nav a.emx-nav-app{display:inline-flex;align-items:center;gap:7px;font-weight:800;color:var(--copper)}
.emx-nav-app img{width:18px;height:18px;border-radius:5px;flex:none}
@media (max-width:700px){.em-header nav a.emx-nav-app{order:-1}}
