/* Ledoux Properties — Pitch A brand system */
:root {
  --ink: #1B1B1B;
  --accent: #A89580;
  --cream: #F4F1EC;
  --muted: #6B6560;
  --white: #FFFFFF;
  --cream-deep: #EBE6DE;
  --line: rgba(27, 27, 27, 0.12);
  --line-strong: rgba(27, 27, 27, 0.22);
  --shadow-soft: 0 18px 50px rgba(27, 27, 27, 0.08);
  --radius: 2px;
  --header-h: 76px;
  --max: 1120px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-ui: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--ink);
  color: var(--cream);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

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

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.section--ink .eyebrow {
  color: var(--accent);
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 38rem;
}

.section--ink .lede {
  color: rgba(244, 241, 236, 0.72);
}

.muted {
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--ink {
  background: var(--ink);
  color: var(--cream);
}

.btn--ink:hover {
  background: #2a2a2a;
  color: var(--cream);
}

.btn--cream {
  background: var(--cream);
  color: var(--ink);
}

.btn--cream:hover {
  background: var(--white);
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 241, 236, 0.35);
}

.btn--ghost-light:hover {
  border-color: var(--cream);
  color: var(--cream);
}

.btn--accent {
  background: var(--accent);
  color: var(--ink);
}

.btn--accent:hover {
  background: #b7a690;
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(244, 241, 236, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-link img,
.logo-link svg {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.header-cta {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (min-width: 900px) {
  .header-cta {
    display: inline-flex;
    min-height: 42px;
    padding: 0.55rem 1rem;
    font-size: 0.72rem;
  }
  .nav .nav-phone {
    display: none;
  }
}

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    color: var(--ink);
  }

  .nav .nav-phone {
    margin-top: 0.75rem;
    border: none;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(4.5rem, 12vw, 8.5rem) 0 clamp(4rem, 9vw, 7rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(168, 149, 128, 0.14), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
  }
}

.hero-brand {
  margin-bottom: 1.75rem;
}

.hero-brand img {
  width: min(100%, 360px);
  height: auto;
}

.hero-tag {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1.25;
  max-width: 18ch;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.hero-aside {
  border-left: 1px solid var(--line-strong);
  padding-left: 1.75rem;
}

@media (max-width: 899px) {
  .hero-aside {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 1.75rem;
  }
}

.hero-aside p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.hero-meta strong {
  color: var(--ink);
  font-weight: 500;
}

/* Approach */
.two-col {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .two-col {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
    align-items: start;
  }
}

.prose p {
  margin: 0 0 1.15rem;
  color: var(--muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.trust-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.trust-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.trust-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.trust-mark {
  width: 28px;
  height: 28px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 0.75rem;
  margin-top: 0.15rem;
}

.trust-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.trust-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Portrait */
.portrait-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .portrait-grid {
    grid-template-columns: minmax(260px, 380px) 1fr;
    gap: 4rem;
  }
}

.portrait-frame {
  position: relative;
  background: var(--cream-deep);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(244, 241, 236, 0.28);
  pointer-events: none;
  z-index: 1;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(1) contrast(1.05);
}

.portrait-copy .role {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.25rem;
}

.portrait-copy p {
  color: rgba(244, 241, 236, 0.78);
  margin: 0 0 1.1rem;
}

.portrait-copy .sign {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--cream);
}

.portrait-copy .sign small {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Services */
.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.6rem 1.4rem 1.7rem;
  min-height: 100%;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.card-num {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 1.4rem;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Villas / network */
.network-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .network-grid {
    grid-template-columns: 1.1fr 1fr 1fr;
    align-items: stretch;
  }
}

.network-intro {
  padding-right: 1rem;
}

.network-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 1.6rem;
  border: 1px solid rgba(244, 241, 236, 0.18);
  background: rgba(244, 241, 236, 0.03);
  text-decoration: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.network-card:hover {
  border-color: var(--accent);
  background: rgba(168, 149, 128, 0.08);
  color: var(--cream);
}

.network-card h3 {
  color: var(--cream);
  margin-bottom: 0.65rem;
}

.network-card p {
  color: rgba(244, 241, 236, 0.65);
  margin: 0;
  font-size: 0.95rem;
  flex: 1;
}

.network-card .link-label {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.agency-note {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(244, 241, 236, 0.14);
  color: rgba(244, 241, 236, 0.7);
  font-size: 0.95rem;
}

.agency-note a {
  color: var(--cream);
  text-decoration: underline;
}

.agency-note a:hover {
  color: var(--accent);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
  }
}

.contact-channels {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.channel {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.channel:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.channel-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.channel strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.channel span {
  font-size: 0.98rem;
  color: var(--ink);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1.25rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.85rem 0 0;
}

.form-success {
  display: none;
  padding: 1.25rem;
  border: 1px solid var(--accent);
  background: rgba(168, 149, 128, 0.12);
  color: var(--ink);
  margin-bottom: 1rem;
}

.form-success.is-visible {
  display: block;
}

.form-error {
  display: none;
  color: #8a3a2a;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.form-error.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(244, 241, 236, 0.7);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(244, 241, 236, 0.08);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.footer-brand img {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.footer-brand p {
  margin: 0;
  max-width: 28ch;
  font-size: 0.95rem;
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  color: rgba(244, 241, 236, 0.78);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-bottom {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 241, 236, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: rgba(244, 241, 236, 0.65);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--cream);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lang-switch a {
  color: inherit;
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.lang-switch a:hover,
.lang-switch a[aria-current="true"] {
  opacity: 1;
  color: inherit;
}

.nav .lang-switch {
  margin-left: 0.25rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.footer-bottom .lang-switch a {
  color: rgba(244, 241, 236, 0.65);
}

.footer-bottom .lang-switch a:hover,
.footer-bottom .lang-switch a[aria-current="true"] {
  color: var(--cream);
  opacity: 1;
}

@media (max-width: 899px) {
  .nav .lang-switch {
    margin: 0.75rem 0 0;
    padding: 0.95rem 0.25rem;
    border-left: none;
    border-bottom: 1px solid var(--line);
    letter-spacing: 0.14em;
  }
}

@media (min-width: 800px) {
  .footer-grid.footer-grid--4 {
    grid-template-columns: 1.3fr 1fr 1.1fr 1fr;
  }
}

/* Legal pages */
.legal-page {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
}

.legal-page h1 {
  margin-bottom: 0.5rem;
}

.legal-page .meta {
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.legal-page h2 {
  font-size: 1.45rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-page ul {
  padding-left: 1.2rem;
}

.todo {
  display: inline-block;
  background: rgba(168, 149, 128, 0.18);
  color: var(--ink);
  padding: 0.1rem 0.45rem;
  font-size: 0.85em;
  border-radius: 2px;
  font-family: var(--font-ui);
  letter-spacing: 0.04em;
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.divider-line {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 1.25rem 0 1.5rem;
}

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

/* —— Phone reveal (Camille DA) —— */
.phone-reveal {
  cursor: pointer;
  font-family: var(--font-ui);
}
.phone-reveal.btn {
  letter-spacing: 0.06em;
  text-transform: none;
  white-space: normal;
  line-height: 1.3;
  max-width: 16rem;
  text-align: center;
}
.phone-reveal--inline {
  display: inline;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: left;
  max-width: none;
}
.phone-reveal--inline:hover {
  color: var(--accent);
}
.phone-reveal--footer {
  display: inline;
  background: none;
  border: 0;
  padding: 0;
  margin: 0.25rem 0 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  text-align: left;
}
.phone-reveal--footer:hover {
  color: var(--accent);
}
a.phone-reveal.is-revealed {
  text-decoration: none;
}
.channel--phone {
  align-items: flex-start;
}
.channel-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.channel-person {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}
.footer-phone {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: flex-start;
}
.footer-phone .channel-person {
  font-size: 0.9rem;
  color: inherit;
  opacity: 0.9;
}
/* Direction card without portrait */
.portrait-grid.no-photo {
  grid-template-columns: 1fr;
  max-width: 42rem;
}
.portrait-grid.no-photo .portrait-frame {
  display: none;
}

/* —— Formulaire serveur (question anti-spam, consentement) —— */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.captcha-question {
  font-size: 1rem;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
}
.captcha-row input {
  width: 6rem;
}
.captcha-new {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.captcha-new:hover { color: var(--accent); }
.form-check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.form-check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--ink);
}
.field .form-check label {
  display: inline;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  margin: 0;
}
.form-status {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.form-status:empty { display: none; }
.form-status.is-error { color: #8a3a2a; }
.form-status.is-ok {
  color: var(--ink);
  padding: 1rem 1.1rem;
  border: 1px solid var(--accent);
  background: rgba(168, 149, 128, 0.12);
}
.form.is-sent .field,
#contact-form.is-sent .form-grid,
#contact-form.is-sent .field,
#contact-form.is-sent .form-actions,
#contact-form.is-sent .form-check { display: none; }
.form-privacy {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.85rem 0 0;
}
.form-privacy a { color: inherit; }

/* —— Pages de contenu (services, communes) —— */
.hero-tag.hero-tag--wide { max-width: 24ch; }
.crumbs {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
}
.crumbs li + li::before { content: "›"; margin-right: 0.4rem; color: var(--accent); }
.crumbs a { color: inherit; }
.page-hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  max-width: 22ch;
}
.page-hero .lede { max-width: 44rem; }
.article {
  max-width: 46rem;
  margin-inline: auto;
}
.article h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin-top: 2.75rem;
}
.article h2:first-child { margin-top: 0; }
.article p,
.article li { color: var(--muted); }
.article p { margin: 0 0 1.1rem; }
.article ul,
.article ol { padding-left: 1.25rem; margin: 0 0 1.25rem; }
.article li { margin-bottom: 0.5rem; }
.article strong { color: var(--ink); font-weight: 600; }
.article a { color: var(--ink); }
.article a:hover { color: var(--accent); }
.callout {
  margin: 2rem 0;
  padding: 1.25rem 1.4rem;
  border-left: 2px solid var(--accent);
  background: var(--white);
  color: var(--muted);
  font-size: 0.95rem;
}
.callout p { margin: 0; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  list-style-position: outside;
}
.faq summary:hover { color: var(--accent); }
.faq details p { margin: 0.75rem 0 0; }
.link-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 700px) {
  .link-cards { grid-template-columns: repeat(2, 1fr); }
  .link-cards--3 { grid-template-columns: repeat(3, 1fr); }
}
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { color: inherit; }
.card .card-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.cta-band {
  margin-top: 3rem;
  padding: 1.75rem;
  background: var(--ink);
  color: var(--cream);
}
.cta-band p { color: rgba(244, 241, 236, 0.78); margin: 0 0 1.25rem; }
.cta-band strong { color: var(--cream); font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; display: block; margin-bottom: 0.5rem; }
.footer-col ul.footer-links-long { gap: 0.45rem; }
@media (min-width: 900px) and (max-width: 1100px) {
  .nav { gap: 1.1rem; }
}

/* ═════════ Visuels & animations (v2) ═════════ */

/* Barre de progression de lecture */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 200;
  background: linear-gradient(90deg, var(--accent), #d8c6b0);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* Hero plein écran avec photos qui défilent */
.hero--slides {
  position: relative;
  min-height: clamp(560px, 86vh, 820px);
  padding: 0;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #1b1b1b;
  isolation: isolate;
}
.hero--slides::before { display: none; }
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.slide.is-active { opacity: 1; z-index: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.slide.is-active img { animation: kenburns 9s ease-out forwards; }
.slide:nth-child(even).is-active img { animation-name: kenburns-b; }
@keyframes kenburns   { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
@keyframes kenburns-b { from { transform: scale(1.14) translate3d(1.5%, 0, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.35) 0%, rgba(20, 20, 20, 0.1) 35%, rgba(20, 20, 20, 0.72) 100%),
    linear-gradient(90deg, rgba(20, 20, 20, 0.55) 0%, rgba(20, 20, 20, 0) 65%);
}
.hero--slides .hero-content {
  padding: clamp(5rem, 14vh, 9rem) 0 clamp(7rem, 15vh, 9.5rem);
  width: min(100% - 2.5rem, var(--max));
}
.hero--slides .eyebrow { color: #e8d9c5; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4); }
.hero--slides h1 {
  font-size: clamp(2.5rem, 6.4vw, 5rem);
  line-height: 1.04;
  max-width: 17ch;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 1.25rem;
}
.hero--slides .lede { color: rgba(255, 255, 255, 0.88); max-width: 36rem; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4); }
.hero--slides .btn--ink { background: #fff; color: var(--ink); }
.hero--slides .btn--ink:hover { background: var(--accent); color: var(--ink); }
.hero--slides .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.hero--slides .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); color: #fff; }
.hero-glass {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.75rem;
  margin-top: 2.25rem;
  padding: 0.85rem 1.2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-glass strong { font-weight: 500; color: #fff; }
.hero-ui {
  position: absolute;
  left: 50%;
  bottom: clamp(3.4rem, 8vh, 4.6rem);
  transform: translateX(-50%);
  width: min(100% - 2.5rem, var(--max));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 3;
  pointer-events: none;
}
.hero-ui > * { pointer-events: auto; }
.hero-caption {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.hero-controls { display: flex; align-items: center; gap: 0.6rem; }
.hero-dot {
  position: relative;
  width: 34px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.hero-dot::before,
.hero-dot::after {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  height: 2px;
  border-radius: 2px;
}
.hero-dot::before { width: 100%; background: rgba(255, 255, 255, 0.35); }
.hero-dot::after { width: 0; background: #fff; }
.hero-dot.is-active::after { width: 100%; animation: dotfill var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .hero-dot.is-active::after,
.hero.no-motion .hero-dot.is-active::after { animation: none; width: 100%; }
@keyframes dotfill { from { width: 0; } to { width: 100%; } }
.hero-pause {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.7rem;
  line-height: 1;
}
.hero-pause:hover { background: rgba(255, 255, 255, 0.25); }

/* Vagues animées */
.waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(40px, 7vw, 90px);
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}
.waves svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 100%;
}
.waves .w1 { fill: var(--cream); animation: wave 22s linear infinite; }
.waves .w2 { fill: rgba(244, 241, 236, 0.55); animation: wave 14s linear infinite reverse; }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Chargement du hero : mots qui apparaissent */
.hero--slides h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; }
.hero--slides h1 .w > span { display: inline-block; transform: translateY(110%); animation: wordup 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; animation-delay: calc(var(--i) * 70ms + 200ms); }
@keyframes wordup { to { transform: translateY(0); } }
.hero-fade { opacity: 0; transform: translateY(14px); animation: fadeup 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; animation-delay: var(--d, 0.6s); }
@keyframes fadeup { to { opacity: 1; transform: none; } }

/* Bandeau défilant des communes */
.marquee {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  border-top: 1px solid rgba(244, 241, 236, 0.08);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding: 1.05rem 1.1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  white-space: nowrap;
}
.marquee-group i { color: var(--accent); font-style: normal; font-size: 0.7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Révélation au scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--rd, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--scale { transform: scale(0.96) translateY(18px); }

/* Cartes : halo qui suit le curseur, filet animé */
.card { position: relative; overflow: hidden; }
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(168, 149, 128, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover::after { transform: scaleX(1); }
.card .card-more { transition: letter-spacing 0.3s ease; }
.card:hover .card-more { letter-spacing: 0.24em; }

/* Cartes secteurs avec photo */
.sector-grid { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .sector-grid { grid-template-columns: 1fr 1fr; } }
.sector-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 380px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #222;
  isolation: isolate;
}
.sector-card:hover { color: #fff; }
.sector-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.sector-card:hover img { transform: scale(1.08); }
.sector-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0) 25%, rgba(20, 20, 20, 0.82) 100%);
}
.sector-body { padding: 1.75rem; }
.sector-body .card-num { color: #e8d9c5; margin-bottom: 0.6rem; }
.sector-body h3 { color: #fff; margin-bottom: 0.5rem; }
.sector-body p { margin: 0 0 1rem; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; max-width: 30rem; }
.sector-body .go {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
.sector-body .go::after { content: "→"; transition: transform 0.35s ease; }
.sector-card:hover .go::after { transform: translateX(8px); }

/* Bandeau photo (parallaxe) */
.photo-band {
  position: relative;
  height: clamp(260px, 42vh, 460px);
  overflow: hidden;
  background: #222;
  isolation: isolate;
}
.photo-band img {
  position: absolute;
  left: 0;
  top: -12%;
  width: 100%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
}
.photo-band::after { content: ""; position: absolute; inset: 0; background: rgba(20, 20, 20, 0.25); }
.photo-band blockquote {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  display: grid;
  place-content: center;
  padding: 1.5rem;
  text-align: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.2;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.45);
}
.photo-band blockquote small {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e8d9c5;
}

/* En-tête des pages intérieures avec photo */
.page-hero--photo {
  position: relative;
  color: #fff;
  border-bottom: 0;
  min-height: clamp(380px, 56vh, 540px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding-bottom: clamp(3rem, 7vw, 4.5rem);
}
.page-hero--photo .ph-img { position: absolute; inset: -6% 0 -6% 0; z-index: -2; }
.page-hero--photo .ph-img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.page-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.3), rgba(20, 20, 20, 0.78)), linear-gradient(90deg, rgba(20, 20, 20, 0.5), transparent 70%);
}
.page-hero--photo h1, .page-hero--photo .lede { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35); }
.page-hero--photo .lede { color: rgba(255, 255, 255, 0.88); }
.page-hero--photo .eyebrow { color: #e8d9c5; }
.page-hero--photo .crumbs, .page-hero--photo .crumbs a { color: rgba(255, 255, 255, 0.75); }
.page-hero--photo .btn--ink { background: #fff; color: var(--ink); }
.page-hero--photo .btn--ink:hover { background: var(--accent); }
.page-hero--photo .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.page-hero--photo .btn--ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; color: #fff; }
.page-hero--photo .waves { height: clamp(28px, 4vw, 54px); }
.page-hero--photo .waves .w1 { fill: var(--cream); }

/* Photo dans l'article */
.photo-wide { margin: 2.5rem -1rem; overflow: hidden; background: #222; }
@media (min-width: 900px) { .photo-wide { margin-inline: -4rem; } }
.photo-wide img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1); }
.photo-wide:hover img { transform: scale(1.04); }
.photo-wide figcaption { padding: 0.7rem 1rem; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--muted); background: var(--cream); }

/* Microinteractions */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s ease;
  pointer-events: none;
}
.btn:hover::after { left: 150%; }
.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.35s ease;
}
@media (min-width: 900px) { .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); } }
.trust-list li { transition: padding-left 0.35s ease; }
.trust-list li:hover { padding-left: 0.6rem; }
.trust-list li:hover .trust-mark { background: var(--accent); color: #fff; }
.trust-mark { transition: background 0.3s ease, color 0.3s ease; }
.network-card { position: relative; overflow: hidden; }
.network-card .link-label { transition: letter-spacing 0.3s ease; }
.network-card:hover .link-label { letter-spacing: 0.24em; }
.logo-link img { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.logo-link:hover img { transform: scale(1.04); }
.faq details { transition: background 0.3s ease; }
.faq details[open] { background: rgba(255, 255, 255, 0.5); }
.faq summary { transition: padding-left 0.3s ease; }
.faq details[open] summary { padding-left: 0.5rem; }
.faq details[open] > p { animation: faqin 0.5s ease both; }
@keyframes faqin { from { opacity: 0; transform: translateY(-6px); } }

@media (prefers-reduced-motion: reduce) {
  .slide img, .waves svg, .marquee-track, .hero--slides h1 .w > span, .hero-fade { animation: none !important; }
  .hero--slides h1 .w > span { transform: none; }
  .hero-fade, .reveal { opacity: 1; transform: none; }
  .slide { transition-duration: 0.01s; }
}
.credits { font-size: 0.78rem; color: rgba(244, 241, 236, 0.5); margin-top: 0.4rem; }
.credits a { color: inherit; }

.card.reveal.is-in:hover { transform: translateY(-3px); }

.hero--slides h1 { font-size: clamp(2.3rem, 5.2vw, 4.3rem); max-width: 19ch; }

/* Logo agrandi */
:root { --header-h: 88px; }
.logo-link img,
.logo-link svg { height: 64px; width: auto; }
@media (max-width: 899px) {
  :root { --header-h: 80px; }
  .logo-link img { height: 56px; }
}

/* ═════════ Biens à vendre ═════════ */
.property-grid { display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .property-grid { grid-template-columns: repeat(2, 1fr); } }
.property-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.4s ease;
}
.property-card:hover { color: var(--ink); border-color: var(--accent); box-shadow: var(--shadow-soft); }
.property-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #222; }
.property-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.property-card:hover .property-media img { transform: scale(1.06); }
.property-tag {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(6px);
}
.property-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.property-body .loc { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.property-body h3 { margin: 0; }
.property-body p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.property-price { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--ink); margin-top: 0.4rem; }
.property-price small { display: block; font-family: var(--font-ui); font-size: 0.75rem; font-weight: 400; color: var(--muted); letter-spacing: 0.02em; }
.property-facts { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin: 0.6rem 0 0; padding: 0.8rem 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 0.86rem; color: var(--ink); }
.property-facts li::before { content: "·"; margin-right: 0.45rem; color: var(--accent); }
.property-facts li:first-child::before { display: none; }
.property-more { margin-top: auto; padding-top: 0.9rem; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.property-card:hover .property-more { letter-spacing: 0.24em; }
.property-more { transition: letter-spacing 0.3s ease; }

/* Fiche bien */
.price-tag {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0.4rem 0 0;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.price-tag strong { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; line-height: 1.1; color: #fff; }
.price-tag span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.85); }
.facts-bar { background: var(--ink); color: var(--cream); }
.facts-bar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .facts-bar ul { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.facts-bar li { padding: 1.3rem 1rem; text-align: center; border-right: 1px solid rgba(244, 241, 236, 0.12); border-bottom: 1px solid rgba(244, 241, 236, 0.12); }
.facts-bar strong { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; color: #fff; line-height: 1.1; }
.facts-bar span { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.spec { display: grid; gap: 0; margin: 0 0 1.5rem; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); font-size: 0.9rem; }
.spec dd { margin: 0; color: var(--ink); font-size: 0.95rem; }
.dpe { display: grid; gap: 1.2rem; margin: 1rem 0 1.5rem; }
@media (min-width: 640px) { .dpe { grid-template-columns: 1fr 1fr; } }
.dpe-block h3 { font-family: var(--font-ui); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin-bottom: 0.6rem; }
.dpe-scale { display: flex; gap: 3px; list-style: none; margin: 0; padding: 0; }
.dpe-scale li { flex: 1; text-align: center; padding: 0.45rem 0; font-size: 0.8rem; font-weight: 600; color: #fff; opacity: 0.38; }
.dpe-scale li.on { opacity: 1; transform: scaleY(1.25); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); }
.dpe-scale .a { background: #2f9e44; } .dpe-scale .b { background: #6bb53b; } .dpe-scale .c { background: #b6c52c; color: #222; }
.dpe-scale .d { background: #f0d02c; color: #222; } .dpe-scale .e { background: #f2a03a; } .dpe-scale .f { background: #e8602d; } .dpe-scale .g { background: #d02a2a; }
.dpe-value { margin: 0.7rem 0 0; font-size: 0.9rem; color: var(--ink); }
.gallery { display: grid; gap: 6px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); } .gallery a:first-child { grid-column: span 2; grid-row: span 2; } }
.gallery a { position: relative; display: block; overflow: hidden; background: #222; aspect-ratio: 4 / 3; }
.gallery a:first-child { aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s; }
.gallery a:hover img { transform: scale(1.07); }
.gallery a::after { content: "⤢"; position: absolute; right: 0.6rem; bottom: 0.5rem; width: 2rem; height: 2rem; display: grid; place-items: center; color: #fff; background: rgba(20, 20, 20, 0.55); opacity: 0; transition: opacity 0.3s ease; }
.gallery a:hover::after { opacity: 1; }
.notice { font-size: 0.82rem; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; background: rgba(12, 12, 12, 0.94); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(94vw, 1400px); max-height: 82vh; object-fit: contain; animation: lbin 0.4s ease; }
@keyframes lbin { from { opacity: 0; transform: scale(0.98); } }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; width: 48px; height: 48px; font-size: 1.4rem; cursor: pointer; border-radius: 50%; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.25); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.8); font-size: 0.85rem; }

/* ═════════ Passe design & animations (v3) ═════════ */

/* En-tête transparent au-dessus des photos, solide après le scroll */
body.has-hero .site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}
body.has-hero .site-header.is-solid {
  background: rgba(244, 241, 236, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
body.has-hero .site-header:not(.is-solid) .logo-link img { filter: brightness(0) invert(1); }
body.has-hero .site-header .logo-link img { transition: filter 0.45s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
body.has-hero .site-header:not(.is-solid) .nav-toggle { border-color: rgba(255, 255, 255, 0.55); }
body.has-hero .site-header:not(.is-solid) .nav-toggle span,
body.has-hero .site-header:not(.is-solid) .nav-toggle span::before,
body.has-hero .site-header:not(.is-solid) .nav-toggle span::after { background: #fff; }
@media (min-width: 900px) {
  body.has-hero .site-header:not(.is-solid) .nav a { color: rgba(255, 255, 255, 0.9); }
  body.has-hero .site-header:not(.is-solid) .nav a:hover,
  body.has-hero .site-header:not(.is-solid) .nav a[aria-current="page"] { color: #fff; }
  body.has-hero .site-header:not(.is-solid) .nav a::after { background: #fff; }
  body.has-hero .site-header:not(.is-solid) .nav .lang-switch { border-left-color: rgba(255, 255, 255, 0.35); }
  body.has-hero .site-header:not(.is-solid) .header-cta { background: #fff; color: var(--ink); }
}
body.has-hero .page-hero--photo { padding-top: calc(var(--header-h) + 1.5rem); }

/* Indication de défilement dans le hero */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(4.6rem, 10vh, 6rem);
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  z-index: 3;
  opacity: 0.9;
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #fff;
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 899px), (max-height: 640px) { .scroll-cue { display: none; } }

/* Fonds animés des sections sombres */
.section--ink { position: relative; overflow: hidden; isolation: isolate; }
.section--ink::before,
.section--ink::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
}
.section--ink::before { left: -20vmax; top: -30vmax; background: radial-gradient(circle, rgba(168, 149, 128, 0.32), transparent 65%); animation: drift 22s ease-in-out infinite alternate; }
.section--ink::after { right: -25vmax; bottom: -35vmax; background: radial-gradient(circle, rgba(90, 120, 140, 0.28), transparent 65%); animation: drift 28s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(10vmax, 8vmax, 0) scale(1.15); } }

/* Filet décoratif qui se dessine */
.divider-line.reveal { opacity: 1; transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s; }
.divider-line.reveal.is-in { transform: scaleX(1); }

/* Profondeur au survol (les photos suivent le curseur) */
.property-card:hover .property-media img,
.sector-card:hover img { transform: scale(1.09) translate3d(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -8px), 0); }
.property-media img, .sector-card img { transition-duration: 0.6s; }

/* Boutons du hero : légère attraction magnétique */
.btn.is-magnet { transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease, color 0.25s ease, border-color 0.25s ease; }

/* Formulaire : focus plus net */
.field input, .field select, .field textarea { transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 4px rgba(168, 149, 128, 0.22); }
.field:focus-within label { color: var(--ink); }

/* Titres : plus d'élégance */
h2 { letter-spacing: -0.005em; }
.section-head h2 em, .article h2 em { font-style: italic; color: var(--accent); }
.eyebrow { position: relative; padding-left: 2.2rem; }
.eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 1.5rem; height: 1px; background: currentColor; opacity: 0.7; }
.hero-fade.eyebrow, .eyebrow.hero-fade { padding-left: 2.2rem; }
.legal-page .eyebrow, .article .eyebrow { padding-left: 2.2rem; }

/* Barre d'action mobile */
.mobile-cta {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 150;
  display: none;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(27, 27, 27, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(140%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-cta.is-on { transform: translateY(0); }
.mobile-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.mobile-cta a:first-child { background: #fff; color: var(--ink); border-color: #fff; }
@media (max-width: 899px) { .mobile-cta { display: flex; } body.has-mcta { padding-bottom: 5rem; } }

/* Retour en haut */
.to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  z-index: 140;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.25s ease;
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); }
@media (max-width: 899px) { .to-top { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .section--ink::before, .section--ink::after, .scroll-cue span { animation: none !important; }
  .divider-line.reveal { transform: none; }
  body.has-hero .site-header { transition: none; }
}

.scroll-cue { bottom: clamp(3rem, 6.5vh, 4rem); }
