html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 4rem; }

/* Navbar */
.nav-link { position: relative; padding: 22px 0; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: #F97316; }
.nav-link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #F97316; }

/* Hero */
.hero-bg {
  background:
    radial-gradient(ellipse at 75% 20%, #f7b267 0%, rgba(247,178,103,0) 55%),
    linear-gradient(180deg, #f3c58f 0%, #e79a5f 38%, #8a5a4a 75%, #3a2b27 100%);
}

/* Titres */
.section-title { position: relative; font-size: 24px; font-weight: 700; line-height: 1.2; }
.section-title::before { content: ""; position: absolute; left: -7px; top: -4px; width: 5px; height: 5px; border-radius: 50%; background: #F97316; }

/* Cartes plans */
.plan-card { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 22px 18px 18px; transition: transform .2s, box-shadow .2s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.18); }
.plan-list { margin: 16px 0 18px; display: grid; gap: 9px; font-size: 11px; color: #444; }
.plan-list li { position: relative; padding-left: 20px; }
.plan-list li::before { content: ""; position: absolute; left: 3px; top: 3px; width: 8px; height: 8px; border-radius: 50%; background: #F97316; }
.plan-list li.chk::before, .chk::before { background: none; }
.plan-btn { display: block; text-align: center; padding: 11px; border-radius: 6px; background: #FFEDD5; color: #EA580C; font-size: 12px; font-weight: 600; transition: all .2s; }
.plan-btn:hover { background: #F97316; color: #fff; }
.plan-btn-solid { background: #F97316; color: #fff; }
.plan-btn-solid:hover { background: #EA580C; }
.badge { position: absolute; top: -1px; right: 14px; transform: translateY(-50%); background: #F97316; color: #fff; font-size: 9px; font-weight: 600; padding: 3px 9px; border-radius: 4px; white-space: nowrap; }

/* Coches */
.chk { position: relative; padding-left: 18px; }
.chk::before { content: "✔"; position: absolute; left: 0; top: 0; font-size: 10px; color: #F97316; }
li.chk::before { top: 0; left: 0; width: auto; height: auto; border-radius: 0; }

/* Photos illustrées (remplaçables par de vraies images) */
.photo-woman {
  background:
    radial-gradient(circle at 50% 38%, #8a5a3d 0 16%, transparent 17%),
    radial-gradient(ellipse at 50% 85%, #f1d9cf 0 28%, transparent 29%),
    linear-gradient(160deg, #3f5a2e, #8aa05a 55%, #d7b98a);
}
.photo-wifi {
  background:
    radial-gradient(circle at 35% 45%, #4a2f22 0 11%, transparent 12%),
    radial-gradient(ellipse at 35% 90%, #2f5d86 0 22%, transparent 23%),
    linear-gradient(120deg, #4d6b2e, #a8b86a 50%, #e6c58a);
}
.store-btn { display: flex; align-items: center; gap: 8px; background: #000; color: #fff; border-radius: 6px; padding: 6px 12px; font-size: 12px; font-weight: 600; line-height: 1.1; }
.store-btn small { display: block; font-size: 7px; font-weight: 400; opacity: .8; }

/* Bandeau ville */
.city-bg {
  background:
    linear-gradient(90deg, rgba(20,17,15,.85), rgba(20,17,15,.55)),
    repeating-linear-gradient(90deg, #5b4a42 0 22px, #3d322d 22px 40px, #6b574b 40px 58px),
    #3d322d;
}

/* Stats */
.stat { display: flex; align-items: center; gap: 14px; }
.stat-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #FFEDD5; color: #F97316; flex-shrink: 0; }

/* Segments (onglets) */
.seg { padding: 8px 16px; border-radius: 6px; color: #666; font-weight: 500; transition: all .2s; }
.seg.active { background: #FFEDD5; color: #EA580C; font-weight: 600; }
.seg:hover:not(.active) { color: #F97316; }
.seg-p { padding: 6px 12px; border-radius: 6px; color: #555; transition: all .2s; }
.seg-p.active { background: #F97316; color: #fff; font-weight: 600; }

/* Cartes détail */
.detail-card { position: relative; background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 20px 20px 18px; animation: rise .35s ease both; }
.detail-card.pop { border: 2px solid #FB923C; box-shadow: 0 10px 28px -14px rgba(249,115,22,.6); }
.detail-card .ico { width: 34px; height: 34px; border-radius: 8px; background: #FFEDD5; display: grid; place-items: center; color: #14110F; }
.detail-card ul { margin: 14px 0 18px; display: grid; gap: 9px; font-size: 10.5px; color: #444; }
.detail-card ul li::before { color: #F97316; }
.detail-card .btn { display: block; text-align: center; padding: 10px; border-radius: 6px; font-size: 11px; font-weight: 600; background: #FFEDD5; color: #EA580C; transition: all .2s; }
.detail-card .btn:hover { background: #F97316; color: #fff; }
.detail-card .btn.solid { background: #F97316; color: #fff; }
.detail-card .btn.dark { background: #14110F; color: #fff; }
.detail-card .btn.dark:hover { background: #EA580C; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Carte */
.map-bg { background: linear-gradient(135deg, #eef1e8, #f4efe4); }
.marker { position: absolute; width: 22px; height: 28px; transform: translate(-50%, -100%); transition: transform .2s; cursor: pointer; }
.marker:hover { transform: translate(-50%, -110%) scale(1.15); }
#markers { transition: transform .35s ease; transform-origin: 50% 50%; position: absolute; inset: 0; }

/* Équipements */
.equip { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 14px 16px 18px; font-size: 10.5px; color: #777; transition: box-shadow .2s, transform .2s; }
.equip:hover { box-shadow: 0 12px 26px -14px rgba(0,0,0,.2); transform: translateY(-3px); }
.equip-img { height: 130px; display: grid; place-items: center; margin-bottom: 8px; }
.equip h3 { font-weight: 700; font-size: 11.5px; color: #14110F; }

/* Photos réelles de la maquette */
.hero-bg { background: linear-gradient(180deg, #cab9af 0%, #fbc48e 30%, #fdbc7c 60%, #6a4734 90%, #231b19 100%); }
.hero-photo { position: absolute; top: 0; right: 0; height: 100%; width: 68%; object-fit: cover; object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%); mask-image: linear-gradient(90deg, transparent 0, #000 35%); }
.hero-veil { background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.55) 38%, rgba(255,255,255,0) 62%); }
@media (max-width: 767px) { .hero-photo { width: 100%; opacity: .55; } .hero-veil { background: rgba(255,255,255,.55); } }
.photo-wifi { background: #967d3d; }
.equip-img img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }

.city-bg { background: linear-gradient(90deg, rgba(20,17,15,.88) 0%, rgba(20,17,15,.55) 55%, rgba(20,17,15,.35) 100%), url("../img/city.jpg") right center / cover no-repeat, #3d322d; }

/* Pages intérieures */
.page-hero { background: linear-gradient(135deg, #FFF7ED 0%, #FED7AA 55%, #FDBA74 100%); }
.faq { border: 1px solid #eee; border-radius: 10px; padding: 14px 18px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 13px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: #F97316; font-size: 18px; line-height: 1; }
.faq[open] summary::after { content: "−"; }
.faq p { margin-top: 10px; font-size: 12px; color: #666; line-height: 1.6; }
.field { display: block; }
.field span { display: block; font-size: 11px; font-weight: 600; margin-bottom: 6px; color: #444; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #e5e5e5; border-radius: 8px; padding: 10px 12px; font-size: 12.5px; outline: none; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #F97316; box-shadow: 0 0 0 3px rgba(249,115,22,.18); }
.nav-link { display: inline-block; }
