*{box-sizing:border-box}.ev-public-body{margin:0;padding:0;background:#f7f6f3;color:#2e2e2e;font:16px/1.5 Arial,Helvetica,sans-serif}.ev-is-embed{background:transparent}.ev-shell{max-width:1180px;margin:0 auto;padding:24px 22px 34px}.ev-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 0 22px}.ev-eyebrow{margin:0 0 5px;color:#ad843e;font-size:12px;font-weight:800;letter-spacing:.15em}.ev-heading h1{font-size:clamp(25px,3vw,36px);line-height:1.15;margin:0 0 9px;color:#2e2e2e}.ev-heading p{margin:0;color:#5f5b54}.ev-admin-link{flex-shrink:0;text-decoration:none;color:#fff;background:#27733a;padding:11px 16px;border-radius:8px;font-weight:700}.ev-filters{display:grid;grid-template-columns:minmax(190px,2fr) repeat(5,minmax(120px,1fr));gap:10px;align-items:end;padding:15px;background:#fff;border:1px solid #e6e0d7;border-radius:12px;box-shadow:0 4px 18px rgba(30,25,18,.05)}.ev-filters label{display:flex;flex-direction:column;gap:5px;min-width:0}.ev-filters label span,.ev-language label{font-size:12px;font-weight:700;color:#59544d}.ev-filters input,.ev-filters select{width:100%;height:42px;border:1px solid #d4cec5;border-radius:7px;padding:0 10px;background:#fff;color:#2e2e2e;font:inherit;font-size:14px;min-width:0}.ev-filter-actions{display:flex;gap:7px;align-items:center}.ev-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:0;cursor:pointer;border-radius:7px;padding:10px 15px;font-weight:700;font-size:14px;min-height:42px}.ev-btn--primary{background:#ad843e;color:#fff}.ev-btn--light{background:#f1eee8;color:#38332c}.ev-language{grid-column:1/-1;display:flex;justify-content:flex-end;align-items:center;gap:8px}.ev-language select{width:78px;height:34px}.ev-result-count{font-size:13px;color:#706b64;margin:16px 2px 10px}.ev-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.ev-card{background:#fff;border:1px solid #e9e3db;border-radius:13px;overflow:hidden;box-shadow:0 5px 18px rgba(38,30,20,.07);display:flex;flex-direction:column;min-width:0}.ev-card-media{position:relative;height:205px;background:#eae5dd;overflow:hidden}.ev-card-media img{display:block;width:100%;height:100%;object-fit:cover}.ev-no-photo{height:100%;display:flex;align-items:center;justify-content:center;color:#ad843e;font-weight:900;font-size:22px;letter-spacing:.1em}.ev-carousel-prev,.ev-carousel-next{position:absolute;top:calc(50% - 19px);width:32px;height:38px;border:0;border-radius:6px;background:rgba(30,25,19,.58);color:#fff;font-size:25px;line-height:1;cursor:pointer}.ev-carousel-prev{left:8px}.ev-carousel-next{right:8px}.ev-photo-counter{position:absolute;bottom:8px;right:9px;background:rgba(30,25,19,.65);color:#fff;border-radius:20px;padding:3px 8px;font-size:11px}.ev-card-body{display:flex;flex-direction:column;flex:1;padding:14px 15px 16px}.ev-card-meta{display:flex;justify-content:space-between;gap:8px;color:#897042;font-size:11px;font-weight:700}.ev-card-meta span:last-child{color:#55735a;text-align:right}.ev-card h2{font-size:18px;line-height:1.3;margin:9px 0 15px;color:#302c27;flex:1}.ev-btn--card{background:#286e3b;color:#fff;width:100%}.ev-empty{min-height:150px;margin:24px 0;padding:35px 18px;text-align:center;background:#fff;border:1px solid #e9e3db;border-radius:12px;color:#5b554d}.ev-empty strong{display:block}.ev-empty-icon{display:block;font-size:34px;color:#ad843e;margin-bottom:8px}.ev-error{color:#9e2525}.ev-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin:24px auto 6px}.ev-pagination a{color:#286e3b;font-weight:700;text-decoration:none}.ev-pagination span{font-size:13px;color:#706b64}.ev-standalone-brand{height:68px;background:#eee8df;display:flex;align-items:center;gap:12px;padding:0 max(22px,calc((100% - 1180px)/2));border-bottom:3px solid #ad843e}.ev-standalone-brand a{font-size:25px;font-weight:900;color:#a20b0b;text-decoration:none}.ev-standalone-brand span{font-size:13px;color:#625b52}.ev-detail-shell{max-width:980px;margin:25px auto 50px;padding:0 22px}.ev-detail-back{margin:0 0 18px}.ev-detail-back a{color:#286e3b;text-decoration:none;font-weight:700}.ev-detail-heading h1{font-size:clamp(26px,4vw,38px);line-height:1.2;margin:12px 0 18px}.ev-pill{display:inline-block;background:#f0e5d1;color:#725322;border-radius:20px;padding:5px 10px;font-size:12px;font-weight:700;margin-right:5px}.ev-pill--mode{background:#e4ede4;color:#286e3b}.ev-detail-gallery{position:relative;max-height:530px;overflow:hidden;border-radius:14px;background:#eee}.ev-detail-gallery img{display:block;width:100%;max-height:530px;object-fit:contain;background:#ddd}.ev-detail-content{background:#fff;border:1px solid #e8e1d8;border-radius:14px;padding:22px;margin-top:18px}.ev-detail-content h2{font-size:20px;margin:0 0 12px}.ev-description{white-space:normal;line-height:1.75}.ev-detail-info{margin-top:18px;padding-top:15px;border-top:1px solid #eee}.ev-detail-info p{margin:5px 0}.ev-main-action{margin-top:20px;min-width:210px}.ev-share{margin-top:22px;padding-top:15px;border-top:1px solid #eee;display:flex;align-items:center;flex-wrap:wrap;gap:9px}.ev-share a,.ev-share button{border:1px solid #ddd5ca;background:#fbfaf8;color:#4a443b;text-decoration:none;padding:7px 10px;border-radius:7px;font-size:13px;cursor:pointer}.ev-share strong{margin-right:4px}.ev-booking-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ev-booking-form label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:700}.ev-booking-form input,.ev-booking-form textarea{width:100%;border:1px solid #d8d0c5;border-radius:7px;padding:10px;font:inherit;background:#fff}.ev-booking-form button,.ev-booking-form .ev-privacy-note{grid-column:1/-1}.ev-privacy-note{color:#706b64;font-size:12px}@media(max-width:900px){.ev-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.ev-filter-search{grid-column:span 2}.ev-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.ev-shell{padding:18px 13px 25px}.ev-heading{display:block}.ev-admin-link{display:inline-flex;margin-top:13px}.ev-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.ev-filter-search{grid-column:1/-1}.ev-filter-actions{grid-column:1/-1}.ev-filter-actions .ev-btn{flex:1}.ev-language{grid-column:1/-1}.ev-grid{grid-template-columns:1fr;gap:14px}.ev-card-media{height:210px}.ev-heading h1{font-size:26px}.ev-detail-shell{padding:0 13px;margin-top:18px}.ev-detail-content{padding:17px}.ev-detail-gallery img{max-height:340px}.ev-booking-form{grid-template-columns:1fr}.ev-standalone-brand{height:58px;padding:0 14px}}

/* ============================================================
   SU CASA – Harmonisation charte graphique v1.0.1
   Boutons principaux : vert #0d790d / texte #f3f3f3
   Boutons secondaires : orange #fead02 / texte #f3f3f3
   Survol : fond #d9ead3
   ============================================================ */
:root {
  --ev-button-primary: #0d790d;
  --ev-button-secondary: #fead02;
  --ev-button-text: #f3f3f3;
  --ev-button-hover: #d9ead3;
  --ev-field-border: #cfc8bd;
}

.ev-btn,
.ev-admin-link,
.ev-share a,
.ev-share button {
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

/* Actions principales : consulter, filtrer, réserver, action de l'annonce */
.ev-btn--primary,
.ev-btn--card,
.ev-admin-link {
  background: var(--ev-button-primary) !important;
  color: var(--ev-button-text) !important;
  border-color: var(--ev-button-primary) !important;
}

/* Actions secondaires : réinitialiser, annuler */
.ev-btn--light {
  background: var(--ev-button-secondary) !important;
  color: var(--ev-button-text) !important;
  border-color: var(--ev-button-secondary) !important;
}

.ev-btn--primary:hover,
.ev-btn--card:hover,
.ev-admin-link:hover {
  background: var(--ev-button-hover) !important;
  color: var(--ev-button-primary) !important;
  border-color: var(--ev-button-hover) !important;
}

.ev-btn--light:hover {
  background: var(--ev-button-hover) !important;
  color: var(--ev-button-primary) !important;
  border-color: var(--ev-button-hover) !important;
}

/* Boutons de partage : actions secondaires */
.ev-share a,
.ev-share button {
  background: var(--ev-button-secondary);
  color: var(--ev-button-text);
  border: 1px solid var(--ev-button-secondary);
}

.ev-share a:hover,
.ev-share button:hover {
  background: var(--ev-button-hover);
  color: var(--ev-button-primary);
  border-color: var(--ev-button-hover);
}

/* Champs des filtres et des formulaires de réservation */
.ev-filters input,
.ev-filters select,
.ev-booking-form input,
.ev-booking-form select,
.ev-booking-form textarea {
  border-color: var(--ev-field-border);
  color: #2e2e2e;
  background-color: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.ev-filters input:focus,
.ev-filters select:focus,
.ev-booking-form input:focus,
.ev-booking-form select:focus,
.ev-booking-form textarea:focus {
  outline: none;
  border-color: var(--ev-button-primary);
  box-shadow: 0 0 0 3px rgba(13, 121, 13, .13);
}

.ev-filters input::placeholder,
.ev-booking-form input::placeholder,
.ev-booking-form textarea::placeholder {
  color: #817b72;
  opacity: 1;
}

.ev-btn:focus-visible,
.ev-admin-link:focus-visible,
.ev-share a:focus-visible,
.ev-share button:focus-visible,
.ev-carousel-prev:focus-visible,
.ev-carousel-next:focus-visible {
  outline: 3px solid rgba(13, 121, 13, .35);
  outline-offset: 2px;
}

.ev-btn:disabled,
.ev-share button:disabled {
  cursor: not-allowed;
  opacity: .6;
}

/* Sélecteur de langues SU CASA : drapeaux visibles comme la navigation du mini-site */
.ev-language {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}
.ev-language-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  background: #fff;
  border: 1px solid #eee8e0;
  border-radius: 10px;
}
.ev-lang-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 34px;
  min-width: 34px;
  height: 30px;
  min-height: 30px;
  padding: 2px 5px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font: 700 11px/1 Arial, sans-serif;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.ev-lang-button img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.ev-lang-button.is-active {
  background: #a40000;
  border-color: #a40000;
  color: #fff;
}
.ev-lang-button:hover:not(.is-active) {
  background: #d9ead3;
  border-color: #0d790d;
  color: #0d790d;
}
.ev-lang-button:focus-visible {
  outline: 2px solid #0d790d;
  outline-offset: 2px;
}
.ev-language-fallback[hidden] { display: none !important; }
.ev-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (max-width: 600px) {
  .ev-language-switcher { max-width: 100%; padding: 6px 7px; gap: 4px; }
  .ev-lang-button { width: 33px; min-width: 33px; }
}
.ev-lang-button img[hidden] { display: none !important; }


/* Typographie du contenu détaillé : le body detail utilisait une classe distincte
   de ev-public-body, ce qui laissait le navigateur afficher Times New Roman. */
.ev-detail-body {
  margin: 0;
  padding: 0;
  background: #f7f6f3;
  color: #2e2e2e;
  font: 16px/1.5 Arial, Helvetica, sans-serif;
}
.ev-detail-body.ev-is-embed { background: transparent; }
.ev-detail-shell { font-family: Arial, Helvetica, sans-serif; color: #2e2e2e; }
.ev-detail-content,
.ev-detail-content h1,
.ev-detail-content h2,
.ev-detail-content h3,
.ev-detail-content p,
.ev-detail-content label,
.ev-detail-content strong,
.ev-detail-content a,
.ev-description { font-family: Arial, Helvetica, sans-serif; }
.ev-language--detail {
  grid-column: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 14px;
}
.ev-language--detail .ev-language-switcher { width: max-content; max-width: 100%; }
.ev-detail-shell > .ev-language--detail { width: 100%; }

/* v1.0.6 — plusieurs actions configurables par annonce */
.ev-main-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.ev-main-actions .ev-main-action{margin-top:0;min-width:180px;flex:0 1 auto}
@media(max-width:600px){.ev-main-actions{display:grid;grid-template-columns:1fr}.ev-main-actions .ev-main-action{width:100%;min-width:0}}

/* v1.0.9 - réservation : honeypot invisible */
.ev-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}


/* Accès d'administration du mini-site SU CASA */
.ev-admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-shrink: 0;
}
.ev-admin-actions .ev-admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  text-align: center;
}
.ev-admin-actions .ev-admin-link--secondary {
  background: var(--ev-button-secondary, #fead02) !important;
  color: var(--ev-button-text, #f3f3f3) !important;
  border-color: var(--ev-button-secondary, #fead02) !important;
}
.ev-admin-actions .ev-admin-link--secondary:hover {
  background: var(--ev-button-hover, #d9ead3) !important;
  color: var(--ev-button-primary, #0d790d) !important;
  border-color: var(--ev-button-hover, #d9ead3) !important;
}
@media (max-width: 600px) {
  .ev-admin-actions {
    justify-content: flex-start;
    width: 100%;
    margin-top: 13px;
  }
  .ev-admin-actions .ev-admin-link {
    flex: 1 1 190px;
    margin-top: 0;
  }
}
