/* =============================================================
   NancyCuristes.fr - Design System
   Style: Trust & Authority  |  Pattern: Local Marketplace
   Typo: Lora (titres) + Raleway (texte)  |  Base 18px (seniors)
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@500;600;700&family=Raleway:wght@400;500;600;700;800&display=swap');

:root {
  /* Identité thermale */
  --ink:        #12252E;
  --thermal-900:#123544;
  --thermal-700:#1C5266;
  --thermal-600:#236A85;  /* primaire */
  --thermal-300:#7FB4C6;
  --thermal-100:#E1EFF3;
  --mineral:    #F3FAFB;  /* fond doux */
  --copper:     #B87333;  /* CTA */
  --copper-700: #97591F;
  --copper-100: #F6ECDF;
  --sage:       #2F7A57;  /* économies / confiance */
  --sage-100:   #E4F1EA;
  --sand:       #FBF7F0;
  --muted:      #4F656F;
  --line:       #E1E9EC;
  --white:      #FFFFFF;

  --radius:   16px;
  --radius-lg:26px;
  --radius-sm:10px;
  --shadow-sm: 0 2px 8px rgba(18,53,68,.06);
  --shadow:    0 14px 38px rgba(18,53,68,.10);
  --shadow-lg: 0 30px 70px rgba(18,53,68,.16);
  --container: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Raleway', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--thermal-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--copper-700); }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { font-family: 'Lora', Georgia, serif; line-height: 1.15; color: var(--thermal-900); font-weight: 600; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.container-narrow { max-width: 820px; }
