| Current Path : /home/happyrenas/find.myreco.online/v2/css/ |
Linux webd005.cluster105.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 |
| Current File : /home/happyrenas/find.myreco.online/v2/css/style_halt.css |
/* ============================================================================
Design tokens et styles de base
============================================================================ */
:root{
--text:#111827;
--muted:#6b7280;
--soft:#f9fafb;
--shadow:0 18px 40px rgba(17,24,39,.10);
--shadow2:0 10px 26px rgba(17,24,39,.08);
--radius:18px;
--pill:999px;
--accent:#2b94bc;
--accentrouge:#ff385c;
--brand-a:#2b94dc;
--brand-b:#737373;
}
body{ background:#fff; color:var(--text); }
.page-bg{
background:
radial-gradient(1100px 500px at 50% -10%, rgba(255,56,92,.11), transparent 60%),
radial-gradient(900px 480px at 90% 0%, rgba(0,0,0,.04), transparent 55%),
radial-gradient(900px 600px at 10% 20%, rgba(0,0,0,.03), transparent 55%),
#fff;
min-height: 100vh;
}
footer{ border-top:1px solid rgba(0,0,0,.06); color:var(--muted); margin-top: 26px; }
/* ============================================================================
En-tête (topbar) et navigation
============================================================================ */
.topbar{
position: sticky; top: 0; z-index: 50;
background: rgba(255,255,255,.88);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-pill{
border:1px solid rgba(0,0,0,.10); border-radius:var(--pill);
padding:8px 12px; background:#fff; box-shadow:0 8px 18px rgba(17,24,39,.05);
}
.brand-link, .brand-link:hover{ text-decoration:none; color:inherit; }
.brand-mark{
width:42px;
height:42px;
border-radius:999px;
display:inline-block;
position:relative;
background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.75), rgba(255,255,255,0) 55%),
var(--brand-a);
box-shadow: 0 14px 30px rgba(158,132,105,.25);
flex: 0 0 42px;
}
.brand-mark::after{
content:"";
position:absolute;
inset:7px;
border-radius:999px;
border:2px solid rgba(115,115,115,.28);
}
.brand-text{
font-weight:900;
letter-spacing:-0.02em;
font-size:1.35rem;
line-height:1;
display:flex;
align-items:baseline;
}
.brand-a{ color:var(--brand-a); }
.brand-b{ color:var(--brand-b); }
.brand-link:hover .brand-mark{
transform: translateY(-1px);
transition: transform .12s ease;
}
.brand-link:hover .brand-text{
filter: brightness(1.02);
}
/* ============================================================================
Boutons
============================================================================ */
.btn-accent{
border-radius: var(--pill);
background: var(--accent);
color:#fff;
border:0;
padding:12px 16px;
/*box-shadow:0 12px 26px rgba(255,56,92,.20);*/
transition: transform .12s ease, filter .12s ease;
}
.btn-accent:hover{ background:#5ca8c4;color:#fff;filter: brightness(1.02); transform: translateY(-1px); }
.btn-accent:active{ transform: translateY(0); }
/* ============================================================================
Barre de recherche
============================================================================ */
.search-bar{
border-radius: 28px;
background: rgba(255,255,255,.96);
border: 1px solid rgba(17,24,39,.08);
box-shadow: 0 22px 60px rgba(17,24,39,.14);
padding: 14px;
position: relative;
}
.search-bar .row{
justify-content: center;
}
.search-field{
height: 58px;
border-radius: 999px;
background: #f9fafb;
border: 1px solid rgba(17,24,39,.08);
padding: 0 16px;
transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.search-field:focus-within{
background: #fff;
border-color: rgba(43,148,188,.35);
box-shadow: 0 0 0 4px rgba(43,148,188,.10);
}
.search-field i{
color: var(--accent);
font-size: 1.15rem;
flex: 0 0 auto;
}
.search-input,
.search-select{
border: 0 !important;
box-shadow: none !important;
background: transparent !important;
padding-left: 0;
padding-right: 0;
}
.search-input::placeholder{
color: #9ca3af;
}
#filtersBar{
display: flex;
justify-content: center;
align-items: center;
gap: .65rem;
flex-wrap: wrap;
margin-top: 14px;
}
#filtersBar .chip{
padding: 9px 15px;
background: #f9fafb;
border-color: rgba(17,24,39,.08);
}
#filtersBar .chip.active{
background: rgba(43,148,188,.10);
border-color: rgba(43,148,188,.35);
color: var(--accent);
}
/* ============================================================================
Autocomplete (villes)
============================================================================ */
.city-wrap{ position: relative; }
.suggestBox{
position: absolute;
left: 0;
right: 0;
top: calc(100% + 8px);
z-index: 9999;
background:#fff;
border:1px solid rgba(0,0,0,.10);
border-radius: 14px;
box-shadow: var(--shadow2);
overflow:hidden;
max-height: 280px;
display:none;
}
.suggestBox .item{
padding:10px 12px;
cursor:pointer;
display:flex;
justify-content: space-between;
gap: 10px;
}
.suggestBox .item:hover{ background:#fafafa; }
.suggestBox .item small{ color: var(--muted); }
/* ============================================================================
Filtres (chips)
============================================================================ */
.filters{
margin-top: 12px;
display:flex;
flex-wrap:wrap;
gap:10px;
align-items:center;
}
.chip{
border-radius: var(--pill);
border:1px solid rgba(0,0,0,.10);
background:#fff;
padding:8px 12px;
font-weight:600;
cursor:pointer;
user-select:none;
white-space: nowrap;
transition: background .12s ease, transform .12s ease;
color: var(--text);
-webkit-text-fill-color: var(--text);
text-decoration: none;
-webkit-tap-highlight-color: transparent;
}
.chip:hover{ background:#fafafa; transform: translateY(-1px); }
.chip.active{ border-color: rgba(255,56,92,.35); background: rgba(255,56,92,.08); }
/* ============================================================================
Résultats : mise en page liste / carte
============================================================================ */
.results-split{
display: flex;
gap: 18px;
align-items: flex-start;
}
/* Conteneur liste : min-width:0 pour éviter le débordement dans un flex parent */
.results-pane{
flex: 1 1 auto;
min-width: 0;
}
/* Panneau carte : masqué par défaut (activé en mode 'carte') */
.map-pane{
width: 42%;
min-width: 420px;
display: none;
/* ✅ sticky ici (plus fiable que sur le #map Leaflet) */
position: sticky;
top: 96px;
height: calc(100vh - 120px);
/* ✅ important en flex */
align-self: flex-start;
}
.results-split.is-map .map-pane{
display: block;
}
/* Le div Leaflet remplit le panneau */
.map{
position: relative; /* ✅ plus sticky ici */
top: auto;
height: 100%;
border-radius: 18px;
overflow: hidden;
border: 1px solid rgba(0,0,0,.08);
background: #f3f4f6;
}
@media (max-width: 991.98px){
.map-pane{ display:none !important; }
.results-split{ display:block; }
}
@media (min-width: 992px){
#resultsSplit.is-map #grid > .col-lg-4{
flex: 0 0 50%;
max-width: 50%;
}
}
/* ============================================================================
MULTIS PHOTOS
============================================================================ */
.photos-badge{
position:absolute;
left:12px;
bottom:12px;
z-index:20;
display:inline-flex;
align-items:center;
gap:6px;
border:0;
border-radius:999px;
padding:8px 10px;
background:rgba(255,255,255,.95);
box-shadow:0 6px 18px rgba(0,0,0,.16);
font-weight:700;
cursor:pointer;
pointer-events:auto;
}
.photos-badge i{
font-size:14px;
}
.photos-badge span{
font-size:12px;
}
.photos-modal-stage{
height: 55vh;
min-height: 320px;
display:flex;
align-items:center;
justify-content:center;
background:#f8f9fa;
border-radius:14px;
overflow:hidden;
}
.photos-modal-current{
max-width:100%;
max-height:100%;
object-fit:contain;
display:block;
}
/* ============================================================================
Cartes hébergement
============================================================================ */
.card-heb{
display:flex;
flex-direction:column;
border:1px solid rgba(0,0,0,.08);
border-radius: var(--radius);
overflow:hidden;
background:#fff;
box-shadow: var(--shadow2);
transition: transform .14s ease, box-shadow .14s ease;
height: 100%;
}
.card-heb:hover{ transform: translateY(-3px); box-shadow: var(--shadow); }
.cover{ height: 190px; background:#f3f4f6; position: relative; overflow:hidden; }
.cover img{ width:100%; height:100%; object-fit: cover; transform: scale(1.02); transition: transform .35s ease; }
.card-heb:hover .cover img{ transform: scale(1.06); }
.badge-soft{
border-radius: var(--pill);
padding:7px 10px;
font-weight:700;
font-size:.85rem;
background: rgba(255,255,255,.92);
border:1px solid rgba(0,0,0,.08);
box-shadow:0 10px 22px rgba(17,24,39,.08);
display:inline-flex; align-items:center; gap:6px;
}
.top-badges{ position:absolute; inset: 12px 12px auto 12px; display:flex; justify-content: space-between; align-items:center; gap:10px; }
.like{
width:38px;height:38px; display:grid; place-items:center;
border-radius: var(--pill);
background: rgba(255,255,255,.92);
border:1px solid rgba(0,0,0,.08);
box-shadow:0 10px 22px rgba(17,24,39,.08);
cursor:pointer;
transition: transform .12s ease;
}
.like:hover{ transform: scale(1.05); }
.like.liked{ color:#ff385c; border-color: rgba(255,56,92,.25); }
.card-bodyy{ padding: 14px 14px 16px; display:flex; flex-direction:column; flex:1 1 auto; }
.title{ font-weight: 800; letter-spacing: -0.01em; margin-bottom: 2px; }
.sub{ color: var(--muted); font-size:.95rem; }
.tags{ margin-top:10px; display:flex; gap:8px; flex-wrap:wrap; }
.tag{
border-radius: var(--pill);
padding:7px 10px;
background: var(--soft);
border: 1px solid rgba(0,0,0,.06);
color: #374151;
font-weight: 700;
font-size: .82rem;
}
.price{ margin-top:auto; padding-top:12px; display:flex; justify-content: space-between; align-items:center; gap:10px; }
.btn-ghost{
border-radius: var(--pill);
border:1px solid rgba(0,0,0,.10);
background:#fff;
padding:8px 12px;
font-weight: 700;
}
.btn-ghost:hover{ background:#fafafa; }
.card-heb.is-active{
outline: 0;
box-shadow: 0 0 0 3px rgba(255,56,92,.28), 0 18px 45px rgba(15,23,42,.12);
transform: translateY(-2px);
transition: box-shadow .25s ease, transform .25s ease;
}
.card-heb.pulse{
outline-style: solid;
outline-offset: 2px;
animation: pulseCard 0.9s ease-out 1;
}
@keyframes pulseCard{
0% { outline-width:0; outline-color: rgba(255,56,92,0); transform:scale(0.99); }
20% { outline-width:6px; outline-color: rgba(255,56,92,.18); transform:scale(1); }
100% { outline-width:0; outline-color: rgba(255,56,92,0); transform:scale(1.01); }
}
.chip-mini{
display:inline-flex;
align-items:center;
gap:6px;
padding: 4px 8px;
border-radius: 999px;
border: 1px solid rgba(0,0,0,.08);
background: rgba(17,24,39,.03);
color: #374151;
font-weight: 700;
font-size: .78rem;
line-height: 1;
white-space: nowrap;
user-select: none;
}
.facts-row{
display:flex;
flex-wrap:wrap;
gap:6px;
margin-top:10px;
}
.mini-wrap{ gap:5px; }
.mini-line{ margin-top:6px; }
.mini-title{
font-size:.78rem;
color:#9E8469;
font-weight:700;
margin-bottom:4px;
}
.mini-pill{
display:inline-flex;
align-items:center;
gap:4px;
border-radius:999px;
padding:3px 6px;
font-size:.70rem;
font-weight:600;
background: rgba(0,0,0,.035);
border: 1px solid rgba(0,0,0,.05);
color:#4b5563;
line-height:1;
}
.mini-pill i{
font-size:.78rem;
}
.title-row{
display:flex;
align-items:center;
justify-content:space-between;
gap:10px;
}
.title-row .title{
flex:1;
min-width:0;
}
/* ============================================================================
Skeletons / chargement
============================================================================ */
.skel{
border-radius: var(--radius);
height: 320px;
border:1px solid rgba(0,0,0,.06);
background: linear-gradient(90deg, rgba(0,0,0,.04), rgba(0,0,0,.07), rgba(0,0,0,.04));
background-size: 200% 100%;
animation: shimmer 1.1s infinite;
}
@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
/* ============================================================================
Modale contact : mode dock
============================================================================ */
#contactModal.is-docked{
pointer-events: none;
}
#contactModal.is-docked .modal-dialog{
position: fixed !important;
right: 0 !important;
bottom: 0 !important;
padding-right: env(safe-area-inset-right);
padding-bottom: env(safe-area-inset-bottom);
margin: 0 !important;
transform: none !important;
align-items: flex-end !important;
min-height: 0 !important;
pointer-events: auto;
width: 380px;
max-width: 100vw;
z-index: 1060;
}
#contactModal.is-docked .modal-content{
overflow: hidden;
border-bottom-right-radius: 0 !important;
border-bottom-left-radius: 16px !important;
border-top-left-radius: 16px !important;
border-top-right-radius: 16px !important;
box-shadow: 0 18px 55px rgba(0,0,0,.22);
border: 1px solid rgba(0,0,0,.08);
}
#contactModal.is-docked .modal-body{
display: none;
}
#contactModal.is-docked .modal-header{
padding-bottom: 12px !important;
cursor: pointer;
user-select: none;
}
#contactModal.is-docked .modal-backdrop,
.modal-backdrop.docked-backdrop{
opacity: 0 !important;
}
.modal-backdrop.docked-backdrop{
pointer-events: none !important;
}
.contact-selection{ display:flex; flex-direction:column; gap:8px; }
.contact-pill{
display:flex; align-items:center; justify-content:space-between; gap:10px;
padding:10px 10px; border-radius:12px;
border:1px solid rgba(0,0,0,.10); background:#fff;
}
.contact-pill .meta{ color:var(--muted); font-size:.85rem; }
.contact-pill .remove{
border:0; background:rgba(0,0,0,.06); border-radius:10px;
padding:6px 8px; cursor:pointer;
}
.contact-pill .remove:hover{ background:rgba(0,0,0,.10); }
.btnContact.is-active{
background: rgba(255,56,92,.12);
border-color: rgba(255,56,92,.35);
color: #111;
}
.btnContact.is-active::before{
content: "✓ ";
font-weight: 800;
}
/* Header modale contact */
#contactModal .modal-header.contact-header{
background: #9e8469;
color: #fff;
border-top-left-radius: 18px;
border-top-right-radius: 18px;
padding-top: 14px;
padding-bottom: 14px;
}
#contactModal .modal-header.contact-header .modal-title{
color: #fff;
}
/* Tes meta en blanc un peu atténué */
#contactModal .modal-header.contact-header #contactMeta,
#contactModal .modal-header.contact-header #contactMeta1{
color: rgba(255,255,255,.85) !important;
}
/* Boutons à droite (optionnel, pour matcher) */
#contactModal .modal-header.contact-header .btn{
background: rgba(255,255,255,.18);
border-color: rgba(255,255,255,.25);
color: #fff;
}
#contactModal .modal-header.contact-header .btn:hover{
background: rgba(255,255,255,.28);
}
/* Boutons dock (agrandir / réduire) : plus visibles sans être plus grands */
#contactModal .modal-header.contact-header .btn{
background: rgba(255,255,255,.22);
border: 1px solid rgba(255,255,255,.55);
color: #fff;
/* + visibilité */
box-shadow: 0 2px 10px rgba(0,0,0,.18);
backdrop-filter: blur(2px);
}
#contactModal .modal-header.contact-header .btn i{
/* rend l’icône plus lisible sans changer la taille */
text-shadow: 0 1px 0 rgba(0,0,0,.35);
}
/* Hover = contraste net */
#contactModal .modal-header.contact-header .btn:hover{
background: rgba(255,255,255,.34);
border-color: rgba(255,255,255,.75);
box-shadow: 0 4px 14px rgba(0,0,0,.22);
}
/* Focus clavier / accessibilité */
#contactModal .modal-header.contact-header .btn:focus,
#contactModal .modal-header.contact-header .btn:focus-visible{
outline: none;
box-shadow: 0 0 0 3px rgba(255,255,255,.35), 0 4px 14px rgba(0,0,0,.22);
}
/* Optionnel : état “press” */
#contactModal .modal-header.contact-header .btn:active{
transform: translateY(1px);
box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
/* Encadré marron pour la liste des hébergements sélectionnés */
#contactModal .contact-box{
border: 1px solid rgba(158,132,105,.55); /* marron #9e8469 */
border-radius: 14px;
padding: 10px 10px;
background: rgba(158,132,105,.06);
}
/* Optionnel : un petit liseret plus marqué en haut */
#contactModal .contact-box{
box-shadow: inset 0 0 0 1px rgba(158,132,105,.18);
}
.hero .badge-soft{
font-size: 0.72rem;
padding: 4px 8px;
background: rgba(43,148,220,.08);
border: 1px solid rgba(43,148,220,.25);
color: #2b94dc;
box-shadow: none;
display: inline-flex;
align-items: center;
justify-content: center;
text-align: center;
}
/* force sur une ligne */
.hero .mt-3{
display: flex;
flex-wrap: nowrap;
gap: 6px;
overflow: hidden;
}
/* ============================================================================
Animations utilitaires
============================================================================ */
.pulse{ animation: pulseLite .35s ease; }
@keyframes pulseLite{
0%{ transform: scale(1); }
50%{ transform: scale(1.02); }
100%{ transform: scale(1); }
}
.btn-active{
background: var(--accent);
color: #fff !important;
border: none;
box-shadow: 0 6px 14px rgba(43,148,220,.25);
}
.btn-active:hover{
filter: brightness(0.95);background: #5ca8c4;
}
.form-shell{
width: 100%;
background: #ffffff;
border: 1px solid rgba(0,0,0,.08);
border-radius: 28px;
box-shadow: var(--shadow2);
padding: 24px;
}
.form-title{
margin: 0 0 8px 0;
font-size: 34px;
line-height: 1.1;
letter-spacing: -0.03em;
font-weight: 800;
color: var(--text);
}
.form-subtitle{
margin: 0 0 22px 0;
color: var(--muted);
font-size: 15px;
line-height: 1.6;
max-width: 720px;
}
.sub-block{
background: linear-gradient(180deg,#ffffff 0%, #e9f4fb 100%);
border: 1px solid rgba(0,0,0,.08);
border-radius: 22px;
padding: 20px;
margin-bottom: 18px;
}
.sub-title{
margin: 0 0 16px 0;
font-size: 20px;
font-weight: 800;
color: var(--text);
}
.form-grid{
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14px;
}
.form-field{
display: flex;
flex-direction: column;
gap: 8px;
}
.form-field.full{
grid-column: 1 / -1;
}
.form-field label{
font-size: 14px;
font-weight: 700;
color: var(--text);
}
.form-field input,
.form-field select{
width: 100%;
min-height: 52px;
border: 1px solid rgba(0,0,0,.12);
border-radius: 14px;
padding: 0 16px;
font-size: 15px;
color: var(--text);
background: #fff;
outline: none;
transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus,
.form-field select:focus{
border-color: var(--accent);
box-shadow: 0 0 0 4px rgba(43,148,220,.14);
}
.form-actions{
margin-top: 22px;
display: flex;
justify-content: flex-end;
}
.form-cta{
border: none;
border-radius: 999px;
background: #2b94dc;
color: #ffffff;
padding: 14px 26px;
font-size: 17px;
font-weight: 700;
cursor: pointer;
box-shadow: 0 10px 22px rgba(43,148,220,.20);
}
.form-cta:hover{
filter: brightness(.98);
}
@media (max-width: 760px){
.form-shell{
padding: 18px;
}
.form-title{
font-size: 28px;
}
.form-grid{
grid-template-columns: 1fr;
}
}
#qGuests:disabled{
background:#f3f4f6;
color:#9ca3af;
cursor:not-allowed;
opacity:1; /* évite le fade Bootstrap trop moche */
}
#qGuests:disabled option{
color:#9ca3af;
}
#filtersBar .js-filter.is-disabled{
opacity:.45;
cursor:not-allowed;
pointer-events:none;
}
/* ============================================================================
Responsive (mobile)
============================================================================ */
@media (max-width: 575.98px){
.search-bar{
border-radius: 22px;
padding: 12px;
}
.search-field{
height: 54px;
border-radius: 18px;
padding: 0 14px;
}
#filtersBar{
gap: .5rem;
}
#filtersBar .chip{
flex: 1 1 auto;
justify-content: center;
}
.suggestBox{
left: 12px;
right: 12px;
top: calc(100% + 6px);
border-radius: 14px;
max-height: 45vh;
}
.mini-pill{ padding:3px 5px; font-size:.68rem; }
.mini-pill i{ font-size:.76rem; }
}