/* ============================================================
   Site Jolyane Lessard — feuille de style partagée
   Direction « Chaleureux & éditorial »
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); color: var(--brown); background: var(--ivory);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; }
input, select, textarea { font-size: 16px !important; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 40px; }

/* — Typographic helpers — */
.kicker { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--terracotta-deep); }
.kicker-soft { color: var(--brown-soft); }
.editorial { font-family: var(--font-editorial); font-style: italic; font-weight: 400; line-height: 1.12; }
.display { font-family: var(--font-display); font-weight: 500; line-height: 1.05; }
.verm { color: var(--vermillon); }
.lead { font-size: 16px; line-height: 1.85; color: var(--brown-soft); }

/* — Buttons — */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-sans);
  min-height: 44px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; cursor: pointer;
  border: none; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn-fill { background: var(--brown); color: var(--ivory); padding: 15px 26px; }
.btn-fill:hover { background: var(--terracotta-deep); }
.btn-verm { background: var(--vermillon); color: var(--ivory); padding: 15px 26px; }
.btn-verm:hover { filter: brightness(1.08); }
.btn-out { background: transparent; color: var(--brown); border: 1px solid var(--brown); padding: 14px 25px; }
.btn-out:hover { background: var(--brown); color: var(--ivory); }
.btn-line { letter-spacing: 0.22em; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.btn-line:hover { color: var(--terracotta-deep); }

/* — Header — */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250,243,230,0.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid rgba(58,36,24,0.07); }
.site-header .inner { display: flex; align-items: center; gap: 20px; padding: 18px 40px; max-width: 1180px; margin: 0 auto; }
.site-header .logo { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.site-header .logo img { width: 54px; height: 52px; object-fit: cover; }
.site-header .logo .nm { font-family: var(--font-editorial); font-size: 20px; font-style: italic; line-height: 1; white-space: nowrap; }
.site-header nav { display: flex; gap: 19px; }
.site-header nav a { font-family: var(--font-sans); font-size: 11.5px; letter-spacing: 0.12em; white-space: nowrap;
  text-transform: uppercase; color: var(--brown-soft); padding: 4px 0; border-bottom: 1.5px solid transparent; }
.site-header nav a:hover { color: var(--brown); }
.site-header nav a.active { color: var(--brown); border-bottom-color: var(--terracotta); }
.site-header .cta { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; background: var(--vermillon); color: var(--ivory); padding: 11px 18px; white-space: nowrap; }
.site-header .cta:hover { filter: brightness(1.08); }
.menu-toggle { display: none; }

/* — Footer — */
.site-footer { background: var(--brown); color: var(--ivory); margin-top: 90px; }
.site-footer .inner { max-width: 1180px; margin: 0 auto; padding: 64px 40px 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .nm { font-family: var(--font-editorial); font-size: 30px; font-style: italic; line-height: 1; margin-bottom: 14px; }
.site-footer .role { font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--peach); }
.site-footer h4 { font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.26em;
  text-transform: uppercase; color: rgba(250,243,230,0.5); margin: 0 0 16px; }
.site-footer a, .site-footer p { color: rgba(250,243,230,0.82); font-size: 13px; line-height: 2; }
.site-footer a:hover { color: var(--ivory); }
.site-footer .bottom a { font-size: 11px; line-height: inherit; color: rgba(250,243,230,0.6); }
.site-footer .bottom { border-top: 1px solid rgba(250,243,230,0.14); margin-top: 20px;
  padding: 22px 40px; max-width: 1180px; margin-left: auto; margin-right: auto;
  display: flex; justify-content: space-between; font-size: 11px; color: rgba(250,243,230,0.5); letter-spacing: 0.04em; }
.site-footer .remax { height: 30px; opacity: 0.92; }

/* — Generic section — */
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.secthead { margin-bottom: 40px; }
.secthead h2 { font-family: var(--font-editorial); font-style: italic; font-weight: 400; font-size: 40px; margin-top: 10px; }
.secthead.center { text-align: center; }

/* — Property card — */
.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prop-card { display: block; }
.prop-card[hidden] { display: none; }
.prop-card .img { aspect-ratio: 4/3; border-radius: 0; overflow: hidden; position: relative;
  background: repeating-linear-gradient(135deg, var(--sand) 0 12px, var(--cream) 12px 24px); }
.prop-card .img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s ease; }
.prop-card:hover .img img { opacity: .92; }
.prop-card .img[data-label]::after { content: attr(data-label); position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--brown-soft); font-family: ui-monospace, Menlo, Consolas, monospace; }
.prop-card .tag { position: absolute; top: 14px; left: 14px; background: var(--ivory); color: var(--brown);
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; padding: 7px 12px; border-radius: 0; z-index: 2; }
.prop-card .tag.sold { background: var(--vermillon); color: var(--ivory); }
.prop-card .price { font-family: var(--font-display); font-size: 24px; margin: 16px 0 6px; }
.prop-card .addr { font-family: var(--font-sans); font-size: 16px; line-height: 1.4; }
.prop-card .feat { display: flex; gap: 16px; margin-top: 10px; font-size: 11px;
  letter-spacing: 0.06em; color: var(--brown-soft); }

