/* Site public : en-tête, pied de page et blocs des pages (couleurs et police réglables dans Site → Apparence) */
body.front { font-family: var(--font); }
body.front h1, body.front h2, .blk-title, .brand-name { font-family: var(--font-title); }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-d); border-color: var(--primary-d); }

/* ---------- En-tête : logo, téléphone, bouton RDV, menu horizontal ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.hdr { display: flex; align-items: center; gap: 10px 14px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; color: var(--primary); text-decoration: none; min-width: 0; }
.brand-logo { height: 42px; width: auto; max-width: 160px; object-fit: contain; }
.brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mainnav { display: flex; gap: 2px; order: 2; flex: 1; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.mainnav::-webkit-scrollbar { display: none; }
.mainnav a { white-space: nowrap; padding: 8px 12px; border-radius: 99px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .93rem; }
.mainnav a:hover { background: var(--primary-l); }
.mainnav a.on { background: var(--primary-l); color: var(--primary); }
.hdr-phone { order: 3; display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 800; text-decoration: none; white-space: nowrap; padding: 6px 4px; }
.hdr-phone .ph-ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary-l); font-size: 1rem; }
.hdr-cta { order: 4; min-height: 42px; padding: 8px 16px; white-space: nowrap; }
@media (max-width: 900px) {
  .hdr { padding-top: 8px; gap: 6px 10px; }
  .brand { flex: 1; }
  .mainnav { order: 5; flex-basis: 100%; justify-content: flex-start; margin: 0 -16px; padding: 0 12px 8px; }
}
@media (max-width: 520px) {
  .brand { font-size: 1rem; }
  .brand-logo { height: 34px; }
  .hdr-phone .ph-num { font-size: .9rem; }
  .hdr-cta { min-height: 38px; padding: 6px 12px; font-size: .9rem; }
}
@media (max-width: 400px) { .hdr-phone .ph-num { display: none; } }

/* ---------- Pied de page ---------- */
.site-footer { margin-top: 0; background: #1f1f1f; color: #e9e9e9; padding: 36px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .92rem; }
body.front:not(.full) .site-footer { margin-top: 50px; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.2fr 1.2fr 1fr; } }
.foot-title { display: block; font-size: 1.05rem; margin-bottom: 8px; color: #fff; }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin: 4px 0; }
.foot-text { margin-top: 20px; color: #b3b3b3; font-size: .85rem; }
.socials a { margin-right: 12px; }
.hours { border-collapse: collapse; width: 100%; }
.hours th { text-align: left; font-weight: 600; padding: 4px 12px 4px 0; white-space: nowrap; vertical-align: top; }
.hours td { padding: 4px 0; }
.hours tr.today { font-weight: 800; }
.hours tr.today th::after { content: " •"; color: var(--accent); }
.hours tr.closed td { opacity: .6; }
.small-hours th, .small-hours td { padding: 2px 10px 2px 0; }

/* ---------- Blocs ---------- */
.site-main { min-height: 50vh; }
.page-title { background: var(--primary-l); padding: 28px 0 18px; }
.page-title h1 { margin: 0; color: var(--primary-d); }
.blk { padding: 56px 0; }
.blk + .blk.bg-default, .blk.bg-default + .blk.bg-default { padding-top: 16px; }
.blk.bg-light { background: #fff; }
.blk.bg-soft { background: var(--primary-l); }
.blk.bg-primary { background: var(--primary); color: #fff; }
.blk.bg-dark { background: #1f1f1f; color: #f2f2f2; }
.blk.bg-primary a:not(.btn), .blk.bg-dark a:not(.btn) { color: #fff; }
.blk-title { font-size: clamp(1.4rem, 3.2vw, 2rem); margin: 0 0 .6em; }
.blk-intro { max-width: 680px; margin: -6px auto 24px; color: var(--muted); font-size: 1.05rem; }
.bg-primary .blk-intro, .bg-dark .blk-intro { color: inherit; opacity: .85; }
.c-narrow { max-width: 760px; }
.blk-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.blk-buttons:empty { display: none; }
.blk-buttons.center { justify-content: center; }
.btn-big { min-height: 52px; padding: 12px 26px; font-size: 1.05rem; border-radius: 99px; }
.btn-ghost { background: rgba(255, 255, 255, .14); border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(255, 255, 255, .25); }

/* Bannière */
.blk-hero { padding: 0; }
.hero-blk { display: flex; align-items: center; background: linear-gradient(135deg, var(--primary-d), var(--primary) 55%, var(--accent)); background-size: cover; background-position: center; color: #fff; }
.hero-blk.h-small { min-height: 220px; }
.hero-blk.h-medium { min-height: 380px; }
.hero-blk.h-large { min-height: min(78vh, 680px); }
.hero-inner { padding-top: 40px; padding-bottom: 40px; }
.hero-blk.a-center { text-align: center; }
.hero-blk.a-center .blk-buttons { justify-content: center; }
.hero-blk h1 { font-size: clamp(1.9rem, 5.5vw, 3.4rem); margin: 0 0 .3em; text-shadow: 0 2px 14px rgba(0, 0, 0, .25); }
.hero-blk.h-small h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.hero-sub { font-size: clamp(1.02rem, 2.2vw, 1.3rem); max-width: 720px; opacity: .95; margin: 0 0 8px; }
.hero-blk.a-center .hero-sub { margin-left: auto; margin-right: auto; }
.hero-blk .btn-primary { background: #fff; color: var(--primary-d); border-color: #fff; }
.hero-blk .btn-primary:hover { background: var(--primary-l); }

/* Photo + texte */
.it-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 780px) {
  .it-grid.img-left, .it-grid.img-right { grid-template-columns: 1fr 1fr; }
  .it-grid.img-right .it-img { order: 2; }
}
.it-grid.no-img { max-width: 760px; }
.it-img { margin: 0; }
.it-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: 0 12px 40px rgba(0, 0, 0, .18); }

/* Cartes */
.cards-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (min-width: 900px) {
  .cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.card-blk { display: flex; flex-direction: column; background: #fff; color: var(--text); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.card-blk:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
.bg-light .card-blk { background: var(--bg); }
.card-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-ico { display: grid; place-items: center; width: 64px; height: 64px; margin: 22px 20px 0; font-size: 2rem; border-radius: 18px; background: var(--primary-l); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px 20px; flex: 1; }
.card-title { font-size: 1.12rem; }
.card-text { color: var(--muted); font-size: .95rem; flex: 1; }
.card-more { color: var(--primary); font-weight: 700; font-size: .92rem; }

/* Galerie */
.gallery-grid { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) {
  .gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.gal-item { position: relative; display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 1; background: var(--primary-l); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gal-item:hover img { transform: scale(1.05); }
.gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15, 8, 12, .94); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 8px; }
.lightbox figure { margin: 0; text-align: center; color: #fff; }
.lightbox figcaption { margin-top: 10px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Prestations */
.blk-services .service-grid { margin-top: 6px; }
.service-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.service-book { font-size: .82rem; font-weight: 700; color: var(--primary); }

/* Horaires, adresse & plan */
.contact-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 860px) { .contact-grid.with-map { grid-template-columns: 1fr 1.2fr; } }
.contact-info { background: #fff; color: var(--text); border-radius: 18px; padding: 8px 22px 20px; box-shadow: var(--shadow); }
.bg-light .contact-info { background: var(--bg); }
.contact-info h3 { margin: 18px 0 8px; font-size: 1.02rem; }
.contact-address { margin: 0; }
.contact-phone { font-size: 1.25rem; font-weight: 800; text-decoration: none; }
.contact-note { color: var(--muted); margin-top: 14px; }
.nav-apps { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-app { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--border); text-decoration: none; color: var(--text); font-weight: 600; font-size: .92rem; background: #fff; }
.nav-app::before { font-size: 1.1rem; }
.nav-waze::before { content: "🚙"; }
.nav-google::before { content: "🗺"; }
.nav-apple::before { content: "🧭"; }
.nav-geo::before { content: "📍"; }
.nav-app:hover { border-color: var(--primary); color: var(--primary); }
.btn-link { background: none; border: 0; padding: 0 4px; color: var(--primary); font: inherit; text-decoration: underline; cursor: pointer; }
.map-box { position: relative; border-radius: 18px; overflow: hidden; min-height: 360px; background: var(--primary-l) repeating-linear-gradient(45deg, rgba(255, 255, 255, .35) 0 12px, transparent 12px 24px); box-shadow: var(--shadow); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; border: 0; background: none; cursor: pointer; color: var(--primary-d); font: inherit; padding: 20px; text-align: center; }
.map-load strong { font-size: 1.1rem; background: #fff; padding: 10px 18px; border-radius: 99px; box-shadow: var(--shadow); }
.map-pin { font-size: 2.6rem; }

/* Avis */
.quotes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.quote { margin: 0; background: #fff; color: var(--text); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); position: relative; }
.quote::before { content: "“"; position: absolute; top: -6px; left: 14px; font-size: 4rem; color: var(--accent); font-family: Georgia, serif; line-height: 1; }
.quote p { margin: 14px 0 8px; font-style: italic; }
.quote cite { color: var(--muted); font-style: normal; font-weight: 600; }

/* Appel à réserver */
.cta-inner { text-align: center; }
.cta-inner h2 { font-size: clamp(1.4rem, 3.5vw, 2.1rem); margin: 0 0 .3em; }
.cta-inner p { font-size: 1.08rem; opacity: .92; margin: 0; }
.cta-inner .blk-buttons { justify-content: center; }
.bg-primary .cta-inner .btn-primary, .bg-dark .cta-inner .btn-primary { background: #fff; color: var(--primary-d); border-color: #fff; }
.bg-default .btn-ghost, .bg-light .btn-ghost, .bg-soft .btn-ghost { color: var(--primary); }

/* Ancienne présentation (pages non construites par blocs) */
body.front:not(.full) main.container { padding-top: 8px; }

/* Largeur des pages du site */
.site-header .container, .site-footer .container, .site-main .container { max-width: 1180px; }
.site-main .container.c-narrow { max-width: 760px; }
.blk-hero .btn-ghost { color: #fff; }
@media (min-width: 901px) { .mainnav { justify-content: flex-end; } }

/* Menu long : il passe sur une deuxième ligne, sous le logo et le téléphone */
.hdr-2rows .brand { flex: 1; }
.hdr-2rows .mainnav { order: 5; flex-basis: 100%; }
@media (min-width: 901px) {
  .hdr-2rows { padding-top: 6px; }
  .hdr-2rows .mainnav { justify-content: center; flex-wrap: wrap; overflow: visible; border-top: 1px solid var(--border); padding: 4px 0; }
  .hdr-2rows .mainnav a { padding: 6px 9px; font-size: .9rem; }
}

/* Logo : il contient déjà le nom du salon, le texte n'est gardé que pour les lecteurs d'écran */
.brand.has-logo .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 901px) { .brand-logo { height: 54px; max-width: 200px; } }

/* Icônes au trait */
.card-ico { color: var(--primary); border-radius: 50%; width: 58px; height: 58px; }
.card-ico .ico { width: 28px; height: 28px; }
.hdr-phone .ph-ico .ico { width: 17px; height: 17px; }
.contact-info h3 { display: flex; align-items: center; gap: 8px; }
.contact-info h3 .ico { width: 20px; height: 20px; color: var(--primary); }
.map-pin { color: var(--primary); }
.map-pin .ico { width: 44px; height: 44px; }
.site-footer .ico-inline { opacity: .8; }
