/* ==========================================================
   SMASH FACTORY — page d'accueil
   ========================================================== */
section { padding: 100px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(44px, 7vw, 92px); }
.sec-head h2 em { font-style: normal; background: var(--y); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.sec-head p { max-width: 420px; color: var(--muted); font-size: 17px; }
.kicker { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border: 1.5px solid currentColor; border-radius: 6px; margin-bottom: 18px; }

/* Bandeau haut */
.strip { background: var(--y); color: var(--ink); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; border-bottom: 2px solid var(--ink); }
.strip .wrap { max-width: none; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.strip-st { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.strip-st span { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
@media (max-width: 700px) { .strip .hide-s { display: none; } .strip .wrap { padding: 0 16px; } }

/* Navigation */
nav { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--paper); border-bottom: 2px solid var(--ink); }
.nav-in { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.links { display: flex; gap: 30px; font-weight: 700; }
.links a { position: relative; }
.links a::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 3px; width: 0; background: var(--y); transition: width .2s; }
.links a:hover::after { width: 100%; }
.nav-r { display: flex; gap: 10px; align-items: center; }
.nav-r .btn { padding: 11px 18px; font-size: 15px; }
.nav-r .btn-y { box-shadow: 3px 3px 0 var(--y-d); border-color: var(--y); }
.burger { display: none; width: 46px; height: 46px; border: 2px solid var(--paper); border-radius: 10px; background: none; font-size: 20px; cursor: pointer; color: var(--paper); }
.mob { display: none; border-top: 1px solid var(--ink3); padding: 8px 16px 18px; }
.mob a { display: block; padding: 12px 0; font-size: 30px; font-weight: 800; border-bottom: 1px solid var(--ink3); }
.mob.open { display: block; }
@media (max-width: 960px) { .links, .nav-r .btn-ghost-light { display: none; } .burger { display: block; } }

/* Hero */
.hero { background: var(--ink); color: var(--paper); padding: 60px 0 100px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 192, 1, .09) 1.5px, transparent 1.5px); background-size: 26px 26px; pointer-events: none; }
.hero-g { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-g { grid-template-columns: 1fr; } }
.hero .kicker { color: var(--y); margin-bottom: 38px; }
.hero-img .frame { display: block; }
.hero-img .frame > img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { font-size: clamp(64px, 10.5vw, 150px); margin: 0 0 24px; }
.hero h1 em { font-style: normal; color: var(--y); display: block; }
.hero h1 .outline { color: var(--ink); text-shadow: -2px -2px 0 var(--paper), 2px -2px 0 var(--paper), -2px 2px 0 var(--paper), 2px 2px 0 var(--paper), 0 -2px 0 var(--paper), 0 2px 0 var(--paper), -2px 0 0 var(--paper), 2px 0 0 var(--paper); }
.hero p { font-size: 19px; max-width: 500px; color: #d9d2c5; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta b { display: block; font-size: 34px; font-weight: 800; line-height: 1; color: var(--y); }
.hero-meta span { font-size: 12.5px; color: var(--muted-d); }
.hero-img { position: relative; }
.frame { border: 2px solid var(--y); border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 12px 12px 0 var(--y); }
.seal { position: absolute; top: -40px; left: -40px; width: 156px; height: 156px; }
.seal svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.seal .seal-logo { position: absolute; inset: 0; margin: auto; width: 65%; height: 65%; object-fit: contain; border-radius: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.pricetag { position: absolute; right: -14px; bottom: 44px; background: var(--y); color: var(--ink); border: 2px solid var(--ink); border-radius: 14px; padding: 14px 18px; transform: rotate(-4deg); box-shadow: 4px 4px 0 var(--paper); }
.pricetag small { display: block; font-size: 11px; }
.pricetag b { font-size: 30px; font-weight: 800; line-height: 1; }
@media (max-width: 560px) { .seal { width: 116px; height: 116px; top: -26px; left: -8px; }  .pricetag { right: 8px; } }

/* Tapis roulant */
.conveyor { background: var(--y); color: var(--ink); border-block: 2px solid var(--ink); padding: 18px 0; overflow: hidden; transform: rotate(-1.5deg); margin: -26px -20px 0; position: relative; z-index: 2; }
.conv-t { display: inline-flex; gap: 40px; white-space: nowrap; animation: mv 30s linear infinite; font-size: clamp(26px, 4vw, 44px); font-weight: 800; }
.conv-t span::after { content: "✹"; margin-left: 40px; }
@keyframes mv { to { transform: translateX(-50%); } }

/* Méthode */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { border: 2px solid var(--ink); border-radius: var(--r); background: #fff; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.step .ph { aspect-ratio: 4 / 3; border-bottom: 2px solid var(--ink); }
.step-b { padding: 18px; }
.step-b .mono { font-size: 12px; font-weight: 700; background: var(--y); padding: 2px 6px; border-radius: 4px; }
.step-b h3 { font-size: 30px; margin: 10px 0 6px; }
.step-b p { color: var(--muted); font-size: 15px; }

/* Carte */
.dark { background: var(--ink); color: var(--paper); }
.dark .sec-head p { color: var(--muted-d); }
.dark .sec-head h2 em { color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--ink2); border: 1.5px solid var(--ink3); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-6px); border-color: var(--y); }
.card .ph { aspect-ratio: 16 / 11; }
.card .ph img { transition: transform .4s; }
.card:hover .ph img { transform: scale(1.06); }
.badge { position: absolute; top: 12px; right: 12px; background: var(--y); color: var(--ink); font-weight: 800; font-size: 12px; padding: 5px 10px; border-radius: 99px; border: 1.5px solid var(--ink); }
.card-b { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-b h3 { font-size: 28px; }
.card-b p { color: var(--muted-d); font-size: 15px; margin: 8px 0 18px; flex: 1; }
.card-f { display: flex; justify-content: space-between; align-items: center; }
.price { font-size: 26px; font-weight: 800; color: var(--y); }
.add { width: 46px; height: 46px; border-radius: 12px; background: var(--y); color: var(--ink); font-size: 26px; font-weight: 800; display: grid; place-items: center; transition: transform .15s; }
.add:hover { transform: rotate(90deg); }
.center { text-align: center; margin-top: 44px; }

/* Avis */
.rating { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; border: 2px solid var(--ink); border-radius: 28px; padding: 36px 40px; background: var(--y); box-shadow: 8px 8px 0 var(--ink); }
@media (max-width: 860px) { .rating { grid-template-columns: 1fr; text-align: center; } }
.rt { display: flex; align-items: center; gap: 18px; }
@media (max-width: 860px) { .rt { justify-content: center; } }
.rt .big { font-size: clamp(80px, 11vw, 140px); font-weight: 800; line-height: .8; letter-spacing: -.05em; }
.rt b { display: block; font-size: 22px; line-height: 1.1; }
.rt small { display: block; font-size: 14px; }
.rt-btn { margin-top: 10px; padding: 9px 14px; font-size: 14px; box-shadow: 3px 3px 0 var(--paper); }
.stars { font-size: 20px; letter-spacing: 3px; }

/* Services */
.svc { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; background: #fff; }
@media (max-width: 860px) { .svc { grid-template-columns: repeat(2, 1fr); } }
.svc > div { padding: 28px 22px; border-right: 2px solid var(--ink); }
.svc > div:last-child { border-right: 0; }
@media (max-width: 860px) { .svc > div:nth-child(2) { border-right: 0; } .svc > div:nth-child(-n+2) { border-bottom: 2px solid var(--ink); } }
.svc .ico { width: 52px; height: 52px; border-radius: 12px; background: var(--y); border: 2px solid var(--ink); display: grid; place-items: center; margin-bottom: 14px; }
.svc svg { width: 28px; height: 28px; }
.svc h3 { font-size: 24px; margin-bottom: 4px; }
.svc p { color: var(--muted); font-size: 14px; }
.svc small { display: inline-block; margin-top: 8px; font-family: var(--mono); font-size: 10.5px; font-weight: 700; background: var(--ink); color: var(--y); padding: 2px 6px; border-radius: 4px; }

/* Restaurants */
.tabs-r { display: inline-flex; border: 2px solid var(--ink); border-radius: 14px; padding: 4px; background: #fff; margin-bottom: 22px; gap: 4px; flex-wrap: wrap; }
.tabs-r button { border: 0; background: none; padding: 12px 18px; border-radius: 10px; font-weight: 800; font-size: 16px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tabs-r button.on { background: var(--ink); color: var(--y); }
.info-g { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; }
@media (max-width: 900px) { .info-g { grid-template-columns: 1fr; } }
.panel { border: 2px solid var(--ink); border-radius: var(--r); background: #fff; overflow: hidden; }
.panel .ph { height: 240px; border-bottom: 2px solid var(--ink); }
.panel-b { padding: 26px 28px 28px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; padding: 7px 12px; border-radius: 8px; border: 1.5px solid var(--ink); margin-bottom: 16px; font-size: 14px; background: #FFE1DE; }
.status.o { background: #D2F5DC; }
.panel h3 { font-size: 40px; margin-bottom: 12px; }
.lines { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; font-size: 16px; }
.lines a { text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.chips span { font-size: 12.5px; font-weight: 700; border: 1.5px solid var(--ink); border-radius: 99px; padding: 4px 10px; background: var(--y-soft); }
table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 13px; }
td { padding: 10px 0; border-bottom: 1px dashed var(--line); }
td:last-child { text-align: right; }
tr.today td { font-weight: 700; background: var(--y-soft); }
tr.today td:first-child { padding-left: 8px; } tr.today td:last-child { padding-right: 8px; }
.p-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.map { border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; min-height: 460px; background: var(--paper2); }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* FAQ */
.faq { max-width: 860px; }
.q { border-bottom: 2px solid var(--ink); }
.q button { width: 100%; background: none; border: 0; padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 22px; font-weight: 800; text-align: left; cursor: pointer; }
.q button i { font-style: normal; width: 34px; height: 34px; flex: none; border-radius: 8px; border: 2px solid var(--ink); display: grid; place-items: center; transition: transform .2s, background .2s; }
.q.open button i { transform: rotate(45deg); background: var(--y); }
.a { max-height: 0; overflow: hidden; transition: max-height .3s; }
.a p { padding-bottom: 24px; color: var(--muted); font-size: 17px; }

/* CTA + pied de page */
.cta { background: var(--y); color: var(--ink); border: 2px solid var(--ink); border-radius: 32px; padding: 60px 40px; text-align: center; box-shadow: 10px 10px 0 var(--ink); }
.cta h2 { font-size: clamp(46px, 8vw, 110px); }
.cta p { font-size: 19px; margin: 16px 0 28px; }
footer { background: var(--ink); color: var(--paper); margin-top: 100px; padding: 70px 0 26px; }
.f-g { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 860px) { .f-g { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .f-g { grid-template-columns: 1fr; } }
footer h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--y); margin-bottom: 14px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--muted-d); font-size: 15px; }
footer ul a:hover { color: #fff; }
.f-sign { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--ink3); }
.giant { display: block; width: 100%; height: auto; overflow: visible; }
.giant text { font-family: var(--font); font-weight: 800; font-size: 160px; letter-spacing: -4px; fill: #fff; stroke: none; }
.giant .gd { fill: var(--y); stroke: none; }
.f-tag { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--y); }
.f-b { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--ink3); font-size: 13px; color: #8d8479; }

.fab { position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 60; display: none; }
@media (max-width: 960px) { .fab { display: flex; } }

/* ==========================================================
   Ajustements responsive (tablette & mobile)
   ========================================================== */
@media (max-width: 960px) {
  body { padding-bottom: 76px; } /* place pour le bouton flottant « Commander » */
  .hero-img { max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 760px) {
  section { padding: 72px 0; }
  .sec-head { margin-bottom: 30px; }
  .sec-head p { font-size: 16px; }
  footer { margin-top: 72px; padding-top: 56px; }
  .map, .map iframe { min-height: 320px; }
  .panel .ph { height: 200px; }
  .panel-b { padding: 22px 18px; }
  .panel h3 { font-size: 34px; }
  .cta { padding: 44px 22px; border-radius: 24px; box-shadow: 6px 6px 0 var(--ink); }
  .cta p { font-size: 17px; }
  .rating { padding: 28px 20px; border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); }
  .q button { font-size: 19px; padding: 20px 0; }
  .a p { font-size: 16px; }
}
@media (max-width: 560px) {
  .hero { padding: 40px 0 80px; }
  .hero p { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px; margin-top: 32px; }
  .hero-meta b { font-size: 26px; }
  .hero-meta span { font-size: 11.5px; }
  .svc { grid-template-columns: 1fr; }
  .svc > div, .svc > div:nth-child(2) { border-right: 0; border-bottom: 2px solid var(--ink); padding: 22px 18px; }
  .svc > div:last-child { border-bottom: 0; }
  .tabs-r { display: flex; }
  .tabs-r button { flex: 1; justify-content: center; padding: 11px 10px; }
  .p-cta .btn { flex: 1 1 auto; }
  .p-cta .btn-y { flex-basis: 100%; }
  table { font-size: 12px; }
  td:last-child { white-space: nowrap; padding-left: 8px; }
  .rt { gap: 12px; }
  .rt-btn { white-space: nowrap; }
  .step-b h3 { font-size: 26px; }
  .card-b h3 { font-size: 24px; }
  .nav-in { height: 68px; }
  nav .logo-img { height: 44px; }
  .nav-r .btn { padding: 10px 14px; font-size: 14px; }
}
@media (max-width: 360px) {
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .nav-r .btn-y { display: none; } /* le bouton flottant prend le relais */
}
