/* La Meulerie — feuille de style unique */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/poppins-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/poppins-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/poppins-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: "Peace Sans Fallback"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-latin-900-normal.woff2") format("woff2"); }
/* Police du logotype, récupérée par `npm run assets` */
@font-face { font-family: "Peace Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/peace-sans.ttf") format("truetype"); }

:root {
  --blue: #0000ff;
  --yellow: #f7f65c;
  --pink: #ff66c4;
  --pink-dark: #f04fb2;
  --navy: #06015a;
  --grey: #f2f2f2;
  --white: #fff;
  --header-h: 72px;
  --wrap: 1100px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.55; color: var(--blue); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--blue); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(48px, 7vw, 88px); }
.bg-yellow { background: var(--yellow); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-blue { background: var(--blue); color: var(--white); }

/* Titres */
.title { font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -0.035em; line-height: 1.12; font-size: clamp(1.75rem, 1.1rem + 2.6vw, 2.7rem); text-wrap: balance; }
.title--xl { font-size: clamp(2rem, 1.1rem + 3.6vw, 3.15rem); }
.title .hl { color: var(--yellow); }
.lead { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); }
.stack > * + * { margin-top: 1em; }
strong { font-weight: 800; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 26px; border: 0; border-radius: 999px; background: var(--pink); color: var(--white); font: inherit; font-weight: 800; font-size: 0.875rem; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color 0.2s, transform 0.2s; }
.btn:hover { background: var(--pink-dark); transform: translateY(-2px); }
.btn--yellow { background: var(--yellow); color: var(--blue); }
.btn--yellow:hover { background: #fffe8a; }
.btn--block { width: 100%; }

/* Bandeau Raclette Club (au-dessus de l'en-tête) */
.topbar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px; padding: 8px var(--gutter); background: var(--yellow); color: var(--blue); font-size: 0.875rem; line-height: 1.35; text-align: center; text-decoration: none; }
.topbar img { width: 32px; height: 32px; border: 2px solid var(--blue); border-radius: 50%; object-fit: cover; }
.topbar__cta { padding: 4px 14px; border-radius: 999px; background: var(--blue); color: var(--yellow); font-weight: 800; font-size: 0.75rem; text-transform: uppercase; white-space: nowrap; transition: background-color 0.2s; }
.topbar:hover .topbar__cta { background: var(--pink); color: var(--white); }
@media (max-width: 600px) { .topbar { font-size: 0.8125rem; } .topbar img { display: none; } }

/* En-tête */
.header { position: sticky; top: 0; z-index: 50; background: var(--blue); color: var(--white); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); padding-inline: clamp(16px, 2vw, 24px); }
.brand { font-family: "Peace Sans", "Peace Sans Fallback", sans-serif; font-weight: 400; font-size: clamp(1.35rem, 1rem + 1.4vw, 1.75rem); line-height: 1; text-decoration: none; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { font-weight: 800; font-size: 0.875rem; text-transform: uppercase; text-decoration: none; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--yellow); }
.burger { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.burger span { display: block; width: 26px; height: 3px; margin: 5px auto; border-radius: 2px; background: currentColor; transition: transform 0.25s, opacity 0.25s; }
@media (max-width: 860px) {
  .burger { display: block; }
  .nav { position: absolute; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--blue); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; }
  .nav a:not(.btn) { padding: 14px 0; font-size: 1rem; border-bottom: 1px solid rgb(255 255 255 / 0.2); }
  .nav .btn { margin-top: 18px; }
  .header[data-open] .nav { visibility: visible; opacity: 1; transform: none; }
  .header[data-open] .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .header[data-open] .burger span:nth-child(2) { opacity: 0; }
  .header[data-open] .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Bandeaux photo plein écran */
.banner { position: relative; display: grid; place-items: center; min-height: clamp(420px, 78svh, 660px); padding: 64px var(--gutter); overflow: hidden; background: var(--navy); color: var(--white); text-align: center; isolation: isolate; }
.banner--short { min-height: clamp(300px, 48svh, 420px); }
.banner > picture, .banner > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(0 0 0 / 0.22); }
.banner--plain::after { display: none; }
.banner__body { max-width: 640px; }
.banner__body > * + * { margin-top: 18px; }
.banner .title { text-shadow: 0 2px 18px rgb(0 0 0 / 0.35); }
.banner__sub { font-weight: 800; font-size: 0.875rem; text-transform: uppercase; }

