/* ============================================================
   VALEA — Patrimoine Immobilier
   Warm heritage system drawn from the logo:
   deep green #1E3A2F · gold #C2A14D · cream #F4EFE6
   ============================================================ */

:root {
  --green: #1E3A2F;
  --green-deep: #152920;
  --green-soft: #2E5141;
  --gold: #C2A14D;
  --gold-soft: #8A7B5C;
  --cream: #F4EFE6;
  --cream-light: #FAF7F0;
  --paper: #FDFCF9;
  --ink: #26302A;
  --ink-soft: #4A554E;
  --line: rgba(30, 58, 47, 0.14);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", "Avenir Next", sans-serif;

  --sect-pad: 104px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  color: var(--green);
  text-wrap: balance;
}

.kicker {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
}

.kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.kicker--center { justify-content: center; }
.kicker--center::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

p { margin: 0; text-wrap: pretty; }

.lede {
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn--primary {
  background: var(--green);
  color: var(--cream);
}
.btn--primary:hover { background: var(--green-soft); }

.btn--ghost {
  border-color: rgba(30, 58, 47, 0.35);
  color: var(--green);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--green); background: rgba(30, 58, 47, 0.05); }

.btn--gold {
  background: var(--gold);
  color: var(--green-deep);
}
.btn--gold:hover { background: #D2B566; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand__mark { width: 52px; height: auto; flex: none; }

.brand__text { display: flex; flex-direction: column; }

.brand__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--green);
  line-height: 1;
}

.brand__tag {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--green); }

.site-nav .btn { padding: 11px 22px; }
.site-nav .btn--primary,
.site-nav a.btn--primary.is-active { color: #fff; }
.site-nav a.btn--primary.is-active::after { display: none; }

/* ---------- mobile nav toggle ---------- */

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: none;
  padding: 0;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
}

.hero h1 {
  font-size: clamp(48px, 5.2vw, 68px);
  margin-bottom: 28px;
}

.hero .lede { margin-bottom: 40px; }

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__media { position: relative; }

.hero__media::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  pointer-events: none;
}

.hero__photo { width: 100%; height: 520px; }

.hero__roofline {
  position: absolute;
  right: -120px;
  top: -90px;
  width: 560px;
  opacity: 0.07;
  pointer-events: none;
}

/* hero tone variants */
html[data-hero-tone="white"] .hero { background: var(--paper); }
html[data-hero-tone="green"] .hero { background: var(--green); }
html[data-hero-tone="green"] .hero h1 { color: var(--cream); }
html[data-hero-tone="green"] .hero .lede { color: rgba(244, 239, 230, 0.78); }
html[data-hero-tone="green"] .hero .kicker { color: var(--gold); }
html[data-hero-tone="green"] .hero .btn--primary { background: var(--gold); color: var(--green-deep); }
html[data-hero-tone="green"] .hero .btn--primary:hover { background: #D2B566; }
html[data-hero-tone="green"] .hero .btn--ghost { border-color: rgba(244, 239, 230, 0.4); color: var(--cream); }
html[data-hero-tone="green"] .hero .btn--ghost:hover { border-color: var(--cream); background: rgba(244, 239, 230, 0.08); }
html[data-hero-tone="green"] .hero__roofline { opacity: 0.12; }

/* hero layout variants */
html[data-hero-layout="centered"] .hero__inner {
  grid-template-columns: 1fr;
  gap: 56px;
  text-align: center;
  padding-top: 88px;
  padding-bottom: 80px;
}
html[data-hero-layout="centered"] .hero .lede { margin-left: auto; margin-right: auto; }
html[data-hero-layout="centered"] .hero__actions { justify-content: center; }
html[data-hero-layout="centered"] .kicker { justify-content: center; }
html[data-hero-layout="centered"] .kicker::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
  flex: none;
}
html[data-hero-layout="centered"] .hero__photo { height: 440px; }
html[data-hero-layout="centered"] .hero__media::before { inset: 18px -18px -18px 18px; }

/* ---------- mission band ---------- */

.mission {
  background: var(--green);
  color: var(--cream);
  text-align: center;
  padding: 84px 0;
}

.mission blockquote {
  margin: 0 auto;
  max-width: 30ch;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--cream);
}

.mission__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 auto 30px;
}

.mission cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- sections ---------- */

.section { padding: var(--sect-pad) 0; }

.section__head { max-width: 720px; margin-bottom: 64px; }

.section__head h2 { font-size: clamp(36px, 3.8vw, 50px); margin-bottom: 20px; }

