/* Salon Ouazzani, Agdal Rabat
   Kit: noir #0D0D0F, creme #F5F5F5, or #D4AF37, rouge #C8102E, bleu #1E3A8A
   Bebas Neue = titres + nav, Montserrat = sous-titres + corps */

:root {
  --noir: #0D0D0F;
  --noir-2: #08080A;
  --charbon: #141417;
  --charbon-2: #1B1B1F;
  --creme: #F5F5F5;
  --creme-2: #E4E1DA;
  --or: #D4AF37;
  --or-fonce: #8A6F1E;
  --rouge: #C8102E;
  --bleu: #1E3A8A;
  --gris: #8E8A84;
  --gris-clair: #B5B0A8;

  --display: "Bebas Neue", "Haettenschweiler", "Arial Narrow", sans-serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --ease: cubic-bezier(.22,.68,.24,1);
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--noir);
  color: var(--creme-2);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.72;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: .95;
  margin: 0;
  color: var(--creme);
  text-transform: uppercase;
}
h1 { font-size: clamp(3.1rem, 8.2vw, 6.2rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
h4 { font-size: 1.15rem; letter-spacing: .06em; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 400;
  background: var(--or); color: var(--noir);
  padding: 12px 20px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- barber pole rule (kit motif 06) ---------- */
.pole-rule {
  height: 4px; border: 0; margin: 0;
  background: repeating-linear-gradient(
    115deg,
    var(--rouge) 0 12px,
    #F5F5F5 12px 24px,
    var(--bleu) 24px 36px,
    #F5F5F5 36px 48px);
}
.pole-rule.thin { height: 3px; }

/* ---------- ornaments ---------- */
.orn {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-bottom: 20px; color: var(--or);
}
.orn::before, .orn::after {
  content: ""; height: 1px; width: 54px;
  background: linear-gradient(90deg, transparent, var(--or));
}
.orn::after { background: linear-gradient(270deg, transparent, var(--or)); }
.orn svg { width: 30px; height: 30px; flex: none; }

.eyebrow {
  display: block;
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--or); margin-bottom: 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; white-space: nowrap;
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: 16px 32px; border: 1px solid transparent; cursor: pointer;
  transition: background .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease);
}
.btn-primary { background: var(--or); color: var(--noir); border-color: var(--or); }
.btn-primary:hover { background: #E7C558; border-color: #E7C558; }
.btn-ghost { background: transparent; color: var(--creme); border-color: rgba(245,245,245,.34); }
.btn-ghost:hover { border-color: var(--or); color: var(--or); }
.btn-dark { background: transparent; color: var(--noir); border-color: rgba(13,13,15,.3); }
.btn-dark:hover { background: var(--noir); color: var(--creme); border-color: var(--noir); }

.btn-underline {
  display: inline-block; text-decoration: none;
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--or);
  padding-bottom: 6px; border-bottom: 1px solid rgba(212,175,55,.42);
  transition: border-color .28s var(--ease);
}
.btn-underline:hover { border-bottom-color: var(--or); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: var(--header-h);
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(8,8,10,.82), rgba(8,8,10,0));
  transition: background .3s var(--ease), height .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  height: 80px;
  background: rgba(8,8,10,.96);
  border-bottom-color: rgba(212,175,55,.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px; width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; justify-self: start; }
.brand img {
  height: 70px; width: auto;
  transition: height .3s var(--ease);
}
.site-header.scrolled .brand img { height: 58px; }

.nav-center { display: flex; align-items: center; gap: 30px; justify-self: center; }
.nav-link {
  font-family: var(--display); font-size: 1.06rem; letter-spacing: .09em;
  text-transform: uppercase; text-decoration: none; color: var(--creme);
  position: relative; padding-bottom: 4px; transition: color .25s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--or); transition: width .28s var(--ease);
}
.nav-link:hover { color: var(--or); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--or); }
.nav-cta { justify-self: end; padding: 13px 26px; }

