/* ==========================================================
   LE ZUG — STYLES FACILES À MODIFIER
   MODIFIER ICI : les couleurs principales et les polices.
   ========================================================== */
:root {
  --chocolat: #351710;    /* En-tête, bas de page, boutons */
  --chocolat-clair: #523024;
  --creme: #fbf7ef;       /* Fond principal : UNI, sans quadrillage */
  --beige: #f1e8d9;       /* Fond des sections secondaires */
  --beige-fonce: #e8d8bd;
  --terre: #a85d3d;
  --blanc: #ffffff;
  --texte: #3b251d;
  --texte-secondaire: #715c50;
  --police-titre: 'Kalam', 'Segoe Print', 'Comic Sans MS', 'Trebuchet MS', sans-serif;
  --police-texte: 'DM Sans', Arial, sans-serif;
  --largeur-site: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; }
body { margin: 0; background: var(--creme); color: var(--texte); font-family: var(--police-texte); font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--terre); outline-offset: 4px; }
.container { width: min(var(--largeur-site), calc(100% - 60px)); margin: 0 auto; }
.section-pad { padding: clamp(70px, 8vw, 110px) 0; }
.skip-link { position: absolute; top: -90px; left: 20px; z-index: 999; padding: 12px 18px; background: white; color: black; }
.skip-link:focus { top: 10px; }

