/* AMALDA — une composition éditoriale inspirée du Bassin */
:root {
  color-scheme: light;
  --ink: #173f43;
  --ink-deep: #113438;
  --ink-soft: #385b5d;
  --teal: #86b9b1;
  --teal-light: #b4d6cf;
  --ivory: #f8f8f2;
  --cream: #f1f0e8;
  --sand: #e4e0d2;
  --line: #d9dfd8;
  --white: #fff;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  --shell: 1400px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #43a49a; outline-offset: 4px; }
::selection { color: var(--ink-deep); background: #b7d9d2; }
.shell { width: min(var(--shell), calc(100% - 120px)); margin-inline: auto; }
.section { padding-block: clamp(38px, 3.4vw, 52px); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { margin-bottom: 28px; font-size: clamp(38px, 4.3vw, 66px); line-height: 1.1; letter-spacing: -.045em; }
p { margin-bottom: 20px; }
.skip-link { position: fixed; z-index: 1000; left: 12px; top: 10px; padding: 12px 18px; color: var(--white); background: var(--ink-deep); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; color: #547d79; font-size: 10px; font-weight: 700; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase; }
.eyebrow span { color: #83a9a1; font-size: 10px; letter-spacing: .12em; }
.eyebrow span::after { content: ''; display: inline-block; width: 34px; height: 1px; margin: 0 0 3px 16px; background: currentColor; }
.eyebrow-light { color: #d7e8e2; }
.eyebrow-light span { color: #9dc6bc; }
.lead { color: var(--ink-soft); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.8; }
.section-heading { display: grid; grid-template-columns: 1.1fr .7fr; align-items: end; gap: 8%; margin-bottom: 28px; }
.section-heading h2 { max-width: 700px; margin-bottom: 0; }
.section-intro { max-width: 430px; margin: 0 0 5px; color: #536b69; font-size: 16px; line-height: 1.8; }
.button { display: inline-flex; min-height: 57px; align-items: center; justify-content: space-between; gap: 35px; padding: 16px 22px; border: 1px solid transparent; border-radius: 0; font-size: 12px; font-weight: 700; letter-spacing: .035em; line-height: 1.3; text-align: left; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.button span, .underlined-link span, .text-link span { font-size: 17px; font-weight: 400; line-height: 1; }
.button-light { color: var(--ink-deep); background: var(--ivory); }
.button-light:hover { background: var(--teal-light); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover:not(:disabled) { background: #28605f; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 24px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.text-link-light { color: var(--white); border-bottom: 1px solid rgba(255,255,255,.65); }
.text-link:hover, .underlined-link:hover { border-color: currentColor; }
.underlined-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding: 0 0 11px; border-bottom: 1px solid #94aaa3; color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .03em; text-decoration: none; }

/* Navigation */
.site-header { position: relative; z-index: 20; background: #fff; }
.header-inner { display: flex; min-height: 100px; align-items: center; justify-content: space-between; gap: 40px; }
.brand { display: flex; flex: 0 0 166px; align-items: center; }
.brand img { width: 156px; height: 70px; object-fit: contain; }
.site-navigation { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.site-navigation a { color: #23494a; font-size: 12px; font-weight: 600; letter-spacing: .01em; text-decoration: none; white-space: nowrap; }
.site-navigation a:not(.nav-contact):hover { text-decoration: underline; text-underline-offset: 6px; }
.site-navigation .nav-contact { display: inline-flex; min-height: 46px; align-items: center; gap: 25px; padding: 11px 17px; border: 1px solid #b7c7bf; }
.site-navigation .nav-contact:hover { color: #fff; border-color: var(--ink); background: var(--ink); }
.nav-contact span { font-size: 15px; }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; display: flex; min-height: min(760px, calc(100svh - 100px)); min-height: clamp(610px, 56vw, 780px); align-items: center; overflow: hidden; background: #406b69; color: #fff; }
.hero-image, .hero-video, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 52%; }
.hero-video { object-fit: cover; object-position: center; opacity: 0; pointer-events: none; transition: opacity .7s ease; }
.hero.has-video .hero-video { opacity: 1; }
.hero-shade { pointer-events: none; background: linear-gradient(90deg, rgba(10,39,43,.86) 0%, rgba(12,43,47,.7) 29%, rgba(13,45,48,.25) 65%, rgba(9,40,43,.08) 100%), linear-gradient(0deg, rgba(8,38,40,.35), transparent 35%); }
.hero-motion-control { position: absolute; z-index: 3; top: 22px; right: 60px; min-height: 44px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.7); background: rgba(12,43,47,.38); color: white; font-size: 11px; font-weight: 700; }
.hero-content { position: relative; z-index: 1; padding-block: 85px 110px; }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 31px; color: #d8eae5; font-size: 10px; font-weight: 700; letter-spacing: .19em; }
.eyebrow-line { width: 44px; height: 1px; background: #c3e2d9; }
.hero-seal { display: inline-block; margin-bottom: 19px; padding: 7px 11px; border: 1px solid rgba(233,249,243,.65); color: #e2f0ea; font-size: 10px; font-weight: 600; letter-spacing: .18em; line-height: 1; text-transform: uppercase; }
.hero-mood { margin: 0 0 13px; color: #e9f4ef; font-family: var(--serif); font-size: clamp(21px, 2.1vw, 30px); font-style: italic; line-height: 1.2; }
.hero h1 { max-width: 830px; margin: 0 0 23px; font-size: clamp(44px, 4.5vw, 68px); line-height: 1.08; letter-spacing: -.047em; text-wrap: balance; }
.hero-intro { max-width: 470px; margin-bottom: 32px; color: #eff6f2; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; }
.hero-bottom { position: absolute; right: 0; bottom: 26px; left: 0; display: flex; justify-content: space-between; color: rgba(255,255,255,.8); font-size: 9px; font-weight: 600; letter-spacing: .18em; }
.hero-disclaimer { position: absolute; right: 60px; bottom: 45px; margin: 0; padding: 3px 5px; color: #fff; background: rgba(8,38,40,.55); font-size: 11px; line-height: 1.3; }

/* Chiffres et résidence */
.facts-bar { background: #e9f1ec; }
.facts-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; min-height: 132px; align-items: center; gap: 18px; padding: 27px 28px; border-right: 1px solid #ceded5; }
.fact:first-child { padding-left: 0; }
.fact:last-child { padding-right: 0; border-right: 0; }
.fact strong { flex: 0 0 auto; font-family: var(--serif); font-size: clamp(31px, 3.1vw, 44px); font-weight: 400; letter-spacing: -.05em; line-height: 1; }
.fact span { color: #54716d; font-size: 11px; line-height: 1.5; }
.fact.fact-text { flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; }
.fact-text strong { flex: 0 1 auto; font-size: clamp(19px, 1.9vw, 26px); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; }
.residence-grid { display: grid; grid-template-columns: 1.08fr .72fr; align-items: center; gap: clamp(70px, 10vw, 155px); }
.residence-visual { position: relative; padding: 0 36px 0 0; }
.image-frame { overflow: hidden; background: var(--sand); }
.residence-image { height: clamp(400px, 43vw, 620px); }
.residence-image img { width: 100%; height: 100%; object-fit: cover; }
.residence-image img { object-position: 63% center; }
.image-note { position: absolute; right: 0; bottom: 77px; display: flex; width: 171px; min-height: 142px; flex-direction: column; justify-content: center; padding: 22px 27px; background: #d4e7dd; color: var(--ink); font-size: 11px; font-weight: 600; line-height: 1.4; }
.image-note-number { margin-bottom: 7px; font-family: var(--serif); font-size: 45px; font-weight: 400; letter-spacing: -.06em; line-height: 1; }
.image-caption { display: flex; justify-content: space-between; gap: 15px; margin: 15px 0 0; color: #68827e; font-size: 10px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.residence-copy h2 { max-width: 570px; }
.residence-copy > p:not(.eyebrow) { max-width: 530px; }
.residence-copy > p:not(.eyebrow):not(.lead) { color: #6d7f79; font-size: 15px; }
.address-block { display: flex; align-items: center; gap: 18px; margin: 35px 0 30px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.address-mark { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border-radius: 50%; background: #e3efe8; color: #39766d; }
.address-mark svg { display: block; width: 23px; height: 23px; }
.address-block div { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.address-block div span { color: #758a84; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.address-block strong { font-family: var(--serif); font-size: clamp(20px, 2vw, 25px); font-weight: 600; line-height: 1.15; }
.address-block div .address-city { color: var(--ink); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }

/* Typologies */
.apartments-section { background: #f0f1e9; }
.typology-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.typology-card { position: relative; display: flex; min-width: 0; min-height: 330px; flex-direction: column; align-items: flex-start; padding: clamp(25px, 3vw, 42px); border: 1px solid #dee6dc; background: #fff; transition: border-color .2s ease, transform .2s ease; }
.typology-card:hover { border-color: #a6c5b9; transform: translateY(-3px); }
.typology-number { color: #aacbc0; font-family: var(--serif); font-size: clamp(55px, 6.6vw, 90px); font-weight: 400; letter-spacing: -.07em; line-height: 1; }
.typology-number span { color: #799d91; font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.typology-label, .typology-card h3 { margin: 12px 0; color: var(--ink); font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: -.025em; line-height: 1.2; }
.typology-description, .typology-card > p { margin-bottom: 23px; color: #647b76; font-size: 14px; line-height: 1.65; }
.typology-card > .typology-label { margin: 18px 0 0; color: #84a79a; font-family: var(--sans); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.typology-card h3 { margin-top: 8px; }
.typology-details { width: 100%; margin: 8px 0 20px; color: #647b76; font-size: 12px; }
.typology-details summary { color: var(--ink); font-weight: 600; cursor: pointer; }
.typology-details p { margin: 12px 0 0; }
.typology-link { display: inline-flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 18px; margin-top: auto; padding: 8px 0; border-bottom: 1px solid #93b6aa; color: var(--ink); font-size: 12px; font-weight: 700; text-decoration: none; }
.typology-link:hover { border-color: var(--ink); }
.lot-list { width: 100%; margin: 0 0 16px; padding: 0; list-style: none; }
.lot-item { padding: 10px 0; border-top: 1px solid #e0e9e1; color: #536e68; font-size: 12px; }
.section-footnote { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; color: #7d8b80; font-family: var(--serif); font-size: 17px; font-style: italic; }
.section-footnote .underlined-link { font-family: var(--sans); font-style: normal; }

/* Prestations */
.amenities-section { color: #fff; background: var(--ink-deep); }
.amenities-heading { display: grid; grid-template-columns: 1fr .48fr; align-items: end; gap: 12%; margin-bottom: 28px; }
.amenities-heading h2 { max-width: 700px; margin: 0; }
.amenities-heading > p { max-width: 360px; margin: 0; color: #c2d6cf; font-size: 15px; line-height: 1.8; }
.amenities-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.amenity-card { --amenity-accent: #286f64; display: grid; min-width: 0; grid-template-columns: 68px minmax(0, 1fr); align-items: start; gap: 20px; padding: 25px 27px; border-top: 4px solid var(--amenity-accent); background: #e1f0e8; color: var(--ink-deep); }
.amenity-card:nth-child(2) { --amenity-accent: #8a5b29; background: #f5ead9; }
.amenity-card:nth-child(3) { --amenity-accent: #2a687e; background: #dceef0; }
.amenity-card:nth-child(4) { --amenity-accent: #9a452c; background: #f8e6dc; }
.amenity-visual { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.amenity-index { display: block; color: var(--amenity-accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.amenity-icon { display: block; width: 66px; height: 66px; padding: 13px; border-radius: 50%; background: rgba(255,255,255,.66); color: var(--amenity-accent); stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.amenity-content { min-width: 0; }
.amenity-card h3 { margin: 0 0 12px; color: var(--ink-deep); font-size: clamp(22px, 2vw, 27px); letter-spacing: -.025em; line-height: 1.2; }
.amenities-note { margin: 18px 0 0; color: #d1e5dc; font-size: 12px; }

/* Quartier et carte */
.neighborhood-grid { display: grid; grid-template-columns: .8fr 1fr; align-items: center; gap: clamp(70px, 11vw, 165px); }
.neighborhood-copy h2 { max-width: 530px; }
.neighborhood-copy .lead { max-width: 520px; }
.neighborhood-list { margin-top: 30px; border-top: 1px solid var(--line); }
.neighborhood-list > div { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.neighborhood-list span { color: #92b5ab; font-size: 10px; }
.neighborhood-list p { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.25; }
.neighborhood-list small { color: #7a8b84; font-size: 10px; text-align: right; }
.neighborhood-guide-link { margin-top: 28px; }
.neighborhood-visual { min-width: 0; }
.neighborhood-people { display: grid; gap: 8px; }
.neighborhood-people img { display: block; width: 100%; height: auto; }
.visual-label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 14px; padding: 14px 18px; background: #d4e6de; }
.visual-label span { color: #527c72; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.visual-label strong { font-family: var(--serif); font-size: 21px; font-weight: 400; letter-spacing: -.03em; line-height: 1.15; }
.map-section { padding: clamp(36px, 3.3vw, 50px) 0; background: #e9ede5; }
.map-layout { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(55px, 8vw, 120px); }
.map-copy h2 { font-size: clamp(34px, 3.5vw, 53px); }
.map-copy > p:not(.eyebrow) { max-width: 440px; color: #5e7770; font-size: 14px; }
.map-copy .map-privacy { margin: 22px 0; color: #61746d; font-size: 12px !important; }
.map-panel { min-width: 0; }
.map-categories-help { margin: 0 0 8px; color: #61746d; font-size: 11px; }
.map-categories { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.map-category { min-height: 38px; padding: 8px 13px; border: 1px solid #bccfc3; border-radius: 0; background: transparent; color: var(--ink); font-size: 11px; font-weight: 600; }
.map-category:hover, .map-category.active, .map-category.is-active, .map-category[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.map-container { position: relative; min-height: 380px; overflow: hidden; background-color: #d8e4db; background-image: linear-gradient(27deg, transparent 46%, rgba(255,255,255,.42) 46%, rgba(255,255,255,.42) 47%, transparent 47%), linear-gradient(148deg, transparent 51%, rgba(255,255,255,.55) 51%, rgba(255,255,255,.55) 52%, transparent 52%), linear-gradient(75deg, transparent 64%, rgba(158,191,180,.42) 64%, rgba(158,191,180,.42) 65%, transparent 65%); }
.map-container iframe { display: block; width: 100%; min-height: 380px; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; color: var(--ink); text-align: center; }
.map-pin { display: grid; width: 38px; height: 38px; place-items: center; margin-bottom: 15px; border: 1px solid var(--ink); border-radius: 50%; background: var(--ivory); font-size: 13px; }
.map-placeholder strong { font-family: var(--serif); font-size: 27px; font-weight: 400; letter-spacing: .06em; }
.map-placeholder > span:not(.map-pin) { max-width: 240px; font-size: 11px; }
.map-placeholder small { margin-top: 15px; color: #638075; font-size: 10px; }

/* Galerie */
.gallery-heading { margin-bottom: 28px; }
.gallery-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; grid-template-rows: repeat(2, clamp(120px, 17vw, 240px)); gap: 14px; }
.gallery-item { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; padding: 0; border: 0; background: #dfe7df; color: #fff; text-align: left; }
.gallery-item::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(9,33,34,.66)); content: ''; pointer-events: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-main { grid-row: span 2; }
.gallery-plus { position: absolute; z-index: 1; top: 18px; right: 18px; display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; font-size: 18px; }
.gallery-caption { position: absolute; z-index: 1; right: 20px; bottom: 19px; left: 20px; display: flex; justify-content: space-between; gap: 12px; font-family: var(--serif); font-size: clamp(16px, 1.5vw, 21px); line-height: 1.2; }
.gallery-caption span { align-self: end; font-family: var(--sans); font-size: 10px; }
.gallery-disclaimer { margin: 14px 0 0; color: #7d8d86; font-size: 10px; }
.perspectives-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 25px; margin: 0 0 12px; }
.perspectives-heading h3 { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); font-weight: 400; }
.perspectives-heading p { margin: 0; color: #36584e; font-size: 13px; font-weight: 600; line-height: 1.5; }
.gallery-dialog { width: min(1100px, calc(100% - 40px)); max-width: none; max-height: calc(100% - 40px); padding: 18px; border: 0; background: #f7f8f2; color: var(--ink); }
.gallery-dialog::backdrop { background: rgba(7,30,32,.89); }
.gallery-dialog img { width: 100%; max-height: calc(100vh - 130px); object-fit: contain; }
.gallery-modal-note { margin: 0 0 10px; color: #36584e; font-size: 12px; line-height: 1.45; }
.gallery-modal-note:not([hidden]) + img { max-height: calc(100vh - 165px); }
.gallery-close { display: flex; min-height: 44px; align-items: center; gap: 15px; margin: 0 0 8px auto; padding: 0 5px; border: 0; background: transparent; color: var(--ink); font-size: 12px; font-weight: 700; }
.gallery-close span { font-size: 26px; font-weight: 400; line-height: 1; }

/* SOVI et FAQ */
.sovi-section { padding: clamp(70px, 8vw, 110px) 0; background: #dcebe2; }
.sovi-layout { display: grid; grid-template-columns: .8fr 1fr; align-items: center; gap: 12%; }
.sovi-label { display: flex; min-height: 0; flex-direction: column; align-items: stretch; padding: 0; border: 0; background: transparent; }
.sovi-overline { margin-bottom: 20px; color: #63867b; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.brand-signatures { display: grid; gap: 12px; }
.brand-signature { display: flex; min-height: 135px; align-items: center; padding: 24px 30px; background: white; }
.brand-signature img { width: min(100%, 285px); height: auto; max-height: 100px; object-fit: contain; object-position: left center; }
.brand-signature-procivis { display: grid; grid-template-columns: 80px 1fr; gap: 14px; }
.brand-signature-procivis span { color: #5a756a; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.brand-signature-note { margin: 18px 0 0; color: #4c6c60; font-size: 12px; }
.sovi-copy h2 { max-width: 580px; }
.sovi-copy > p:not(.eyebrow) { max-width: 530px; color: #58736c; font-size: 15px; }
.sovi-actions { display: flex; flex-wrap: wrap; gap: 20px 28px; }
.sovi-copy .underlined-link { margin-top: 10px; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(70px, 11vw, 160px); }
.faq-intro { max-width: 350px; color: #6a7e78; font-size: 15px; }
.faq-layout .underlined-link { margin-top: 12px; }
.faq-list { border-top: 1px solid #cddbd2; }
.faq-list details { border-bottom: 1px solid #cddbd2; }
.faq-list summary { position: relative; padding: 22px 36px 22px 0; color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.4; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 19px; right: 3px; color: #709b8e; content: '+'; font-family: var(--sans); font-size: 23px; font-weight: 300; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p, .faq-list details > div { max-width: 670px; margin: 0; padding: 0 25px 22px 0; color: #647b73; font-size: 14px; line-height: 1.8; }

/* Contact */
.contact-section { color: #fff; background: #1a484a; }
.contact-layout { display: grid; grid-template-columns: .82fr 1fr; align-items: start; gap: clamp(70px, 10vw, 145px); }
.contact-copy { padding-top: 20px; }
.contact-copy h2 { max-width: 570px; }
.contact-lead { max-width: 490px; color: #c9dcd4; font-size: 16px; line-height: 1.8; }
.contact-direct { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 48px; }
.contact-direct span { margin-bottom: 11px; color: #b8d0c6; font-size: 11px; }
.contact-direct a { color: #fff; font-family: var(--serif); font-size: 23px; text-decoration: none; }
.contact-direct a:hover { text-decoration: underline; text-underline-offset: 4px; }
.brochure-link { display: flex; max-width: 390px; align-items: center; gap: 15px; margin-top: 42px; padding: 18px 0; border-top: 1px solid rgba(220,239,230,.35); border-bottom: 1px solid rgba(220,239,230,.35); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
.brochure-link > span:nth-child(2) { flex: 1; }
.brochure-link small { display: block; margin-top: 2px; color: #b7d2c6; font-size: 10px; font-weight: 400; }
.brochure-icon { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid #aac8bb; border-radius: 50%; font-size: 18px; font-weight: 400; }
.form-card { padding: clamp(28px, 4vw, 55px); background: #fbfbf6; color: var(--ink); }
.form-card-heading { display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.form-kicker { display: block; margin-bottom: 10px; color: #789a8d; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.form-card h3 { margin-bottom: 18px; font-size: clamp(26px, 2.5vw, 34px); letter-spacing: -.035em; line-height: 1.2; }
.form-heading-mark { color: #76a89b; font-size: 24px; }
.form-explanation, .form-noscript { margin-bottom: 26px; color: #637a71; font-size: 12px; line-height: 1.7; }
.form-noscript { padding: 12px; border-left: 3px solid #72a799; background: #e9f1eb; }
#form-status { margin-bottom: 20px; padding: 12px 15px; border-left: 3px solid #6c9f91; background: #e9f1eb; color: var(--ink); font-size: 13px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field { display: flex; min-width: 0; flex-direction: column; gap: 7px; margin-bottom: 19px; }
.form-field label { font-size: 13px; font-weight: 700; }
.form-field label > span:not(.optional) { color: #40887d; }
.optional { color: #435c54; font-weight: 400; }
.form-field input, .form-field select { width: 100%; min-height: 49px; padding: 10px 13px; border: 1px solid #cbd8ce; border-radius: 0; background: #fff; color: var(--ink); font-size: 13px; }
.form-field select { cursor: pointer; }
.consent-field { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; }
.consent-field input { width: 17px; height: 17px; flex: 0 0 17px; margin: 3px 0 0; accent-color: var(--ink); }
.consent-field label { color: #344f47; font-size: 13px; line-height: 1.6; }
.consent-field label span { color: #435c54; }
.required-note { margin: 16px 0; color: #435c54; font-size: 12px; }
.form-submit { width: 100%; }
.form-fallback, .privacy-note { margin: 17px 0 0; color: #435c54; font-size: 12px; line-height: 1.65; }
.form-fallback a, .privacy-note a, .form-noscript a { color: var(--ink); text-underline-offset: 3px; }

/* Pied de page */
.site-footer { padding: 70px 0 25px; background: #f4f4ed; }
.footer-top { display: grid; grid-template-columns: 1.1fr .75fr 1fr 1fr; gap: 45px; padding-bottom: 60px; }
.footer-brand img { width: 150px; height: 65px; object-fit: contain; object-position: left center; }
.footer-brand p { margin: 18px 0 0; color: #70837c; font-family: var(--serif); font-size: 16px; line-height: 1.5; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: #6a8077; font-size: 12px; }
.footer-column strong { margin-bottom: 13px; color: var(--ink); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.footer-column a { text-decoration: none; }
.footer-column a:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-column span { max-width: 220px; }
.footer-brochure a { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; padding-top: 22px; border-top: 1px solid #d9e1d7; color: #7c8d84; font-size: 10px; }
.footer-bottom div { display: flex; gap: 22px; }
.footer-bottom a { text-decoration: none; }
.mobile-contact { display: none; }

@media (max-width: 1100px) {
  .shell { width: min(var(--shell), calc(100% - 72px)); }
  .header-inner { gap: 15px; }
  .site-navigation { gap: 17px; }
  .site-navigation a { font-size: 11px; }
  .residence-grid, .neighborhood-grid { gap: 60px; }
  .fact { gap: 12px; padding-inline: 18px; }
  .hero-disclaimer { right: 36px; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 75px; }
  .shell { width: calc(100% - 48px); }
  .section { padding-block: 38px; }
  .header-inner { position: relative; min-height: 76px; }
  .brand { flex-basis: 140px; }
  .brand img { width: 135px; height: 58px; }
  .menu-toggle { display: flex; width: 46px; height: 46px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; margin-left: auto; padding: 0; border: 1px solid #c4d4ca; background: #fff; }
  .menu-toggle span { width: 20px; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-navigation { position: absolute; top: 100%; right: -24px; left: -24px; display: none; align-items: stretch; gap: 0; padding: 12px 24px 24px; border-top: 1px solid #e2eae3; background: #fff; box-shadow: 0 14px 20px rgba(13,48,47,.1); }
  .menu-toggle[aria-expanded="true"] ~ .site-navigation, .site-navigation.is-open, .site-navigation.open { display: flex; flex-direction: column; }
  .site-navigation a { padding: 13px 0; border-bottom: 1px solid #e5ece5; font-size: 13px; }
  .site-navigation .nav-contact { justify-content: space-between; margin-top: 15px; padding: 13px 16px; }
  .hero { min-height: 650px; }
  .hero-image { object-position: 64% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(9,39,42,.83), rgba(9,39,42,.5) 70%, rgba(9,39,42,.23)), linear-gradient(0deg, rgba(8,38,40,.33), transparent 38%); }
  .hero-content { padding-block: 75px 100px; }
  .hero h1 { max-width: 690px; font-size: clamp(40px, 7vw, 60px); }
  .hero-disclaimer { right: 24px; }
  .facts-inner { grid-template-columns: repeat(2, 1fr); }
  .fact { min-height: 105px; padding: 20px; border-bottom: 1px solid #ceded5; }
  .fact:nth-child(2) { padding-right: 0; border-right: 0; }
  .fact:nth-child(3) { padding-left: 0; border-bottom: 0; }
  .fact:nth-child(4) { border-bottom: 0; }
  .section-heading { gap: 30px; }
  .residence-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .residence-visual { padding-right: 18px; }
  .residence-image { height: 450px; }
  .image-note { width: 142px; min-height: 115px; padding: 15px 20px; }
  .typology-grid { gap: 10px; }
  .typology-card { min-height: 300px; padding: 24px 20px; }
  .typology-label, .typology-card h3 { font-size: 23px; }
  .amenities-heading { grid-template-columns: 1fr .65fr; gap: 30px; }
  .amenity-card { grid-template-columns: 58px minmax(0, 1fr); gap: 15px; padding: 22px; }
  .amenity-icon { width: 58px; height: 58px; padding: 11px; }
  .neighborhood-grid { grid-template-columns: 1fr 1fr; gap: 45px; }
  .neighborhood-list > div { grid-template-columns: 25px 1fr; }
  .neighborhood-list small { grid-column: 2; text-align: left; }
  .map-layout { grid-template-columns: 1fr; gap: 35px; }
  .map-copy h2 br { display: none; }
  .gallery-caption { right: 10px; bottom: 12px; left: 10px; gap: 6px; font-size: clamp(13px, 3.75vw, 15px); }
  .sovi-layout { gap: 50px; }
  .faq-layout { grid-template-columns: 1fr 1.3fr; gap: 50px; }
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 35px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: repeat(2, 1fr); row-gap: 35px; }
}

@media (max-width: 590px) {
  body { padding-bottom: 64px; }
  .shell { width: calc(100% - 40px); }
  .section { padding-block: 30px; }
  h2 { margin-bottom: 23px; font-size: clamp(36px, 10vw, 48px); }
  .eyebrow { margin-bottom: 22px; }
  .lead { font-size: 16px; }
  .header-inner { min-height: 72px; }
  .site-navigation { right: -20px; left: -20px; padding-right: 20px; padding-left: 20px; }
  .hero { min-height: 625px; min-height: min(730px, calc(100svh - 72px)); }
  .hero-image { object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,38,41,.84), rgba(9,39,42,.48)), linear-gradient(0deg, rgba(8,38,40,.5), transparent 50%); }
  .hero-content { padding-block: 60px 95px; }
  .hero-eyebrow { gap: 10px; margin-bottom: 24px; font-size: 9px; letter-spacing: .13em; }
  .eyebrow-line { width: 25px; }
  .hero-seal { margin-bottom: 16px; }
  .hero-mood { margin-bottom: 10px; font-size: 21px; }
  .hero h1 { font-size: clamp(36px, 9.5vw, 52px); }
  .hero-motion-control { top: 15px; right: 20px; }
  .hero-intro { max-width: 340px; font-size: 16px; }
  .hero-actions { align-items: flex-start; gap: 16px 22px; }
  .hero-actions .button { min-height: 53px; }
  .hero-bottom { bottom: 20px; font-size: 8px; }
  .hero-disclaimer { right: 20px; bottom: 39px; max-width: 74%; font-size: 10px; text-align: right; }
  .facts-inner { width: calc(100% - 40px); }
  .fact { min-height: 98px; gap: 10px; padding-inline: 12px; }
  .fact strong { font-size: clamp(27px, 8vw, 37px); }
  .fact.fact-text { gap: 5px; }
  .fact-text strong { font-size: clamp(19px, 5.2vw, 22px); }
  .fact span { font-size: 10px; }
  .residence-grid, .neighborhood-grid, .faq-layout, .contact-layout, .sovi-layout, .section-heading, .amenities-heading { grid-template-columns: 1fr; gap: 30px; }
  .residence-grid { display: flex; flex-direction: column-reverse; align-items: stretch; }
  .residence-image { height: 390px; }
  .residence-visual { padding-right: 15px; }
  .image-note { bottom: 58px; }
  .address-block { margin: 28px 0 25px; }
  .section-heading { margin-bottom: 24px; }
  .section-intro { font-size: 14px; }
  .typology-grid { grid-template-columns: 1fr; gap: 12px; }
  .typology-card { min-height: 245px; padding: 26px; }
  .typology-number { font-size: 65px; }
  .section-footnote { align-items: flex-start; flex-direction: column; font-size: 16px; }
  .amenities-heading { margin-bottom: 24px; }
  .amenities-heading > p { font-size: 14px; }
  .amenities-grid { grid-template-columns: 1fr; gap: 10px; }
  .amenity-card { grid-template-columns: 54px minmax(0, 1fr); gap: 15px; padding: 20px 18px; }
  .amenity-card h3 { font-size: 22px; }
  .amenity-icon { width: 54px; height: 54px; padding: 10px; }
  .neighborhood-grid { gap: 32px; }
  .visual-label { padding: 12px 14px; }
  .visual-label strong { font-size: 19px; }
  .neighborhood-list { margin-top: 28px; }
  .neighborhood-list > div { grid-template-columns: 25px 1fr auto; }
  .neighborhood-list small { grid-column: auto; text-align: right; }
  .map-section { padding-block: 30px; }
  .map-copy h2 { font-size: 37px; }
  .map-category { flex: 1 0 auto; padding-inline: 10px; }
  .map-container, .map-container iframe { min-height: 300px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 8px; }
  .gallery-item { height: auto; aspect-ratio: 1.2; }
  .gallery-main { grid-row: auto; grid-column: span 2; aspect-ratio: 1.65; }
  .gallery-main .gallery-caption { font-size: 18px; }
  .gallery-plus { top: 12px; right: 12px; width: 34px; height: 34px; }
  .perspectives-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .sovi-section { padding-block: 65px; }
  .sovi-layout { display: flex; flex-direction: column-reverse; align-items: stretch; }
  .sovi-label { min-height: 0; }
  .brand-signature { min-height: 112px; padding: 20px 24px; }
  .faq-layout { gap: 35px; }
  .faq-list summary { font-size: 18px; }
  .contact-layout { gap: 45px; }
  .contact-copy { padding-top: 0; }
  .contact-direct { margin-top: 30px; }
  .brochure-link { margin-top: 28px; }
  .form-card { padding: 27px 22px; }
  .footer-top { gap: 30px 20px; padding-bottom: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-column { font-size: 11px; }
  .footer-bottom { flex-direction: column; }
  .mobile-contact { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; display: grid; min-height: 64px; grid-template-columns: .72fr 1.5fr; padding-bottom: env(safe-area-inset-bottom); background: var(--ink-deep); box-shadow: 0 -4px 20px rgba(13,46,44,.15); }
  .mobile-contact a { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 13px 10px; color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
  .mobile-contact a:first-child { border-right: 1px solid rgba(255,255,255,.3); }
  .mobile-contact a:last-child { background: #dcebe1; color: var(--ink); }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 34px; }
  .hero-actions { gap: 8px; }
  .neighborhood-list > div { grid-template-columns: 22px 1fr; }
  .neighborhood-list small { grid-column: 2; text-align: left; }
  .amenity-card h3 { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Pages légales et page d’information sur le courriel */
.container { width: min(1100px, calc(100% - 120px)); margin-inline: auto; }
.site-header > .container { display: flex; min-height: 100px; align-items: center; }
.site-header > .container .brand { color: var(--ink); font-family: var(--serif); font-size: 25px; letter-spacing: .16em; text-decoration: none; }
.page-content { min-height: 52vh; padding-block: 75px 95px; }
.page-content > p, .page-content section { max-width: 820px; }
.page-content > p:first-child a { color: #648278; font-size: 12px; text-decoration: none; }
.page-content h1 { max-width: 850px; margin: 35px 0 30px; font-size: clamp(40px, 5vw, 66px); letter-spacing: -.045em; line-height: 1.1; }
.page-content section { margin-top: 45px; }
.page-content h2 { margin-bottom: 16px; font-size: clamp(27px, 3vw, 38px); }
.page-content p, .page-content li { color: #506c63; }
.page-content a:not(:first-child), .page-content p:not(:first-child) a { color: var(--ink); text-underline-offset: 3px; }
.site-footer > nav.container { display: flex; flex-wrap: wrap; gap: 25px; font-size: 12px; }
@media (max-width: 820px) { .container { width: calc(100% - 48px); } .site-header > .container { min-height: 76px; } }
@media (max-width: 590px) { .container { width: calc(100% - 40px); } .page-content { padding-block: 50px 70px; } }

/* Parcours de contact : une action principale identifiable à chaque étape */
.site-header { position: sticky; top: 0; box-shadow: 0 2px 16px rgba(17,52,56,.07); }
.site-navigation { gap: clamp(16px, 1.9vw, 30px); }
.site-navigation .nav-contact { min-height: 50px; padding: 12px 18px; border-color: #eab278; background: #eab278; color: #173f43; font-size: 13px; font-weight: 800; }
.site-navigation .nav-contact:hover { border-color: #d99a5e; background: #d99a5e; color: #173f43; }
.button-accent { color: #143b3d; border-color: #edb57c; background: #edb57c; font-size: 14px; font-weight: 800; }
.button-accent:hover { background: #f4c898; border-color: #f4c898; }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.85); background: rgba(9,39,42,.45); font-size: 13px; }
.button-ghost:hover { color: #153c3e; background: #fff; }
.hero-content { padding-block: 70px 100px; }
.hero-intro { margin-bottom: 20px; }
.hero-brandline { display: inline-block; margin-bottom: 26px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.55); color: #fff; font-size: 13px; line-height: 1.4; text-decoration: none; }
.hero-brandline:hover { border-color: #fff; }
.hero-brandline strong { color: #fff; }
.hero-actions { gap: 12px 16px; }
.hero-brochure { margin-left: 4px; padding-inline: 3px; font-size: 12px; }
.typology-link { width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 13px; }
.typology-link:hover { border-color: #28605f; background: #28605f; }
.lead-callout { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 26px; margin-top: 24px; padding: clamp(28px, 4vw, 48px); background: #173f43; color: #fff; }
.lead-callout p { margin: 0 0 9px; color: #c7dfd3; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lead-callout h3 { margin: 0 0 8px; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.lead-callout div > span { color: #e3f0e8; font-size: 14px; }
.insights-section { background: #edf2ea; }
.insights-heading { display: grid; grid-template-columns: 1fr .65fr; align-items: end; gap: 8%; margin-bottom: 24px; }
.insights-heading h2 { margin-bottom: 0; max-width: 700px; }
.insights-heading > p { max-width: 450px; margin: 0 0 5px; color: #47665f; }
.insights-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.insight-card { display: flex; flex-direction: column; min-width: 0; padding: 30px; background: #fff; border: 1px solid #d3e1d5; }
.insight-card .insight-tag { margin: 0 0 18px; color: #55786c; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.insight-card h3 { margin: 0 0 14px; font-size: 25px; line-height: 1.2; }
.insight-card > p:not(.insight-tag) { flex: 1; color: #536d65; font-size: 14px; line-height: 1.65; }
.insight-card a { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 45px; color: var(--ink); font-size: 13px; font-weight: 800; text-underline-offset: 4px; }
.insights-all { margin-top: 24px; }
@media (max-width: 820px) {
  .site-navigation .nav-contact { justify-content: space-between; color: var(--ink); }
  .insights-heading { grid-template-columns: 1fr; gap: 20px; }
  .insights-grid { grid-template-columns: 1fr; }
}
@media (max-width: 590px) {
  .hero-content { padding-block: 58px 70px; }
  .hero-brandline { margin-bottom: 18px; font-size: 12px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button-accent { width: 100%; }
  .hero-actions .button-ghost { min-height: 50px; flex: 1 1 auto; }
  .hero-brochure { flex: 1 1 auto; margin: 0; }
  .lead-callout { align-items: stretch; flex-direction: column; margin-top: 22px; }
  .lead-callout .button { width: 100%; }
  .mobile-contact a:last-child { background: #edb57c; color: #143b3d; font-weight: 800; }
}

@media (max-width: 590px) and (max-height: 700px) {
  .hero-content { padding-top: 60px; }
  .hero-eyebrow { margin-bottom: 14px; }
  .hero-seal { margin-bottom: 9px; }
  .hero-mood { margin-bottom: 7px; }
  .hero h1 { margin-bottom: 13px; font-size: clamp(32px, 9vw, 40px); }
  .hero-intro { margin-bottom: 10px; line-height: 1.5; }
  .hero-brandline { margin-bottom: 10px; padding-block: 5px; }
  .hero-actions { gap: 8px; }
}

@media (max-width: 1000px) {
  .site-navigation { max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); overflow-y: auto; overscroll-behavior: contain; }
}
@media (min-width: 821px) and (max-width: 1000px) {
  .header-inner { position: relative; min-height: 76px; }
  .brand { flex-basis: 140px; }
  .brand img { width: 135px; height: 58px; }
  .menu-toggle { display: flex; width: 46px; height: 46px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; margin-left: auto; padding: 0; border: 1px solid #c4d4ca; background: #fff; }
  .menu-toggle span { width: 20px; height: 1px; background: var(--ink); }
  .site-navigation { position: absolute; top: 100%; right: -36px; left: -36px; display: none; align-items: stretch; gap: 0; padding: 12px 36px 24px; border-top: 1px solid #e2eae3; background: #fff; box-shadow: 0 14px 20px rgba(13,48,47,.1); }
  .menu-toggle[aria-expanded="true"] ~ .site-navigation, .site-navigation.is-open, .site-navigation.open { display: flex; flex-direction: column; }
  .site-navigation a { padding: 13px 0; border-bottom: 1px solid #e5ece5; font-size: 13px; }
  .site-navigation .nav-contact { justify-content: space-between; margin-top: 15px; padding: 13px 16px; }
}

/* Actions commerciales : contraste et accès directs à SOVI */
:root { --action: #b4461e; --action-hover: #8f3315; }
html { scroll-padding-top: 112px; }
.header-quick { display: none; }
.site-navigation { gap: clamp(10px, 1vw, 16px); }
.site-navigation-mobile { display: none; }
.site-navigation .nav-phone { padding-left: 14px; border-left: 1px solid #d9e3db; color: #173f43; font-size: 13px; font-weight: 800; }
.site-navigation .nav-contact { min-height: 54px; gap: 12px; border-color: var(--action); background: var(--action); color: #fff; font-size: 14px; }
.site-navigation .nav-contact:hover { border-color: var(--action-hover); background: var(--action-hover); color: #fff; }
.button-accent, .form-submit, .typology-link {
  min-height: 56px;
  border-color: var(--action);
  background: var(--action);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.button-accent:hover, .form-submit:hover:not(:disabled), .typology-link:hover {
  border-color: var(--action-hover);
  background: var(--action-hover);
  color: #fff;
}
.hero-actions .button-accent { min-height: 64px; padding: 18px 24px; font-size: 16px; box-shadow: 0 4px 0 rgba(59,22,11,.3); }
.hero-actions .button-ghost { min-height: 58px; padding: 15px 20px; border-width: 2px; background: rgba(9,39,42,.7); font-size: 14px; }
.hero-actions .button-ghost:hover { background: #fff; color: var(--ink-deep); }
.hero-actions .hero-brochure { margin: 0; }
.button span, .typology-link span { flex-shrink: 0; }
.legal-header-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; margin-left: auto; }
.legal-header-nav a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.legal-header-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal-header-nav .legal-action { padding: 10px 15px; background: var(--action); color: #fff; }
.legal-header-nav .legal-action:hover { background: var(--action-hover); }
@media (max-width: 1350px) {
  html { scroll-padding-top: 86px; }
  .header-inner { position: relative; min-height: 76px; gap: 12px; }
  .brand { flex-basis: 140px; }
  .brand img { width: 135px; height: 58px; }
  .header-quick { display: flex; align-items: center; gap: 12px; margin-left: auto; }
  .header-quick a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; color: #173f43; font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
  .header-quick .header-quick__contact { padding: 9px 14px; border: 2px solid var(--action); color: var(--action); }
  .header-quick .header-quick__contact:hover { background: var(--action); color: #fff; }
  .menu-toggle { display: flex; width: 46px; height: 46px; flex: 0 0 46px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; margin-left: 0; padding: 0; border: 1px solid #9db7aa; background: #fff; }
  .menu-toggle span { width: 20px; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-navigation { position: absolute; top: 100%; right: -60px; left: -60px; display: none; align-items: stretch; gap: 0; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); overflow-y: auto; overscroll-behavior: contain; padding: 12px 60px 24px; border-top: 1px solid #e2eae3; background: #fff; box-shadow: 0 14px 20px rgba(13,48,47,.1); }
  .menu-toggle[aria-expanded="true"] ~ .site-navigation, .site-navigation.is-open, .site-navigation.open { display: flex; flex-direction: column; }
  .site-navigation a { min-height: 48px; padding: 13px 0; border-bottom: 1px solid #e5ece5; font-size: 14px; }
  .site-navigation .nav-phone { padding: 13px 0; border-left: 0; font-size: 14px; }
  .site-navigation .nav-contact { justify-content: space-between; margin: 8px 0 12px; padding: 13px 16px; border: 1px solid var(--action); color: #fff; }
}
@media (max-width: 1100px) { .site-navigation { right: -36px; left: -36px; padding-right: 36px; padding-left: 36px; } }
@media (max-width: 820px) { .site-navigation { right: -24px; left: -24px; padding-right: 24px; padding-left: 24px; } }
@media (max-width: 590px) {
  html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .header-inner { min-height: 72px; gap: 8px; }
  .header-quick__phone { display: none !important; }
  .header-quick .header-quick__contact { padding-inline: 11px; }
  .site-navigation { right: -20px; left: -20px; padding-right: 20px; padding-left: 20px; }
  .hero-actions .button-accent { width: 100%; }
  .hero-actions .button-ghost { flex: 1 1 auto; }
  .mobile-contact { grid-template-columns: 1fr 1.2fr; min-height: 68px; }
  .mobile-contact a { min-height: 68px; font-size: 14px; }
  .mobile-contact a:last-child { background: var(--action); color: #fff; }
  .mobile-contact a:last-child:hover { background: var(--action-hover); }
  .site-header > .container { gap: 10px; flex-wrap: wrap; padding-block: 10px; }
  .site-header > .container .brand { flex-basis: auto; }
  .legal-header-nav { gap: 4px 12px; }
}
@media (max-width: 390px) {
  .site-header > .container { justify-content: center; }
  .legal-header-nav { justify-content: center; margin-left: 0; }
}

/* Appeler et contacter SOVI sont des actions, pas de simples liens de navigation. */
:is(.site-navigation, .ed-nav, .blog-nav, .secondary-mobile-nav) :is(.nav-phone, .nav-contact-link),
.header-quick :is(.header-quick__phone, .header-quick__contact),
.legal-header-nav a:not(.legal-action) {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 2px solid transparent;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}
:is(.site-navigation, .ed-nav, .blog-nav, .secondary-mobile-nav) .nav-phone,
.header-quick .header-quick__phone,
.legal-header-nav a[href^="tel:"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
:is(.site-navigation, .ed-nav, .blog-nav, .secondary-mobile-nav) .nav-contact-link,
.header-quick .header-quick__contact,
.legal-header-nav a[href="/#contact"]:not(.legal-action) {
  border-color: var(--action);
  background: var(--action);
  color: #fff;
}
:is(.site-navigation, .ed-nav, .blog-nav, .secondary-mobile-nav) a.nav-phone:hover,
.header-quick .header-quick__phone:hover,
.legal-header-nav a[href^="tel:"]:hover {
  border-color: #285e60;
  background: #285e60;
  color: #fff;
  text-decoration: none;
}
:is(.site-navigation, .ed-nav, .blog-nav, .secondary-mobile-nav) a.nav-contact-link:hover,
.header-quick .header-quick__contact:hover,
.legal-header-nav a[href="/#contact"]:not(.legal-action):hover {
  border-color: var(--action-hover);
  background: var(--action-hover);
  color: #fff;
  text-decoration: none;
}
:is(.site-navigation, .ed-nav, .blog-nav, .secondary-mobile-nav) :is(.nav-phone, .nav-contact-link):focus-visible,
.header-quick :is(.header-quick__phone, .header-quick__contact):focus-visible,
.legal-header-nav a:not(.legal-action):focus-visible {
  outline: 3px solid #176c63;
  outline-offset: 3px;
}
.contact-direct a[href^="tel:"] {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  margin-bottom: 8px;
  padding: 12px 18px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 800;
}
.contact-direct a[href^="tel:"]:hover { background: #dcebe1; text-decoration: none; }
.contact-direct a[href^="tel:"]:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mobile-contact a:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
@media (max-width: 1350px) {
  :is(.site-navigation-mobile, .secondary-mobile-nav) :is(.nav-phone, .nav-contact-link) {
    width: 100%;
    justify-content: flex-start;
    margin: 4px 0;
  }
}

/* Deux actions de contact clairement identifiables, sur toutes les navigations. */
:is(.site-navigation, .ed-nav, .blog-nav, .secondary-mobile-nav) a:is(.nav-phone, .nav-contact-link),
.header-quick a:is(.header-quick__phone, .header-quick__contact),
.legal-header-nav a:not(.legal-action) {
  min-height: 54px;
  gap: 8px;
  padding: 11px 15px;
  border-radius: 6px;
  box-shadow: 0 3px 0 rgba(14, 47, 49, .18);
  font-size: 14px;
  font-weight: 800;
}
:is(.nav-phone, .header-quick__phone, .mobile-contact__phone)::before,
.legal-header-nav a[href^="tel:"]::before,
:is(.nav-contact-link, .header-quick__contact, .mobile-contact__contact)::before,
.legal-header-nav a[href="/#contact"]:not(.legal-action)::before {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
}
:is(.nav-phone, .header-quick__phone, .mobile-contact__phone)::before,
.legal-header-nav a[href^="tel:"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h3l2 5-2 2c1 2 3 4 5 5l2-2 5 2v3c0 1.1-.9 2-2 2C10 19 5 14 4 5c0-1.1.9-2 2-2Z'/%3E%3C/svg%3E");
}
:is(.nav-contact-link, .header-quick__contact, .mobile-contact__contact)::before,
.legal-header-nav a[href="/#contact"]:not(.legal-action)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E");
}
@media (max-width: 590px) {
  .mobile-contact {
    grid-template-columns: 1.25fr 1fr;
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: #f7f8f3;
    box-shadow: 0 -4px 18px rgba(13, 46, 44, .2);
  }
  .mobile-contact a {
    min-height: 52px;
    gap: 8px;
    padding: 10px 8px;
    border: 2px solid transparent;
    border-radius: 6px;
    box-shadow: 0 3px 0 rgba(14, 47, 49, .2);
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .mobile-contact a.mobile-contact__phone { border-color: var(--ink); background: var(--ink); color: #fff; }
  .mobile-contact a.mobile-contact__contact { border-color: var(--action); background: var(--action); color: #fff; }
  .mobile-contact a.mobile-contact__phone:hover { border-color: #285e60; background: #285e60; }
  .mobile-contact a.mobile-contact__contact:hover { border-color: var(--action-hover); background: var(--action-hover); }
  .mobile-contact a:focus-visible { outline: 3px solid #1f746b; outline-offset: 2px; }
}
@media (max-width: 360px) {
  .brand { flex-basis: 105px; }
  .brand img { width: 105px; }
  .header-quick a.header-quick__contact { gap: 6px; padding-inline: 8px; font-size: 13px; }
  :is(.ed-header, .blog-header) :is(.ed-brand, .blog-brand) img { width: 95px; }
  :is(.ed-header-inner, .blog-header-inner) .secondary-mobile-menu summary { min-width: 58px; padding-inline: 6px; }
}
