/* Adaptation de l’identité ; la grille, la typographie et les animations du modèle sont conservées. */
:root{--wine:#3e432e;--gold:#987440;--ink:#37332e;--paper:#f4f0e5}
body .logo-mark{aspect-ratio:3/2;overflow:visible}
body .logo-mark img,body .wordmark img{width:100%!important;height:100%!important;max-width:100%!important;inset:0!important;object-fit:contain!important;transform:none!important;filter:none!important}
body .wordmark{position:relative;width:145px;height:74px;display:block;background:none!important;mask:none!important;-webkit-mask:none!important}
body .small-brand{width:145px;max-width:32vw}
body .small-brand .header-logo-ochre{display:none!important}
body .small-brand:hover .header-logo-black{opacity:1!important}
body .opening-brand{width:clamp(240px,35vw,480px);height:auto!important;max-width:80vw}
body .opening-brand .logo-mark{width:100%;background:#faf7f4;box-shadow:0 8px 50px #0002}
body .opening-brand .opening-logo-terracotta{display:none!important}
body.page-index .opening-brand:is(:hover,:focus-visible,:active,.logo-pressed) .opening-logo-white{opacity:1!important}
body .arrival-logo-wrap .logo-mark{width:100%;height:auto;aspect-ratio:3/2}
body .arrival-logo-wrap{width:min(430px,80vw)}
body .footer-logo .logo-mark{width:180px;aspect-ratio:3/2}
body .booking-drawer-logo .logo-mark{width:145px;aspect-ratio:3/2}
body .menu-photo{object-fit:cover}
.palais-photo-reserve{display:flex;align-items:center;justify-content:center;gap:28px;margin:32px auto 50px}


.beraud-host{width:200px;height:200px;border-radius:50%;object-fit:cover;float:left;margin:0 36px 24px 0}
.host-profile{display:flow-root}
.beraud-map{height:420px;background:#eae4d6;display:grid;place-items:center;border:1px solid var(--line);margin:30px 0}
.beraud-map iframe{width:100%;height:100%;border:0}
.beraud-slideshow{height:min(64vw,650px);position:relative;overflow:hidden;background:#e8e1d5}
.tour-slide{width:100%;height:100%;object-fit:cover;display:none;animation:beraud-photo-in .7s ease}
.tour-slide.is-current{display:block}
.tour-controls{display:flex;justify-content:center;gap:28px;padding:24px 0}
.tour-controls button{background:none;border:0;border-bottom:1px solid var(--gold);padding:8px 0;font-size:14px}
.partner-art>img{width:100%;height:100%;min-height:300px;object-fit:cover}

.carnet-footer{margin:0!important;padding:24px 0!important;background:transparent!important}
#beraud-carnet .booking-note{padding:0 26px;text-align:start}
#beraud-months{padding:0 20px}
.beraud-month{padding:20px 12px;min-width:0}
.beraud-month h3{text-align:center;font-size:23px}
.beraud-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}
.beraud-day,.beraud-weekday{min-width:0;text-align:center}
.beraud-weekday{font-size:13px;color:var(--muted);padding:8px 0}
.beraud-day{aspect-ratio:1;border:0;background:transparent;border-radius:50%;font-size:14px;padding:0;min-height:30px}
.beraud-day:hover:not(:disabled){background:#e8dfcf}
.beraud-day:disabled{opacity:.3;cursor:default;text-decoration:line-through}
.beraud-day.selected{background:var(--wine)!important;color:white}
.beraud-day.in-range{background:#dce1d4;border-radius:0}
.beraud-calendar-nav{display:flex;justify-content:space-between;margin:12px 20px;gap:20px}
.beraud-calendar-nav button{border:0;background:none;font-size:14px;border-bottom:1px solid var(--gold);padding:8px 0}
.beraud-dates-note{font-size:14px;line-height:1.6}
.booking-embedded #reservation{margin:0!important;padding:0!important}
.booking-embedded #reservation>aside{display:none}
.booking-embedded #reservation .smoobu-reservation{width:100%}
.booking-embedded .pia-carnet{border:0;box-shadow:none}
.page-tarifs .rate-card .button{margin-top:28px}
[dir=rtl] .beraud-host{float:right;margin:0 0 24px 36px}
[dir=rtl] .beraud-days{direction:rtl}
[dir=rtl] .carnet-date{text-align:right}
@keyframes beraud-photo-in{from{opacity:.4;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}
@media(max-width:700px){body .wordmark{width:110px;height:65px}body .small-brand{width:110px}.beraud-host{float:none;margin:0 auto 30px}.beraud-map{height:340px}.tour-controls{gap:18px}.partner-art>img{min-height:220px}#beraud-months{padding:0 8px}.beraud-month{padding:12px 4px}.beraud-day{min-height:28px}.header-right .gallery-link{display:none}}
@media(prefers-reduced-motion:reduce){.tour-slide{animation:none}}

/* Centrage du logo dans le bloc du pied de page. */
body footer > a.footer-logo > .logo-mark{margin-inline:auto}

/* Logo détourné sur la photographie d’accueil. */
body.page-index .opening-brand .logo-mark{background:transparent;box-shadow:none}

.activity-host-note{margin-top:24px;border-top:1px solid #ded7c7;padding-top:16px}.activity-host-note>summary{cursor:pointer;color:#986528;font:400 14px/1.7 'Mamina Sans',Arial,sans-serif;letter-spacing:.015em;padding:6px 0;min-height:38px}.activity-host-note>summary::marker{font-size:.75em}.activity-host-note[open]>summary{margin-bottom:16px}.activity-host-note-body{border-inline-start:1px solid #b59a6b;padding-inline-start:18px}.activity-host-note .activity-host-note-body p{font:400 15px/1.85 'Mamina Sans',Arial,sans-serif;color:#766f66;margin:0 0 18px}.activity-host-note .activity-host-note-body p:last-child{margin-bottom:0}.activity-host-note>summary:focus-visible{outline:1px solid #986528;outline-offset:4px}@media(max-width:700px){.activity-host-note{margin-top:18px}.activity-host-note>summary{font-size:13px}.activity-host-note .activity-host-note-body p{font-size:14px}}
@media(max-width:700px){.activity-host-note>summary{font-size:14px;min-height:44px;padding:10px 0;line-height:1.7}.activity-host-note-body{overflow-wrap:break-word}}

/* Logos transparents, agrandis et fondus dans les barres. */
:root{--header:104px}body .site-header .small-brand{width:220px;max-width:40vw}body .site-header .wordmark{width:100%!important;height:100px;background:transparent!important}body footer > a.footer-logo{width:280px;max-width:75vw}body footer > a.footer-logo > .logo-mark{width:100%;margin-inline:auto}body .booking-drawer-logo .logo-mark{width:180px}body .page-intro{scroll-margin-top:104px}@media(max-width:700px){:root{--header:92px}body .site-header .small-brand{width:180px;max-width:39vw}body .site-header .wordmark{height:88px}body footer > a.footer-logo{width:250px;max-width:75vw}}

/* Finitions conformes aux compositions de chaque page du modèle. */
body.page-palais .palais-title-interactive{width:max-content;max-width:100%;aspect-ratio:auto;font-size:clamp(36px,5vw,68px);line-height:1.2}body.page-palais .palais-photo-reserve{flex-wrap:wrap;gap:24px;margin:28px auto 40px;padding:0 20px;text-align:center}.beraud-house-rules{padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.beraud-house-rules li{display:flex;gap:14px;align-items:center}.beraud-house-rules svg{flex:0 0 32px;width:32px;height:36px}.beraud-house-rules p{margin:0}#palais-map{display:grid;place-items:center;min-height:450px}#palais-map.leaflet-container{display:block}.map-route-fallback{position:absolute;z-index:999;bottom:20px;left:20px;background:white;padding:18px;max-width:280px;box-shadow:0 4px 24px #0002}body .reservation-tabs{flex-wrap:wrap}body.page-videos .film-player.beraud-slideshow{height:min(64vw,650px);padding:0;aspect-ratio:auto}body.page-videos .beraud-slideshow .tour-slide{position:static;width:100%;height:100%;object-fit:cover}body.page-galerie .gallery-subtitle{display:block}@media(max-width:700px){#palais-map{min-height:380px}.beraud-house-rules{grid-template-columns:1fr}body.page-palais .palais-title-interactive{font-size:36px}}

/* Same footer lift, ochre ink and soft shadow as the reference. */
body footer .footer-logo{transition:transform .45s cubic-bezier(.2,.65,.3,1)}
body footer .footer-logo .logo-mark img{transition:filter .45s ease}
body footer .footer-logo:is(:hover,:focus-visible,:active) .logo-mark img{filter:url("beraud-logo-ochre.svg#ochre") drop-shadow(2px 5px 2px rgba(90,63,35,.22))!important}
@media(prefers-reduced-motion:reduce){body footer .footer-logo,body footer .footer-logo .logo-mark img{transition:none}body footer .footer-logo:is(:hover,:focus-visible,:active){transform:none}}

/* Opening photograph selected by the hosts; maintain a clear logo on the pale walls. */
body.page-index .opening-media img{object-position:50% 50%}
body.page-index .opening-brand .logo-mark img{filter:brightness(.55) drop-shadow(0 1px 3px rgba(255,255,255,.65))!important}
body.page-index .opening-brand{width:clamp(260px,32vw,430px)}
body.page-index .opening-brand:is(:hover,:focus-visible,:active,.logo-pressed) .logo-mark img{filter:url("beraud-logo-ochre.svg#ochre") drop-shadow(2px 5px 2px rgba(45,30,15,.3))!important}
@media(max-width:700px){body.page-index .opening-media img{object-position:55% 50%}body.page-index .opening-brand{width:75vw;max-width:350px}}
/* Align the opening mark with the central window and lift it above the foliage. */
body.page-index .opening-media img{object-position:32% 48%}
body.page-index .opening-brand{top:calc(9% + var(--header)*.85)}
@media(max-width:700px){body.page-index .opening-media img{object-position:48% 48%}body.page-index .opening-brand{top:calc(10% + var(--header)*.8)}}
/* Keep the full name clear of the foliage beside the window. */
body.page-index .opening-brand{left:43%}
@media(max-width:700px){body.page-index .opening-brand{left:45%}}
/* Original gold artwork stays identical during pointer and keyboard interaction. */
body.page-index .opening-brand .logo-mark img,body.page-index .opening-brand:is(:hover,:focus-visible,:active,.logo-pressed) .logo-mark img{filter:none!important}
body.page-index .opening-brand .logo-mark,body.page-index .opening-brand:is(:hover,:focus-visible,:active,.logo-pressed) .logo-mark{transform:none!important;filter:none!important;translate:none!important;scale:1!important}

/* Dark ochre interaction colour throughout the Maison Béraud interface. */
body a:is(:hover,:focus-visible,:active),body button:is(:hover,:focus-visible,:active),body [aria-pressed="true"],body [aria-selected="true"]{color:#80551f!important}
body .button:is(:hover,:focus-visible,:active){background:#80551f!important;border-color:#80551f!important;color:#fff!important}
body :is(a,button,input,select,textarea):focus-visible{outline-color:#80551f!important}
::selection{background:#80551f;color:#fff}
/* Replace the model's terracotta accents with the Maison's dark ochre. */
:root{--terracotta:#80551f;--gold:#80551f}
body .eyebrow,body main .eyebrow,body .facts,body .footer-links,body .line-link{color:#80551f}
body .line-link{border-bottom-color:#80551f}

#avis-voyageurs .guest-review-initial{display:grid;place-items:center;background:#eee6d8;color:#80551f;font:24px Georgia,serif}#avis-voyageurs .guest-review-excerpt:nth-child(2) .guest-review-initial{background:#e5d9c5}#avis-voyageurs .guest-review-excerpt:nth-child(3) .guest-review-initial{background:#f2ece1}

body .site-header .small-brand{width:242px}body .site-header .wordmark{height:110px}body.page-contact .original-content h3{margin-top:38px}
@media(max-width:700px){body .site-header .small-brand{width:198px;max-width:39vw}body .site-header .wordmark{height:96px}}

.beraud-parking-list{padding-inline-start:20px;margin:14px 0}.beraud-parking-list li{margin:10px 0}.beraud-parking-list a{text-decoration:underline;text-underline-offset:3px}

.parking-legend{display:flex;flex-wrap:wrap;gap:16px 28px;margin:20px 0 8px}.parking-legend span{display:flex;align-items:center;gap:9px}.parking-legend i{display:inline-block;width:16px;height:16px;border-radius:50%}.parking-paid-dot,body .map-parking-paid,body .parking-paid .place-number{background:#80551f!important;color:white}.parking-free-dot,body .map-parking-free,body .parking-free .place-number{background:#256c9a!important;color:white}.map-places .parking-paid{border-inline-start:4px solid #80551f}.map-places .parking-free{border-inline-start:4px solid #256c9a}.map-toolbar{flex-wrap:wrap}
.arrival-guide{max-width:1280px;margin:25px auto 65px;padding:55px 6%;background:#fffdf7;border-block:1px solid var(--line)}.arrival-guide-heading{max-width:760px;margin-bottom:35px}.arrival-guide-heading>p:last-child{max-width:640px}.arrival-guide-layout{display:grid;grid-template-columns:1.05fr 1fr;gap:6%;align-items:start}.arrival-sketch{margin:0;position:sticky;top:125px}.arrival-sketch svg{display:block;width:100%;height:auto}.arrival-sketch figcaption{font-size:14px;line-height:1.6;color:var(--muted);margin-top:15px}.arrival-steps article{display:grid;grid-template-columns:38px 1fr;gap:17px;padding:8px 0 28px;margin-bottom:25px;border-bottom:1px solid var(--line)}.arrival-steps article:last-child{margin:0;border:0;padding-bottom:0}.arrival-step-number{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#80551f;color:white;font:20px Georgia,serif}.arrival-steps h3{margin-bottom:15px!important}.arrival-steps p{margin-bottom:14px}.arrival-address{padding:10px 14px;background:#eee7d9}.arrival-guide .line-link{font-size:12px}@media(max-width:700px){.arrival-guide{padding:38px 7%}.arrival-guide-layout{grid-template-columns:1fr;gap:35px}.arrival-sketch{position:static}.arrival-steps article{gap:13px}}
/* Larger artwork in the reservation drawer, preserving space for close. */
body .booking-drawer-header .booking-drawer-logo{width:250px;max-width:calc(100vw - 120px)}
body .booking-drawer-header .booking-drawer-logo .logo-mark{width:100%;max-width:100%;aspect-ratio:3/2}
@media(max-width:600px){body .booking-drawer-header .booking-drawer-logo{width:230px}body .booking-drawer-header{height:162px;min-height:162px;flex-basis:162px;padding-block:8px}body .booking-drawer-header .booking-drawer-close{top:59px}}

body.page-localisation .arrival-guide{margin-bottom:12px;padding-bottom:30px}body.page-localisation #carte{padding-top:12px;margin-top:0}

.route-card .route-photo{width:100%;height:145px;object-fit:cover;border-radius:6px;margin-bottom:8px}.route-photo-credit{display:block;font-size:10px;line-height:1.4;color:#716b62;margin-bottom:9px}

.arrival-map-link{cursor:pointer}.arrival-map-link rect{stroke:transparent;stroke-width:3}.arrival-map-link:hover rect,.arrival-map-link:focus-visible rect{stroke:#80551f;fill:#80551f0d}.arrival-map-link:focus-visible{outline:none}

.coop-info-dialog{padding:0;border:1px solid #ded7c7;border-radius:10px;width:min(440px,92vw);max-height:88svh;overflow:auto;background:#fffdf7;box-shadow:0 18px 70px #0004}.coop-info-dialog::backdrop{background:#27221c80}.coop-info-photo{width:100%;height:220px;object-fit:cover}.coop-info-copy{padding:24px}.coop-info-copy h2{font-size:30px}.coop-info-copy p{font-size:15px;line-height:1.65;margin-bottom:16px}.coop-info-copy small{font-size:11px}.coop-info-close{position:absolute;top:9px;right:9px;width:36px;height:36px;border-radius:50%;border:0;background:#fffdf7;font:26px Arial;z-index:2}.parking-popup-info p{font:13px/1.5 var(--font-text)!important;margin:9px 0!important}.parking-popup-info>a{display:block;font-size:13px;margin:9px 0;text-decoration:underline}.parking-popup-info small{display:block;font-size:10px;line-height:1.4;margin:12px 0}.leaflet-popup-content{max-height:65svh;overflow:auto}

.house-facade-dialog{padding:0;width:min(480px,92vw);max-height:90svh;overflow:auto;border:1px solid #ded7c7;border-radius:10px;background:#fffdf7;box-shadow:0 18px 70px #0004}.house-facade-dialog::backdrop{background:#27221c80}.house-facade-dialog>img{width:100%;height:auto;max-height:65svh;object-fit:contain;background:#eee7d9}.house-facade-dialog h2{font-size:30px}.house-facade-dialog .coop-info-copy{padding:18px 24px}

.street-photo-dialog{width:min(760px,94vw)}

.arrival-street-photo{display:block;margin-top:24px;border-radius:7px;overflow:hidden}.arrival-street-photo img{display:block;width:100%;height:auto;object-fit:contain}.arrival-sketch:has(.arrival-street-photo){position:static}

.arrival-sketch svg{direction:ltr}.arrival-sketch svg text{unicode-bidi:plaintext}

@media(max-width:700px){body #lightbox img{max-width:100%;width:auto;margin-inline:auto;max-height:70svh}body #lightbox .viewer-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}body #lightbox .viewer-controls button{min-width:0;white-space:normal;overflow-wrap:anywhere}}

/* Option cards follow their container, including the narrower availability column. */
body #beraud-carnet .carnet-options-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
body #beraud-carnet .carnet-options-grid article{min-width:0;overflow-wrap:anywhere;hyphens:auto}

/* Mobile text and map popups adapt to the available width in every language. */
@media(max-width:700px){body :is(h1,h2,h3,h4,p,summary,.button,.line-link,.map-place strong,.partner-nav a){overflow-wrap:anywhere;hyphens:auto}body .editorial-copy,body .partner-content,body .arrival-steps article>div{min-width:0}.leaflet-popup-content{overflow-x:hidden;overflow-wrap:anywhere}.route-card .route-photo{height:85px}.parking-popup-info p{font-size:12px!important;line-height:1.45!important}.leaflet-popup-content .route-card>strong{font-size:22px}.leaflet-popup-content .route-guide{white-space:normal}.map-expanded{inset:8px!important}.map-toolbar>button{min-width:0;white-space:normal;overflow-wrap:anywhere}}
@media(max-width:700px){body .leaflet-popup-content:has(.route-card){box-sizing:border-box;width:min(255px,calc(100vw - 110px))!important;margin:14px;max-height:min(45svh,300px)}body .leaflet-popup-content-wrapper{padding:1px}}
