/**
 * 500 Degrés 2 — accueil (modèle « 500 · Accueil »). Repris de la maquette « Accueil ».
 */

.page-template-accueil .mm-main, .page-template-page-templates-accueil .mm-main { padding: 0; }

/* ---------- Éléments communs ---------- */
.m5-kick { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-weight: 900; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.m5-kick::before { content: ""; width: 34px; height: 1.5px; background: currentColor; }
.m5-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #000; }
.m5-eyebrow::before { content: ""; width: 34px; height: 1.5px; background: currentColor; }
.m5-eyebrow--light { color: #fff; }
.m5-sec { padding: 110px 0; }
.m5-title { margin: 22px 0 0; font-family: var(--m5-k); font-weight: 400; font-size: clamp(52px, 6vw, 88px); line-height: 1; text-transform: uppercase; color: inherit; }
.m5-title--futura { font-family: var(--m5-f); font-weight: 900; letter-spacing: -.02em; font-size: clamp(44px, 5.3vw, 76px); line-height: 1.08; }
.m5-sub { margin: 16px 0 0; max-width: 620px; font-size: 19px; line-height: 1.55; }
.m5-ico { flex: none; }
.m5-admin-note { margin: 20px auto; padding: 14px 18px; border: 1px dashed #999; border-radius: 14px; font-size: 14px; color: #555; }
.m5-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.m5-round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid #444; background: transparent; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s, border-color .2s; }
.m5-round:hover { background: #fff; color: #000; border-color: #fff; }

/* Apparition au défilement */
@supports (animation-timeline: view()) {
	.m5-reveal { animation: m5-reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
	@keyframes m5-reveal { from { opacity: 0; transform: translateY(48px) scale(.98); } to { opacity: 1; transform: none; } }
}

/* ---------- Fond dégradé animé (hero, réutilisé ailleurs) ---------- */
.m5-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 90% at 0% 100%, #2a0508 0%, #000 55%); }
.m5-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,0) 62%); }
.m5-bg::after { content: ""; position: absolute; inset: 0; opacity: .22; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.m5-blob { position: absolute; border-radius: 50%; filter: blur(90px); mix-blend-mode: screen; }
.m5-blob--1 { width: 640px; height: 640px; left: -12%; top: -34%; background: radial-gradient(circle, var(--b1, #2CAD64) 0%, transparent 66%); opacity: .55; animation: m5-d1 20s ease-in-out infinite alternate; }
.m5-blob--2 { width: 820px; height: 820px; right: -6%; top: -18%; background: radial-gradient(circle, var(--b2, #E52421) 0%, transparent 68%); opacity: .75; animation: m5-d2 18s ease-in-out infinite alternate; }
.m5-blob--3 { width: 760px; height: 760px; right: 38%; bottom: -48%; background: radial-gradient(circle, var(--b3, #CC3366) 0%, transparent 68%); opacity: .8; animation: m5-d3 22s ease-in-out infinite alternate; }
.m5-blob--4 { width: 460px; height: 460px; right: 2%; bottom: -12%; background: radial-gradient(circle, var(--b4, #F4A9AC) 0%, transparent 66%); opacity: .5; animation: m5-d4 16s ease-in-out infinite alternate; }
@keyframes m5-d1 { to { transform: translate(110px, 60px) scale(1.1); } }
@keyframes m5-d2 { to { transform: translate(-120px, 90px) scale(1.12); } }
@keyframes m5-d3 { to { transform: translate(160px, -70px) scale(.9); } }
@keyframes m5-d4 { to { transform: translate(-90px, -120px) scale(1.15); } }

/* ---------- 1. Hero ---------- */
.m5-hero { position: relative; isolation: isolate; overflow: hidden; background: #000; color: #fff; }
.m5-hero__in { position: relative; display: grid; align-items: center; min-height: 780px; padding-top: 56px; padding-bottom: 56px; }
.m5-hero__txt { position: relative; z-index: 2; max-width: 580px; text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.m5-hero__t { margin: 22px 0 0; font-family: var(--m5-k); font-weight: 400; font-size: clamp(62px, 7vw, 100px); line-height: .9; text-transform: uppercase; color: #fff; }
.m5-hero__t span { display: block; overflow: hidden; padding-bottom: 2px; }
.m5-hero__t b { display: block; font-weight: 400; transform: translateY(105%); animation: m5-rise .9s var(--m5-ease) forwards; }
.m5-hero__t span:nth-child(2) b { animation-delay: .12s; }
.m5-hero__t span:nth-child(3) b { animation-delay: .24s; }
.m5-hero__t .m5-hot { text-shadow: none; }
@keyframes m5-rise { to { transform: none; } }
.m5-lead { margin: 24px 0 32px; max-width: 440px; font-size: 19px; line-height: 1.55; color: #e4e4e4; animation: m5-fadeup .8s .5s ease both; }
.m5-hero .m5-ctas { text-shadow: none; animation: m5-fadeup .8s .65s ease both; }
.m5-chips { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; animation: m5-fadeup .8s .8s ease both; }
.m5-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: #e8e8e8; }
.m5-chips .m5-ico { width: 17px; height: 17px; }
@keyframes m5-fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.m5-pizza { position: absolute; z-index: 1; right: -80px; top: 50%; width: 920px; aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.m5-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: m5-spin-r 40s linear infinite; }
.m5-ring text { font-family: var(--m5-f); font-weight: 900; font-size: 17px; letter-spacing: 6px; text-transform: uppercase; fill: rgba(255,255,255,.55); }
.m5-plate { position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; box-shadow: 0 50px 100px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08), 0 0 120px color-mix(in srgb, var(--glow, #E52421) 35%, transparent); animation: m5-land 1.2s .15s var(--m5-ease) both; }
.m5-plate img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.22); animation: m5-spin 90s linear infinite; }
.m5-pizza.is-cut .m5-plate { inset: 5%; overflow: visible; border-radius: 0; box-shadow: none; }
.m5-pizza.is-cut .m5-plate img { object-fit: contain; --m5-sc: 1; transform: none; animation-name: m5-spin1; filter: drop-shadow(0 50px 70px rgba(0,0,0,.7)) drop-shadow(0 0 90px color-mix(in srgb, var(--glow, #E52421) 35%, transparent)); }
@keyframes m5-spin { from { transform: scale(1.22) rotate(0); } to { transform: scale(1.22) rotate(360deg); } }
@keyframes m5-spin1 { to { transform: rotate(360deg); } }
@keyframes m5-spin-r { to { transform: rotate(-360deg); } }
@keyframes m5-land { from { opacity: 0; transform: scale(.8) rotate(-25deg); } to { opacity: 1; transform: none; } }

/* ---------- 2. Offres ---------- */
.m5-offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 14px; background: #fff; }
.m5-offer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 28px 30px; border-radius: 30px; color: #fff; text-decoration: none; transition: transform .3s ease; }
.m5-offer:hover { transform: translateY(-4px); color: #fff; }
.m5-offer--g { background: var(--m5-vert); }
.m5-offer--p { background: var(--m5-rose); }
.m5-offer__img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; animation: m5-wobble 6s ease-in-out infinite; }
@keyframes m5-wobble { 50% { transform: rotate(8deg); } }
.m5-offer__big { font-family: var(--m5-k); font-size: 80px; line-height: .85; }
.m5-offer__b { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.45; }
.m5-offer__t { font-family: var(--m5-k); font-weight: 400; font-size: 32px; line-height: 1; text-transform: uppercase; }
.m5-arrow { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #000; color: #fff; transition: transform .25s; }
.m5-offer--p .m5-arrow { background: #fff; color: #000; }
.m5-offer:hover .m5-arrow { transform: rotate(-45deg); }

/* ---------- 3. Sélection du chef ---------- */
.m5-moment { position: relative; overflow: hidden; background: #000; color: #fff; }
.m5-moment .m5-eyebrow { color: #fff; }
.m5-moment .m5-sub { color: #bdbdbd; }
.m5-glow { position: absolute; left: 50%; bottom: -140px; width: 1000px; height: 460px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(204,90,40,.35), transparent 70%); pointer-events: none; }
.m5-slider { margin-top: 56px; position: relative; }
.m5-slider__track { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 20%; }
.m5-slider__track::-webkit-scrollbar { display: none; }
.m5-slide { flex: 0 0 60%; scroll-snap-align: center; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 14px; border-radius: 30px; background: #141414; opacity: .35; transform: scale(.92); transition: opacity .6s, transform .6s; }
.m5-slide.is-active { opacity: 1; transform: none; }
.m5-slide__m img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; display: block; }
.m5-slide__b { padding-right: 22px; }
.m5-slide__tag { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.6); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.m5-slide h3 { margin: 16px 0 14px; font-family: var(--m5-k); font-size: clamp(38px, 4vw, 60px); line-height: 1; text-transform: uppercase; }
.m5-slide h3 a { color: #fff; text-decoration: none; }
.m5-slide__d { font-size: 16px; line-height: 1.55; color: #c9c9c9; }
.m5-slide__d p { margin: 0; }
.m5-slide__p { margin: 22px 0; font-weight: 900; font-size: 30px; }
.m5-slider__nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 40px; }
.m5-slider__dots { display: flex; gap: 6px; }
.m5-slider__dots button { width: 46px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; position: relative; }
.m5-slider__dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 20px; height: 3px; background: #3d3d3d; border-radius: 2px; }
.m5-slider__dots button[aria-current="true"]::before { background: #fff; }
.m5-slider.is-single .m5-slider__nav { display: none; }

/* ---------- 4. Carte ---------- */
.m5-carte__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 34px; }
.m5-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.m5-tabs button { min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid #ddd; background: #fff; color: #222; font-family: var(--m5-f); font-size: 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.m5-tabs button:hover { border-color: #000; }
.m5-tabs button[aria-selected="true"] { background: #000; border-color: #000; color: #fff; font-weight: 900; }
.m5-more { display: flex; justify-content: center; margin: 40px 0 0; }

/* ---------- 5. Concept ---------- */
.m5-concept { position: relative; overflow: hidden; background: #000; color: #fff; }
.m5-concept__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.32); }
.m5-concept__g { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.m5-concept .m5-sub { color: #d6d6d6; margin-bottom: 26px; }
.m5-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.m5-fact { border: 1px solid rgba(255,255,255,.25); border-radius: 24px; padding: 24px; background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.m5-fact b { display: block; font-family: var(--m5-k); font-weight: 400; font-size: 56px; line-height: 1; text-transform: uppercase; color: #fff; }
.m5-fact span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.45; color: #e6e6e6; }

/* ---------- 6. Avis ---------- */
.m5-avis__g { margin-top: 44px; display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }
.m5-score { border-radius: 30px; background: #000; color: #fff; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.m5-stars { display: flex; gap: 4px; }
.m5-stars .m5-ico { width: 26px; height: 26px; }
.m5-score b { font-family: var(--m5-k); font-weight: 400; font-size: 130px; line-height: .85; }
.m5-score b small { font-size: 48px; }
.m5-score p { margin: 0; font-size: 16px; line-height: 1.5; color: #d0d0d0; }
.m5-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.m5-q { margin: 0; border-radius: 30px; background: #f4f4f4; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.m5-q p { margin: 0; font-size: 17px; line-height: 1.55; }
.m5-q cite { font-style: normal; font-weight: 900; }

/* ---------- 7. Infos ---------- */
.m5-infos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 14px; background: var(--m5-vert); }
.m5-box { border: 1px solid #fff; border-radius: 24px; padding: 26px 24px; color: #fff; text-align: center; }
.m5-box .m5-ico { width: 42px; height: 42px; margin: 0 auto 10px; display: block; }
.m5-box h3 { margin: 0; font-family: var(--m5-k); font-size: 34px; text-transform: uppercase; color: #fff; }
.m5-box p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; }
.m5-box--halles { background: var(--m5-rose); border-color: var(--m5-rose); }

/* ---------- 8. On vous attend ---------- */
.m5-attend { background: #000; padding: 14px 14px 0; }
.m5-attend__card { border-radius: 40px; background: #0d0d0d; border: 1px solid #262626; padding: 34px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; align-items: center; color: #cfcfcf; }
.m5-attend h2 { margin: 0; font-family: var(--m5-k); font-size: 64px; color: #fff; text-transform: uppercase; }
.m5-attend p { margin: 10px 0 0; font-size: 17px; line-height: 1.5; }
.m5-attend strong { color: #fff; }
.m5-attend .m5-btn { margin-top: 8px; }
.m5-map { position: relative; height: 260px; border-radius: 28px; overflow: hidden; background: #1a1a1a; }
.m5-map::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0/40px 40px, linear-gradient(0deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0/40px 40px; }
.m5-road { position: absolute; background: #2e2e2e; border-radius: 10px; }
.m5-map__pin { position: absolute; left: 52%; top: 46%; transform: translate(-50%, -100%); color: var(--m5-rose); animation: m5-bob 2.2s ease-in-out infinite; }
.m5-map__pin .m5-ico { width: 44px; height: 44px; fill: currentColor; stroke: #0d0d0d; }
@keyframes m5-bob { 50% { transform: translate(-50%, -112%); } }
.m5-map__lab { position: absolute; left: 52%; top: 50%; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: #fff; color: #000; font-size: 13px; font-weight: 900; white-space: nowrap; }
.page-template-page-templates-accueil .m5-footer { padding-top: 40px; }

/* ---------- Tablette ---------- */
@media (max-width: 1100px) {
	.m5-hero__in { min-height: 0; padding-top: 0; padding-bottom: 56px; }
	.m5-pizza { position: relative; right: auto; top: auto; transform: none; width: 100%; max-width: 760px; justify-self: center; margin: 0 0 -120px; }
	.m5-bg::before { background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.5) 40%, rgba(0,0,0,0) 65%); }
	.m5-concept__g { grid-template-columns: 1fr; }
	.m5-slide { flex-basis: 80%; }
	.m5-slider__track { padding: 0 10%; }
	.m5-offer--g { grid-template-columns: 1fr auto; }
	.m5-offer__img { display: none; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 760px) {
	.m5-sec { padding: 72px 0; }
	.m5-hero__in { padding-top: 0; }
	.m5-pizza { position: absolute; left: -9%; top: -30px; width: 118%; max-width: none; margin: 0; }
	.m5-pizza::after { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: linear-gradient(180deg, rgba(0,0,0,0) 15%, rgba(0,0,0,.45) 50%, rgba(0,0,0,.65) 100%); z-index: 1; }
	.m5-hero__txt { padding-top: 200px; }
	.m5-lead { font-size: 17px; margin: 16px 0 22px; }
	.m5-hero .m5-ctas .m5-btn { flex: 1 1 100%; }
	.m5-kick { font-size: 11px; letter-spacing: .14em; }
	.m5-blob--1 { width: 380px; height: 380px; left: -30%; top: -8%; }
	.m5-blob--2 { width: 460px; height: 460px; }
	.m5-blob--3 { width: 420px; height: 420px; right: 0; bottom: -10%; }
	.m5-blob--4 { display: none; }
	.m5-offers, .m5-infos, .m5-quotes, .m5-avis__g, .m5-facts { grid-template-columns: 1fr; }
	.m5-offer { padding: 22px; gap: 16px; }
	.m5-offer__big { font-size: 60px; }
	.m5-offer__t { font-size: 28px; }
	.m5-slide { flex-basis: 86%; grid-template-columns: 1fr; }
	.m5-slider__track { padding: 0 7%; gap: 14px; }
	.m5-attend__card { grid-template-columns: 1fr; padding: 20px; border-radius: 30px; }
	.m5-attend h2 { font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
	.m5-hero *, .m5-hero *::before, .m5-hero *::after, .m5-blob, .m5-offer__img, .m5-map__pin { animation: none !important; }
	.m5-hero__t b { transform: none; }
}