/* Bandeau chocolat et navigation */
.site-header { background: var(--chocolat); color: var(--blanc); position: relative; z-index: 5; }
.header-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; flex: 0 0 auto; align-items: center; width: 121px; }
.brand img { width: 100%; height: 94px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3.5vw, 48px); }
.main-nav a { text-decoration: none; font: 700 clamp(16px, 1.7vw, 22px)/1.1 var(--police-titre); white-space: nowrap; transition: color .2s ease; }
.main-nav a:hover { color: #f2d6a9; }
.main-nav .nav-contact { background: #f7ecdc; color: var(--chocolat); border-radius: 100px; padding: 14px 20px 12px; font-size: 17px; }
.main-nav .nav-contact:hover { color: var(--chocolat); background: white; }
.menu-toggle { display: none; }

/* Première section */
.hero { background: var(--creme); overflow: hidden; }
.hero-inner { padding-top: 86px; padding-bottom: 65px; display: grid; grid-template-columns: 1fr minmax(380px, .93fr); gap: clamp(45px, 6.4vw, 90px); align-items: center; }
.eyebrow { margin: 0 0 23px; color: var(--terre); font-size: 12px; font-weight: 700; letter-spacing: .17em; line-height: 1.5; }
.eyebrow-star { font-size: 18px; vertical-align: middle; letter-spacing: 0; margin-right: 7px; }
h1,h2,h3,p { overflow-wrap: break-word; }
h1,h2 { font-family: var(--police-titre); }
.hero h1 { margin: 0; font-size: clamp(94px, 10vw, 156px); letter-spacing: -.075em; line-height: .96; font-weight: 700; }
.title-period { color: var(--terre); }
.hero-subtitle { font: 700 clamp(31px, 4vw, 52px)/1.12 var(--police-titre); margin: 15px 0 22px; }
.hero-description { font: 700 clamp(19px, 2.2vw, 26px)/1.3 var(--police-titre); color: var(--chocolat-clair); margin: 0 0 13px; }
.hero-intro { max-width: 450px; color: var(--texte-secondaire); line-height: 1.78; font-size: 16px; margin: 0; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.button { display: inline-flex; gap: 14px; align-items: center; justify-content: center; border-radius: 100px; padding: 15px 20px; text-decoration: none; font-size: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--chocolat); color: white; }
.button-primary:hover { background: var(--chocolat-clair); }
.button-outline { border: 1.5px solid var(--chocolat); color: var(--chocolat); }
.button-outline:hover { background: var(--beige); }
.hero-art { position: relative; min-height: 465px; padding: 20px; border-radius: 14px 140px 18px 110px; background: var(--chocolat); display: grid; place-items: center; isolation: isolate; box-shadow: 18px 18px 0 #ebdbc5; }
.hero-art-inner { position: relative; width: 100%; min-height: 425px; border: 1px solid rgba(255,255,255,.3); border-radius: 9px 120px 11px 95px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 20px 15px; }
.hero-art-inner img { width: min(85%, 390px); height: auto; max-height: 310px; object-fit: contain; }
.hero-art-caption { font: 700 19px/1.1 var(--police-titre); color: #f6ead8; letter-spacing: .10em; margin-top: 18px; }
.hero-star { position: absolute; font-size: 48px; color: #e3af73; }
.star-one { top: 14px; left: 31px; }.star-two { right: 22px; bottom: 16px; font-size: 29px; }
.paper-sticker { position: absolute; left: -43px; bottom: 47px; width: 115px; height: 115px; display: grid; place-items: center; text-align: center; padding: 17px; border-radius: 50%; background: #f2dbad; border: 2px dashed #8d633f; color: var(--chocolat); font: 700 19px/1.1 var(--police-titre); transform: rotate(-15deg); box-shadow: 3px 4px 10px #00000012; }
.hero-bottom { padding: 0 0 33px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 24px; color: #8b6b57; font-size: 11px; letter-spacing: .18em; font-weight: 700; }
.separator { color: #b78b5c; font-size: 14px; }

/* Histoire et photos */
.story { background: #fffefd; border-top: 1px solid #ebdfcf; }
.story-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(40px, 7.2vw, 95px); }
.story-copy h2,.section-head h2,.games-copy h2,.events-layout h2 { font-size: clamp(40px, 4.5vw, 62px); letter-spacing: -.045em; line-height: 1.13; margin: 0 0 24px; }
h2 em { color: var(--terre); font-style: normal; }
.story-copy p:not(.eyebrow) { max-width: 490px; color: var(--texte-secondaire); line-height: 1.84; }
.story-copy .edit-text { background: #faf3e6; border-left: 3px solid #c48a5e; color: #6a5142 !important; padding: 13px 17px; font-size: 14px; }
.story-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.photo-card { min-height: 305px; border: 1px dashed #bca286; border-radius: 110px 110px 14px 14px; background: #f1e7d8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #8b6751; font: 700 20px/1 var(--police-titre); text-align: center; }
.photo-card small { font: 500 12px var(--police-texte); }
.photo-card .photo-icon { font: 400 73px Georgia,serif; color: #9d775d; line-height: 1; }
.photo-two { margin-top: 46px; border-radius: 14px 14px 105px 105px; background: #e4cbb0; }

/* Les règles du Zug */
.rules { background: var(--beige); }
.section-head.centered { text-align: center; margin: 0 auto 44px; }
.section-head.centered .eyebrow { margin-bottom: 9px; }
.section-head.centered h2 { margin: 0 0 6px; }
.section-head.centered > p:last-child { font: 700 22px/1.4 var(--police-titre); margin: 0; color: #725344; }
.rule-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.rule-card { border: 1px solid #e2d2bb; border-radius: 12px; background: #fffcf7; padding: 28px 25px 26px; box-shadow: 0 5px 0 rgba(76,37,22,.055); }
.rule-symbol { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid #e9ddd0; margin-bottom: 22px; padding-bottom: 18px; }
.rule-symbol strong { background: var(--chocolat); color: white; font: 700 31px/1 var(--police-titre); display: grid; place-items: center; min-width: 94px; min-height: 80px; border-radius: 7px; padding: 13px; }
.rule-symbol span { color: #b5a18d; font-size: 12px; font-weight: 700; letter-spacing: .15em; }
.rule-card h3 { min-height: 50px; font: 700 23px/1.14 var(--police-titre); margin: 0 0 12px; }
.rule-card p { color: var(--texte-secondaire); line-height: 1.68; margin: 0; font-size: 14px; }
.rules-outro { text-align: center; font: 700 26px/1.3 var(--police-titre); margin: 31px 0 12px; }
.rules-outro em { color: var(--terre); font-style: normal; }
.confirmation-note { text-align: center; font-size: 12px; color: #846e5e; margin: 0; }

/* Menus */
.menu-section { background: #fffefd; }
.split-head { display: flex; gap: 35px; justify-content: space-between; align-items: flex-end; margin-bottom: 35px; }
.split-head h2 { margin: 0; }
.split-head > p { width: min(350px,100%); line-height: 1.75; color: var(--texte-secondaire); margin: 0 0 5px; }
.menu-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; }
.menu-card { border: 1px solid #e6d7c4; border-radius: 12px; padding: 25px; min-height: 285px; display: flex; flex-direction: column; }
.menu-card:nth-child(2) { background: #f1e6d6; }.menu-card:nth-child(3) { background: #f7f1e8; }
.menu-card-icon { font-size: 44px; line-height: 1; margin-bottom: auto; color: var(--chocolat); }
.card-number { font-size: 11px; letter-spacing: .12em; color: #9f6d55; font-weight: 700; margin-top: 25px; }
.menu-card h3 { font: 700 26px/1.1 var(--police-titre); margin: 9px 0; }
.menu-card p { font-size: 14px; line-height: 1.6; margin: 0; color: var(--texte-secondaire); }

/* Jeux */
.games-section { background: var(--chocolat); color: white; }
.games-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 95px); align-items: center; }
.games-copy .eyebrow { color: #d6ad7d; }
.games-copy h2 em { color: #e6bd91; }
.games-copy p:not(.eyebrow) { color: #e1cec0; line-height: 1.75; }
.games-visual { position: relative; padding: 20px 30px 26px 5px; }
.chessboard { aspect-ratio: 1; width: min(100%, 410px); border: 15px solid #f7e7d1; outline: 5px solid #8c5438; background: conic-gradient(#8d5a40 25%,#f3dec4 0 50%,#8d5a40 0 75%,#f3dec4 0) 0 0 / 25% 25%; position: relative; box-shadow: 15px 16px 0 #00000024; }
.chess-piece { position: absolute; font-family: Georgia,'Times New Roman',serif; line-height: 1; text-shadow: 4px 6px 0 #00000020; }
.white-piece { font-size: clamp(110px, 15vw, 205px); top: 4%; left: 6%; color: #fdf9f2; }.black-piece { font-size: clamp(90px, 12vw, 165px); right: 3%; top: 34%; color: var(--chocolat); }.pawn-piece { font-size: 89px; bottom: 0; left: 30%; color: #faf1df; }
.games-tag { position: absolute; right: -7px; bottom: 5px; transform: rotate(-7deg); background: #e2b37e; color: #351710; border: 2px solid #351710; padding: 15px 18px 11px; font: 700 18px/1.15 var(--police-titre); box-shadow: 3px 4px 0 #00000030; }
.game-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.game-tags span { border: 1px solid #a47b63; border-radius: 30px; padding: 11px 16px; color: #f2e2d4; font-size: 13px; }
.games-copy .small-print { color: #b99d89 !important; font-size: 12px; margin-top: 18px; }

/* Événements */
.events-section { background: #fbf7ef; }
.events-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; }
.events-layout p:not(.eyebrow) { color: var(--texte-secondaire); line-height: 1.8; max-width: 440px; }
.event-placeholder { text-align: center; border: 1px solid #d8bfa3; border-radius: 15px; padding: 35px 25px; min-height: 315px; background: #f2e8da; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.event-kicker { letter-spacing: .2em; font-size: 11px; font-weight: 700; color: #9d705a; }.event-die { font-size: 60px; margin: 15px 0; color: var(--chocolat); }.event-placeholder h3 { font: 700 27px/1.2 var(--police-titre); margin: 0 0 7px; }.event-placeholder p { margin: 0; }

/* Coordonnées */
.site-footer { background: var(--chocolat); color: #fff9ef; padding: 51px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 38px; }
.footer-brand img { width: 103px; height: 89px; object-fit: contain; margin-bottom: 12px; }
.footer-brand p { font: 700 20px/1.3 var(--police-titre); }
.footer-grid h2 { font: 700 23px/1.25 var(--police-titre); margin: 3px 0 15px; }
.footer-grid p { color: #ead5c4; line-height: 1.8; font-size: 14px; margin: 0; }
.footer-grid .footer-note { color: #c9a990; font-size: 12px; }
.footer-bottom { border-top: 1px solid #765246; padding-top: 18px; margin-top: 33px; display: flex; justify-content: space-between; color: #cbaea0; font-size: 12px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* Tablettes */
@media(max-width:950px) {
  .container { width: min(var(--largeur-site), calc(100% - 40px)); }
  .header-inner { min-height: 90px; }
  .main-nav { gap: 16px; }.main-nav a { font-size: 16px; }.main-nav .nav-contact { font-size: 14px; padding: 11px 13px; }
  .brand { width: 96px; }.brand img { height: 76px; }
  .hero-inner { grid-template-columns: 1fr .95fr; gap: 30px; padding-top: 65px; }
  .hero-art { min-height: 340px; border-radius: 12px 80px 12px 70px; padding: 12px; }
  .hero-art-inner { min-height: 315px; border-radius: 9px 75px 9px 60px; }
  .hero-art-inner img { max-height: 235px; }.paper-sticker { width: 90px; height: 90px; left: -20px; font-size: 16px; }
  .hero h1 { font-size: 92px; }.story-grid { gap: 30px; }.story-photos { gap: 10px; }.photo-card { min-height: 258px; }
  .rule-card { padding: 23px 18px; }.rule-card h3 { font-size: 20px; }
}
/* Téléphones */
@media(max-width:680px) {
  .container { width: calc(100% - 36px); }.section-pad { padding: 69px 0; }
  .header-inner { flex-wrap: wrap; min-height: 78px; }.brand { width: 80px; }.brand img { height: 72px; }
  .menu-toggle { display: flex; margin-left: auto; width: 45px; height: 42px; padding: 10px; background: transparent; border: 1px solid #a98d7a; border-radius: 8px; flex-direction: column; justify-content: space-around; }
  .menu-toggle span { height: 2px; width: 100%; background: white; display: block; border-radius: 3px; }
  .main-nav { display: none; flex-basis: 100%; padding: 0 0 20px; flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav.is-open { display: flex; }.main-nav a { font-size: 21px; padding: 12px 0; }.main-nav .nav-contact { padding: 12px 20px; margin-top: 6px; text-align: center; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 50px; gap: 47px; }.hero h1 { font-size: clamp(87px,21vw,122px); }
  .hero-subtitle { font-size: 39px; margin: 7px 0 16px; }.hero-description { font-size: 23px; }.hero-intro { font-size: 15px; }
  .hero-art { margin: 0 17px; min-height: 350px; }.hero-art-inner { min-height: 315px; }.hero-bottom { gap: 10px; font-size: 9px; padding-bottom: 25px; }
  .story-grid,.games-layout,.events-layout { grid-template-columns: 1fr; gap: 37px; }.story-photos { max-width: 530px; margin: 0 auto; width: 100%; }.photo-card { min-height: 250px; }
  .rule-grid,.menu-grid { grid-template-columns: 1fr; }.rule-card { min-height: auto; padding: 25px; }.rule-symbol { margin-bottom: 17px; }.rule-card h3 { min-height: 0; }.rule-card p { font-size: 15px; }
  .split-head { display: block; }.split-head > p { margin-top: 20px; }.menu-card { min-height: 215px; }.menu-card-icon { margin-bottom: 0; }
  .games-visual { max-width: 450px; margin: 0 auto; order: 2; width: 100%; }.games-copy { order: 1; }.white-piece { font-size: 32vw; }.black-piece { font-size: 26vw; }.games-tag { font-size: 15px; }
  .events-layout { gap: 20px; }.footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }.footer-brand img { width: 95px; }.footer-grid h2 { font-size: 22px; }
}
@media(max-width:390px){ .hero h1 { font-size: 84px; } .hero-bottom { font-size: 8px; } .separator { font-size: 9px; }.hero-art { margin: 0 10px; }.story-photos { gap: 8px; }.photo-card { min-height: 205px; font-size: 17px; }.photo-card .photo-icon { font-size: 58px; } .games-tag { right: 0; } }
@media(prefers-reduced-motion:reduce){ html { scroll-behavior: auto; } .button { transition: none; } }