/* Intro */
.intro { padding-block: clamp(28px, 4vw, 44px); }
.intro p { font-style: italic; }
.intro strong { font-weight: 900; }

/* Encart Raclette Club */
.club { position: relative; overflow: hidden; }
.club__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.club__photo { position: relative; }
.club__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: 10px 10px 0 var(--yellow); }
.club__tag { position: absolute; left: -10px; top: 18px; padding: 8px 16px; border-radius: 999px; background: var(--pink); color: var(--white); font-weight: 800; font-size: 0.8125rem; text-transform: uppercase; transform: rotate(-4deg); }
.club__logo { width: min(100%, 360px); }
.club__body > * + * { margin-top: 18px; }
.club__facts { display: flex; flex-wrap: wrap; gap: 8px; }
.club__facts li { padding: 6px 14px; border: 2px solid var(--yellow); border-radius: 999px; color: var(--yellow); font-weight: 700; font-size: 0.8125rem; }
@media (max-width: 760px) { .club__in { grid-template-columns: minmax(0, 1fr); } .club__tag { left: 10px; } }

/* Rangées de cartes (grille sur ordinateur, défilement horizontal sur mobile) */
.cards { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 14px; margin-top: 28px; }
.card { min-width: 0; }
.card img { width: 100%; aspect-ratio: var(--ratio, 1 / 1); object-fit: cover; background: var(--grey); }
.card__txt { margin-top: 10px; font-weight: 800; font-style: italic; font-size: 0.9375rem; line-height: 1.4; text-transform: uppercase; }
.card__txt a { text-decoration: none; }
.card__txt a:hover { text-decoration: underline; }
.card__map { display: inline-block; margin-top: 6px; font-size: 0.8125rem; font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .cards { display: flex; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 min(72vw, 300px); scroll-snap-align: center; }
}

