/* Garage Xhemil Murseli — Lucens. Identité rétro-racing tirée de la vraie façade : vert de la porte, jaune de l'escalier, crème papier. Typo Anton + Karla. */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Karla:wght@400;500;600;700;800&display=swap');

:root {
  --cream: #f4f1e6;
  --cream-2: #ece8d9;
  --ink: #17150f;
  --ink-2: #45412f;
  --mute: #837e6a;
  --green: #1d5c39;
  --green-deep: #14432a;
  --green-bright: #2b7d4f;
  --yellow: #f2c318;
  --yellow-deep: #d9a900;
  --line: #d9d4c2;
  --radius: 14px;
  --shadow: 0 24px 48px -26px rgba(23,21,15,0.5);
  --shadow-sm: 0 12px 26px -16px rgba(23,21,15,0.45);
  --disp: 'Anton', Impact, sans-serif;
  --body: 'Karla', -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); background: var(--cream); color: var(--ink-2);
  line-height: 1.62; -webkit-font-smoothing: antialiased; overflow-x: hidden; font-size: 16.5px;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
p { margin: 0 0 1.1em; }
strong { color: var(--ink); font-weight: 700; }
.icon { width: 1em; height: 1em; flex-shrink: 0; }

h1,h2,h3 { font-family: var(--disp); font-weight: 400; color: var(--ink); line-height: 0.98; letter-spacing: 0.005em; text-transform: uppercase; margin: 0 0 0.45em; }
h1 { font-size: clamp(3rem, 8vw, 6.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.3rem; letter-spacing: 0.02em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 44px); }
section { padding: 96px 0; position: relative; }
.sect-green { background: var(--green); color: #cfe3d6; }
.sect-green h2, .sect-green h3 { color: var(--cream); }
.sect-cream2 { background: var(--cream-2); }

/* racing stripe divider */
.stripe { height: 14px; background: repeating-linear-gradient(-45deg, var(--green) 0 26px, var(--cream) 26px 34px, var(--yellow) 34px 60px, var(--cream) 60px 68px); }
.stripe-thin { height: 6px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, transparent 18px 26px); }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.78rem; color: var(--green); margin-bottom: 16px; }
.kicker::before { content: ""; width: 26px; height: 10px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 6px, var(--green) 6px 12px); border-radius: 2px; }
.sect-green .kicker { color: var(--yellow); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head p { color: var(--mute); font-size: 1.05rem; }
.sect-green .section-head p { color: #a8c7b4; }
.lead { font-size: 1.16rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--disp); font-size: 1.02rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 16px 30px; border-radius: 10px; border: 2.5px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease; box-shadow: 4px 4px 0 var(--ink); }
.btn:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-bright); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffd93d; }
.btn .icon { width: 19px; height: 19px; }
.btn-block { width: 100%; }
.sect-green .btn { border-color: var(--cream); color: var(--cream); box-shadow: 4px 4px 0 rgba(0,0,0,0.4); }
.sect-green .btn-yellow { color: var(--ink); border-color: var(--ink); }

