/*
 MIDI12 — Finition transversale, novembre 2026.
 Style uniquement : aucun texte, traduction, lien, photographie, donnée,
 règle Five Star ou réglage SEO n'est modifié.
*/
:root{
 --midi12-polish-ink:#092942;
 --midi12-polish-accent:#c77a30;
 --midi12-polish-border:#e8ded1;
 --midi12-polish-shadow:0 14px 34px rgba(9,41,66,.065);
 --midi12-polish-ease:cubic-bezier(.2,.7,.3,1);
}
main{min-width:0}
main :is(h1,h2,h3){text-wrap:balance;overflow-wrap:break-word}
main :is(p,blockquote,figcaption){text-wrap:pretty}
main :is(img,svg,iframe,video){max-width:100%}
main :is(section,article)[id]{scroll-margin-top:105px}
:where(a,button,input,select,textarea,summary):focus-visible{
 outline:3px solid var(--midi12-polish-accent);
 outline-offset:3px;
}
:where(.top .navlinks a,.top .navlinks button,.top .language button,.top .menu-toggle):focus-visible{
 outline:3px solid #c77a30;outline-offset:3px;
}
:where(.footer-complete .footer-bottom-actions a,.footer-complete .footer-bottom-actions button){
 min-height:44px;
}
/* Unified card finish. Avoid altering dimensions or source photographs. */
:where(.place,.restaurants-card,.menu-v2-feature,.menu-v2-formula-card,.story-v2-film-card,.story-v2-illustrated .story-v2-venue,.venue-review-card){
 transition:border-color .24s var(--midi12-polish-ease),box-shadow .24s var(--midi12-polish-ease);
}
@media(hover:hover) and (pointer:fine){
 :where(.place,.restaurants-card,.menu-v2-formula-card,.story-v2-film-card,.story-v2-illustrated a.story-v2-venue):hover{
  border-color:#d9b997;box-shadow:var(--midi12-polish-shadow);
 }
 :where(.place,.restaurants-card,.menu-v2-feature,.story-v2-film-card) a:focus-visible{
  outline-offset:4px;
 }
}
/* Home — quiet transitions and consistent rhythm between modules. */
.hero-copy p{max-width:52ch}
.hero-photo,.hero-visual img{object-fit:cover}
.place-bottom,.restaurants-card-body,.story-v2-film-copy{min-width:0}
.place-bottom :is(h3,p),.restaurants-card-body :is(h2,p){overflow-wrap:break-word}
.food-visual,.home-craft-visual,.craft-page-photo-slider{min-width:0}
.home-craft .homemade-content{min-width:0}
/* Restaurant directory — keep each card visually balanced. */
.restaurants-list>.restaurants-card{height:100%}
.restaurants-card-actions a{min-height:44px}
/* Story — full-length original chapters, each printed once. */
.story-v2 .story-compact-vision .story-compact-chapter h3{color:#123c50}
.story-v2 .story-compact-vision .story-compact-chapter p{max-width:66ch}
.story-v2 .story-v2-film-card{overflow:hidden}
.story-v2 .story-v2-film-copy h3{line-height:1.3}
.story-v2 .story-v2-films .story-v2-film-thumb:focus-visible{
 outline:3px solid #cb843a;outline-offset:3px;
}
.story-v2 .story-v2-future-hint{min-width:0}
/* Menu — clearer keyboard navigation and more readable prices. */
.menu-v2-nav :is(a,button){min-height:44px}
.menu-v2-dish-heading,.menu-v2-formula-group-title{min-width:0}
.menu-v2-price{font-variant-numeric:tabular-nums}
/* Craft — maintain visual continuity between text and slideshow. */
.craft-page-story>*,.craft-page-hero>*{min-width:0}
.craft-page-photo-slider{overflow:hidden}
.craft-page-photo-slider .craft-photo-slide img{max-width:100%}
.craft-page-faq summary{min-height:44px}
/* Restaurants — reviews remain scrollable and easy to use. */
.venue-review-grid{-webkit-overflow-scrolling:touch;scroll-padding-inline:3px}
.venue-jump-nav :is(a,button){min-height:44px}
.venue-page .venue-hero-copy{min-width:0}
/* Reservation — purely presentational; no availability or booking changes. */
.midi12-reserve-main,.midi12-reserve-form-column,.midi12-reserve-widget,
.midi12-reserve-widget .rtb-booking-form,.midi12-reserve-widget fieldset{min-width:0}
.midi12-reserve-widget :is(input,select,textarea){max-width:100%}
.midi12-reserve-aside{min-width:0}
.midi12-reserve-recap-grid strong{overflow-wrap:anywhere}
.midi12-reserve-widget button[type="submit"]{min-height:50px}
@media(max-width:760px){
 .wrap{width:min(1200px,calc(100% - 32px))}
 main :is(section,article)[id]{scroll-margin-top:83px}
 .hero-copy{min-width:0}
 .hero-copy p{max-width:100%}
 .place-bottom{align-items:start}
 .restaurants-card-actions{gap:10px}
 .story-v2 .story-v2-film-card{min-width:0}
 .story-v2 .story-v2-film-copy h3{font-size:clamp(19px,5vw,23px)}
 .menu-v2-nav{scrollbar-width:thin}
 .menu-v2-nav :is(a,button){white-space:nowrap}
 .craft-page-story p,.story-compact-chapter p{overflow-wrap:break-word}
 .venue-review-grid>.venue-review-card{scroll-snap-align:start}
 .midi12-reserve-main{gap:24px}
 :is(.reservation-form,.rtb-booking-form,.midi12-reserve-widget) input,
 :is(.reservation-form,.rtb-booking-form,.midi12-reserve-widget) select,
 :is(.reservation-form,.rtb-booking-form,.midi12-reserve-widget) textarea{
  font-size:16px;
 }
 .footer-complete .footer-bottom-actions{row-gap:3px}
}
@media(max-width:390px){
 .place-bottom{flex-wrap:wrap}
 .place-bottom .button{width:100%;justify-content:center}
 .restaurants-card-body{padding-inline:18px}
 .story-v2 .story-v2-venue-grid{min-width:0}
 .story-v2 .story-v2-film-grid{min-width:0}
 .midi12-reserve-widget .rtb-booking-form input{min-width:0}
}
@media(prefers-reduced-motion:reduce){
 :where(.place,.restaurants-card,.menu-v2-feature,.menu-v2-formula-card,.story-v2-film-card,.story-v2-illustrated .story-v2-venue,.venue-review-card){transition:none}
}