.section--cream { background: var(--cream-light); }

/* ---------- properties ---------- */

.props {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.prop-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, translate 0.25s ease;
}

.prop-card:hover {
  box-shadow: 0 24px 48px -28px rgba(30, 58, 47, 0.35);
  translate: 0 -3px;
}

.prop-card__photo { width: 100%; height: 300px; }

.prop-card__body {
  padding: 34px 36px 38px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.prop-card__meta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.prop-card h3 { font-size: 34px; }

.prop-card__addr {
  font-size: 15px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin-top: -6px;
}

.prop-card__desc { color: var(--ink-soft); font-size: 16px; flex: 1; }

.prop-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--green);
  margin-top: 8px;
}
.prop-card__link::after { content: "→"; transition: translate 0.2s ease; }
.prop-card__link:hover::after { translate: 4px 0; }

.props__soon {
  margin-top: 36px;
  border: 1px dashed rgba(138, 123, 92, 0.5);
  border-radius: 3px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  background: rgba(244, 239, 230, 0.45);
}

.props__soon svg { flex: none; width: 84px; opacity: 0.8; }

.props__soon h3 { font-size: 26px; margin-bottom: 8px; }

.props__soon p { color: var(--ink-soft); font-size: 16px; max-width: 62ch; }

/* ---------- process ---------- */

.process {
  background: var(--green);
  color: var(--cream);
}

.process .kicker { color: var(--gold); }
.process h2 { color: var(--cream); }

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(244, 239, 230, 0.16);
}

.step {
  padding: 44px 36px 8px 0;
  border-right: 1px solid rgba(244, 239, 230, 0.16);
  padding-left: 36px;
}
.step:first-child { padding-left: 0; }
.step:last-child { border-right: none; padding-right: 0; }

.step__num {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 22px;
}

.step h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 12px;
}

.step p { font-size: 15.5px; color: rgba(244, 239, 230, 0.72); }

/* ---------- testimonials ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 40px 38px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quote__mark {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.5;
  color: var(--gold);
  height: 22px;
}

.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--green);
  flex: 1;
}

.quote figcaption {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.quote figcaption strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: 4px;
}

/* ---------- contact ---------- */

.contact {
  background: var(--cream);
  text-align: center;
}

.contact h2 { font-size: clamp(38px, 4vw, 54px); margin-bottom: 20px; }

.contact .lede { margin: 0 auto 40px; }

.contact__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.contact__email {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.contact__email:hover { border-bottom-width: 2px; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--green-deep);
  color: rgba(244, 239, 230, 0.7);
  padding: 72px 0 40px;
  font-size: 14.5px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(244, 239, 230, 0.12);
}

.site-footer .brand__name { color: var(--cream); }
.site-footer .brand__tag { color: var(--gold); }

.site-footer__mission { max-width: 38ch; margin-top: 20px; line-height: 1.7; }

.site-footer h4 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer a { color: rgba(244, 239, 230, 0.7); text-decoration: none; }
.site-footer a:hover { color: var(--cream); }

.site-footer__legal {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  color: rgba(244, 239, 230, 0.45);
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__photo { height: 420px; }
  .props { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: none; padding-right: 0; }
  .step:nth-child(3) { padding-left: 0; }
  .quotes { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 40px; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 44px -30px rgba(30, 58, 47, 0.5);
    padding: 10px 0 18px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .site-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .site-nav a {
    padding: 15px 40px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav > a:last-of-type { border-bottom: none; }
  .site-nav .btn { margin: 16px 40px 0; padding: 15px 22px; }
  .site-nav a.is-active::after { display: none; }
  .site-nav a.is-active { color: var(--green); }
  body.nav-open { overflow: hidden; }
}

/* ============================================================
   INNER PAGES
   ============================================================ */

/* ---------- nav active ---------- */

.site-nav a.is-active { color: var(--green); position: relative; }
.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--gold);
}

/* ---------- page hero ---------- */

.page-hero__inner {
  position: relative;
  padding-top: 92px;
  padding-bottom: 80px;
}

.page-hero h1 {
  font-size: clamp(44px, 4.6vw, 64px);
  margin-bottom: 24px;
  max-width: 22ch;
}

.page-hero .lede { max-width: 64ch; }

/* ---------- photos ---------- */

img.hero__photo,
img.prop-card__photo,
.prop-feature__media img,
.prop-feature__media image-slot,
.photo-card img,
.photo-card image-slot { object-fit: cover; }