/* Header */
.hd { position: sticky; top: 0; z-index: 100; background: rgba(244,241,230,0.93); backdrop-filter: blur(10px); border-bottom: 2.5px solid var(--ink); }
.hd-in { max-width: 1200px; margin: 0 auto; padding: 12px clamp(20px, 4vw, 44px); display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-badge { width: 46px; height: 46px; border-radius: 50%; background: var(--green); border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--disp); color: var(--yellow); font-size: 1.15rem; letter-spacing: 0; }
.brand-name { font-family: var(--disp); text-transform: uppercase; color: var(--ink); font-size: 1.2rem; line-height: 1; }
.brand-name span { display: block; font-family: var(--body); font-weight: 800; font-size: 0.62rem; letter-spacing: 0.22em; color: var(--green); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); margin-left: auto; }
.nav a { font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--ink); padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--yellow); }
.hd-cta { margin-left: 8px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--disp); font-size: 0.95rem; letter-spacing: 0.04em; background: var(--yellow); border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); border-radius: 9px; padding: 10px 18px; color: var(--ink); transition: transform 0.15s ease, box-shadow 0.15s ease; white-space: nowrap; }
.hd-cta:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }
.hd-cta .icon { width: 16px; height: 16px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 100px) 0 0; }
.hero::before { content: ""; position: absolute; top: 0; right: -10%; width: 55%; height: 100%; background: repeating-linear-gradient(-45deg, rgba(29,92,57,0.05) 0 34px, transparent 34px 68px); pointer-events: none; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 64px); align-items: center; padding-bottom: clamp(56px, 7vw, 90px); }
.hero h1 .y { color: transparent; -webkit-text-stroke: 2.5px var(--green); }
.hero h1 .g { color: var(--green); }
.hero .lead { max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); padding: 8px 18px 8px 10px; font-weight: 800; font-size: 0.86rem; color: var(--ink); margin-bottom: 26px; }
.hero-note .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.hero-note .tick .icon { width: 13px; height: 13px; }

