/* The Razor Club — maquette « Essentiel » BarberShop (CroisierWeb) */
:root {
  --black: #0c0c0c; --black-2: #151515; --black-3: #1e1e1e; --cream: #f5f1ea; --muted: #a8a29a; --line: rgba(245, 241, 234, .12);
  --red: #dc2626; --red-2: #ef4444; --brass: #c8a46a;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif; --body: "Instrument", system-ui, sans-serif;
  --mk-accent: var(--red); --mk-accent-fg: #fff; --mk-surface: #161616; --mk-fg: var(--cream); --mk-radius: 6px; --mk-font: var(--body);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { margin: 0; background: var(--black); color: var(--cream); font: 400 1.05rem/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; opacity: .06; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
p { margin: 0 0 1em; }
a { color: inherit; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }

/* Boutons */
.btn-primary, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 4px; font: 700 1.05rem var(--display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; }
.btn-primary { background: var(--red); color: #fff; border: 2px solid var(--red); }
.btn-primary:hover { background: transparent; color: var(--red-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--cream); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--cream); transform: translateY(-2px); }
.btn-wide { width: 100%; }

/* En-tête */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s, box-shadow .3s; }
.site-header.is-scrolled { background: rgba(12, 12, 12, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 1.7rem var(--display); letter-spacing: .06em; }
.pole { width: 20px; height: 44px; }
.pole-stripes { animation: pole 2.4s linear infinite; }
@keyframes pole { to { transform: translateY(10px); } }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.main-nav > a:not(.nav-cta) { position: relative; text-decoration: none; font: 700 1rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .4s var(--ease); }
.main-nav > a:hover, .main-nav > a[aria-current] { color: var(--cream); }
.main-nav > a:hover::after, .main-nav > a[aria-current]::after { transform: scaleX(1); }
.nav-cta { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.lang-switcher { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 4px; }
.lang-switcher a { padding: 2px 8px; text-decoration: none; font: 700 .8rem var(--display); letter-spacing: .1em; color: var(--muted); border-radius: 2px; }
.lang-switcher a.active { background: var(--cream); color: var(--black); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 4px; background: transparent; position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--cream); transition: transform .3s, top .3s; }
.nav-toggle span:first-child { top: 18px; } .nav-toggle span:last-child { top: 26px; }
.mk-nav-open .nav-toggle span { top: 22px; } .mk-nav-open .nav-toggle span:first-child { transform: rotate(45deg); } .mk-nav-open .nav-toggle span:last-child { transform: rotate(-45deg); }

/* Héros */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; background: radial-gradient(80% 70% at 80% 30%, #2a1212, var(--black) 70%); }
.hero-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; pointer-events: none; }
.hero-word { font: 900 clamp(10rem, 30vw, 26rem)/.8 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(245, 241, 234, .07); margin-right: -4vw; letter-spacing: -.02em; }
.hero-bg::after { content: ""; position: absolute; right: 9%; top: 0; bottom: 0; width: 14px; background: repeating-linear-gradient(-45deg, var(--red) 0 14px, var(--cream) 14px 28px, #1d4ed8 28px 34px, var(--cream) 34px 48px); opacity: .5; animation: stripes 3s linear infinite; background-size: 100% 200%; }
@keyframes stripes { to { background-position: 0 -68px; } }
.hero-content { position: relative; }
.hero-tag { display: inline-flex; align-items: center; gap: 12px; color: var(--brass); font: 700 1rem var(--display); letter-spacing: .25em; text-transform: uppercase; margin-bottom: 18px; }
.hero-tag::before { content: ""; width: 40px; height: 2px; background: var(--red); }
.hero-title { font-size: clamp(4.4rem, 13vw, 10.5rem); margin-bottom: 24px; }
.hero-sub { max-width: 30rem; color: var(--muted); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-badge { position: absolute; right: clamp(18px, 4vw, 40px); bottom: -40px; display: grid; justify-items: center; width: 150px; height: 150px; place-content: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(12, 12, 12, .7); backdrop-filter: blur(6px); }
.hero-badge strong { font: 800 3rem/1 var(--display); color: var(--cream); }
.hero-badge span { color: var(--brass); letter-spacing: .1em; font-size: .85rem; }
.hero-badge small { color: var(--muted); font-size: .75rem; }

.marquee { overflow: hidden; background: var(--red); padding: 16px 0; transform: rotate(-1.5deg); margin: -10px -2% 0; width: 104%; position: relative; z-index: 2; }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font: 800 1.8rem var(--display); text-transform: uppercase; letter-spacing: .06em; color: #fff; white-space: nowrap; }
.marquee i { font-style: normal; color: rgba(255, 255, 255, .7); font-size: 1.3rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Tarifs */
.tarifs-section { padding: clamp(90px, 12vw, 150px) 0; }
.tarifs-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.section-title { font-size: clamp(3rem, 7vw, 5.5rem); margin-bottom: 16px; }
.tarifs-head p, .section-head p { color: var(--muted); max-width: 26rem; }
.tarifs-head .btn-ghost { margin-top: 10px; }
.tarifs-list { list-style: none; margin: 0; padding: 0; }
.tarif-item { display: flex; align-items: baseline; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), color .3s; }
.tarif-item:hover { padding-left: 12px; }
.tarif-name { font: 700 1.7rem var(--display); text-transform: uppercase; letter-spacing: .03em; }
.tarif-dots { flex: 1; border-bottom: 2px dotted rgba(245, 241, 234, .2); transform: translateY(-6px); }
.tarif-dur { color: var(--muted); font-size: .9rem; }
.tarif-price { font: 800 1.9rem var(--display); color: var(--red-2); min-width: 92px; text-align: right; }

/* Expérience */
.exp-section { padding: clamp(80px, 10vw, 130px) 0; background: var(--cream); color: var(--black); }
.exp-section .section-head p { color: #5b5650; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 50px; }
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(12, 12, 12, .15); border: 2px solid rgba(12, 12, 12, .15); }
.exp-card { padding: 40px 32px; background: var(--cream); transition: background .4s, color .4s; }
.exp-card:hover { background: var(--black); color: var(--cream); }
.exp-n { display: block; font: 800 3.4rem var(--display); color: var(--red); margin-bottom: 30px; }
.exp-card h3 { font-size: 2rem; margin-bottom: 10px; }
.exp-card p { margin: 0; opacity: .75; }

/* Équipe */
.team-section { padding: clamp(80px, 10vw, 130px) 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.barber-pic { aspect-ratio: 4 / 5; display: grid; place-items: center; margin-bottom: 18px; border-radius: 4px; overflow: hidden; background: linear-gradient(160deg, var(--black-3), #2a1212); position: relative; }
.barber-pic::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--line); }
.barber-pic span { font: 900 6rem var(--display); color: transparent; -webkit-text-stroke: 1.5px rgba(245, 241, 234, .35); transition: color .4s, -webkit-text-stroke-color .4s; }
.barber:hover .barber-pic span { color: var(--red); -webkit-text-stroke-color: var(--red); }
.barber h3 { font-size: 2rem; }
.barber p { color: var(--muted); }

.review-section { padding: clamp(60px, 8vw, 100px) 0; border-block: 1px solid var(--line); text-align: center; }
.review-section blockquote { margin: 0 auto; max-width: 900px; }
.review-section p { font: 700 clamp(1.8rem, 4vw, 3rem)/1.1 var(--display); text-transform: uppercase; }
.review-section footer { color: var(--brass); letter-spacing: .1em; }

.cta-section { padding: clamp(90px, 12vw, 150px) 0; text-align: center; background: linear-gradient(rgba(12, 12, 12, .7), rgba(12, 12, 12, .9)), repeating-linear-gradient(-45deg, #2a1212 0 30px, var(--black) 30px 60px); }
.cta-inner h2 { font-size: clamp(3rem, 8vw, 6.5rem); margin-bottom: 14px; }
.cta-inner p { color: var(--muted); margin-bottom: 30px; }

/* Pages intérieures */
.page-hero { padding: 170px 0 70px; background: radial-gradient(70% 90% at 90% 0%, #2a1212, var(--black) 70%); border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(3.6rem, 10vw, 8rem); margin-bottom: 14px; }
.page-sub { color: var(--muted); max-width: 36rem; font-size: 1.1rem; }
.srv-section { padding: 70px 0 110px; }
.srv-cat { margin-bottom: 56px; }
.srv-cat-title { font-size: 2.4rem; color: var(--brass); margin-bottom: 20px; }
.srv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.srv-card { padding: 28px; border: 1px solid var(--line); border-radius: 4px; background: var(--black-2); transition: border-color .3s, transform .4s var(--ease); }
.srv-card:hover { border-color: var(--red); transform: translateY(-4px); }
.srv-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.srv-card h3 { font-size: 1.7rem; }
.srv-price { font: 800 1.6rem var(--display); color: var(--red-2); white-space: nowrap; }
.srv-card p { color: var(--muted); }
.srv-dur { font-size: .85rem; color: var(--brass); }
.gift { padding: 18px 22px; border: 1px dashed var(--brass); color: var(--brass); border-radius: 4px; }
.tarifs-cta { margin-top: 30px; }

.contact-section { padding: 70px 0 110px; }
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: start; }
.contact-form { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); background: var(--black-2); border-radius: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font: 700 .95rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form-group input, .form-group select { width: 100%; padding: 14px 16px; border-radius: 4px; border: 1px solid var(--line); background: var(--black); color: var(--cream); font: 400 1rem var(--body); transition: border-color .2s; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--red); }
.contact-info h2 { font-size: 2rem; margin: 0 0 14px; }
.hours-list { list-style: none; padding: 0; margin: 0 0 36px; }
.hours-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours-list .closed { color: var(--muted); }
.address-block p { color: var(--muted); }
.address-block a:not(.btn-ghost) { color: var(--cream); }
.legal-main { padding-top: 90px; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); background: #080808; color: var(--muted); font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-top: 50px; padding-bottom: 30px; }
.brand-text { display: block; font: 800 1.8rem var(--display); letter-spacing: .06em; color: var(--cream); margin-bottom: 10px; }
.footer-h { font: 700 1rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); }
.footer-nav { display: grid; gap: 8px; align-content: start; }
.footer-nav a, .site-footer a { text-decoration: none; }
.footer-nav a:hover { color: var(--red-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 30px; border-top: 1px solid var(--line); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.mk-err { color: #f87171; }
.mk-ko { background: #2a1212; color: #fecaca; border-color: #7f1d1d; }
.mk-ok { background: #0f2a1a; color: #bbf7d0; border-color: #166534; }