/* — Misc — */
.ph { background: repeating-linear-gradient(135deg, var(--sand) 0 12px, var(--cream) 12px 24px); position: relative; overflow: hidden; }
.ph[data-label]::after { content: attr(data-label); position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center; font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--brown-soft); font-family: ui-monospace, Menlo, Consolas, monospace; text-align: center; padding: 20px; }
.hairline { height: 1px; background: var(--hairline); border: 0; margin: 0; }
.split-cta { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { min-width: 220px; }
.form-status { display: none; margin-top: 14px; text-align: center; font-family: var(--font-sans); font-size: 16px; font-style: italic; }
.form-status.show { display: block; }

@media (max-width: 1040px) {
  .site-header .inner { position: relative; }
  .menu-toggle { display: block; margin-left: auto; padding: 9px 0; border: 0; background: transparent; white-space: nowrap; overflow-wrap: normal; min-height: 44px;
    color: var(--brown); font-family: var(--font-sans); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; cursor: pointer; }
  .site-header nav { position: absolute; display: none; top: 100%; left: 0; right: 0; padding: 20px 40px;
    flex-direction: column; align-items: stretch; gap: 4px; background: var(--ivory); border-bottom: 1px solid var(--hairline);
    box-shadow: 0 18px 30px rgba(58,36,24,.12); }
  .site-header nav.open { display: flex; }
  .site-header nav a { min-height: 46px; padding: 13px 0; font-size: 13px; }
  .site-header .cta { display: none; }
}
@media (max-width: 920px) {
  .prop-grid { grid-template-columns: 1fr; }
  .site-footer .inner { grid-template-columns: 1fr; gap: 28px; }
  .split-cta { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: 0; width: 100%; }
}

@media (max-width: 600px) {
  .wrap, .wrap-narrow { padding-left: 22px; padding-right: 22px; }
  .section { padding: 64px 0; }
  .section-sm { padding: 42px 0; }
  .site-header .inner { padding: 14px 20px; }
  .site-header .logo { gap: 10px; }
  .site-header .logo img { width: 44px; height: 43px; }
  .site-header .logo .nm { font-size: 19px; }
  .site-header nav { padding: 16px 22px 22px; }
  .site-footer { margin-top: 60px; }
  .site-footer .inner { padding: 50px 22px 30px; }
  .site-footer .bottom a { font-size: 11px; line-height: inherit; color: rgba(250,243,230,0.6); }
.site-footer .bottom { padding: 20px 22px; flex-direction: column; gap: 6px; }
  .secthead h2 { font-size: clamp(2rem, 10vw, 2.55rem); }
  .prop-card .price { font-size: 27px; }
  .prop-card .addr { font-size: 21px; }
  .prop-card .feat { flex-wrap: wrap; gap: 8px 14px; font-size: 13px; }
  .split-cta { padding: 38px 26px !important; }
  .split-cta .btn { width: 100%; justify-content: center; }
  .kicker { font-size: 11px; letter-spacing: .27em; }
}

body.menu-open { overflow: hidden; }

/* — Mentions formulaires & barre de contact mobile — */
.privacy-note { margin: 14px 0 0; font-size: 12px; line-height: 1.6; opacity: .8; }
.privacy-note a, .form-status a { text-decoration: underline; text-underline-offset: 3px; }
.mobile-contact { display: none; }
@media (max-width: 820px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mobile-contact { position: fixed; inset: auto 0 0; z-index: 90; height: calc(64px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: 1fr 1fr; background: var(--brown); color: var(--ivory);
    box-shadow: 0 -8px 28px rgba(58,36,24,.18); }
  .mobile-contact a { display: flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
  .mobile-contact a + a { background: var(--vermillon); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
