/* BARBER 66 — maquette Devanture (privée) */
:root {
  --bg: #f5ede0;
  --bg-soft: #fbf6ee;
  --card: #fffdf9;
  --ink: #221a15;
  --ink-soft: #4a3c33;
  --muted: #7d6b5e;
  --line: #e6d9c6;
  --teal: #1d5559;
  --teal-dark: #133c3f;
  --teal-soft: #dcebea;
  --red: #9b2226;
  --red-dark: #7a1a1d;
  --gold: #c89b4a;
  --wood: #8a5a33;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 10px 28px rgba(34, 26, 21, .10);
  --shadow-sm: 0 4px 14px rgba(34, 26, 21, .06);
  --max: 960px;
  --serif: "Rockwell", "Roboto Slab", "Georgia", "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, Ubuntu, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink);
  background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { width: min(100% - 1.5rem, var(--max)); margin-inline: auto; }
.todo {
  display: inline-block; background: #fff3bf; color: #7a5b00;
  border: 1px dashed #d9a400; border-radius: 6px;
  padding: 0 .35rem; font-size: .78em; font-weight: 700; font-style: normal;
}

/* Barre du haut */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(19, 60, 63, .96); color: #f5ede0;
  border-bottom: 3px solid var(--red);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .55rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; min-width: 0; }
