/* Hammam Republique - habillage noir/dore, zooms photos, avis — 2026-10-22 */
/* ---- En-tete noir & dore ---- */
.header.header--fixed,
.header .header__content{background-color:#0d0907;border-bottom:1px solid rgba(201,162,77,.35);}
.header .nav__a,.header .nav__text,.header .header__account__a,.header .header__blog__a,.header .header__cart__a,.header .header__triggerSearch{color:#e6d3a8;}
.header .nav__a:hover .nav__text{color:#c9a24d;}
.header .nav__barAnimation{background-color:#c9a24d;}
.header .header__nav__icon__span{background-color:#c9a24d;}
.header .header__logo__a__img{max-height:72px;width:auto;}
@media (max-width:1023px){.header .header__logo__a__img{max-height:46px;}}

/* ---- Accroches ---- */
.hr-kicker{display:inline-block;color:#c9a24d;letter-spacing:.28em;text-transform:uppercase;font-size:.78rem;padding-bottom:.6rem;border-bottom:1px solid rgba(201,162,77,.5);}
.hr-intro h2,.hr-section-title h2{color:#e6c77d;}

/* ---- Hero ---- */
.hr-hero .wizi-txt__background{background:rgba(13,9,7,.72)!important;border:1px solid rgba(201,162,77,.45);backdrop-filter:blur(2px);}
.hr-hero h1{color:#e6c77d;letter-spacing:.12em;}
.hr-hero .wizi-txt__background{animation:hrFadeUp 1.2s ease-out both;}
@keyframes hrFadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}

/* ---- Effets zoom sur les photos ---- */
.hr-zoom .wizi-img,.hr-zoom .wizi-img__content,.hr-gallery .wizi-img__content{overflow:hidden;position:relative;}
.hr-zoom img.wizi-img__item{transition:transform 1.4s cubic-bezier(.2,.7,.2,1),filter 1.4s ease;will-change:transform;}
.hr-gallery .wizi-img__content::after{content:"";position:absolute;inset:10px;border:1px solid rgba(201,162,77,0);transition:border-color .6s ease,inset .6s ease;pointer-events:none;}
@media (hover:hover) and (pointer:fine){
 .hr-zoom .wizi-img:hover img.wizi-img__item,
 .hr-zoom .wizi-img__content:hover img.wizi-img__item{transform:scale(1.08);filter:brightness(1.06);}
 .hr-gallery .wizi-img__content:hover::after{border-color:rgba(201,162,77,.8);inset:16px;}
}
/* Tablette & telephone : zoom doux declenche au defilement */
@media (hover:none),(max-width:1023px){
 @supports (animation-timeline: view()){
  .hr-zoom img.wizi-img__item{animation:hrZoomIn linear both;animation-timeline:view();animation-range:entry 0% cover 45%;}
 }
 .hr-gallery .wizi-img__content::after{border-color:rgba(201,162,77,.45);}
}
@keyframes hrZoomIn{from{transform:scale(1.18)}to{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.hr-zoom img.wizi-img__item,.hr-hero .wizi-txt__background{animation:none!important;transition:none!important;}}

/* ---- Avis Google : 4 cartes de meme taille ---- */
.hr-reviews .wizi-txt--quadruple{display:flex;flex-wrap:wrap;align-items:stretch;}
.hr-reviews .wizi-txt__item{display:flex;}
.hr-reviews .wizi-txt__item__wrapper{display:flex;flex-direction:column;width:100%;height:100%;border:1px solid rgba(201,162,77,.35);padding:2rem 1.5rem;}
.hr-reviews .wizi-txt__item__wrapper p:nth-of-type(1){color:#c9a24d;letter-spacing:.2em;font-size:1.1rem;}
.hr-reviews .wizi-txt__item__wrapper p:nth-of-type(2){flex:1 1 auto;font-style:italic;}
.hr-reviews .wizi-txt__item__wrapper p:last-child{margin-top:auto;color:#c9a24d;font-size:.8rem;letter-spacing:.15em;text-transform:uppercase;}
.hr-reviews h3{color:#e6c77d;}
@media (min-width:720px) and (max-width:1023px){.hr-reviews .wizi-txt__item{flex:0 0 50%;max-width:50%;}}
@media (max-width:719px){.hr-reviews .wizi-txt__item{flex:0 0 100%;max-width:100%;}}

/* ---- Horaires & reservation ---- */
.hr-schedule .wizi-planity-schedule,.hr-booking .wizi-planity-service{border:1px solid rgba(201,162,77,.35);}
.hr-schedule h2,.hr-booking h2{color:#e6c77d;}

/* ---- Bandeau CTA ---- */
.hr-cta .wizi-txt__background{background:rgba(13,9,7,.75)!important;border:1px solid rgba(201,162,77,.45);}
.hr-cta h2{color:#e6c77d;}

/* wz-foundations */
/* Design foundations derived from the theme. Do not hand-edit: apply_design_foundations rewrites this whole block. */

:root {
    --wz-space-2xs: clamp(8px, 0.5rem + 0.2vw, 12px);
    --wz-space-xs: clamp(12px, 0.75rem + 0.3vw, 16px);
    --wz-space-s: clamp(16px, 1rem + 0.5vw, 24px);
    --wz-space-m: clamp(24px, 1.5rem + 0.8vw, 32px);
    --wz-space-l: clamp(32px, 2rem + 1.2vw, 48px);
    --wz-space-xl: clamp(48px, 3rem + 2vw, 72px);
    --wz-space-2xl: clamp(64px, 4rem + 3vw, 96px);
    --wz-space-3xl: clamp(80px, 5rem + 4vw, 128px);
    --wz-flow: 0.9em;
    --wz-radius-s: 0;
    --wz-radius-m: 0;
    --wz-radius-l: 0;
    --wz-surface: rgba(255, 255, 255, .05);
    --wz-surface-high: rgba(255, 255, 255, .09);
    --wz-border: rgba(255, 255, 255, .16);
    --wz-text-muted: rgba(255, 255, 255, .66);
    --wz-ink: #f4f2f0;
    --wz-ink-on: #14161a;
    --wz-elev-1: 0 1px 2px rgba(0, 0, 0, .4), 0 2px 8px rgba(0, 0, 0, .3);
    --wz-elev-2: 0 1px 2px rgba(0, 0, 0, .45), 0 6px 16px rgba(0, 0, 0, .4), 0 16px 40px rgba(0, 0, 0, .35);
}

/* Vertical rhythm between sections. The theme ships 20/30/40/50 px, below the 64-96 px
   a content section needs; margin "none" stays untouched (it is glued on purpose). */
.body__wrapper .wiziblocks__item.small { margin-bottom: var(--wz-space-l); }
.body__wrapper .wiziblocks__item.medium { margin-bottom: var(--wz-space-2xl); }
.body__wrapper .wiziblocks__item.large { margin-bottom: var(--wz-space-3xl); }
.body__wrapper .wiziblocks__item:not(.small):not(.medium):not(.large):not(.none) { margin-bottom: var(--wz-space-2xl); }

/* Flow inside a block. The theme sets margin:0 and padding:0 on headings and paragraphs,
   so two paragraphs touch. The class is repeated to win over the theme rule without !important. */
body.body .wiziblocks__item.wiziblocks__item p + p { margin-top: var(--wz-flow); }
body.body .wiziblocks__item.wiziblocks__item h2 + p,
body.body .wiziblocks__item.wiziblocks__item h3 + p,
body.body .wiziblocks__item.wiziblocks__item h4 + p { margin-top: var(--wz-space-2xs); }
body.body .wiziblocks__item.wiziblocks__item p + h2,
body.body .wiziblocks__item.wiziblocks__item p + h3 { margin-top: var(--wz-space-m); }

/* Display voice "refined": Titles become small, light and widely spaced capitals: the vocabulary luxury and beauty settled on. */
/* The theme caps a title at 48 px and font.titleSize does nothing, so the size lives here. */
body.body .wiziblocks__item.wiziblocks__item h1,
body.body .wiziblocks__item.wiziblocks__item h2 {
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
body.body .wiziblocks__item.wiziblocks__item h1 { font-size: clamp(1.5rem, 0.9rem + 1.9vw, 2.75rem); }
body.body .wiziblocks__item.wiziblocks__item h2 { font-size: clamp(1.25rem, 0.8rem + 1.4vw, 2rem); }

/* Line-height: generous on reading sizes (the theme sets 1.4 on titles and text alike). */
body.body .wiziblocks__item.wiziblocks__item h3 { line-height: 1.2; }
body.body .wiziblocks__item.wiziblocks__item p,
body.body .wiziblocks__item.wiziblocks__item li { line-height: 1.55; }

/* Measure: 45-75 characters per line. A one-column text block spans the whole container otherwise. */
body.body .wiziblocks__item.wiziblocks__item .wizi-txt--one p { max-width: 68ch; margin-inline: auto; }

/* Elevation: layered shadows. A single shadow reads as cheap; the theme ships one at 75% opacity. */
body.body .wiziBtn:hover { box-shadow: var(--wz-elev-2); }

/* Visible focus ring (WCAG 2.4.7). Keyboard only: it never shows on a mouse click. */
body.body a:focus-visible,
body.body button:focus-visible,
body.body input:focus-visible,
body.body select:focus-visible,
body.body textarea:focus-visible,
body.body [tabindex]:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: var(--wz-radius-s);
}

/* Every header variant pins itself on mobile, so an anchor or a keyboard focus
   lands under it without this (WCAG 2.4.11 Focus Not Obscured). Values measured
   in a browser, not guessed: docs/tools/header-sticky-probe.mjs. */
html { scroll-padding-top: 70px; }
@media (min-width: 1024px) { html { scroll-padding-top: 96px; } }

/* /wz-foundations */

/* Hammam Republique - footer, blocs Planity, details — 2026-10-22 */
/* ---- Footer noir & dore ---- */
#footer.footer{background-color:#0d0907;border-top:1px solid rgba(201,162,77,.35);}
#footer.footer a,#footer.footer .footer__bloc{color:#e6d3a8;}
#footer.footer a:hover{color:#c9a24d;}
#footer .footer__logo img{max-width:220px;height:auto;}
.powered{background-color:#080605;color:#bfa978;}
.powered a{color:#c9a24d;}

/* ---- Menu : meme casse partout ---- */
.header .nav__text{text-transform:uppercase;letter-spacing:.12em;font-size:.85rem;}

/* ---- Boutons centres dans les bandeaux ---- */
.hr-hero .wiziBtn__wrapper,.hr-cta .wiziBtn__wrapper{display:flex;justify-content:center;}

/* ---- Blocs Planity en noir & dore ---- */
.wiziblocks__item--planity .wizi-planity-schedule,
.wiziblocks__item--planity .wizi-planity-schedule p{color:#efe6d8;}
.wiziblocks__item--planity h2{color:#e6c77d!important;}
.wiziblocks__item--planity .wizi-planity-schedule__content__segment{background-color:#17100c;border:1px solid rgba(201,162,77,.55);}
.wiziblocks__item--planity .wizi-planity-schedule__content__segment span{color:#efe6d8;}
.wiziblocks__item--planity .wizi-planity-schedule__content__segment > div span:first-child{color:#c9a24d;}

/* Hammam Republique - texte bloc reservation — 2026-10-22 */
.wiziblocks__item--planity .wizi-planity-service__text p{color:#efe6d8;}
.wiziblocks__item--planity .wizi-planity-service{border:1px solid rgba(201,162,77,.35);}

/* Hammam Republique - en-tete mobile — 2026-10-22 */
@media (max-width:1023px){
 .header .header__relative,.header .header__content{background-color:#0d0907;}
 .header .header__logo__a__img{content:url("https://media.cdnws.com/_i/426366/247/3519/49/logo-hammam-de-la-republique.png");max-height:46px;width:auto;}
}

/* Hammam Republique - correctifs apres publication — 2026-10-22 */
.header.header--fixed,.header .header__content,.header .header__relative{background-color:#0d0907!important;}
#footer.footer{background-color:#0d0907!important;}
/* Bandeaux image (cibles par id de bloc) */
#a1f3c2d4-1b2e-4c5d-9e6f-7a8b9c0d1e21 .wizi-txt__background,#4b2d0cfe-b5c8-46f7-98a9-14259a01b2cb .wizi-txt__background,#b2947365-2c3f-4d6e-8f0b-8b9c6b78293c .wizi-txt__background{background:rgba(13,9,7,.74)!important;border:1px solid rgba(201,162,77,.45);animation:hrFadeUp 1.2s ease-out both;}
#a1f3c2d4-1b2e-4c5d-9e6f-7a8b9c0d1e21 h1,#4b2d0cfe-b5c8-46f7-98a9-14259a01b2cb h2,#b2947365-2c3f-4d6e-8f0b-8b9c6b78293c h2{color:#e6c77d;letter-spacing:.12em;}
#a1f3c2d4-1b2e-4c5d-9e6f-7a8b9c0d1e21 .wiziBtn__wrapper,#4b2d0cfe-b5c8-46f7-98a9-14259a01b2cb .wiziBtn__wrapper,#b2947365-2c3f-4d6e-8f0b-8b9c6b78293c .wiziBtn__wrapper{display:flex;justify-content:center;}
@media (prefers-reduced-motion:reduce){#a1f3c2d4-1b2e-4c5d-9e6f-7a8b9c0d1e21 .wizi-txt__background{animation:none!important;}}

/* Hammam Republique - footer noir (surcharge Planity) — 2026-10-22 */
body footer#footer.footer{background:#0d0907!important;}
body #a1f3c2d4-1b2e-4c5d-9e6f-7a8b9c0d1e21 .wizi-txt__background h1,body #4b2d0cfe-b5c8-46f7-98a9-14259a01b2cb .wizi-txt__background h2,body #b2947365-2c3f-4d6e-8f0b-8b9c6b78293c .wizi-txt__background h2{color:#e6c77d;}

/* Hammam Republique - debordement horizontal — 2026-10-22 */
.hr-reviews .wizi-txt--quadruple{gap:16px;margin-left:0;margin-right:0;max-width:100%;box-sizing:border-box;}
.hr-reviews .wizi-txt__item{box-sizing:border-box;margin:0;padding:0;}
@media (min-width:1024px){.hr-reviews .wizi-txt--quadruple{flex-wrap:nowrap;}.hr-reviews .wizi-txt__item{flex:1 1 0;max-width:none;}}
@media (min-width:720px) and (max-width:1023px){.hr-reviews .wizi-txt__item{flex:0 0 calc(50% - 8px);max-width:calc(50% - 8px);}}
.powered{box-sizing:border-box;max-width:100%;}

/* Hammam Republique - image/texte a parts egales — 2026-10-22 */
.hr-zoom .wizi-imgtxt > div:has(picture){overflow:hidden;}
@media (hover:hover) and (pointer:fine){
 .hr-zoom .wizi-imgtxt > div:has(picture):hover img.wizi-img__item{transform:scale(1.08);filter:brightness(1.06);}
}
@media (min-width:720px){
 .hr-zoom .wizi-imgtxt{display:flex;align-items:stretch;min-height:340px;}
 .hr-zoom .wizi-imgtxt > div{flex:0 0 50%;max-width:50%;}
 .hr-zoom .wizi-imgtxt > div:has(picture){position:relative;}
 .hr-zoom .wizi-imgtxt > div:has(picture) picture{position:absolute;inset:0;display:block;}
 .hr-zoom .wizi-imgtxt > div:has(picture) img.wizi-img__item{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;transform:none;}
 .hr-zoom .wizi-imgtxt > div:has(.wizi-imgtxt__wrap){display:flex;align-items:center;}
}
