/* Charte Hozé : les thèmes modifient les couleurs, jamais le contenu. */
:root {
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Oswald', Arial, sans-serif;
  --canvas: #ebe4d5;
  --text: #050505;
  --muted: #66502c;
  --accent: #66502c;
  --line: rgb(102 80 44 / 30%);
  color-scheme: light;
}
:root[data-theme='dark'] {
  --canvas: #050505;
  --text: #ebe4d5;
  --muted: rgb(235 228 213 / 75%);
  --accent: #d4b944;
  --line: rgb(235 228 213 / 26%);
  color-scheme: dark;
}
body {
  background: var(--canvas);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: .035em;
  text-transform: uppercase;
}
button { font-weight: 300; letter-spacing: .035em; text-transform: uppercase; }
h1, h2, h3, h4, em, .signature em, .footer-title, .menu-image-index, .collage-note, .footer-bottom > span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -.025em;
  text-transform: uppercase;
  font-synthesis: none;
}
.eyebrow, .button, .nav-link, .text-link, .practical-details dt, .menu-course h4 { font-weight: 300; }
.eyebrow { font-size: 12px; letter-spacing: .035em; }
.body-copy { font-size: 16px; line-height: 1.8; }
h2 em { color: var(--accent); }
.opening, .spirit, .house, .practical, .memories, .events {
  background: var(--canvas);
  color: var(--text);
}
/* Patine : fusion écran et opacité 50 %, comme la référence. */
.site-header, main > section, .site-footer { position: relative; isolation: isolate; }
.site-header::before, main > section::before, .site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('assets/patina.svg') repeat;
  mix-blend-mode: screen;
  opacity: .5;
  pointer-events: none;
}
.header-inner { border-color: var(--line); }
.brand img { filter: brightness(0); }
:root[data-theme='dark'] .brand img, .site-footer .brand img {
  filter: brightness(0) saturate(100%) invert(91%) sepia(15%) saturate(244%) hue-rotate(355deg) brightness(99%) contrast(89%);
}
.desktop-nav { font-size: 14px; gap: 28px; }
.hero { padding-top: 48px; }
.hero-content { padding: 55px 40px 50px; }
/* Les coins rentrants évoquent les cadres traditionnels mosans. */
.hero-content::before, .events-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  mask: url('assets/frame-outline.svg') center / 100% 100% no-repeat;
  -webkit-mask: url('assets/frame-outline.svg') center / 100% 100% no-repeat;
  opacity: .65;
  pointer-events: none;
}
.hero h1 { font-size: clamp(48px, 5vw, 72px); line-height: 1.11; letter-spacing: -.04em; }
.hero h1 em { color: var(--accent); }
.hero-eyebrow { color: var(--accent); font-size: 12px; margin-bottom: 26px; }
.hero-copy { color: var(--muted); font-size: 15px; line-height: 1.85; max-width: 540px; margin-block: 28px 28px; }
.hero-bottom { color: var(--muted); border-color: var(--line); margin-top: 40px; font-size: 12px; }
.hero-illustration { color: var(--accent); opacity: 1; stroke: none; }
.hero-herb { width: 135px; height: 205px; left: max(12px,calc(50% - 690px)); top: 142px; transform: rotate(-20deg); }
.hero-leaves { width: 145px; height: 180px; right: max(8px,calc(50% - 680px)); top: 315px; transform: rotate(18deg); color: var(--gold); }
.hero-bottom > a > span { color: var(--accent); }
.button { border-radius: 0; font-size: 14px; gap: 25px; }
.button-gold { background: var(--gold); color: var(--ink); }
.button-gold:hover { background: var(--green); color: var(--cream); }
.button-green { background: var(--green); color: var(--cream); }
:root[data-theme='dark'] .button-green:hover { background: var(--gold); color: var(--ink); }
.button-small { font-size: 13px; }
.spirit h2 { font-size: clamp(35px,3.2vw,46px); line-height: 1.17; }
.spirit .body-copy { color: var(--muted); font-size: 15px; max-width: 425px; }
.signature { color: var(--muted); font-size: 13px; }
.signature em { font-size: 25px; }
.image-frame {
  position: relative;
  mask: url('assets/frame-mask.svg') center / 100% 100% no-repeat;
  -webkit-mask: url('assets/frame-mask.svg') center / 100% 100% no-repeat;
}
.image-frame::after {
  content: '';
  position: absolute;
  inset: 12px;
  background: var(--cream);
  mask: url('assets/frame-outline.svg') center / 100% 100% no-repeat;
  -webkit-mask: url('assets/frame-outline.svg') center / 100% 100% no-repeat;
  opacity: .6;
  pointer-events: none;
}
.values > span { box-shadow: none; font-size: 13px; }
.values .ingredient-icon { width: 24px; height: 28px; }
.spirit-visual figcaption { color: var(--muted); font-size: 12px; }
.cuisine { background: var(--green); color: var(--cream); }
.cuisine h2 { font-size: clamp(33px,2.9vw,43px); line-height: 1.19; }
.cuisine h2 em { color: var(--cream); }
.cuisine .eyebrow { font-size: 12px; color: var(--gold); }
.cuisine .body-copy { color: var(--cream); font-size: 15px; }
.menu-image { mask: url('assets/frame-mask.svg') center / 100% 100% no-repeat; -webkit-mask: url('assets/frame-mask.svg') center / 100% 100% no-repeat; }
.photo-note { font-size: 12px; letter-spacing: .035em; }
.menu-image-index { font-size: 25px; }
.pillar-top { font-size: 12px; }
.pillar-top .ingredient-icon { width: 48px; height: 60px; }
.pillars h3 { font-size: 24px; font-weight: 300; }
.pillars p { font-size: 15px; color: var(--cream); }
.house-heading h2 { font-size: clamp(40px,4vw,57px); line-height: 1.15; }
.house-spark { width: 100px; height: 145px; color: var(--accent); transform: rotate(16deg); }
.house-columns p { color: var(--muted); font-size: 15px; min-height: 145px; line-height: 1.75; }
.house-columns figcaption { color: var(--muted); font-size: 12px; }
.practical { border-block: 1px solid var(--line); }
.practical .eyebrow { color: var(--accent); letter-spacing: .035em; }
.practical h2 { font-size: 34px; line-height: 1.2; }
.practical h2 em { color: var(--accent); }
.practical-caption { color: var(--muted); font-size: 12px; }
.practical-details { font-size: 14px; line-height: 1.7; }
.practical-details dt { color: var(--accent); font-size: 14px; }
.practical-details dd { color: var(--text); }
.practical-details > div + div { border-color: var(--line); }
.practical-details dd .hours { font-size: 12px; }
.practical-details .text-link { color: var(--text); font-size: 13px; }
.memory-photo { mask: url('assets/frame-mask.svg') center / 100% 100% no-repeat; -webkit-mask: url('assets/frame-mask.svg') center / 100% 100% no-repeat; }
.memory-spark { color: var(--gold); width: 60px; height: 70px; margin-bottom: 15px; }
.memories-copy { top: 200px; }
.memories-copy .eyebrow { color: var(--muted); font-size: 11px; letter-spacing: .035em; }
.memories h2 { font-size: clamp(37px,3.4vw,50px); line-height: 1.16; }
.memories h2 em { color: var(--accent); }
.memory-lines { font-size: 15px; }
.collage-note { color: var(--accent); font-size: 17px; bottom: 55px; }
.events { padding-block: 62px; }
.events-inner { padding: 50px 60px; }
.events .eyebrow { font-size: 12px; color: var(--muted); }
.events h2 { font-size: clamp(32px,3vw,43px); line-height: 1.2; }
.events h2 em { color: var(--accent); }
.events p:not(.eyebrow) { color: var(--muted); font-size: 15px; max-width: 565px; }
.events-wine { color: var(--accent); stroke: none; width: 110px; height: 145px; left: -20px; top: 125px; }
.footer-title { font-size: 23px; }
.footer-about > p:not(.footer-title), .footer-contact { font-size: 14px; }
.footer-contact .eyebrow { font-size: 12px; }
.footer-bottom, .footer-bottom button { font-size: 12px; }
.footer-bottom { padding-bottom: 32px; }
.footer-bottom > span { font-size: 14px; }
.text-link { font-size: 14px; }
dialog { background: var(--canvas); color: var(--text); border: 1px solid var(--line); }
dialog h2 { font-size: 44px; line-height: 1.15; }
dialog .eyebrow, .menu-dialog-heading p:last-child, .menu-course p, .menu-allergens { color: var(--muted); font-size: 13px; }
.contact-dialog > p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.dialog-close { color: var(--text); }
.dialog-close:hover { color: var(--ink); }
.menu-dialog-heading { border-color: var(--line); }
.menu-dialog-heading h2 { font-size: 55px; }
.menu-course h3 { color: var(--accent); font-size: 28px; font-weight: 300; }
.menu-course h4 { font-size: 19px; }
.menu-course article { border-color: var(--line); }
.menu-course article > span { font-size: 16px; }
.contact-dialog > .dialog-note { border-color: var(--line); font-size: 13px!important; }
/* Sélecteur de présentation, état persistant et URLs partageables. */
.theme-picker {
  position: fixed;
  bottom: max(20px,env(safe-area-inset-bottom));
  right: 24px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px;
  background: var(--canvas);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: 0 4px 25px rgb(5 5 5 / 12%);
}
.theme-picker > span { padding: 0 10px; font-size: 12px; }
.theme-picker button { min-height: 36px; min-width: 66px; padding: 8px 13px; font-size: 13px; background: transparent; }
.theme-picker button[aria-pressed='true'] { background: var(--gold); color: var(--ink); }
.theme-picker button:hover { outline: 1px solid var(--accent); outline-offset: -1px; }
@media(max-width:1100px) {
  .hero-herb { width: 95px; left: 5px; }
  .hero-leaves { width: 105px; right: 0; }
  .desktop-nav { gap: 20px; }
  .house-columns p { min-height: 175px; }
}
@media(max-width:850px) {
  .desktop-nav { font-size: 12px; gap: 13px; }
  .hero h1 { font-size: 46px; }
  .hero-content { padding: 42px 32px; }
  .hero-illustration { opacity: .7; }
  .hero-herb { left: -15px; }
  .hero-leaves { right: -20px; }
  .spirit h2 { font-size: 34px; }
  .spirit .body-copy { font-size: 14px; }
  .split-heading { grid-template-columns: 1fr; gap: 24px; }
  .cuisine .body-copy { max-width: 550px; }
  .house-columns p { font-size: 14px; min-height: 200px; }
  .house-spark { width: 75px; height: 100px; }
  .memories-copy { top: 165px; }
  .memories h2 { font-size: 35px; }
  .memory-lines { font-size: 14px; }
  .memories-copy .eyebrow { font-size: 10px; }
  .events-inner { padding: 40px; }
  .footer-main { gap: 25px; }
  .footer-title { font-size: 19px; }
  .footer-about > p:not(.footer-title), .footer-contact { font-size: 12px; }
  .footer-contact .eyebrow { font-size: 11px; }
}
@media(max-width:700px) {
  .menu-toggle span { background: var(--text); }
  .mobile-nav { background: var(--canvas); border-color: var(--line); color: var(--text); }
  .mobile-nav a, .mobile-nav button { border-color: var(--line); }
  .mobile-nav a span { color: var(--accent); }
  .hero { padding-top: 30px; }
  .hero-content { padding: 38px 16px 35px; }
  .hero h1 { font-size: clamp(29px,7.7vw,46px); line-height: 1.16; letter-spacing: -.035em; }
  .hero-eyebrow { font-size: 9px; letter-spacing: .035em; gap: 8px; }
  .mini-rule { width: 8px; }
  .hero-copy { font-size: 14px; line-height: 1.8; }
  .hero-herb { width: 78px; height: 140px; left: -30px; top: 210px; opacity: .7; }
  .hero-leaves { width: 85px; height: 105px; right: -25px; top: 315px; opacity: .8; }
  .hero-bottom { margin-top: 30px; }
  .hero-bottom > a { font-size: 12px; }
  .button { font-size: 14px; }
  .header-actions .button { font-size: 12px; }
  .eyebrow { font-size: 12px; }
  .spirit h2 { font-size: 34px; }
  .spirit .body-copy { font-size: 15px; }
  .spirit-visual figcaption { font-size: 11px; }
  .cuisine h2 { font-size: 31px; line-height: 1.2; }
  .cuisine .body-copy, .pillars p { font-size: 15px; }
  .pillar-top { margin-bottom: 5px; }
  .pillar-top .ingredient-icon { width: 45px; height: 55px; }
  .pillars h3 { font-size: 26px; }
  .house-heading h2 { font-size: 37px; }
  .house-spark { width: 55px; height: 90px; margin-left: 10px; }
  .house-columns p { font-size: 15px; min-height: 0; }
  .house-columns figcaption { font-size: 12px; }
  .practical h2 { font-size: 32px; }
  .practical .eyebrow { font-size: 12px; }
  .practical-small { margin-top: 28px; }
  .practical-caption { font-size: 11px; }
  .practical-details, .practical-details dt { font-size: 14px; }
  .practical-details > div:nth-child(n+3) { border-color: var(--line); }
  .practical-details .text-link { font-size: 12px; }
  .practical-details dd > span > span { font-size: 11px; }
  .memories-copy { top: 215px; }
  .memory-spark { width: 45px; height: 55px; }
  .memories-copy .eyebrow { font-size: 9px; letter-spacing: .035em; }
  .memories h2 { font-size: clamp(27px,7.45vw,38px); line-height: 1.2; }
  .memory-lines { font-size: 15px; margin: 23px 0 25px; }
  .collage-note { font-size: 13px; bottom: 200px; }
  .events-inner { padding: 35px 20px; }
  .events .eyebrow { font-size: 11px; }
  .events h2 { font-size: 29px; }
  .events p:not(.eyebrow) { font-size: 15px; }
  .footer-title { font-size: 20px; }
  .footer-about > p:not(.footer-title), .footer-contact { font-size: 13px; }
  .footer-contact .eyebrow { font-size: 11px; }
  .footer-bottom, .footer-bottom button { font-size: 11px; }
  .footer-bottom { padding-bottom: 85px; }
  .theme-picker { bottom: max(12px,env(safe-area-inset-bottom)); right: 12px; padding: 5px; }
  .theme-picker > span { font-size: 11px; padding-inline: 7px; }
  .theme-picker button { min-height: 34px; min-width: 60px; font-size: 12px; }
  dialog h2 { font-size: 34px; }
  .menu-dialog-heading h2 { font-size: 44px; }
  .contact-dialog > p:not(.eyebrow) { font-size: 15px; }
}
@media(max-width:370px) {
  .hero-eyebrow { font-size: 8px; }
  .spirit h2 { font-size: 31px; }
  .cuisine h2 { font-size: 28px; }
  .house-heading h2 { font-size: 32px; }
  .practical h2 { font-size: 29px; }
  .memories h2 { font-size: 26px; }
  .footer-title { font-size: 17px; }
  .footer-contact { font-size: 12px; }
}
@media print {
  .theme-picker, .hero-illustration, .events-wine { display: none; }
  :root, :root[data-theme='dark'] { --canvas: white; --text: black; --muted: black; --accent: black; }
  .site-header::before, main > section::before, .site-footer::before { display: none; }
}