.mark {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%;
  background: var(--card); color: var(--teal-dark);
  border: 2px solid var(--gold);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 800; font-size: 1rem;
}
.mark-logo { width: 46px; height: auto; flex: 0 0 auto; display: block; }
.brand strong { display: block; font-family: var(--serif); font-size: 1rem; letter-spacing: .06em; }
.brand small { display: block; font-size: .7rem; color: #cfe0de; }
.top-call {
  display: inline-flex; align-items: center; gap: .3rem;
  background: var(--red); color: #fff; text-decoration: none;
  font-weight: 750; font-size: .85rem; padding: .55rem .9rem; border-radius: 999px;
}
.top-call svg, .btn svg { width: 16px; height: 16px; fill: currentColor; flex: 0 0 auto; }

/* Poteau de barbier décoratif */
.pole {
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 12px, #fff 12px 24px, var(--teal) 24px 36px, #fff 36px 48px);
}

/* Séparateur barber pole (entre sections) */
.pole-sep {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  width: min(100% - 3rem, 560px); margin: 0 auto; padding: .9rem 0;
}
.pole-sep::before, .pole-sep::after {
  content: ""; flex: 1; height: 7px; box-sizing: border-box;
  border-top: 2px solid var(--gold); border-bottom: 1px solid var(--gold); opacity: .85;
}
.pole-sep img { width: 24px; height: auto; flex: 0 0 auto; }

/* Hero */
.hero { background: var(--teal-dark); color: #f5ede0; padding-bottom: 1.4rem; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(19,60,63,.95) 100%);
}
.hero-body { position: relative; margin-top: -3.2rem; z-index: 2; }
.kicker {
  display: inline-block; font-size: .72rem; font-weight: 750; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .3rem;
}
h1 {
  margin: 0; font-family: var(--serif); font-weight: 800;
  font-size: clamp(2.3rem, 11vw, 3.6rem); line-height: 1; letter-spacing: .04em;
}
.subtitle { margin: .35rem 0 .8rem; font-size: 1.12rem; font-weight: 600; color: #e8dccb; }
.rating {
  display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: .38rem .85rem; font-size: .9rem; margin-bottom: 1rem;
}
.rating .stars { color: var(--gold); letter-spacing: .08em; }
.rating b { font-size: 1rem; }
.hero-actions { display: grid; gap: .6rem; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  text-decoration: none; font-weight: 800; border-radius: 14px;
  padding: 1rem 1.1rem; font-size: 1.05rem; text-align: center;
}
.btn-book { background: var(--red); color: #fff; box-shadow: 0 10px 22px rgba(155,34,38,.35); font-size: 1.15rem; padding: 1.1rem; }
.btn-book:hover { background: var(--red-dark); }
.btn-call { background: var(--card); color: var(--teal-dark); border: 2px solid var(--gold); }
.btn-call:hover { background: #fff; }
.btn-note { margin: .55rem 0 0; font-size: .76rem; color: #b9cfcc; text-align: center; }
.hero-text-col { max-width: 36rem; }

/* Logo BARBER 66 dans le hero */
.hero-brand { display: flex; align-items: center; gap: .9rem; margin-bottom: .2rem; }
.hero-logo {
  width: 116px; height: auto; flex: 0 0 auto;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.45));
}
.hero-brand-text { min-width: 0; }
.hero-brand h1 { font-size: clamp(1.8rem, 8.4vw, 3.6rem); white-space: nowrap; }

@media (min-width: 820px) {
  .hero { padding: 2rem 0; }
  .hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: center; }
  .hero-media img { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); border: 3px solid var(--gold); }
  .hero-media::after { display: none; }
  .hero-body { margin-top: 0; order: -1; width: auto; padding-left: 1rem; }
  .hero-actions { grid-template-columns: 1fr; max-width: 26rem; }
  .btn-note { text-align: left; }
  .hero-brand { flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: 1.6rem; }
  .hero-logo { width: 210px; }
}

/* Sections */
section { padding: 2rem 0; }
.section-title {
  margin: 0 0 .25rem; font-family: var(--serif); font-size: 1.55rem;
  letter-spacing: .02em; color: var(--teal-dark);
}
.section-title::after {
  content: ""; display: block; width: 56px; height: 4px; margin-top: .35rem;
  background: linear-gradient(90deg, var(--red) 0 33%, #fff 33% 66%, var(--teal) 66%);
  border-radius: 2px;
}
.section-sub { margin: .5rem 0 1.1rem; color: var(--muted); font-size: .95rem; }
.alt { background: var(--bg-soft); border-block: 1px solid var(--line); }

/* Présentation */
.about-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .about-grid { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.about p { margin: 0 0 .8rem; color: var(--ink-soft); }
.karine-mot { margin: 1.1rem 0 1rem; padding: 1rem 1rem .4rem; background: var(--bg-soft); border-left: 4px solid var(--gold); border-radius: 12px; }
.karine-mot h3 { margin: 0 0 .5rem; font-family: var(--serif); font-size: 1.15rem; color: var(--teal-dark); }
.karine-mot .karine-accroche { font-size: 1.05rem; color: var(--teal-dark); }
.karine-mot .karine-signature { font-style: italic; color: var(--teal-dark); }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 3px solid var(--card); }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.team { display: flex; flex-wrap: wrap; gap: .45rem; margin: .4rem 0 .9rem; padding: 0; list-style: none; }
.team li {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: .28rem .75rem .28rem .3rem; font-weight: 650; font-size: .88rem;
}
.team li span {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal); color: #fff; font-size: .75rem; font-weight: 800;
}
.team li.lead span { background: var(--red); }
.perks { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.perks li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .35rem; font-size: .93rem; color: var(--ink-soft); }
.perks li::before { content: "✂"; color: var(--red); font-weight: 800; }

/* Prestations */
.cat { margin-bottom: 1.1rem; }
.cat h3 {
  margin: 0 0 .5rem; font-family: var(--serif); font-size: 1.12rem; color: var(--red);
  display: flex; align-items: center; gap: .5rem;
}
.cat h3 small { font-family: var(--sans); font-size: .75rem; color: var(--muted); font-weight: 600; }
.price-list {
  list-style: none; margin: 0; padding: 0; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.price-list li {
  display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem;
  padding: .75rem .95rem; border-bottom: 1px dashed var(--line);
}
.price-list li:last-child { border-bottom: 0; }
.price-list .label { font-weight: 650; font-size: .95rem; }
.price-list .hint { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; margin-top: -.1rem; }
.price-list .amount { text-align: right; white-space: nowrap; }
.price-list .amount b { display: block; color: var(--teal-dark); font-size: 1rem; font-variant-numeric: tabular-nums; }
.price-list .amount small { color: var(--muted); font-size: .76rem; }
.cats-grid { display: grid; gap: 0 1.2rem; }
@media (min-width: 820px) { .cats-grid { grid-template-columns: 1fr 1fr; } }
.more { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .2rem .95rem; margin-top: .4rem; }
.more summary { cursor: pointer; font-weight: 750; color: var(--teal-dark); padding: .7rem 0; }
.more[open] summary { border-bottom: 1px solid var(--line); margin-bottom: .8rem; }
.prices-note { font-size: .78rem; color: var(--muted); margin: .7rem 0 0; font-style: italic; }
.center-cta { margin-top: 1.1rem; }
@media (min-width: 820px) { .center-cta .btn { max-width: 380px; margin-inline: auto; } }

/* Galerie */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: #ddd; position: relative; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery .wide { grid-column: span 2; }
.gallery .wide img { aspect-ratio: 16 / 9; }
.gallery figcaption {
  position: absolute; left: .4rem; bottom: .4rem; background: rgba(19,60,63,.85); color: #fff;
  font-size: .68rem; font-weight: 650; padding: .15rem .5rem; border-radius: 999px;
}
@media (min-width: 820px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: .7rem; }
  .gallery .wide { grid-column: auto; }
  .gallery img, .gallery .wide img { aspect-ratio: 4 / 3; }
}

/* Avis */
.reviews-head { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.big-score {
  background: var(--teal-dark); color: #fff; border-radius: var(--radius); padding: .7rem 1rem; text-align: center;
}
.big-score b { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1; }
.big-score .stars { color: var(--gold); font-size: .9rem; }
.score-detail { font-size: .85rem; color: var(--ink-soft); }
.reviews { display: grid; gap: .65rem; }
@media (min-width: 640px) { .reviews { grid-template-columns: 1fr 1fr; } }
.review {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: var(--radius); padding: .9rem 1rem; box-shadow: var(--shadow-sm); margin: 0;
}
.review .stars { color: var(--gold); letter-spacing: .06em; font-size: .9rem; }
.review p { margin: .3rem 0 .45rem; color: var(--ink-soft); font-size: .95rem; }
.review footer { color: var(--muted); font-size: .76rem; }
.reviews-link { margin: .9rem 0 0; font-size: .88rem; }

/* Infos pratiques */
.info-grid { display: grid; gap: .8rem; }
@media (min-width: 760px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow-sm); }
.info-card h3 { margin: 0 0 .6rem; font-family: var(--serif); color: var(--teal-dark); font-size: 1.15rem; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: .42rem 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; }
.hours tr.closed td:last-child { color: var(--muted); font-weight: 500; }
.info-card address { font-style: normal; font-size: 1rem; margin-bottom: .7rem; }
.info-links { display: grid; gap: .5rem; }
.link-btn {
  display: flex; align-items: center; gap: .5rem; text-decoration: none;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
  padding: .7rem .85rem; color: var(--teal-dark); font-weight: 700; font-size: .93rem;
}
.link-btn:hover { border-color: var(--teal); }
.link-btn svg { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; }
.link-btn svg.fb-logo, .link-btn svg.ig-logo { width: 22px; height: 22px; margin: 0 -2px; }
.small-note { font-size: .78rem; color: var(--muted); margin: .6rem 0 0; }

/* CTA final */
.cta {
  background: linear-gradient(150deg, var(--teal-dark), var(--teal)); color: #fff;
  border-radius: var(--radius-lg); padding: 1.5rem 1.1rem; text-align: center; box-shadow: var(--shadow);
  border: 3px solid var(--gold);
}
.cta h2 { margin: 0 0 .35rem; font-family: var(--serif); font-size: 1.45rem; }
.cta p { margin: 0 0 1rem; color: #d4e5e3; }
.cta .btn { max-width: 380px; margin: 0 auto .55rem; }

/* Pied de page */
.site-footer { padding: 1.4rem 0 6rem; text-align: center; color: var(--muted); font-size: .78rem; }
.footer-logo { width: 72px; height: auto; margin: 0 auto .6rem; }
.site-footer strong { color: var(--ink-soft); }
.credit { margin-top: .5rem; font-size: .74rem; }
.credit a { font-weight: 700; text-decoration: none; }
.legal { max-width: 560px; margin: .8rem auto 0; text-align: left; font-size: .74rem; }
.legal summary { cursor: pointer; text-align: center; font-weight: 650; color: var(--ink-soft); }
.legal p { margin: .5rem 0 0; line-height: 1.5; }

/* Barre d'actions mobile */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: .5rem;
  padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(19, 60, 63, .96); border-top: 3px solid var(--red);
}
.dock a { flex: 1; text-align: center; text-decoration: none; font-weight: 800; padding: .85rem .4rem; border-radius: 12px; font-size: .95rem; }
.dock .book { background: var(--red); color: #fff; flex: 1.5; }
.dock .call { background: var(--card); color: var(--teal-dark); }
@media (min-width: 860px) { .dock { display: none; } .site-footer { padding-bottom: 1.8rem; } }
@media print { .dock { display: none !important; } }
