/*
Theme Name: Bell'View Villas
Theme URI: https://www.bellviewvillas.com/
Author: PMECloud
Description: Thème vitrine premium pour Bell'View Villas à Marrakech. Design original, photos locales, fiches de villas administrables, formulaire sécurisé et options du Personnaliseur.
Version: 1.1.2
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: bellview-villas
License: GNU General Public License v2 or later
*/
:root{--bv-forest:#1f3a2e;--bv-cream:#f5f1e8;--bv-gold:#c9a961}
html{scroll-behavior:smooth}body.bv-site{overflow-x:hidden;background:var(--bv-cream);color:#1a1a1a;font-family:Inter,Arial,sans-serif}
button,a{ -webkit-tap-highlight-color:transparent}
button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--bv-gold);outline-offset:3px}
.bv-skip-link{position:absolute;top:-100px;left:20px;z-index:1000;background:#fff;color:#000;padding:12px}.bv-skip-link:focus{top:10px}
#bv-site-nav{transition:background .35s,padding .35s,box-shadow .35s}#bv-site-nav.bv-scrolled{background:rgba(245,241,232,.96);box-shadow:0 2px 14px #00000012;padding-top:9px;padding-bottom:9px;backdrop-filter:blur(14px)}
#bv-site-nav:not(.bv-scrolled) img[alt*="Logo principal"]{opacity:1}#bv-site-nav:not(.bv-scrolled) img[alt*="Logo au défilement"]{opacity:0}#bv-site-nav.bv-scrolled img[alt*="Logo principal"]{opacity:0}#bv-site-nav.bv-scrolled img[alt*="Logo au défilement"]{opacity:1}
section[id]{scroll-margin-top:92px}
.bv-track{will-change:transform;transition:transform .45s cubic-bezier(.22,1,.36,1);user-select:none}
.bv-track img{user-select:none;pointer-events:none}.bv-track:active{cursor:grabbing}
.bv-villa-card{color:inherit;text-decoration:none;outline-offset:5px}
.bv-alert{padding:14px 18px;margin-bottom:18px;font-size:.95rem;border-left:3px solid}.bv-success{background:#edf4ee;color:#1f5a37;border-color:#2b7046}.bv-error{background:#fff0ed;color:#913526;border-color:#913526}
.bv-honeypot{position:absolute!important;left:-9999px!important;top:-9999px!important;height:0!important;width:0!important;overflow:hidden!important}
#reserver input,#reserver select{width:100%;font-size:16px;min-height:38px;border-radius:0}
#reserver button{min-height:54px}
.bv-inner-page{padding:150px 24px 95px;min-height:70vh;background:var(--bv-cream)}.bv-container{max-width:1000px;margin:0 auto}.bv-page-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(42px,6vw,74px);line-height:1.05;color:var(--bv-forest);margin:20px 0 35px}.bv-inner-page p{font-size:1.07rem;line-height:1.8;margin:16px 0}.bv-inner-page h2{font-family:'Cormorant Garamond',serif;font-size:36px;color:var(--bv-forest)}.bv-post{padding:22px 0;border-bottom:1px solid #dfdacd}.bv-post a{color:var(--bv-forest)}.bv-content a{text-decoration:underline}.bv-content img{height:auto;max-width:100%}.bv-single-image{width:100%;max-height:600px;object-fit:cover;margin:20px 0 30px}.bv-primary-button{display:inline-block;margin-top:26px;background:var(--bv-gold);color:var(--bv-forest);padding:16px 28px;font-size:13px;text-transform:uppercase;letter-spacing:2px;font-weight:600;text-decoration:none}
.bv-specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:15px;padding:25px 0;border-top:1px solid #d8d1c2;border-bottom:1px solid #d8d1c2}.bv-specs div{display:flex;flex-direction:column;gap:5px}.bv-specs span{font-size:12px;text-transform:uppercase;color:#6b6b5e;letter-spacing:1px}.bv-specs strong{font-weight:500;color:var(--bv-forest)}
@media (max-width:767px){#bv-site-nav .max-w-7xl{gap:10px}#bv-site-nav .max-w-7xl button{font-size:9px;letter-spacing:1px;padding:12px 11px}#bv-site-nav a{max-width:145px}#bv-site-nav a img{max-width:100%;object-fit:contain}.bv-inner-page{padding:115px 20px 70px}.bv-page-title{font-size:45px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Slider interaction fixes (v1.1): unobtrusive, preserve original cards and spacing. */
[data-bv-track]{touch-action:pan-y;transform:translate3d(0,0,0)}
[data-bv-track]+*{position:relative}
[data-bv-progress]{will-change:transform,width;transition:transform .22s ease,width .22s ease}
[data-bv-prev],[data-bv-next]{touch-action:manipulation;position:relative;z-index:2}
[data-bv-prev]:disabled,[data-bv-next]:disabled{cursor:default;opacity:.2}
[data-bv-track]:focus-visible{outline:2px solid var(--bv-gold);outline-offset:4px}
video[controls]{background:#101b16;max-width:100%}