.nav-toggle {
  display: none; position: relative; z-index: 260;
  width: 46px; height: 40px; padding: 9px 8px;
  background: transparent; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; background: var(--creme);
  margin: 5px 0; transition: transform .3s var(--ease), opacity .2s var(--ease);
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu: sibling of the header, viewport units, header lifted above it when open */
.mobile-menu {
  position: fixed; top: 0; left: 0; z-index: 250;
  width: 100vw; height: 100svh; min-height: 100dvh;
  background: var(--noir-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; padding: 92px 24px 40px;
  transform: translateY(-100%); transition: transform .42s var(--ease);
  overflow-y: auto;
}
body.nav-open .mobile-menu { transform: translateY(0); }
body.nav-open { overflow: hidden; }
body.nav-open .site-header { z-index: 260; background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.mobile-menu img { height: 96px; width: auto; margin-bottom: 6px; }
.mobile-menu .nav-link { font-size: 1.6rem; }
.mobile-menu .btn { margin-top: 12px; }

/* ---------- sections ---------- */
.section { padding: 104px 0; background: var(--noir); }
.section.charbon { background: var(--charbon); }
.section.light { background: var(--creme); color: #33302B; }
.section.light h2, .section.light h3 { color: var(--noir); }
.section.light .eyebrow { color: var(--or-fonce); }
.section.light .orn { color: var(--or-fonce); }
.section.light .orn::before { background: linear-gradient(90deg, transparent, var(--or-fonce)); }
.section.light .orn::after  { background: linear-gradient(270deg, transparent, var(--or-fonce)); }
.section.light .btn-underline { color: var(--or-fonce); border-bottom-color: rgba(138,111,30,.4); }

.sec-head { text-align: center; max-width: 680px; margin: 0 auto 62px; padding-inline: 24px; }
.sec-head p { color: var(--gris-clair); margin-top: 18px; }
.section.light .sec-head p { color: #66625B; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; place-items: center; text-align: center;
  padding: calc(var(--header-h) + 72px) 0 96px;
  background: var(--noir);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg picture { position: absolute; inset: 0; display: block; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%;
  animation: kb 34s ease-in-out infinite alternate;
}
@media (max-width: 860px) {
  .hero-bg img { object-position: 50% 46%; }
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(115% 88% at 50% 46%, rgba(8,8,10,.10) 0%, rgba(8,8,10,.52) 60%, rgba(8,8,10,.86) 100%),
    linear-gradient(180deg, rgba(8,8,10,.58) 0%, rgba(8,8,10,.12) 34%, rgba(8,8,10,.82) 100%);
}
.hero-inner { position: relative; z-index: 1; width: min(880px, calc(100% - 48px)); }
.hero h1 { color: var(--creme); }
.hero-sub {
  font-size: 1.06rem; color: var(--creme-2);
  margin: 28px auto 0; max-width: 36rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; justify-content: center; }
@keyframes kb {
  from { transform: scale(1.03) translate3d(0,0,0); }
  to   { transform: scale(1.12) translate3d(0,-1.2%,0); }
}

/* ---------- horaires panel (kit panel 08) ---------- */
.horaires-band { background: var(--charbon); padding: 76px 0; text-align: center; }
.horaires-band .label {
  font-size: .74rem; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gris-clair); margin-bottom: 12px;
}
.horaires-band .hours {
  margin: 0;
  font-family: var(--display); font-size: clamp(3.4rem, 10vw, 7rem);
  line-height: .9; color: var(--or); letter-spacing: .03em;
  font-variant-numeric: tabular-nums;
}
.horaires-band .orn { margin: 26px 0 22px; }
.horaires-band .slogan {
  margin: 0; font-size: .78rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--creme-2);
}

/* ---------- deux univers ---------- */
.univers { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.univers-col { position: relative; background: var(--charbon); }
.univers-col.alt { background: var(--charbon-2); }
.univers-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.univers-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.univers-col:hover .univers-media img { transform: scale(1.05); }
.univers-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,15,0) 45%, rgba(13,13,15,.9) 100%);
}
.univers-body { padding: 44px clamp(26px, 3.6vw, 52px) 52px; }
.univers-body h3 { margin-bottom: 8px; }
.univers-body > p { color: var(--gris-clair); margin-bottom: 26px; }
.univers-list { list-style: none; margin: 0; padding: 0; }
.univers-list li {
  display: flex; align-items: center; gap: 15px;
  padding: 15px 0; border-top: 1px solid rgba(212,175,55,.16);
  font-size: .95rem; color: var(--creme-2);
}
.univers-list li:last-child { border-bottom: 1px solid rgba(212,175,55,.16); }
.univers-list svg { width: 26px; height: 26px; flex: none; color: var(--or); }

/* ---------- equipe ---------- */
.equipe-inner { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.equipe-names { display: flex; flex-wrap: wrap; gap: 10px 0; }
.equipe-names span {
  font-family: var(--display); font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.1; letter-spacing: .03em; color: var(--noir);
}
.equipe-names { gap: 6px 40px; }

/* ---------- reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.review {
  background: var(--charbon); padding: 40px 34px 38px;
  display: flex; flex-direction: column;
}
.review .rq {
  font-family: var(--display); font-size: 3.2rem; line-height: .6;
  color: var(--or); margin-bottom: 20px; display: block;
}
.review p { font-size: .95rem; color: var(--creme-2); flex: 1; }
.review .rname {
  margin-top: 22px; font-size: .74rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--or);
}

/* ---------- cta band ---------- */
.cta-band { position: relative; padding: 116px 0; text-align: center; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,10,.82), rgba(8,8,10,.93));
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 34px; }