.hero-visual { position: relative; }
.hero-photo { border-radius: var(--radius); overflow: hidden; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--green), var(--shadow); aspect-ratio: 4/4.6; rotate: 1.2deg; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.sticker { position: absolute; font-family: var(--disp); text-transform: uppercase; border: 2.5px solid var(--ink); border-radius: 10px; padding: 10px 16px; box-shadow: 4px 4px 0 var(--ink); line-height: 1.1; }
.sticker small { display: block; font-family: var(--body); font-weight: 800; font-size: 0.62rem; letter-spacing: 0.14em; }
.stk-hours { top: -16px; left: -14px; background: var(--yellow); color: var(--ink); rotate: -4deg; }
.stk-tel { bottom: 22px; right: -12px; background: var(--green); color: #fff; rotate: 3deg; }
.stk-tel small { color: #bfe0cc; }

/* real facade polaroid */
.facade { position: absolute; bottom: -34px; left: -22px; background: #fff; border: 2.5px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 8px 8px 10px; rotate: -5deg; width: 178px; }
.facade img { width: 100%; border: 1px solid var(--line); image-rendering: auto; }
.facade figcaption { font-weight: 800; font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-top: 7px; text-align: center; }

/* Ticker */
.ticker { background: var(--ink); color: var(--cream); border-block: 2.5px solid var(--ink); overflow: hidden; padding: 13px 0; }
.ticker-track { display: flex; gap: 44px; white-space: nowrap; width: max-content; animation: tk 30s linear infinite; font-family: var(--disp); text-transform: uppercase; font-size: 1rem; letter-spacing: 0.06em; }
.ticker-track .y { color: var(--yellow); }
@keyframes tk { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Services slabs */
.slabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.slab { position: relative; background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 6px 6px 0 var(--ink); transition: transform 0.18s ease, box-shadow 0.18s ease; display: flex; flex-direction: column; }
.slab:hover { transform: translate(-3px,-3px); box-shadow: 10px 10px 0 var(--green); }
.slab-photo { aspect-ratio: 16/10; overflow: hidden; border-bottom: 3px solid var(--ink); position: relative; }
.slab-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.slab:hover .slab-photo img { transform: scale(1.05); }
.slab-num { position: absolute; top: 10px; left: 10px; font-family: var(--disp); background: var(--yellow); border: 2px solid var(--ink); border-radius: 8px; padding: 4px 12px; font-size: 1rem; color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.slab-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.slab-body p { color: var(--mute); font-size: 0.95rem; flex-grow: 1; }
.slab-link { font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.82rem; color: var(--green); margin-top: 12px; display: inline-flex; gap: 8px; }
.slab:hover .slab-link { gap: 13px; }

/* Pneus board (real prices) */
.board { border: 3px solid var(--ink); border-radius: var(--radius); background: #fff; box-shadow: 8px 8px 0 var(--yellow); overflow: hidden; }
.board-head { background: var(--green); color: var(--cream); padding: 18px 26px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; border-bottom: 3px solid var(--ink); }
.board-head .t { font-family: var(--disp); text-transform: uppercase; font-size: 1.4rem; }
.board-head .n { font-weight: 800; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); }
.board-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 18px 26px; border-bottom: 2px dashed var(--line); }
.board-row:last-child { border-bottom: 0; }
.board-row .lbl { font-weight: 700; color: var(--ink); }
.board-row .lbl small { display: block; font-weight: 500; color: var(--mute); font-size: 0.84rem; }
.board-row .prix { font-family: var(--disp); font-size: 1.7rem; color: var(--green); white-space: nowrap; }
.board-row .prix small { font-family: var(--body); font-weight: 700; font-size: 0.7rem; color: var(--mute); display: block; text-align: right; }
.board-foot { padding: 14px 26px; background: var(--cream-2); font-size: 0.82rem; color: var(--mute); border-top: 2px solid var(--line); }

/* Hours highlight */
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.clock-card { background: var(--ink); color: var(--cream); border-radius: var(--radius); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--yellow); padding: 34px; }
.clock-card .big { display: block; font-family: var(--disp); font-size: clamp(2.6rem, 5vw, 4rem); color: var(--yellow); line-height: 1; }
.clock-card .days { display: block; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem; color: #b9b5a4; margin-top: 10px; }
.clock-card ul { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 2px dashed #3a372c; display: grid; gap: 9px; font-size: 0.95rem; }
.clock-card ul b { color: var(--cream); }

/* Zone pills — plaque style */
.plates { display: flex; flex-wrap: wrap; gap: 12px; }
.plates a { display: inline-flex; align-items: baseline; gap: 9px; background: #fff; border: 2.5px solid var(--ink); border-radius: 8px; box-shadow: 3px 3px 0 var(--ink); padding: 9px 16px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.86rem; color: var(--ink); transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.plates a:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--green); background: var(--yellow); }
.plates a .d { font-family: var(--body); font-weight: 700; font-size: 0.72rem; color: var(--mute); text-transform: none; }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border: 2.5px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 17px 0; font-weight: 800; color: var(--ink); font-size: 1.04rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--disp); font-size: 1.5rem; color: var(--green); }
.faq details[open] summary::after { content: "−"; }
.faq .fa { padding: 0 0 18px; color: var(--mute); margin: 0; }

/* CTA band */
.cta-band { background: var(--green); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--yellow); padding: clamp(36px, 6vw, 60px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: -20px; background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.045) 0 30px, transparent 30px 60px); }
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: #a8c7b4; max-width: 540px; margin: 0 auto 28px; }
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.ft { background: var(--ink); color: #b9b5a4; padding: 60px 0 26px; }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid #33302a; }
.ft h4 { font-family: var(--disp); text-transform: uppercase; letter-spacing: 0.06em; color: var(--yellow); font-size: 0.95rem; margin: 0 0 16px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft ul a { color: #cfcaba; font-size: 0.93rem; }
.ft ul a:hover { color: var(--yellow); }
.ft p { font-size: 0.92rem; }
.ft .brand-name { color: var(--cream); }
.ft-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 22px; font-size: 0.8rem; color: #837e6a; }
.ft-bottom a { color: #837e6a; }
.ft-bottom a:hover { color: var(--yellow); }
.fline { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; color: #cfcaba; }
.fline .icon { width: 17px; height: 17px; color: var(--yellow); margin-top: 3px; }

/* Page hero subpages */
.ph { border-bottom: 2.5px solid var(--ink); background: var(--cream-2); position: relative; overflow: hidden; padding: clamp(44px, 6vw, 76px) 0; }
.ph::before { content: ""; position: absolute; top: 0; right: -6%; width: 40%; height: 100%; background: repeating-linear-gradient(-45deg, rgba(29,92,57,0.06) 0 30px, transparent 30px 60px); }
.ph .container { position: relative; }
.crumb { font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; color: var(--mute); margin-bottom: 16px; }
.crumb a { color: var(--mute); }
.crumb a:hover { color: var(--green); }
.ph h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); max-width: 20ch; }
.ph .lead { max-width: 620px; }

/* Article + side card */
.article { max-width: 1200px; margin: 0 auto; padding: clamp(48px, 6vw, 84px) clamp(20px, 4vw, 44px); display: grid; grid-template-columns: 1fr minmax(250px, 330px); gap: clamp(30px, 5vw, 70px); align-items: start; }
.prose { max-width: 680px; }
.prose h2 { margin-top: 42px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: none; padding: 0; margin: 18px 0; }
.prose ul li { padding: 11px 0 11px 34px; border-bottom: 2px dashed var(--line); position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 13px; height: 13px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); }
.prose .pfig { border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 6px 6px 0 var(--green); margin: 26px 0; }
.prose .pfig img { width: 100%; }
.scard { position: sticky; top: 96px; background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--yellow); overflow: hidden; }
.scard-h { background: var(--green); color: var(--cream); font-family: var(--disp); text-transform: uppercase; letter-spacing: 0.04em; padding: 13px 20px; border-bottom: 3px solid var(--ink); }
.scard-b { padding: 20px; }
.scard-b ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; font-size: 0.93rem; }
.scard-b ul b { display: block; font-weight: 800; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.scard .btn { width: 100%; margin-bottom: 10px; padding: 13px 18px; font-size: 0.92rem; }

/* Contact form */
.cform { background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--green); overflow: hidden; }
.cform-h { background: var(--yellow); border-bottom: 3px solid var(--ink); font-family: var(--disp); text-transform: uppercase; padding: 13px 22px; color: var(--ink); }
.cform-b { padding: 24px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgroup { margin-bottom: 16px; }
.fgroup label { display: block; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.7rem; color: var(--ink-2); margin-bottom: 7px; }
.fgroup input, .fgroup select, .fgroup textarea { width: 100%; background: var(--cream); border: 2px solid var(--ink); border-radius: 9px; padding: 12px 14px; color: var(--ink); font-family: var(--body); font-size: 0.95rem; }
.fgroup input:focus, .fgroup select:focus, .fgroup textarea:focus { outline: 3px solid var(--yellow); outline-offset: 1px; }
.fnote { font-size: 0.78rem; color: var(--mute); margin: 12px 0 0; text-align: center; }
.map-embed { border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 6px 6px 0 var(--yellow); }
.map-embed iframe { width: 100%; height: 400px; border: 0; display: block; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2){transition-delay:.07s}.reveal:nth-child(3){transition-delay:.14s}

/* Responsive */
@media (max-width: 980px) {
  section { padding: 70px 0; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 470px; margin-top: 26px; }
  .slabs { grid-template-columns: 1fr 1fr; }
  .hours { grid-template-columns: 1fr; }
  .article { grid-template-columns: 1fr; }
  .scard { position: static; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .nav { position: fixed; top: 72px; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: flex-start; padding: 22px clamp(20px,4vw,44px); border-bottom: 2.5px solid var(--ink); gap: 16px; transform: translateY(-150%); opacity: 0; transition: 0.3s ease; z-index: 99; }
  .nav.is-open { transform: translateY(0); opacity: 1; }
  .nav-toggle { display: block; }
  .hd-cta { display: none; }
}
@media (max-width: 620px) {
  .slabs, .frow, .ft-grid { grid-template-columns: 1fr; }
  .facade { left: 0; width: 150px; }
  .stk-tel { right: 0; }
  .board-row { padding: 16px 18px; }
  .board-head { padding: 16px 18px; }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #1d5c39;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 26px -10px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s ease;
  z-index: 400;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #14432a; transform: translateY(-3px); }
@media (max-width: 680px) {
  .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}