/* Instagram */
.insta__in { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.insta { padding-block: 0; }
.insta img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.insta__body > * + * { margin-top: 22px; }
@media (max-width: 700px) { .insta__in { grid-template-columns: minmax(0, 1fr); } .insta { padding-bottom: 48px; } .insta img { aspect-ratio: 4 / 5; } }

/* Formulaire de contact */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.form label { display: block; }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea { width: 100%; padding: 14px 20px; border: 2px solid transparent; border-radius: 26px; background: var(--grey); color: #111; font: inherit; font-size: 1rem; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--blue); background: var(--white); }
.form__hp { display: none; }
.form__status { grid-column: 1 / -1; font-weight: 700; }
.form__status:empty { display: none; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* Pied de page */
.footer { padding-block: 40px; font-size: 0.875rem; }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer__brand { font-family: "Peace Sans", "Peace Sans Fallback", sans-serif; font-size: 1.5rem; line-height: 1; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.footer h2 { margin-bottom: 6px; font-size: 0.875rem; font-weight: 800; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer li { padding-block: 2px; }
.footer__legal { margin-top: 28px; opacity: 0.7; font-size: 0.75rem; }

/* ---------- Page franchise ---------- */
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--img { grid-template-columns: 1fr minmax(0, 320px); }
.split--rev { grid-template-columns: minmax(0, 320px) 1fr; }
.split--top { align-items: start; }
.split img { width: 100%; object-fit: cover; }
.split__imgs { display: grid; gap: 10px; }
@media (max-width: 800px) { .split, .split--rev { grid-template-columns: minmax(0, 1fr) !important; } .split__imgs { grid-template-columns: 1fr 1fr; } .split .tall { max-height: 440px; } }

.band-yellow { height: clamp(36px, 6vw, 60px); background: var(--yellow); }
.pdform { min-height: 560px; padding: 20px; background: var(--white); color: #111; }
.pdform__fallback { padding: 24px; font-size: 0.9375rem; }
.pdform__fallback a { color: var(--blue); font-weight: 700; }

.ticks { padding-left: 1.1em; list-style: disc; }
.ticks li::marker { color: var(--yellow); }
.ticks strong { color: var(--yellow); text-transform: uppercase; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 1 / 0.95; object-fit: cover; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } }

.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; margin-top: 28px; text-align: center; }
.feats img { width: 80px; height: 80px; margin: 0 auto 10px; }
.feats h3 { font-size: 0.9375rem; font-weight: 800; }
.feats p { font-size: 0.875rem; font-weight: 700; }
@media (max-width: 480px) { .feats { grid-template-columns: 1fr; } }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.trio img { width: 100%; aspect-ratio: 1 / 0.94; object-fit: cover; }
.trio h3 { margin-top: 12px; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
.trio p { margin-top: 6px; font-size: 0.875rem; }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; } }

.model { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.model h3 { margin-bottom: 10px; font-size: 1.125rem; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -0.03em; text-align: center; }
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; height: calc(100% - 38px); padding: 32px 20px; background: var(--white); text-align: center; }
.fig b { display: block; font-size: clamp(1.5rem, 1rem + 2vw, 2.1rem); font-weight: 800; font-style: italic; letter-spacing: -0.04em; line-height: 1.2; white-space: nowrap; }
.fig span { font-size: 0.875rem; }
.note { margin-top: 18px; font-size: 0.8125rem; text-align: right; }
@media (max-width: 760px) { .model { grid-template-columns: 1fr; } }

.market { position: relative; isolation: isolate; padding-block: clamp(36px, 5vw, 56px); background: var(--blue); }
.market > picture { position: absolute; inset: 0; z-index: -1; }
.market > picture img { width: 100%; height: 100%; object-fit: cover; }
.market .title { display: inline-block; padding: 6px 12px; background: var(--white); }
.market__figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.market__figs div { background: var(--white); text-align: center; }
.market__figs b { display: block; padding: 6px 10px; background: var(--yellow); font-size: clamp(1.25rem, 0.9rem + 1.6vw, 1.9rem); font-weight: 800; font-style: italic; letter-spacing: -0.04em; text-transform: uppercase; }
.market__figs span { display: block; padding: 10px 14px; font-size: 0.875rem; font-weight: 700; }
.market__src { margin-top: 10px; color: var(--white); font-size: 0.8125rem; text-align: right; text-shadow: 0 1px 6px rgb(0 0 0 / 0.6); }
@media (max-width: 700px) { .market__figs { grid-template-columns: 1fr; } }

/* Page simple (plaquette, 404) */
.simple { display: grid; align-content: center; min-height: 52svh; }
.simple a { color: var(--yellow); font-weight: 700; }

/* Curseur personnalisé (tête de Driss), souris uniquement */
@media (hover: hover) and (pointer: fine) {
  [data-cursor], [data-cursor] *:not(input, textarea) {
    cursor: url("/assets/img/cursor-driss-53.png") 26 26, auto;
    cursor: image-set(url("/assets/img/cursor-driss-53.png") 1x, url("/assets/img/cursor-driss-106.png") 2x) 26 26, auto;
  }
  [data-cursor] :is(a, button, summary, label) {
    cursor: url("/assets/img/cursor-driss-53.png") 26 26, pointer;
    cursor: image-set(url("/assets/img/cursor-driss-53.png") 1x, url("/assets/img/cursor-driss-106.png") 2x) 26 26, pointer;
  }
}

/* Apparition au défilement */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