/* ---------- page banner ---------- */
.page-banner {
  position: relative; padding: calc(var(--header-h) + 92px) 0 84px;
  overflow: hidden; text-align: center;
}
.pb-bg { position: absolute; inset: 0; }
.pb-bg img { width: 100%; height: 100%; object-fit: cover; }
.pb-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,10,.86), rgba(8,8,10,.78));
}
.page-banner .wrap { position: relative; z-index: 1; }
.page-banner h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
.breadcrumb {
  margin-top: 18px; font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gris-clair);
}
.breadcrumb a { text-decoration: none; color: var(--gris-clair); transition: color .25s var(--ease); }
.breadcrumb a:hover { color: var(--or); }
.breadcrumb .sep { margin: 0 10px; color: var(--or); }
.breadcrumb .cur { color: var(--or); }

/* ---------- services list ---------- */
.svc-list { display: grid; gap: 2px; }
.svc-row {
  display: grid; grid-template-columns: 76px 1fr; gap: 26px;
  align-items: start; background: var(--charbon);
  padding: 34px clamp(24px, 3vw, 44px);
}
.svc-row .ico {
  width: 62px; height: 62px; display: grid; place-items: center;
  border: 1px solid rgba(212,175,55,.3); color: var(--or);
}
.svc-row .ico svg { width: 30px; height: 30px; }
.svc-row h3 { margin-bottom: 8px; }
.svc-row p { color: var(--gris-clair); font-size: .95rem; }

