/* Latour Immobilier landing page.
   Desktop values come from the v2 design (1280 px frame). The @media rules at the bottom (stacking,
   smaller type) are NOT part of that design: it had no tablet/phone layout. */

:root{
  --wine:#6b2430;
  --ink:#161414;
  --rose:#efe4e1;
  --rose-line:#d9cfcc;
  --card-line:#e6dedc;
  --mute:#5e5658;
  --mute-soft:#8a7f7d;
  --bg-soft:#faf8f7;
  --serif:'Bodoni Moda',serif;
  --pad:48px;
  --maxw:1280px;
}

*{box-sizing:border-box}
/* Same stack the design's page frame applies to all its text. The v2 bundle also declared Hanken Grotesk on
   <body>, but that frame overrides it, so it never rendered; it is deliberately not included here. */
body{margin:0;background:#fff;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif}
a{color:var(--wine);text-decoration:none}
h1,h2,p,figure,blockquote{margin:0}
/* Inputs inherit the page font; buttons deliberately keep the browser's UI font, exactly as in the v2 design. */
input{font-family:inherit}
/* Keyboard users: a visible focus ring on everything that is clickable. */
a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid currentColor;outline-offset:2px}

.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--pad)}
.grid{display:grid;gap:20px}
.section{padding-block:88px}
.h2{font-family:var(--serif);font-weight:500;font-size:44px;margin:0 0 32px}