img.hero__photo { border-radius: 3px; }

/* Let vertical scroll pass through photo slots on touch devices —
   the slot's internal img sets touch-action:none for desktop reframing,
   which otherwise traps the scroll gesture under a thumb. */
image-slot,
image-slot::part(frame),
image-slot::part(image) { touch-action: pan-y !important; }

.photo-card { position: relative; }
.photo-card::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  pointer-events: none;
}
.photo-card img,
.photo-card image-slot {
  position: relative;
  width: 100%;
  height: 470px;
  border-radius: 3px;
}

/* ---------- property features ---------- */

.props-list {
  display: flex;
  flex-direction: column;
  gap: 88px;
}

.prop-feature {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.prop-feature--flip .prop-feature__media { order: 2; }

.prop-feature__media img,
.prop-feature__media image-slot {
  width: 100%;
  height: 440px;
  border-radius: 3px;
}

.prop-feature h2 {
  font-size: clamp(36px, 3.6vw, 48px);
  margin: 10px 0 4px;
}

.prop-feature .prop-card__addr { margin-top: 2px; }

.prop-feature__desc {
  color: var(--ink-soft);
  margin: 16px 0 30px;
  max-width: 56ch;
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 80px;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 17.5px;
  line-height: 1.78;
  color: var(--ink-soft);
}

/* ---------- values ---------- */

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 52px 72px;
}

.value {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.value__num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 14px;
}

.value h3 { font-size: 28px; margin-bottom: 12px; }

.value p { color: var(--ink-soft); }

/* ---------- FAQ ---------- */

.faq { max-width: 840px; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 28px;
  padding: 26px 4px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  color: var(--green);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 26px;
  line-height: 1;
  color: var(--gold);
  flex: none;
  transition: rotate 0.2s ease;
}
.faq details[open] summary::after { rotate: 45deg; }

.faq details > p {
  padding: 0 4px 28px;
  color: var(--ink-soft);
  max-width: 64ch;
}

.faq-cta {
  margin-top: 52px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.faq-cta p { font-size: 17px; color: var(--ink-soft); }

/* ---------- resource columns ---------- */

.res-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.res-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 38px 36px 40px;
}

.res-col h3 { font-size: 26px; margin-bottom: 24px; }

.res-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.res-col li strong {
  display: block;
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 3px;
}

.res-col li { font-size: 15px; color: var(--ink-soft); }

.res-col a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}
.res-col a:hover { border-bottom-width: 2px; }

/* ---------- contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.66fr;
  gap: 88px;
  align-items: start;
}

.cform {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 26px;
}

.cform .full { grid-column: 1 / -1; }

.cform label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.cform input,
.cform select,
.cform textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 13px 14px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.cform textarea { min-height: 150px; resize: vertical; }

.cform input:focus,
.cform select:focus,
.cform textarea:focus { border-color: var(--green); }

.cform .btn { justify-self: start; }

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 38px;
  border-left: 1px solid var(--line);
  padding-left: 56px;
}

.contact-aside h3 { font-size: 24px; margin-bottom: 12px; }

.contact-aside p,
.contact-aside li { font-size: 16.5px; color: var(--ink-soft); line-height: 1.7; }

.contact-aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-aside a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}
.contact-aside a:hover { border-bottom-width: 2px; }

/* ============================================================
   AMBIANCES (theme presets via Tweaks)
   ============================================================ */