section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.bg-mineral { background: var(--mineral); }
.bg-thermal { background: var(--thermal-900); color: #EAF3F6; }
.bg-sand { background: var(--sand); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--thermal-600); margin-bottom: 18px;
}
.eyebrow::before { content:""; width: 26px; height: 2px; background: var(--copper); border-radius: 2px; }
.bg-thermal .eyebrow { color: var(--thermal-300); }

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -.01em; }
h3 { font-size: 1.32rem; }
.lead { font-size: 1.22rem; color: var(--muted); line-height: 1.65; }
.bg-thermal h1, .bg-thermal h2, .bg-thermal h3 { color: #fff; }
.bg-thermal .lead { color: #BFD7DF; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.text-copper { color: var(--copper-700); }
.text-sage { color: var(--sage); }
.italic-serif { font-family:'Lora',serif; font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 1.02rem;
  border: 2px solid transparent; transition: all .22s var(--ease); white-space: nowrap;
  min-height: 52px; cursor: pointer;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--copper); color: #fff; box-shadow: 0 10px 24px rgba(184,115,51,.28); }
.btn-primary:hover { background: var(--copper-700); color:#fff; transform: translateY(-2px); box-shadow: 0 16px 30px rgba(184,115,51,.34); }
.btn-dark { background: var(--thermal-900); color: #fff; }
.btn-dark:hover { background: var(--thermal-700); color:#fff; transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--thermal-900); border-color: var(--line); }
.btn-outline:hover { border-color: var(--thermal-600); color: var(--thermal-700); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,.1); color:#fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); color:#fff; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; min-height: 60px; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; font-family:'Lora',serif; font-weight: 700; font-size: 1.32rem; color: var(--thermal-900); }
.brand:hover { color: var(--thermal-900); }
.brand .mark { width: 42px; height: 42px; flex: none; }
.brand small { display:block; font-family:'Raleway',sans-serif; font-weight: 600; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--copper-700); margin-top: -2px; }
/* Logo : la barre du menu garde sa hauteur fixe (.nav 78px / .app-bar 70px),
   donc changer la hauteur du logo ne change PAS la hauteur du menu. */
.brand-logo { height: 48px; width: auto; display: block; }
.brand-logo-footer { height: 44px; width: auto; display: block; margin-bottom: 4px; }
@media (max-width: 520px) { .brand-logo { height: 38px; } }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .97rem; white-space: nowrap; }
.nav-links a:hover { color: var(--thermal-600); }
.nav-links a.is-pro { color: var(--copper-700); }
.nav-links { position: relative; }
.nav-links a { transition: color .2s var(--ease, ease); }
.nav-links a.active { color: var(--thermal-900); }
/* Barre unique qui se faufile d'un onglet à l'autre (positionnée en JS dans site.js). */
.nav-underline {
  position: absolute; bottom: -7px; left: 0; height: 2px; width: 0;
  background: var(--copper); border-radius: 2px; opacity: 0; pointer-events: none;
  transform: translateX(0);
  transition: transform .32s cubic-bezier(.45,0,.2,1), width .32s cubic-bezier(.45,0,.2,1), opacity .2s ease;
}
.nav-links.open .nav-underline { display: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--thermal-900); }
.nav-toggle svg { width: 30px; height: 30px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(170deg,#F3FAFB 0%, #E6F2F5 100%); padding: 92px 0 84px; }
.hero::after {
  content:""; position:absolute; right:-140px; top:-120px; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(127,180,198,.30), transparent 70%); border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
/* Garde-fou : aucune image ne déborde de son conteneur */
img { max-width: 100%; }

/* ---------- Hero : panneau "Logements disponibles" (remplace l'image) ---------- */
.hero-listings { display: flex; flex-direction: column; gap: 14px; }
.hl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hl-head .lbl { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--thermal-900); font-size: .98rem; }
.hl-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px var(--sage-100); animation: hlpulse 2.2s var(--ease) infinite; }
@keyframes hlpulse { 0%,100% { box-shadow: 0 0 0 4px var(--sage-100); } 50% { box-shadow: 0 0 0 8px rgba(47,122,87,.08); } }
.hl-head a { font-weight: 600; font-size: .9rem; color: var(--thermal-600); white-space: nowrap; }
.hl-head a:hover { color: var(--thermal-900); }
.hl-list { display: flex; flex-direction: column; gap: 12px; }
.hl-card { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease); color: inherit; }
a.hl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hl-card .thumb { position: relative; flex: none; width: 92px; height: 92px; border-radius: 14px; overflow: hidden; background: var(--mineral); }
.hl-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.hl-card .thumb .ph0 { position: absolute; inset: 0; background: repeating-linear-gradient(45deg,#EAF1F3,#EAF1F3 10px,#E1EAEC 10px,#E1EAEC 20px); }
.hl-card .info { min-width: 0; flex: 1; }
.hl-card .info h3 { font-size: 1.06rem; margin: 0 0 4px; color: var(--thermal-900); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.hl-card .info .loc { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .85rem; margin: 0 0 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-card .info .loc svg { width: 14px; height: 14px; color: var(--thermal-600); flex: none; }
.hl-card .info .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hl-card .info .price { font-family: 'Lora',serif; font-size: 1.1rem; font-weight: 700; color: var(--thermal-900); white-space: nowrap; }
.hl-card .info .price small { font-family: 'Raleway',sans-serif; font-weight: 500; font-size: .72rem; color: var(--muted); }
.hl-card .info .dist { flex: none; font-size: .72rem; font-weight: 700; color: var(--thermal-700); background: var(--mineral); border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.hl-foot { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-size: .86rem; font-weight: 600; color: var(--muted); }
.hl-foot svg { width: 18px; height: 18px; color: var(--sage); flex: none; }
.hl-empty { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow-sm); text-align: center; }
.hl-empty strong { display: block; color: var(--thermal-900); font-size: 1.06rem; margin-bottom: 6px; }
.hl-empty p { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
/* Skeleton de chargement */
.hl-skel { pointer-events: none; }
.hl-skel .thumb, .hl-skel .ln { background: linear-gradient(90deg,#EEF4F5 25%,#E3EDEF 37%,#EEF4F5 63%); background-size: 400% 100%; animation: hlshimmer 1.4s ease infinite; }
.hl-skel .info { display: flex; flex-direction: column; gap: 8px; }
.hl-skel .ln { height: 11px; border-radius: 6px; }
.hl-skel .w70 { width: 70%; } .hl-skel .w40 { width: 40%; } .hl-skel .w55 { width: 55%; }
@keyframes hlshimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
/* Carte CTA propriétaire (remplit le panneau + invite à publier) */
.hl-card.hl-cta { border-style: dashed; border-color: #D9B38C; background: linear-gradient(180deg,#fff,#fffaf3); }
a.hl-card.hl-cta:hover { border-color: var(--copper-700); transform: translateY(-3px); }
.hl-cta .thumb { display: grid; place-items: center; background: var(--copper-100); color: var(--copper-700); }
.hl-cta .thumb svg { width: 30px; height: 30px; }
.hl-cta .info h3 { color: var(--copper-700); }
.hl-cta .cta-link { font-weight: 700; font-size: .9rem; color: var(--copper-700); }
/* Carte CTA propriétaire dans la grille des hébergements */
.listing.listing-cta { border-style: dashed; border-color: #D9B38C; background: linear-gradient(180deg,#fff,#fffaf3); }
.listing.listing-cta:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--copper-700); }
.listing-cta .ph-cta { display: grid; place-items: center; background: var(--copper-100); color: var(--copper-700); }
.listing-cta .ph-cta svg { transition: transform .25s var(--ease); }
.listing-cta:hover .ph-cta svg { transform: scale(1.12) rotate(90deg); }
.listing-cta h3 { color: var(--copper-700); }
.listing-cta .loc-text { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.listing-cta .price-cta { font-family: 'Lora',serif; font-weight: 700; color: var(--copper-700); font-size: 1.1rem; }
.hero-badge {
  position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 20px; display: flex; align-items: center; gap: 13px;
}
.hero-badge.b1 { bottom: 26px; left: -26px; }
.hero-badge.b2 { top: 26px; right: -22px; }
.hero-badge .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.hero-badge strong { display: block; font-family:'Lora',serif; font-size: 1.1rem; color: var(--thermal-900); }
.hero-badge span { font-size: .82rem; color: var(--muted); }

/* Trust row */
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; font-size: .95rem; color: var(--muted); }
.trust-row .t { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.trust-row svg { width: 22px; height: 22px; color: var(--sage); flex:none; }

/* ---------- Search bar ---------- */
.searchbar {
  background:#fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end;
  border: 1px solid var(--line);
}
.searchbar .field { text-align: left; }
.searchbar label { display:block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing:.06em; color: var(--muted); margin-bottom: 6px; }
.searchbar input, .searchbar select {
  width: 100%; border: 2px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 1rem; font-family: inherit; color: var(--ink); background:#fff;
}
.searchbar input:focus, .searchbar select:focus { outline: none; border-color: var(--thermal-600); }

/* ---------- Barre de filtres (page Hébergements) ---------- */
.filters { background:#fff; border:1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 14px; display:grid; grid-template-columns: repeat(3,1fr) auto; gap: 12px; align-items: end; margin-bottom: 20px; }
.filters .field { text-align:left; }
.filters label { display:block; font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color: var(--muted); margin-bottom: 6px; }
.filters input, .filters select { width:100%; border:2px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 1rem; font-family: inherit; color: var(--ink); background:#fff; }
.filters input:focus, .filters select:focus { outline:none; border-color: var(--thermal-600); }
.filters .filters-reset { white-space:nowrap; }
@media (max-width: 760px) { .filters { grid-template-columns: 1fr 1fr; } .filters .filters-reset { grid-column: 1 / -1; } }
@media (max-width: 460px) { .filters { grid-template-columns: 1fr; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

.feature {
  background:#fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.feature .ic svg { width: 28px; height: 28px; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 1.02rem; }
.ic-thermal { background: var(--thermal-100); color: var(--thermal-700); }
.ic-copper  { background: var(--copper-100); color: var(--copper-700); }
.ic-sage    { background: var(--sage-100);  color: var(--sage); }

/* Listing card */
.listing { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); display:flex; flex-direction:column; }
.listing:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.listing .ph { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.listing .ph img { width:100%; height:100%; object-fit: cover; transition: transform .5s var(--ease); }
.listing:hover .ph img { transform: scale(1.05); }
.listing .tag { position:absolute; top:14px; left:14px; background: rgba(255,255,255,.95); color: var(--thermal-700); font-weight:700; font-size:.8rem; padding:6px 12px; border-radius:999px; box-shadow: var(--shadow-sm); }
.listing .body { padding: 22px; display:flex; flex-direction:column; flex:1; }
.listing h3 { font-size: 1.22rem; margin-bottom: 8px; }
.listing .loc { color: var(--muted); font-size: .92rem; display:flex; align-items:center; gap:6px; margin-bottom: 14px; }
.listing .loc svg { width:16px; height:16px; color: var(--thermal-600); }
.chips { display:flex; flex-wrap:wrap; gap:8px; margin-bottom: 18px; }
.chip { background: var(--mineral); border:1px solid var(--line); color: var(--thermal-700); font-size:.8rem; font-weight:600; padding:5px 11px; border-radius: 8px; }
.listing .price-row { margin-top:auto; display:flex; align-items:center; justify-content:space-between; padding-top: 16px; border-top:1px solid var(--line); }
.price { font-family:'Lora',serif; font-size: 1.4rem; font-weight:700; color: var(--thermal-900); }
.price small { font-family:'Raleway',sans-serif; font-size:.8rem; font-weight:500; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display:grid; gap: 26px; }
.step { display:flex; gap: 20px; align-items:flex-start; }
.step .num { counter-increment: step; flex:none; width: 50px; height:50px; border-radius:50%; background: var(--thermal-900); color:#fff; font-family:'Lora',serif; font-size:1.3rem; font-weight:700; display:grid; place-items:center; }
.step .num::before { content: counter(step); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); }

/* ---------- Stats ---------- */
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat { text-align:center; padding: 12px; }
.stat .big { font-family:'Lora',serif; font-size: clamp(2.1rem,4vw,3rem); font-weight:700; color:#fff; }
.stat .lbl { color:#BFD7DF; font-size:.96rem; }
.bg-sand .stat .big { color: var(--thermal-900); }
.bg-sand .stat .lbl { color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; max-width: 1120px; margin-inline:auto; align-items:start; }
.plan { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; position:relative; }
.plan.featured { border: 2px solid var(--copper); box-shadow: var(--shadow); }
.plan .pop { position:absolute; top:-14px; left:50%; transform:translateX(-50%); background: var(--copper); color:#fff; font-weight:700; font-size:.8rem; padding:6px 16px; border-radius:999px; letter-spacing:.04em; }
.plan h3 { font-size: 1.4rem; margin-bottom: 6px; }
.plan .desc { color: var(--muted); margin-bottom: 22px; min-height: 48px; }
.plan .amount { display:flex; align-items:baseline; gap:6px; margin-bottom: 4px; }
.plan .amount .n { font-family:'Lora',serif; font-size: 3rem; font-weight:700; color: var(--thermal-900); }
.plan .amount .p { color: var(--muted); font-weight:600; }
.plan .annual { color: var(--sage); font-weight:600; font-size:.92rem; margin-bottom: 24px; }
.plan ul.feat { display:grid; gap: 13px; margin: 24px 0 30px; }
.plan ul.feat li { position: relative; padding-left: 34px; color: var(--ink); }
.plan ul.feat svg { position: absolute; left: 0; top: 3px; width: 22px; height:22px; color: var(--sage); }
.plan ul.feat li.off { color: var(--muted); }
.plan ul.feat li.off svg { color: #C2CDD2; }

/* ---------- Comparison / callout ---------- */
.compare { display:grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--line); }
.compare > div { padding: 34px; }
.compare .bad { background: #FBF1EE; }
.compare .good { background: var(--sage-100); }
.compare h3 { margin-bottom: 18px; display:flex; align-items:center; gap:10px; }
.compare ul li { display:flex; gap:11px; padding:9px 0; align-items:flex-start; }
.compare svg { width:22px; height:22px; flex:none; margin-top:3px; }
.compare .bad svg { color:#C0533B; }
.compare .good svg { color: var(--sage); }

/* ---------- Testimonials ---------- */
.quote { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.quote .stars { color: var(--copper); margin-bottom: 14px; letter-spacing:2px; }
.quote p { font-size: 1.08rem; color: var(--ink); margin-bottom: 20px; font-style: italic; font-family:'Lora',serif; }
.quote .who { display:flex; align-items:center; gap: 13px; }
.quote .who .av { width: 48px; height:48px; border-radius:50%; background: var(--thermal-100); color: var(--thermal-700); display:grid; place-items:center; font-weight:700; font-family:'Lora',serif; }
.quote .who strong { display:block; font-size:.98rem; }
.quote .who span { font-size:.86rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline:auto; }
.faq details { background:#fff; border:1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow:hidden; }
.faq summary { list-style:none; cursor:pointer; padding: 22px 26px; font-weight:700; font-size:1.08rem; color: var(--thermal-900); display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary .pm { flex:none; width:26px; height:26px; position:relative; }
.faq summary .pm::before,.faq summary .pm::after { content:""; position:absolute; background: var(--copper); border-radius:2px; transition: transform .25s var(--ease); }
.faq summary .pm::before { top:12px; left:3px; width:20px; height:2px; }
.faq summary .pm::after  { top:3px; left:12px; width:2px; height:20px; }
.faq details[open] summary .pm::after { transform: rotate(90deg); opacity:0; }
.faq details > div { padding: 0 26px 24px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--thermal-900), var(--thermal-700)); border-radius: var(--radius-lg); padding: 60px; position:relative; overflow:hidden; color:#fff; }
.cta-band::after { content:""; position:absolute; right:-80px; bottom:-120px; width:380px; height:380px; background: radial-gradient(circle, rgba(184,115,51,.32), transparent 70%); border-radius:50%; }
.cta-band .inner { position:relative; z-index:1; max-width: 640px; }
.cta-band h2 { color:#fff; margin-bottom: 16px; }
.cta-band p { color:#CFE2E8; font-size:1.12rem; margin-bottom: 28px; }

/* ---------- Forms ---------- */
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-grid { display:grid; gap: 18px; }
.form-grid .row2 { display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-lab { display:block; font-weight:600; font-size:.95rem; margin-bottom: 7px; color: var(--ink); }
.input, .textarea, .select {
  width:100%; border:2px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; font-size:1.02rem; font-family:inherit; color: var(--ink); background:#fff;
}
.input:focus,.textarea:focus,.select:focus { outline:none; border-color: var(--thermal-600); box-shadow: 0 0 0 4px rgba(35,106,133,.12); }
.textarea { min-height: 130px; resize: vertical; }
.form-note { font-size:.86rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--thermal-900); color:#BFD7DF; padding: 70px 0 30px; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.site-footer h4 { color:#fff; font-family:'Raleway',sans-serif; font-weight:700; font-size: .98rem; letter-spacing:.04em; margin-bottom: 18px; }
.site-footer .brand { color:#fff; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 11px; }
.site-footer a { color:#BFD7DF; }
.site-footer a:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); padding-top: 26px; font-size:.86rem; color:#8FB0BB; }
.footer-bottom .disclaimer { font-style: italic; margin-top: 12px; line-height:1.55; max-width: 900px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size:.9rem; color: var(--muted); padding: 18px 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--thermal-600); }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: linear-gradient(170deg,#F3FAFB,#E6F2F5); padding: 56px 0 60px; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { max-width: 720px; }

/* ---------- Utilities ---------- */
.center { text-align:center; }
.mt-s{margin-top:14px}.mt-m{margin-top:26px}.mt-l{margin-top:44px}
.mx-auto{margin-inline:auto}
.maxw-720{max-width:720px}
.hide-mobile{}
.prose p { margin-bottom: 18px; color: var(--ink); }
.prose h2 { margin: 38px 0 16px; }
.prose h3 { margin: 28px 0 12px; }
.prose ul.bullets { margin: 0 0 18px; display:grid; gap:10px; }
.prose ul.bullets li { position:relative; padding-left:33px; }
.prose ul.bullets svg { width:22px; height:22px; color: var(--sage); position:absolute; left:0; top:3px; }
/* Espacement homogène sous un titre de section suivi d'une FAQ */
.prose + .faq { margin-top: 16px; }
/* Boutons CTA dans le texte : autoriser le retour à la ligne sur petit écran */
.prose p .btn { white-space: normal; }
.anchor-list { display:flex; flex-wrap:wrap; gap:10px; }
.anchor-list a { background:#fff; border:1px solid var(--line); padding:8px 16px; border-radius:999px; font-weight:600; font-size:.92rem; }

/* ---------- Skip link / a11y ---------- */
.skip { position:absolute; left:-9999px; top:0; background: var(--thermal-900); color:#fff; padding:12px 18px; z-index:100; border-radius:0 0 8px 0; }
.skip:focus { left:0; color:#fff; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; border-radius: 4px; }

/* ============== Responsive ============== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 460px; margin-inline:auto; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pricing { grid-template-columns: 1fr; max-width: 520px; }
}
/* Barre de navigation : menu complet sur grand écran, menu déroulant (hamburger)
   dès que l'espace devient insuffisant pour tout afficher sur une seule ligne. */
@media (max-width: 1200px) {
  .nav-links, .nav-cta .btn-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 78px; left:0; right:0; background:#fff;
    padding: 16px 22px 24px; border-bottom:1px solid var(--line); box-shadow: var(--shadow);
    z-index: 60;
  }
  .nav-links.open a { padding: 12px 0; width:100%; border-bottom:1px solid var(--line); font-size:1.1rem; white-space: normal; }
  .nav-links.open .btn { margin-top: 10px; }
}
@media (max-width: 820px) {
  section { padding: 60px 0; }
  .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .searchbar { grid-template-columns: 1fr; }
  .form-grid .row2 { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 26px; }
  .hero-badge.b1 { left: 8px; }
  .hero-badge.b2 { right: 8px; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 17px; }
  /* Boutons : autoriser le retour à la ligne pour éviter les débordements sur petits écrans */
  .btn { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* --- Révélation du numéro de téléphone (anti-spam) --- */
.phone-reveal { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.phone-btn { cursor: pointer; }
.phone-btn svg { width: 18px; height: 18px; }
.phone-live {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 1.15rem; letter-spacing: .02em;
  color: var(--copper); text-decoration: none;
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}
.phone-live.show { opacity: 1; transform: none; }
.phone-live svg { width: 20px; height: 20px; }
.phone-live:hover span { text-decoration: underline; }

/* --- Tarifs : grille 2 colonnes, cartes larges + bascule mensuel/annuel --- */
.pricing.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 1040px; }
.pricing.cols-2 .plan { padding: 44px 42px; }
.pricing.cols-2 .plan h3 { font-size: 1.7rem; }
.pricing.cols-2 .plan .desc { font-size: 1.08rem; }
.pricing.cols-2 .plan .amount .n { font-size: 3.8rem; }
.pricing.cols-2 .plan .amount .p { font-size: 1.1rem; }
.pricing.cols-2 .plan .annual { font-size: 1rem; }
.pricing.cols-2 .plan ul.feat li { font-size: 1.08rem; }
.pricing.cols-2 .plan ul.feat svg { width: 24px; height: 24px; }
.pricing.cols-2 .plan .btn { font-size: 1.05rem; padding-top: 15px; padding-bottom: 15px; }
.billing-toggle {
  position: absolute; top: -23px; left: 50%; transform: translateX(-50%);
  display: inline-flex; gap: 4px; padding: 4px; margin: 0;
  background: var(--thermal-100); border: 3px solid #fff; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(18, 53, 68, .18); z-index: 3;
}
.bt-opt {
  border: 0; background: transparent; cursor: pointer;
  padding: 9px 20px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: .95rem; color: var(--thermal-700);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s ease, color .2s ease;
}
.bt-opt:hover { color: var(--thermal-900); }
.bt-opt.is-active { background: var(--thermal-900); color: #fff; }
.bt-save {
  font-size: .72rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
  background: var(--sage); color: #fff; padding: 2px 9px; border-radius: 999px;
}
.bt-opt.is-active .bt-save { background: var(--copper); }
/* Une seule liste d'avantages visible a la fois (le [hidden] etait neutralise
   par display:grid de .feat). */
.plan ul.feat[hidden] { display: none; }
/* Pastilles toujours sur une seule ligne. */
.plan .pop { white-space: nowrap; }
/* Badge "Recommande" a cote du titre (sans collision avec le toggle). */
.tag-reco {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  font-size: .62rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  background: var(--copper); color: #fff; padding: 4px 10px; border-radius: 999px;
  white-space: nowrap;
}
/* Note de reassurance sous le bouton (renouvellement / resiliation). */
.plan-note { margin: 14px 0 0; font-size: .86rem; line-height: 1.45; color: var(--muted); text-align: center; }
.plan-note strong { color: var(--ink); }
/* Equivalent mensuel affiche sous le prix (ex. saison). */
.plan .amount-sub { margin: -2px 0 12px; font-size: .95rem; color: var(--muted); }
.plan .amount-sub strong { color: var(--ink); }
@media (max-width: 820px) {
  .pricing.cols-2 { grid-template-columns: 1fr; max-width: 520px; }
  .pricing.cols-2 .plan { padding: 36px 30px; }
  .pricing.cols-2 .plan .amount .n { font-size: 3.2rem; }
}

/* =============================================================
   Fiche de demonstration (compte vitrine)
   Affichee uniquement quand aucune vraie annonce n'est publiee.
   Doit etre reconnaissable au premier coup d'oeil : personne ne
   doit croire qu'il s'agit d'un appartement reellement louable.
   ============================================================= */
.demo-banner { display: flex; gap: 14px; align-items: flex-start; background: var(--copper-100); border: 1px solid #E4C79E; border-left: 5px solid var(--copper); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 8px; }
.demo-banner svg { width: 24px; height: 24px; flex: none; color: var(--copper-700); margin-top: 2px; }
.demo-banner strong { display: block; color: var(--copper-700); font-size: 1.06rem; margin-bottom: 4px; }
.demo-banner p { margin: 0; color: var(--ink); font-size: .95rem; line-height: 1.55; }

/* Bandeau sur la photo d'une carte logement de demonstration. */
.listing .tag-demo { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(151,89,31,.94); color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .02em; text-align: center; padding: 9px 12px; }
.listing.is-demo { border-color: #E4C79E; }

/* Carte d'accueil : pastille « Exemple » sur la vignette. */
.hl-card .hl-flag { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(151,89,31,.94); color: #fff; font-weight: 700; font-size: .68rem; text-align: center; padding: 3px 4px; }
.hl-card.hl-demo { border-color: #E4C79E; }