/* ---------- tarifs ---------- */
.price-group { margin-bottom: 62px; }
.price-group:last-child { margin-bottom: 0; }
.price-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.price-head svg { width: 30px; height: 30px; color: var(--or); flex: none; }
.price-head h3 { margin: 0; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-item {
  display: flex; align-items: baseline; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid rgba(212,175,55,.14);
}
.pname { font-size: .98rem; color: var(--creme-2); }
.pdot { flex: 1; border-bottom: 1px dotted rgba(212,175,55,.34); transform: translateY(-4px); }
.pprice {
  font-family: var(--display); font-size: 1.5rem; letter-spacing: .04em;
  color: var(--or); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.price-note {
  margin-top: 44px; padding: 22px 26px;
  border: 1px solid rgba(212,175,55,.26); background: rgba(212,175,55,.05);
  font-size: .88rem; color: var(--gris-clair); text-align: center;
}

/* ---------- split blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; height: auto; }
.split-media .frame {
  position: absolute; inset: 16px; border: 1px solid rgba(212,175,55,.42);
  pointer-events: none;
}
.split-text p { color: var(--gris-clair); }
.section.light .split-text p { color: #5E5A54; }
.split-text .btn-underline { margin-top: 10px; }

/* ---------- en bref ---------- */
.bref { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.bref-item { background: var(--charbon); padding: 40px 28px; text-align: center; }
.bref-item svg { width: 34px; height: 34px; color: var(--or); margin: 0 auto 18px; }
.bref-item h4 { margin-bottom: 10px; color: var(--creme); }
.bref-item p { font-size: .9rem; color: var(--gris-clair); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 70px); align-items: stretch; }
.ci-item { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid rgba(212,175,55,.16); }
.ci-item:first-child { padding-top: 0; }
.ci-ico { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(212,175,55,.3); color: var(--or); }
.ci-ico svg { width: 24px; height: 24px; }
.ci-item h4 { margin-bottom: 6px; color: var(--creme); }
.ci-item p, .ci-item a { font-size: .95rem; color: var(--gris-clair); text-decoration: none; }
.ci-item a:hover { color: var(--or); }
.ci-line { display: block; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.map-frame { position: relative; min-height: 560px; }
.map-frame iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.45) contrast(1.06) brightness(.82); }
.map-frame .frame { position: absolute; inset: 14px; border: 1px solid rgba(212,175,55,.4); pointer-events: none; }

.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-row {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 11px 0; border-bottom: 1px solid rgba(212,175,55,.14);
  font-size: .92rem;
}
.hours-row .d { color: var(--creme-2); }
.hours-row .t { color: var(--or); font-variant-numeric: tabular-nums; }

/* ---------- footer ---------- */
.site-footer { background: var(--noir-2); padding: 78px 0 0; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: clamp(34px, 5vw, 66px); padding-bottom: 56px;
}
.footer-logo { height: 104px; width: auto; margin-bottom: 22px; }
.footer-blurb { font-size: .9rem; color: var(--gris); max-width: 30rem; }
.footer-phone {
  display: inline-block; margin-top: 16px; text-decoration: none;
  font-family: var(--display); font-size: 1.9rem; letter-spacing: .05em;
  color: var(--or); font-variant-numeric: tabular-nums;
}
.footer-phone.sec { font-size: 1.35rem; color: var(--creme-2); margin-top: 6px; display: block; }
.footer-col h4 { color: var(--creme); margin-bottom: 20px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { text-decoration: none; font-size: .9rem; color: var(--gris); transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--or); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  padding: 24px 0 30px; border-top: 1px solid rgba(245,245,245,.08);
  font-size: .76rem; color: var(--gris);
}
.credit {
  text-decoration: none; text-transform: uppercase; letter-spacing: .16em;
  font-size: .7rem; font-weight: 600; color: var(--gris);
  transition: color .25s var(--ease);
}
.credit:hover { color: var(--or); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: .09s; }
.stagger.in > *:nth-child(3) { transition-delay: .18s; }
.stagger.in > *:nth-child(4) { transition-delay: .27s; }
.stagger.in > *:nth-child(5) { transition-delay: .36s; }
.stagger.in > *:nth-child(6) { transition-delay: .45s; }

/* ---------- breakpoints ---------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .univers { grid-template-columns: 1fr; }
  .equipe-inner, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .bref { grid-template-columns: repeat(2, 1fr); }
  .map-frame { min-height: 420px; }
}

@media (max-width: 860px) {
  .nav-center, .nav-cta { display: none; }
  .nav-toggle { display: block; justify-self: end; grid-column: 3; }
  .header-inner { grid-template-columns: 1fr auto; }
  .section { padding: 78px 0; }
  .sec-head { margin-bottom: 46px; }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .reviews-grid { grid-template-columns: 1fr; }
  .bref { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .svc-row { grid-template-columns: 1fr; gap: 18px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .equipe-names span { padding: 0 14px; }
  .horaires-band { padding: 58px 0; }
  .cta-band, .page-banner { padding-top: calc(var(--header-h) + 62px); }
  .cta-band { padding: 84px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .reveal, .stagger > * { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}
