
:root{--ink:#13221e;--muted:#66736e;--sand:#f5f1e8;--card:#fff;--accent:#1e5b4f;--gold:#8f6528;--line:#e4ddd0}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fbfaf7;line-height:1.55}a{color:inherit;text-decoration:none}img{display:block;width:100%}
.top{min-height:74px;display:flex;align-items:center;justify-content:space-between;padding:12px clamp(20px,4vw,70px);background:rgba(255,255,255,.95);position:sticky;top:0;z-index:20;border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.logo{font-family:Georgia,serif;font-size:clamp(18px,2vw,26px);font-weight:700}.top nav{display:flex;gap:24px;font-size:14px}.top nav a:hover{color:var(--accent)}
.hero{min-height:72vh;position:relative;display:grid;align-items:end;overflow:hidden}.hero>img{position:absolute;inset:0;height:100%;object-fit:cover}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,18,14,.05),rgba(6,18,14,.72))}.hero-overlay{position:relative;z-index:2;color:white;max-width:920px;padding:clamp(34px,6vw,88px);padding-bottom:clamp(46px,8vw,100px)}.hero h1{font:700 clamp(42px,7vw,86px)/.98 Georgia,serif;margin:8px 0 20px}.hero p{max-width:650px;font-size:clamp(17px,2vw,22px)}
.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-weight:700;font-size:12px;color:var(--gold)}.hero .eyebrow{color:#f3d79e}.btn,.ghost{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:13px 19px;font-weight:700;font-size:14px;transition:.2s;min-height:44px}.btn{background:var(--accent);color:#fff}.btn:hover{transform:translateY(-1px);filter:brightness(1.08)}.btn.light{background:white;color:var(--ink)}.btn.big{padding:16px 23px}.ghost{border:1px solid var(--line);background:#fff}
.intro{max-width:900px;margin:0 auto;padding:80px 24px 40px;text-align:center}.intro h2,.region h2,.detail h2{font:700 clamp(30px,4vw,48px)/1.1 Georgia,serif;margin:8px 0 18px}.intro p:last-child{color:var(--muted);font-size:18px}
.grid{max-width:1320px;margin:0 auto;padding:26px 24px 90px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.card{background:var(--card);border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 12px 35px rgba(25,40,35,.06);display:flex;flex-direction:column}.card-cover{position:relative;overflow:hidden}.card-cover img{aspect-ratio:4/3;object-fit:cover;background:#ddd;transition:transform .3s}.card-cover:hover img{transform:scale(1.025)}.card-cover:after{content:"Découvrir";position:absolute;right:14px;bottom:14px;background:rgba(255,255,255,.94);padding:8px 13px;border-radius:999px;font-size:13px;font-weight:800}.card-body{padding:22px;display:flex;flex-direction:column;flex:1}.card h2{font:700 30px/1.1 Georgia,serif;margin:4px 0}.subtitle{font-weight:700;color:#2c4840}.card p:not(.eyebrow):not(.subtitle){color:var(--muted)}.facts{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.facts span{font-size:13px;background:var(--sand);padding:7px 10px;border-radius:999px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:auto;padding-top:20px}
.region{max-width:1200px;margin:0 auto 100px;padding:44px;border-radius:28px;background:var(--sand);display:flex;align-items:end;justify-content:space-between;gap:35px}.region>div{max-width:760px}.region p{color:var(--muted);font-size:18px}
footer{padding:42px clamp(22px,5vw,70px);background:#12211d;color:#e9eee9;display:flex;flex-wrap:wrap;gap:18px 34px;align-items:center}footer strong{font-family:Georgia,serif;font-size:22px}footer span,footer small{color:#b8c4bf}
.detail-hero{position:relative;min-height:62vh;background:#ddd;display:grid;align-items:end}.detail-hero img{position:absolute;inset:0;height:100%;object-fit:cover}.detail-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(8,22,17,.68))}.detail-hero>div{position:relative;z-index:2;color:#fff;padding:clamp(34px,6vw,80px)}.detail-hero h1{font:700 clamp(48px,8vw,92px)/1 Georgia,serif;margin:6px 0}.detail-hero .subtitle{font-size:20px;color:#fff}
.detail-wrap{max-width:1180px;margin:0 auto;padding:60px 24px 100px}.gallery-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.gallery-head h2{font:700 clamp(28px,4vw,42px)/1.1 Georgia,serif;margin:0}.gallery{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:220px 220px;gap:10px}.gallery button{padding:0;border:0;background:#ddd;border-radius:18px;overflow:hidden;cursor:pointer}.gallery button:first-child{grid-row:1/3}.gallery img{height:100%;object-fit:cover;transition:transform .25s}.gallery button:hover img{transform:scale(1.025)}
.detail{padding:65px 0 0;display:grid;grid-template-columns:1fr 320px;gap:70px}.detail>div>p{font-size:18px;color:var(--muted)}.detail aside{background:var(--sand);border-radius:22px;padding:28px;height:max-content;position:sticky;top:100px}.detail aside h3{font:700 25px Georgia,serif;margin-top:0}.detail-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0;margin:30px 0 45px;gap:10px;list-style:none}.detail-facts li{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px;font-weight:700}.amenities{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 38px}.amenities span{background:var(--sand);border:1px solid var(--line);padding:10px 14px;border-radius:999px}.platform-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.platform-note{font-size:14px!important;color:var(--muted)}
.lightbox{border:0;padding:0;background:transparent;max-width:96vw;max-height:94vh}.lightbox::backdrop{background:rgba(0,0,0,.88)}.lightbox-inner{position:relative;display:flex;align-items:center;justify-content:center;min-width:min(1000px,94vw)}.lightbox img{max-width:92vw;max-height:88vh;object-fit:contain;border-radius:10px}.lightbox button{position:absolute;border:0;background:rgba(255,255,255,.92);width:46px;height:46px;border-radius:50%;font-size:24px;cursor:pointer}.lb-close{right:12px;top:12px}.lb-prev{left:12px}.lb-next{right:12px}
.skip-link{position:fixed;top:-100px;left:16px;z-index:100;background:white;padding:14px 20px;border-radius:8px}.skip-link:focus{top:12px}
a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
@media(max-width:980px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail{grid-template-columns:1fr}.detail aside{position:static}.region{margin-left:24px;margin-right:24px}}
@media(max-width:650px){.top{min-height:86px;flex-wrap:wrap;gap:6px 16px}.top nav{display:flex;gap:14px}.hero{min-height:68vh}.hero-overlay{padding:28px 22px 46px}.hero h1{font-size:clamp(36px,10vw,48px)}.intro{padding-top:58px}.grid{grid-template-columns:1fr;padding:15px 16px 70px}.card{border-radius:18px}.region{padding:28px 22px;display:block;margin-inline:16px}.region .btn{margin-top:14px}.detail-hero{min-height:55vh}.detail-hero>div{padding:28px 20px}.detail-hero h1{font-size:clamp(36px,11vw,52px)}.detail-wrap{padding:38px 16px 70px}.gallery{grid-template-columns:1fr 1fr;grid-template-rows:230px 140px 140px}.gallery button:first-child{grid-column:1/3;grid-row:auto}.detail{padding-top:42px;gap:35px}.detail-facts{grid-template-columns:1fr 1fr}footer{display:block}footer>*{display:block;margin:8px 0}.lightbox button{width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn,.gallery img,.card-cover img{transition:none}.btn:hover,.gallery button:hover img,.card-cover:hover img{transform:none}}


/* --- HOME PHOTO POPUP V1 --- */
button.card-cover{display:block;width:100%;padding:0;border:0;background:#ddd;cursor:pointer;text-align:left}
button.card-cover:after{display:none}
.photo-cta{position:absolute;right:14px;bottom:14px;background:rgba(255,255,255,.96);padding:10px 14px;border-radius:999px;font-size:13px;font-weight:800;color:var(--ink);box-shadow:0 6px 18px rgba(0,0,0,.12)}
.card-cover:hover .photo-cta{transform:translateY(-2px)}
.actions button.btn{font:inherit}
.click-photo-banner{margin:24px auto 0;max-width:650px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 20px;box-shadow:0 8px 25px rgba(25,40,35,.06);font-size:16px}
.modal-open{overflow:hidden}
.property-modal{border:0;padding:0;background:transparent;width:min(1180px,96vw);max-width:none;max-height:94vh}
.property-modal::backdrop{background:rgba(7,18,14,.82);backdrop-filter:blur(3px)}
.property-modal-shell{position:relative;background:#fff;border-radius:24px;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);max-height:90vh}
.property-modal-gallery{position:relative;background:#111;min-height:620px;display:flex;align-items:center;justify-content:center}
.property-modal-gallery>img{width:100%;height:100%;max-height:90vh;object-fit:contain}
.property-modal-close{position:absolute;right:16px;top:16px;z-index:20;width:46px;height:46px;border:0;border-radius:50%;background:#fff;font-size:27px;cursor:pointer;box-shadow:0 5px 20px rgba(0,0,0,.16)}
.property-arrow{position:absolute;z-index:10;top:50%;transform:translateY(-50%);width:48px;height:48px;border:0;border-radius:50%;background:rgba(255,255,255,.94);font-size:28px;cursor:pointer}
.property-arrow.prev{left:16px}.property-arrow.next{right:16px}
.property-photo-count{position:absolute;left:18px;bottom:16px;background:rgba(0,0,0,.64);color:#fff;border-radius:999px;padding:7px 12px;font-weight:700;font-size:13px}
.property-modal-content{padding:42px 34px;overflow:auto}
.property-modal-content h2{font:700 clamp(34px,4vw,52px)/1.05 Georgia,serif;margin:7px 0 10px}
.property-modal-subtitle{font-weight:800;color:#2c4840;font-size:18px;margin:0 0 8px}
.property-modal-facts{font-weight:700;color:var(--accent);margin:0 0 20px}
.property-modal-content>p:not(.eyebrow):not(.property-modal-subtitle):not(.property-modal-facts){color:var(--muted);font-size:17px;line-height:1.65}
.property-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:20px 0 28px}
.property-thumbs button{padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:#eee;cursor:pointer;aspect-ratio:1}
.property-thumbs button.active{border-color:var(--accent)}
.property-thumbs img{width:100%;height:100%;object-fit:cover}
@media(max-width:850px){
  .property-modal-shell{grid-template-columns:1fr;overflow:auto}
  .property-modal-gallery{min-height:52vh;max-height:58vh}
  .property-modal-content{padding:28px 20px}
}
@media(max-width:520px){
  .property-modal{width:98vw}
  .property-modal-shell{border-radius:18px}
  .property-modal-gallery{min-height:46vh}
  .property-arrow{width:42px;height:42px}
  .property-thumbs{grid-template-columns:repeat(5,1fr);gap:5px}
  .photo-cta{right:10px;bottom:10px;padding:8px 11px}
}

/* === REGION ROBUSTE 4 PHOTOS === */
#region.region-full{
  width:100%;
  max-width:none;
  margin:72px 0 90px;
  padding:0;
  background:transparent;
}
#region .region-copy{
  max-width:1200px;
  margin:0 auto 26px;
  padding:0 24px;
}
#region .region-copy h2{
  margin:6px 0 10px;
}
#region .region-four{
  width:100%;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  padding:0 24px;
  box-sizing:border-box;
}
#region .region-four figure{
  margin:0;
  overflow:hidden;
  border-radius:18px;
  aspect-ratio:4/3;
  background:#e8ece9;
}
#region .region-four img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
@media(max-width:900px){
  #region .region-four{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:560px){
  #region .region-copy{padding:0 16px;}
  #region .region-four{grid-template-columns:1fr;padding:0 16px;}
}

/* === REGION - 4 PHOTOS ORIGINALES === */
#region.region-full{width:100%;max-width:none;margin:72px 0 90px;padding:0;background:transparent}
#region .region-copy{max-width:1200px;margin:0 auto 26px;padding:0 24px}
#region .region-four{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:0 24px;box-sizing:border-box}
#region .region-four figure{position:relative;margin:0;overflow:hidden;border-radius:18px;aspect-ratio:4/3;background:#e8ece9}
#region .region-four img{display:block;width:100%;height:100%;object-fit:cover}
#region .region-four figcaption{position:absolute;left:12px;bottom:12px;padding:7px 10px;border-radius:999px;background:rgba(0,0,0,.62);color:#fff;font-size:13px;font-weight:700}
@media(max-width:900px){#region .region-four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){#region .region-four{grid-template-columns:1fr;padding:0 16px}#region .region-copy{padding:0 16px}}

/* === ROCCAPINA REGION : 4 LANDMARKS DISTINCTS === */
#region.region-landmarks{width:100%;max-width:none;margin:72px 0 90px;padding:0;background:transparent}
#region.region-landmarks .region-copy{max-width:1200px;margin:0 auto 26px;padding:0 24px}
#region.region-landmarks .region-four{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:86%;max-width:1080px;margin:0 auto;padding:0;box-sizing:border-box}
#region.region-landmarks .region-four figure{position:relative;margin:0;overflow:hidden;border-radius:18px;aspect-ratio:4/3;height:auto;background:#e9ecea}
#region.region-landmarks .region-four img{display:block;width:100%;height:100%;object-fit:cover}
#region.region-landmarks .region-four figcaption{position:absolute;left:12px;bottom:12px;background:rgba(0,0,0,.62);color:white;padding:7px 11px;border-radius:999px;font-size:13px;font-weight:700}
#region.region-landmarks .region-credits{max-width:1200px;margin:12px auto 0;padding:0 24px;font-size:11px;opacity:.62}
@media(max-width:900px){#region.region-landmarks .region-four{grid-template-columns:repeat(2,minmax(0,1fr));width:92%}#region.region-landmarks .region-four figure{height:auto;aspect-ratio:4/3}}
@media(max-width:560px){#region.region-landmarks .region-four{grid-template-columns:1fr;width:calc(100% - 32px);padding:0}#region.region-landmarks .region-four figure{height:auto;aspect-ratio:4/3}#region.region-landmarks .region-copy,#region.region-landmarks .region-credits{padding:0 16px}}

/* RESERVATION_MODAL_BEGIN */
.reserve-modal{border:0;padding:0;background:transparent;width:min(520px,94vw);max-width:none}
.reserve-modal::backdrop{background:rgba(7,18,14,.76);backdrop-filter:blur(3px)}
.reserve-shell{position:relative;background:#fff;border-radius:22px;padding:34px;box-shadow:0 24px 70px rgba(0,0,0,.28)}
.reserve-shell h2{margin:6px 0 8px;font:700 clamp(30px,5vw,42px)/1.05 Georgia,serif}
.reserve-intro{margin:0 0 22px;color:var(--muted)}
.reserve-close{position:absolute;right:14px;top:14px;width:42px;height:42px;border:0;border-radius:50%;background:#f1f3f1;font-size:26px;cursor:pointer}
.reserve-platforms{display:grid;gap:11px}
.reserve-platform{display:flex;align-items:center;justify-content:center;min-height:52px;padding:10px 16px;border-radius:14px;text-decoration:none;font-weight:800;border:1px solid var(--line);background:#fff;color:var(--ink);transition:transform .15s ease,box-shadow .15s ease}
.reserve-platform:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(0,0,0,.10)}
.actions .reserve-trigger{cursor:pointer}
#propertyModalDetail + #propertyReserveButton{margin-left:8px}
@media(max-width:560px){.reserve-shell{padding:28px 18px}.actions{gap:8px;flex-wrap:wrap}#propertyModalDetail + #propertyReserveButton{margin-left:0;margin-top:8px}}
/* RESERVATION_MODAL_END */

/* LOCATION_TITLES_SCRIPT_BEGIN */
@font-face {
  font-family: "RoccapinaSignature";
  src: url("/assets/fonts/corinthia-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.card h2,
#propertyModalTitle,
.detail-hero h1 {
  font-family: "RoccapinaSignature", cursive !important;
  font-weight: 400 !important;
  font-style: normal !important;
  text-transform: none !important;
  letter-spacing: .01em !important;
  -webkit-font-smoothing: antialiased;
}

.card h2 {
  font-size: clamp(47px, 5vw, 64px) !important;
  line-height: .92 !important;
  margin: 0 0 10px !important;
  text-shadow: none !important;
}

#propertyModalTitle {
  font-size: clamp(56px, 6vw, 78px) !important;
  line-height: .9 !important;
  margin: 0 0 10px !important;
  text-shadow: none !important;
}

.detail-hero h1 {
  font-size: clamp(74px, 10vw, 126px) !important;
  line-height: .86 !important;
  letter-spacing: .012em !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.16) !important;
}

@media (max-width: 650px) {
  .card h2 {
    font-size: 51px !important;
  }
  #propertyModalTitle {
    font-size: 60px !important;
  }
  .detail-hero h1 {
    font-size: clamp(66px, 18vw, 94px) !important;
  }
}
/* LOCATION_TITLES_SCRIPT_END */

/* WARM_TONE_BEGIN */
body {
  background: #fbf8f4;
}
.card {
  border-radius: 24px !important;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(38, 50, 43, .07) !important;
}
.card-body {
  padding: 24px 24px 26px !important;
}
.card .subtitle {
  font-weight: 600 !important;
  line-height: 1.45 !important;
}
.card p {
  line-height: 1.65 !important;
}
.btn, .ghost {
  border-radius: 999px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.intro {
  max-width: 900px !important;
}
.click-photo-banner {
  border-radius: 999px !important;
  box-shadow: none !important;
}
#region .region-copy p, .region-copy p {
  line-height: 1.65 !important;
}
footer {
  line-height: 1.6 !important;
}
/* WARM_TONE_END */

/* LOCATION_DESCRIPTIONS_SCRIPT_BEGIN */
/* Meme police que les titres, appliquee uniquement aux descriptifs
   des logements : cartes accueil, fenetre detail, fiches logements. */

.card .subtitle,
.card p,
#propertyModal .subtitle,
#propertyModal p,
.modal-body p,
.property-modal p,
.detail-content p,
.detail-section p,
.detail-hero p,
.property-description,
.property-content p {
  font-family: "RoccapinaSignature", cursive !important;
  font-weight: 400 !important;
  font-style: normal !important;
  text-transform: none !important;
  letter-spacing: .012em !important;
  line-height: 1.42 !important;
  text-shadow: none !important;
  -webkit-font-smoothing: antialiased;
}

/* Descriptifs sur les cartes */
.card .subtitle,
.card p {
  font-size: clamp(24px, 2.2vw, 30px) !important;
  line-height: 1.35 !important;
}

/* Fenetre Photos & descriptif */
#propertyModal .subtitle,
#propertyModal p,
.modal-body p,
.property-modal p {
  font-size: clamp(27px, 2.4vw, 34px) !important;
  line-height: 1.38 !important;
}

/* Fiches logements */
.detail-content p,
.detail-section p,
.detail-hero p,
.property-description,
.property-content p {
  font-size: clamp(28px, 2.3vw, 36px) !important;
  line-height: 1.4 !important;
}

@media (max-width: 650px) {
  .card .subtitle,
  .card p {
    font-size: 24px !important;
  }

  #propertyModal .subtitle,
  #propertyModal p,
  .modal-body p,
  .property-modal p {
    font-size: 27px !important;
  }

  .detail-content p,
  .detail-section p,
  .detail-hero p,
  .property-description,
  .property-content p {
    font-size: 28px !important;
  }
}
/* LOCATION_DESCRIPTIONS_SCRIPT_END */

/* POPUP_PHOTO_HEIGHT_FIX_BEGIN */
/* Galerie "Decouvrir" : photos plus hautes sans deformation */
.property-modal {
  max-height: 96vh !important;
}

.property-modal-shell {
  max-height: 94vh !important;
}

.property-modal-gallery {
  min-height: 680px !important;
  height: min(78vh, 760px) !important;
  max-height: 82vh !important;
  overflow: hidden !important;
}

.property-modal-gallery > img,
#propertyModalImage {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* Tablettes */
@media (max-width: 850px) {
  .property-modal-shell {
    max-height: 96vh !important;
  }

  .property-modal-gallery {
    min-height: 60vh !important;
    height: 64vh !important;
    max-height: 68vh !important;
  }
}

/* Mobiles */
@media (max-width: 520px) {
  .property-modal {
    max-height: 98vh !important;
  }

  .property-modal-gallery {
    min-height: 58vh !important;
    height: 62vh !important;
    max-height: 66vh !important;
  }
}
/* POPUP_PHOTO_HEIGHT_FIX_END */

/* HOME_SIGNATURE_BEGIN */
/* Home-only alias: optional prevents a late webfont swap and CLS. */
@font-face {
  font-family: "RoccapinaSignatureHome";
  src: url("/assets/fonts/corinthia-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}

/* Page de garde : meme ecriture que les noms/descriptifs des logements.
   Les menus, boutons et elements techniques ne sont pas modifies. */

.hero h1,
.hero-title,
.home-hero h1,
.cover h1,
.masthead h1,
.intro-hero h1 {
  font-family: "RoccapinaSignatureHome", cursive !important;
  font-weight: 400 !important;
  font-style: normal !important;
  text-transform: none !important;
  letter-spacing: .012em !important;
  line-height: .88 !important;
  font-size: clamp(70px, 9vw, 126px) !important;
  -webkit-font-smoothing: antialiased;
}

.hero p,
.hero .subtitle,
.hero-subtitle,
.home-hero p,
.home-hero .subtitle,
.cover p,
.masthead p,
.intro-hero p {
  font-family: "RoccapinaSignatureHome", cursive !important;
  font-weight: 400 !important;
  font-style: normal !important;
  text-transform: none !important;
  letter-spacing: .012em !important;
  line-height: 1.28 !important;
  font-size: clamp(30px, 3vw, 42px) !important;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 650px) {
  .hero h1,
  .hero-title,
  .home-hero h1,
  .cover h1,
  .masthead h1,
  .intro-hero h1 {
    font-size: clamp(62px, 17vw, 92px) !important;
    line-height: .9 !important;
  }

  .hero p,
  .hero .subtitle,
  .hero-subtitle,
  .home-hero p,
  .home-hero .subtitle,
  .cover p,
  .masthead p,
  .intro-hero p {
    font-size: 30px !important;
    line-height: 1.25 !important;
  }
}
/* HOME_SIGNATURE_END */

/* FOOTER_INLINE_BEGIN */
.footer-legal-inline {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  text-align: center !important;
  width: 100% !important;
  line-height: 1.4 !important;
}

.footer-legal-inline span {
  display: inline-block !important;
  margin: 0 !important;
}

.footer-legal-inline .footer-sep {
  opacity: .55;
}

@media (max-width: 700px) {
  .footer-legal-inline {
    gap: 7px !important;
    font-size: .9rem !important;
  }
}
/* FOOTER_INLINE_END */

/* ROCCAPINA_DECOR_BEGIN */
/* Decor fixe tres leger derriere la zone des annonces */
#locations {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}

#locations::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -2 !important;
  background-image:
    linear-gradient(rgba(250,248,244,.86), rgba(250,248,244,.86)),
    url("/assets/roccapina-960.webp") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  opacity: .32 !important;
  transform: scale(1.03) !important;
}

#locations::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.08)) !important;
}

#locations .card {
  background: rgba(255,255,255,.89) !important;
  backdrop-filter: blur(1.6px) !important;
}

@media (max-width: 900px) {
  #locations::before {
    background-attachment: scroll !important;
    opacity: .29 !important;
  }
}
/* ROCCAPINA_DECOR_END */

/* MOBILE_SPEED_OPT_BEGIN */

/* Base anti-debordement */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.card,
.card-body,
.actions,
.property-modal,
.property-modal-shell,
.property-modal-content {
  min-width: 0 !important;
}

/* Les cartes hors ecran coutent moins cher a afficher */
.card {
  content-visibility: auto;
  contain-intrinsic-size: 520px 620px;
}

/* Noms manuscrits : aucune coupure hors ecran */
.card h2,
#propertyModalTitle,
.detail-hero h1 {
  max-width: 100% !important;
  overflow-wrap: anywhere;
}

/* Actions : pas de bouton coupe */
.actions,
.card .actions,
.platform-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Fenetre Decouvrir */
.property-modal,
#propertyModal {
  max-width: 100vw !important;
}

.property-modal-shell {
  width: min(1180px, 96vw) !important;
  max-width: 96vw !important;
  max-height: 96vh !important;
  overflow-y: auto !important;
}

.property-modal-gallery {
  width: 100% !important;
  min-height: 520px !important;
  height: min(72vh, 760px) !important;
  overflow: hidden !important;
}

.property-modal-gallery img,
#propertyModalImage {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Le decor Roccapina reste leger */
#locations::before {
  will-change: auto !important;
}

/* Tablettes */
@media (max-width: 900px) {
  #locations::before {
    background-attachment: scroll !important;
  }

  .property-modal-shell {
    width: 97vw !important;
    max-width: 97vw !important;
  }

  .property-modal-gallery {
    min-height: 55vh !important;
    height: 60vh !important;
    max-height: 64vh !important;
  }
}

/* Telephones */
@media (max-width: 650px) {
  .card {
    contain-intrinsic-size: 420px 590px;
  }

  .card h2 {
    font-size: clamp(42px, 13vw, 54px) !important;
    line-height: .98 !important;
  }

  #propertyModalTitle {
    font-size: clamp(48px, 14vw, 62px) !important;
    line-height: .96 !important;
  }

  .detail-hero h1 {
    font-size: clamp(58px, 16vw, 82px) !important;
    line-height: .92 !important;
  }

  .card .subtitle,
  .card p {
    line-height: 1.35 !important;
  }

  .actions,
  .card .actions,
  .platform-links {
    width: 100% !important;
  }

  .actions > *,
  .card .actions > *,
  .platform-links > * {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  .property-modal-shell {
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: 98vh !important;
    border-radius: 0 !important;
  }

  .property-modal-gallery {
    min-height: 54vh !important;
    height: 58vh !important;
    max-height: 62vh !important;
  }

  .property-modal-content,
  .modal-body {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #locations {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  #locations::before {
    background-attachment: scroll !important;
    opacity: .25 !important;
    transform: none !important;
  }

  .footer-legal-inline {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* Tres petits telephones */
@media (max-width: 390px) {
  .card h2 {
    font-size: 41px !important;
  }

  #propertyModalTitle {
    font-size: 46px !important;
  }

  .property-modal-gallery {
    min-height: 50vh !important;
    height: 54vh !important;
  }
}

/* MOBILE_SPEED_OPT_END */


/* FOOTER_COMPACT_BEGIN */
footer{
  padding:14px clamp(18px,4vw,54px) !important;
  gap:4px 18px !important;
  line-height:1.25 !important;
  font-size:12px !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:center !important;
  text-align:center !important;
}
footer .legal-links{
  width:100% !important;
  margin:2px auto !important;
  line-height:1.25 !important;
  font-size:11px !important;
  text-align:center !important;
}
.footer-legal-inline{
  width:100% !important;
  gap:6px 9px !important;
  line-height:1.3 !important;
  justify-content:center !important;
  text-align:center !important;
  position:relative !important;
}
@media(max-width:650px){
  footer{padding:11px 14px !important;font-size:11px !important;}
  footer>*{margin:4px 0 !important;}
  .footer-legal-inline{gap:4px 7px !important;}
}
/* FOOTER_COMPACT_END */


/* FOOTER_NEUTRAL_LINKS_BEGIN */
/* Les liens SEO restent accessibles aux moteurs et aux visiteurs,
   mais ressemblent à du texte discret, sans effet de bouton. */
footer .footer-seo-links,
footer .footer-seo-links a{
  color:#9eaaa5 !important;
  text-decoration:none !important;
  font-weight:400 !important;
}
footer .footer-seo-links a:hover,
footer .footer-seo-links a:focus{
  color:#9eaaa5 !important;
  text-decoration:none !important;
  background:none !important;
  box-shadow:none !important;
}
footer .footer-required-links a{
  color:#e9eee9 !important;
  text-decoration:underline !important;
  text-underline-offset:2px !important;
}
footer .footer-required-links a:hover,
footer .footer-required-links a:focus{
  color:#ffffff !important;
}
/* FOOTER_NEUTRAL_LINKS_END */


/* FOOTER_SOCIAL_BEGIN */
.footer-social{
  display:inline-flex !important;
  align-items:center !important;
  gap:9px !important;
  vertical-align:middle !important;
  position:absolute !important;
  right:0 !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  margin-left:0 !important;
}
.footer-social .social-icon{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:24px !important;
  height:24px !important;
  margin:0 !important;
}
.footer-social img{
  display:block !important;
  width:24px !important;
  height:24px !important;
  max-width:24px !important;
  opacity:.95 !important;
}
@media(max-width:650px){
  .footer-social{
    position:static !important;
    transform:none !important;
    margin-left:auto !important;
    gap:7px !important;
  }
  .footer-social img,.footer-social .social-icon{
    width:21px !important;
    height:21px !important;
    max-width:21px !important;
  }
}
/* FOOTER_SOCIAL_END */