/* — Éditorial : white, airy, bigger type — */
html[data-theme="editorial"] {
  --paper: #FFFFFF;
  --cream-light: #FFFFFF;
  --cream: #F7F4EC;
}
html[data-theme="editorial"] .hero h1 { font-size: clamp(54px, 6vw, 84px); }
html[data-theme="editorial"] .page-hero h1 { font-size: clamp(48px, 5.2vw, 72px); }
html[data-theme="editorial"] .section__head h2 { font-size: clamp(40px, 4.4vw, 58px); }
html[data-theme="editorial"] .section--cream {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* — Forêt : deep green presence, warm paper — */
html[data-theme="foret"] {
  --paper: #F8F5EE;
  --cream-light: #F1EDE2;
}
html[data-theme="foret"] .contact { background: var(--green-deep); }
html[data-theme="foret"] .contact h2 { color: var(--cream); }
html[data-theme="foret"] .contact .lede { color: rgba(244, 239, 230, 0.75); }
html[data-theme="foret"] .contact .kicker { color: var(--gold); }
html[data-theme="foret"] .contact .btn--primary { background: var(--gold); color: var(--green-deep); }
html[data-theme="foret"] .contact .btn--primary:hover { background: #D2B566; }
html[data-theme="foret"] .contact__email { color: var(--cream); }

/* ---------- responsive (inner pages) ---------- */

@media (max-width: 1020px) {
  .prop-feature { grid-template-columns: 1fr; gap: 40px; }
  .prop-feature--flip .prop-feature__media { order: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .values { grid-template-columns: 1fr; gap: 40px; }
  .res-cols { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .contact-aside { border-left: none; padding-left: 0; }
  .photo-card img, .photo-card image-slot { height: 380px; }
}

/* ============================================================
   PHONE (≤ 640px)
   ============================================================ */

@media (max-width: 640px) {
  :root { --sect-pad: 60px; }
  .wrap { padding: 0 22px; }

  .site-header__inner { height: 68px; }
  .brand { gap: 11px; }
  .brand__mark { width: 42px; }
  .brand__name { font-size: 22px; letter-spacing: 0.18em; }
  .brand__tag { font-size: 8.5px; letter-spacing: 0.24em; }
  .site-nav a, .site-nav .btn { padding-left: 22px; padding-right: 22px; }
  .site-nav .btn { margin-left: 22px; margin-right: 22px; }

  /* hero */
  .hero__inner { padding-top: 52px; padding-bottom: 56px; gap: 38px; }
  .hero h1 { font-size: clamp(34px, 9vw, 44px); margin-bottom: 20px; }
  .hero .lede { margin-bottom: 30px; }
  .lede { font-size: 17px; }
  .hero__photo { height: 330px; }
  .hero__media::before { inset: 13px -13px -13px 13px; }
  .hero__actions { gap: 12px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__roofline { width: 360px; right: -90px; top: -60px; }

  /* ambiance hero overrides */
  html[data-theme="editorial"] .hero h1,
  html[data-theme="foret"] .hero h1 { font-size: clamp(34px, 9vw, 46px); }
  html[data-theme="editorial"] .page-hero h1 { font-size: clamp(32px, 8.5vw, 44px); }
  html[data-theme="editorial"] .section__head h2 { font-size: clamp(30px, 7.5vw, 40px); }

  /* page hero */
  .page-hero__inner { padding-top: 48px; padding-bottom: 48px; }
  .page-hero h1 { font-size: clamp(32px, 8.5vw, 42px); }

  /* sections */
  .section__head { margin-bottom: 40px; }
  .section__head h2 { font-size: clamp(30px, 7.5vw, 38px); }

  /* mission */
  .mission { padding: 58px 0; }
  .mission blockquote { font-size: clamp(26px, 7vw, 34px); }

  /* properties grid cards */
  .prop-card__photo { height: 230px; }
  .prop-card__body { padding: 28px 26px 30px; }
  .prop-card h3 { font-size: 30px; }
  .props__soon { flex-direction: column; align-items: flex-start; gap: 22px; padding: 30px 26px; }
  .props__soon svg { width: 60px; }

  /* property feature rows */
  .props-list { gap: 54px; }
  .prop-feature__media img, .prop-feature__media image-slot { height: 300px; }
  .photo-card img, .photo-card image-slot { height: 320px; }
  .photo-card::before { inset: 13px -13px -13px 13px; }

  /* process */
  .process__grid { grid-template-columns: 1fr; border-top: none; }
  .step { padding: 30px 0 8px !important; border-right: none !important; border-top: 1px solid rgba(244, 239, 230, 0.16); }
  .step__num { font-size: 42px; margin-bottom: 14px; }

  /* about */
  .about-grid { gap: 40px; }

  /* values */
  .value h3 { font-size: 25px; }

  /* faq */
  .faq summary { font-size: 20px; gap: 16px; padding: 22px 0; }
  .faq summary::after { font-size: 24px; }
  .faq details > p { padding: 0 0 24px; }
  .faq-cta { flex-direction: column; align-items: flex-start; gap: 18px; }

  /* resources */
  .res-col { padding: 30px 26px 32px; }

  /* contact */
  .contact__actions { flex-direction: column; gap: 18px; }
  .contact__email { font-size: 19px; }
  .contact-grid { gap: 44px; }
  .cform { grid-template-columns: 1fr; }
  .cform .btn { justify-self: stretch; }

  /* footer */
  .site-footer { padding: 54px 0 32px; }
  .site-footer__grid { gap: 34px; padding-bottom: 40px; }
  .site-footer__legal { flex-direction: column; gap: 8px; }
}