/* Top bar */
.topbar{background:var(--wine);color:#fff;font-size:14px;font-weight:500}
.topbar .wrap{display:flex;justify-content:space-between;gap:4px 24px;flex-wrap:wrap;padding-block:10px}
.topbar a{color:#fff;font-weight:700}

/* Hero */
.hero{position:relative;background:var(--ink) url('/img/salon.jpg') center/cover}
.hero::before{content:"";position:absolute;inset:0;background:rgba(22,20,20,.72)}
.hero-head{position:relative;display:flex;align-items:center;justify-content:space-between;padding-block:22px}
/* Logo: white version on a transparent background (no white box), readable on the dark photo. */
.logo{display:block}
.logo img{display:block;height:88px;width:auto}
.lang{display:flex;gap:4px;font-size:13px;font-weight:600;letter-spacing:.06em;color:#fff}
.lang .sep{opacity:.5}
/* The negative margin cancels the padding: same look, but a tap target of about 32 px instead of 16 px. */
.lang a{color:#fff;opacity:.7;padding:8px 6px;margin:-8px -6px}
.lang a:hover{opacity:1}
.hero-body{position:relative;display:grid;grid-template-columns:1fr 440px;gap:64px;padding-block:56px 88px;align-items:center}
.hero-copy{color:#fff;display:flex;flex-direction:column;gap:24px}
.hero h1{font-family:var(--serif);font-weight:500;font-size:clamp(40px,5vw,64px);line-height:1.04;letter-spacing:-.015em;text-wrap:balance}
.hero-copy p{font-size:21px;line-height:1.5;color:#f3ecea}
.badges{display:flex;gap:12px;margin-top:12px}
.badge{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.1);padding:10px 16px 10px 10px;font-size:14px;line-height:1.3}
.badge img{width:44px;height:44px;object-fit:cover;background:#e9dcd9}
.badge .dim{opacity:.75}

/* Lead form */
.lead{background:#fff;padding:32px;display:flex;flex-direction:column;gap:14px}
.tabs{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--rose-line)}
.tab{border:0;padding:14px;font-size:15px;font-weight:600;cursor:pointer;background:#fff;color:var(--ink)}
.tab[aria-pressed="true"]{background:var(--ink);color:#fff}
.lead-title{font-family:var(--serif);font-size:26px;line-height:1.2;margin-top:6px}
.lead input{padding:15px;border:1px solid var(--rose-line);font-size:15px}
.lead-cta{background:var(--wine);color:#fff;border:0;padding:18px;font-size:16px;font-weight:700;cursor:pointer}
.lead-cta:hover{background:var(--ink)}
/* app.js sets aria-disabled (not "disabled") while sending and after the thank-you, so keyboard focus stays on the button. */
.lead-cta[aria-disabled="true"]{opacity:.75;cursor:default}
.lead-cta[aria-disabled="true"]:hover{background:var(--wine)}
.lead input[aria-invalid="true"]{border-color:var(--wine)}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.lead-fine{font-size:12px;color:var(--mute-soft);text-align:center}
.lead-fine.is-alert{font-size:13px;line-height:1.45;font-weight:600;color:var(--wine)}
.lead-fine a{white-space:nowrap}
.lead-consent{font-size:12px;line-height:1.4;color:var(--mute-soft);text-align:center}
.lead-consent a{color:inherit;text-decoration:underline}

/* Featured properties */
.props-grid{grid-template-columns:repeat(4,1fr)}
.prop{border:1px solid var(--card-line);color:var(--ink);display:flex;flex-direction:column}
.prop:hover{border-color:var(--ink)}
.prop-img{aspect-ratio:4/3;background:var(--rose);position:relative}
/* The listing photos are 640 x 480 (4:3) like the box; the city tag that follows the <img> in the HTML paints above it. */
.prop-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.prop-city{position:absolute;top:12px;left:12px;background:#fff;padding:5px 10px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.prop-body{padding:18px;display:flex;flex-direction:column;gap:6px}
.prop-price{font-size:22px;font-weight:700}
.prop-addr{font-size:15px}
.prop-specs{font-size:14px;color:var(--mute)}
.props-more{margin-top:28px;font-size:16px;font-weight:600}
.props-more a:hover{text-decoration:underline}

/* Sectors */
.sectors{background:var(--bg-soft)}
.sectors-grid{grid-template-columns:repeat(3,1fr)}
.sector{position:relative;aspect-ratio:1/1;background:var(--ink) center/cover;display:flex;align-items:flex-end;color:#fff}
.sector--bromont{background-image:url('/img/bromont.jpg')}
.sector--granby{background-image:url('/img/granby.jpg')}
.sector--shefford{background-image:url('/img/shefford.jpg')}
.sector-bar{position:relative;width:100%;background:var(--ink);padding:20px 24px;display:flex;justify-content:space-between;align-items:baseline}
.sector-name{font-family:var(--serif);font-weight:400;font-size:30px}
.sector-cta{font-size:14px;font-weight:600}
.sector:hover .sector-cta{text-decoration:underline}

/* Reviews */
.reviews-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}
.reviews-head .h2{margin:0}
.rating{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600;color:var(--ink)}
.rating:hover{text-decoration:underline}
.stars{color:var(--wine);letter-spacing:.15em}
.reviews-grid{grid-template-columns:repeat(3,1fr)}
.reviews-note{margin-top:20px;font-size:13px;color:var(--mute-soft)}
.review{background:var(--rose);padding:28px;display:flex;flex-direction:column;gap:18px}
.review blockquote{font-size:17px;line-height:1.55;color:var(--mute)}
.review figcaption{font-size:14px;font-weight:700}

/* Closing call to action */
.cta{background:var(--wine);color:#fff}
.cta .wrap{display:flex;justify-content:space-between;align-items:center;padding-block:64px}
.cta-title{font-family:var(--serif);font-size:40px;line-height:1.15}
.cta-actions{display:flex;gap:12px}
.cta-call{background:#fff;color:var(--wine);padding:18px 28px;font-size:18px;font-weight:700}
.cta-mail{border:1.5px solid #fff;color:#fff;padding:18px 28px;font-size:16px;font-weight:600}

/* Footer */
.foot .wrap{display:flex;justify-content:space-between;padding-block:24px;font-size:13px;color:var(--mute-soft)}

/* ---- Not in the design: adapt below the 1280 px frame ---- */
@media (max-width:1100px){
  :root{--pad:32px}
  .hero-body{grid-template-columns:1fr 400px;gap:40px}
  .sector-bar{flex-wrap:wrap;gap:6px 16px}
}
@media (max-width:900px){
  .hero-body{grid-template-columns:1fr;gap:32px;padding-block:32px 56px}
  .lead{width:100%;max-width:560px}
  .section{padding-block:64px}
  .h2{font-size:36px}
  .props-grid{grid-template-columns:repeat(2,1fr)}
  .sectors-grid,.reviews-grid{grid-template-columns:1fr}
  .sector{aspect-ratio:16/10}
  .cta .wrap{flex-direction:column;align-items:flex-start;gap:28px}
  .cta-title{font-size:32px}
}
@media (max-width:560px){
  :root{--pad:20px}
  .logo img{height:64px}
  .topbar{font-size:13px}
  .hero-copy p{font-size:18px}
  .badges{flex-wrap:wrap}
  .lead{padding:24px}
  .section{padding-block:48px}
  .h2{font-size:30px}
  .sector{aspect-ratio:4/3}
  .props-grid{gap:12px}
  .prop-body{padding:12px}
  .prop-price{font-size:17px}
  .prop-addr{font-size:13px}
  .prop-specs{font-size:12px}
  .prop-city{top:8px;left:8px;padding:4px 8px;font-size:11px}
  .reviews-head{flex-wrap:wrap;gap:12px}
  .cta .wrap{padding-block:48px}
  /* The forced line break of the desktop title leaves orphan words on a phone: let the text flow instead. */
  .cta-title{font-size:28px;text-wrap:balance}
  .cta-title br{display:none}
  .cta-actions{flex-direction:column;align-self:stretch}
  .cta-actions a{text-align:center}
  .foot .wrap{flex-direction:column;gap:6px}
}

/* Audience-measurement banner (public/consent.js shows it until a choice is stored). Fixed at the bottom; Decline and Accept look the
   same on purpose, so that refusing is as easy as accepting. */
.consent[hidden]{display:none}
.consent{position:fixed;left:0;right:0;bottom:0;z-index:50;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding:16px var(--pad);background:var(--ink);color:#fff;font-size:14px;line-height:1.45;box-shadow:0 -2px 12px rgba(0,0,0,.25)}
.consent-text{margin:0;flex:1 1 420px;max-width:760px}
.consent-text a{color:inherit;text-decoration:underline}
.consent-actions{display:flex;gap:12px}
.consent-btn{border:1.5px solid #fff;background:transparent;color:#fff;padding:12px 24px;min-width:120px;font-size:15px;font-weight:600;cursor:pointer}
.consent-btn:hover{background:#fff;color:var(--ink)}
.foot-links{display:flex;gap:16px;align-items:baseline}
.foot-link{border:0;background:none;padding:0;font:inherit;color:inherit;text-decoration:underline;cursor:pointer}
@media (max-width:640px){
  .consent-actions{width:100%}
  .consent-btn{flex:1}
}
@media (max-width:560px){
  .foot-links{flex-direction:column;gap:6px}
}
