/*!
 * TASHALA HOLDING IMMO — Design System (responsive)
 */
:root {
  --brand: #0a3d2c;
  --brand-deep: #06281d;
  --brand-soft: #145c43;
  --gold: #b8923a;
  --gold-light: #d4b56a;
  --sand: #f3efe6;
  --ink: #14201b;
  --muted: #5c6b63;
  --line: rgba(20, 32, 27, 0.12);
  --white: #ffffff;
  --danger: #b42318;
  --success: #067647;
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --nav-h: 4.25rem;
  --page-pad: 1.25rem;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

h1, h2, h3, .brand-font {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(1180px, calc(100% - (var(--page-pad) * 2)));
  margin-inline: auto;
}

/* ========== NAV ========== */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}
.site-nav.scrolled,
.site-nav.is-solid {
  background: rgba(6, 40, 29, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - (var(--page-pad) * 2)));
  margin-inline: auto;
  gap: 1rem;
  min-width: 0;
}
.nav-links a {
  color: rgba(255,255,255,.88);
  font-size: .9rem;
  font-weight: 400;
  position: relative;
  padding-bottom: .15rem;
  transition: color .25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.nav-links a:hover,
.nav-links a.is-active,
.nav-drawer a.is-active {
  color: var(--gold-light);
}
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-drawer a.is-active {
  font-weight: 600;
}
.logo {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.logo span { color: var(--gold-light); }
.logo .logo-short { display: none; }
.logo:hover { transform: translateY(-1px); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-drawer {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 49;
  background: rgba(6, 40, 29, 0.97);
  backdrop-filter: blur(16px);
  padding: 1.5rem var(--page-pad) 2.5rem;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s cubic-bezier(.22,1,.36,1), transform .3s cubic-bezier(.22,1,.36,1);
}
.nav-drawer.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-drawer ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.nav-drawer a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.92);
  font-size: 1.15rem;
  font-family: var(--font-display);
  transition: color .2s ease, padding-left .25s cubic-bezier(.22,1,.36,1);
}
.nav-drawer a:hover {
  color: var(--gold-light);
  padding-left: .35rem;
}
.nav-drawer .drawer-actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.nav-drawer .btn { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 0;
  border-radius: 999px;
  padding: .8rem 1.25rem;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .25s cubic-bezier(.22,1,.36,1), background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .55s ease;
  pointer-events: none;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:hover::after {
  transform: translateX(120%);
}
.btn:active {
  transform: translateY(0) scale(.98);
}
.btn-gold {
  background: var(--gold);
  color: var(--brand-deep);
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.35);
}
.btn-dark {
  background: var(--brand);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--line);
}
.btn-sm {
  padding: .65rem 1rem;
  font-size: .82rem;
}

/* ========== HERO ========== */
.hero {
  min-height: 100svh;
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--brand-deep);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(6,40,29,.88) 10%, rgba(10,61,44,.45) 55%, rgba(6,40,29,.75) 100%);
  pointer-events: none;
  animation: heroGlow 18s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(transparent, rgba(6,40,29,.55));
  pointer-events: none;
  z-index: 1;
}

/* Slash lumineux blanc L → R (héros IMMO) — via .hero-slash */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.26;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.55) 100%);
  opacity: 0.35;
}
.hero-slash {
  position: absolute;
  top: -25%;
  left: -55%;
  z-index: 4;
  width: 42%;
  height: 150%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 18%,
    rgba(255, 255, 255, 0.08) 38%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.08) 62%,
    rgba(255, 255, 255, 0) 82%,
    transparent 100%
  );
  transform: skewX(-22deg) translateX(0);
  opacity: 0;
}
.hero-slash.is-running {
  animation: heroLightSlash 1.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes heroLightSlash {
  0% { transform: skewX(-22deg) translateX(0); opacity: 0; }
  12% { opacity: 1; }
  78% { opacity: 0.85; }
  100% { transform: skewX(-22deg) translateX(320%); opacity: 0; }
}
[data-typewriter].is-typing {
  border-right: 2px solid rgba(212, 181, 106, 0.75);
  padding-right: 2px;
}
.btn-shine {
  position: relative;
  overflow: hidden;
}
.btn-shine::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -60%;
  width: 40%;
  height: 140%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-22deg);
  opacity: 0;
  pointer-events: none;
}
.btn-shine:hover::after {
  animation: heroBtnShine .7s cubic-bezier(.4,0,.2,1);
}
@keyframes heroBtnShine {
  0% { transform: skewX(-22deg) translateX(0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: skewX(-22deg) translateX(280%); opacity: 0; }
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 2rem) 0 5.5rem;
  max-width: 720px;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 11vw, 6.5rem);
  font-weight: 600;
  font-style: normal;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 .75rem;
  color: var(--white);
  text-align: left;
  word-break: normal;
  overflow-wrap: normal;
  animation: rise .9s cubic-bezier(.22,1,.36,1) both;
}
.hero-brand__accent,
.hero-brand em,
.hero-brand span[data-typewriter] {
  font-style: normal !important;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: var(--gold-light);
  display: block;
  margin: 0;
  padding: 0;
  animation: rise .9s .12s cubic-bezier(.22,1,.36,1) both;
}
.hero-brand [data-typewriter].is-typing {
  border-right-color: var(--gold-light);
}
.hero p {
  max-width: 34rem;
  font-size: clamp(.95rem, 2.6vw, 1.05rem);
  color: rgba(255,255,255,.88);
  margin: 0 0 1.5rem;
  animation: rise .9s .22s cubic-bezier(.22,1,.36,1) both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  animation: rise .9s .34s cubic-bezier(.22,1,.36,1) both;
}
.hero-scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 1.5px solid rgba(255,255,255,.45);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  text-decoration: none;
  animation: rise .9s .5s cubic-bezier(.22,1,.36,1) both;
}
.hero-scroll span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold-light);
  animation: scrollCue 1.6s ease-in-out infinite;
}
.hero.is-scrolled .hero-scroll {
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroGlow {
  from { opacity: .92; }
  to { opacity: 1; }
}
@keyframes scrollCue {
  0%, 100% { transform: translateY(0); opacity: .35; }
  50% { transform: translateY(10px); opacity: 1; }
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@keyframes scrollCue {
  0%, 100% { transform: translateY(0); opacity: .35; }
  50% { transform: translateY(10px); opacity: 1; }
}

/* ========== SECTIONS ========== */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section-head {
  max-width: 40rem;
  width: 100%;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  text-align: left;
}
.section-head h1,
.section-head h2 {
  font-size: clamp(1.65rem, 4.5vw, 2.8rem);
  margin: 0 0 .7rem;
  color: var(--brand-deep);
  position: relative;
  display: block;
  text-align: left;
  padding-bottom: .45rem;
}
.section-head h1::after,
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent 85%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .7s cubic-bezier(.22,1,.36,1) .12s;
}
.section-head.reveal.is-visible h1::after,
.section-head.reveal.is-visible h2::after,
.section-head.is-visible h1::after,
.section-head.is-visible h2::after {
  transform: scaleX(1);
}
.section-head p { margin: 0; color: var(--muted); }

.page-main {
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-block {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}
.service-block h3 {
  margin: 0 0 .5rem;
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  color: var(--brand);
}
.service-block p { margin: 0; color: var(--muted); font-size: .95rem; }

.property {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  min-height: 240px;
  background-color: #1a2e26;
  color: white;
  isolation: isolate;
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease;
  contain: layout paint;
}
.property-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .85s cubic-bezier(.22,1,.36,1);
}
.property::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgba(6,40,29,.92));
  z-index: 1;
  transition: background .4s ease;
}
.property-card:hover .property,
a.property:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(6, 40, 29, .22);
}
.property-card:hover .property-media,
a.property:hover .property-media {
  transform: scale(1.06);
}
.property-card:hover .property::before,
a.property:hover::before {
  background: linear-gradient(transparent 25%, rgba(6,40,29,.95));
}
.property-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 1.15rem;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.property-card:hover .property-body,
a.property:hover .property-body {
  transform: translateY(-4px);
}
.property-body .meta {
  font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: .35rem;
}
.property-body h3 {
  margin: 0 0 .35rem;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
}
.property-body .price {
  font-weight: 600;
  font-size: .95rem;
}

.band {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-soft));
  color: white;
  border-radius: clamp(16px, 3vw, 24px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.band h2 {
  margin: 0 0 .4rem;
  color: white;
  font-size: clamp(1.4rem, 4vw, 2rem);
}
.band p {
  margin: 0;
  color: rgba(255,255,255,.8);
  max-width: 34rem;
  font-size: .95rem;
}

.footer {
  background: var(--brand-deep);
  color: rgba(255,255,255,.75);
  padding: clamp(2.5rem, 6vw, 3.5rem) 0 2rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 2rem;
}
.footer h4 { color: white; margin: 0 0 1rem; font-family: var(--font-display); }
.footer a { display: block; margin-bottom: .45rem; font-size: .92rem; }
.footer a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.2rem;
  font-size: .85rem;
}

/* ========== FORMS / FILTERS ========== */
.filters {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .8rem;
  margin-bottom: 1.8rem;
  align-items: stretch;
}
.filters--devis {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.filters .btn { width: 100%; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
}
.input, .select, textarea.input {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: .85rem 1rem;
  font: inherit;
  color: var(--ink);
  min-width: 0;
}
.input:focus, .select:focus, textarea.input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 149, 79, 0.22);
}

/* ========== ADMIN ========== */
.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
  background: #eef2ef;
}
.sidebar {
  background: linear-gradient(180deg, var(--brand-deep), #0a3225);
  color: white;
  padding: 1.5rem 1rem;
}
.sidebar .logo { margin-bottom: 2rem; padding-inline: .6rem; }
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav a {
  display: block;
  padding: .75rem .85rem;
  border-radius: 10px;
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  margin-bottom: .2rem;
}
.side-nav a.active,
.side-nav a:hover {
  background: rgba(255,255,255,.1);
  color: white;
}
.admin-main { padding: 1.5rem; min-width: 0; }
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.kpi {
  background: white;
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(20,32,27,.06);
}
.kpi .label { color: var(--muted); font-size: .82rem; margin-bottom: .35rem; }
.kpi .value {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--brand-deep);
}
.panel {
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(20,32,27,.06);
  padding: 1.2rem;
  overflow-x: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.table th, .table td {
  text-align: left;
  padding: .85rem .5rem;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
}
.table th { color: var(--muted); font-weight: 500; }
.badge {
  display: inline-flex;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  background: #e8f5ef;
  color: var(--success);
}
.badge.warn { background: #fff4df; color: #9a6700; }
.badge.danger { background: #fdecea; color: var(--danger); }

.auth-page {
  min-height: 100svh;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(184,146,58,.2), transparent 40%),
    linear-gradient(160deg, var(--sand), #dfe8e2);
  padding: var(--page-pad);
}
.auth-card {
  width: min(420px, 100%);
  background: white;
  border-radius: 20px;
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 1px solid rgba(20,32,27,.08);
}
.auth-card h1 {
  margin: 0 0 .3rem;
  font-size: clamp(1.6rem, 5vw, 2rem);
  color: var(--brand-deep);
}
.auth-card p { color: var(--muted); margin: 0 0 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  margin-bottom: .35rem;
  font-size: .85rem;
  color: var(--muted);
}

/* ========== BREAKPOINTS ========== */

/* Large tablet / small laptop */
@media (max-width: 1100px) {
  .filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .nav-links { gap: .9rem; }
  .nav-links a { font-size: .84rem; }
}

/* Tablet */
@media (max-width: 900px) {
  .nav-links,
  .nav-actions .nav-desktop-only {
    display: none;
  }
  .nav-toggle,
  .nav-drawer {
    display: flex;
  }
  .nav-drawer { flex-direction: column; }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
  .admin-shell { grid-template-columns: 1fr; }
  /* Ne pas cacher la sidebar admin — géré dans admin.css */
  body:not(.admin-body) .sidebar { display: none; }
  .band {
    flex-direction: column;
    align-items: flex-start;
  }
  .band .btn { width: 100%; }

  .filiale-actions .btn {
    flex: 1 1 auto;
    min-width: min(100%, 11rem);
    justify-content: center;
  }

  .form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --page-pad: 1rem; }

  .logo .logo-full { display: none; }
  .logo .logo-short { display: inline; color: var(--gold-light); }

  .grid-3,
  .grid-4,
  .kpi-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > :first-child {
    grid-column: auto;
  }

  .filters,
  .filters--devis,
  .filters--immo {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-bottom: 3.5rem;
  }
  .hero-actions,
  .filiale-actions,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn,
  .filiale-actions .btn,
  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .filiale-hero {
    min-height: min(78vh, 640px);
  }
  .filiale-hero__content {
    padding: calc(var(--nav-h) + 1.75rem) 0 2.75rem;
  }
  .filiale-lead {
    font-size: 1rem;
  }

  .voyage-types {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: .15rem;
    margin-right: calc(var(--page-pad) * -1);
    padding-right: var(--page-pad);
  }
  .voyage-types::-webkit-scrollbar { display: none; }
  .voyage-type {
    flex: 0 0 auto;
    min-height: 2.75rem;
  }

  .service-block {
    min-height: 0;
    padding: 1.15rem 1.1rem;
  }

  .panel {
    padding: 1.1rem !important;
  }

  .input,
  .select,
  textarea.input {
    font-size: 16px;
  }

  .property {
    min-height: 280px;
  }

  .admin-main { padding: 1rem; }
  .kpi .value { font-size: 1.45rem; }

  .ai-chat-fab {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
  }
}

/* Tablet forms: 2 cols for devis */
@media (min-width: 641px) {
  .filters--devis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .logo { font-size: 1rem; }
  .btn { padding: .75rem 1rem; font-size: .82rem; }
  .hero-brand { font-size: clamp(2.35rem, 12vw, 2.75rem); }
  .filiale-brand { font-size: 2.15rem; }
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .reveal-left,
  .reveal-scale,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-media,
  .hero-slash,
  .btn-shine::after { animation: none !important; opacity: 0 !important; }
  .hero-scroll span { animation: none !important; }
  .ai-chat-fab { animation: none !important; }
}

/* ========== MOTION / ANIMATIONS VITRINE ========== */
.page-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.page-progress.is-active { opacity: 1; }
.page-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--brand-soft));
  box-shadow: 0 0 12px rgba(184, 146, 58, .45);
  transition: width .35s cubic-bezier(.22,1,.36,1);
}
.page-progress.is-loading span { width: 72%; transition-duration: 1.1s; }
.page-progress.is-done span { width: 100%; transition-duration: .22s; }

.page-veil {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--sand);
  pointer-events: none;
  opacity: 0;
  transition: opacity .28s cubic-bezier(.22,1,.36,1);
}
body.is-leaving .page-veil {
  opacity: .72;
  pointer-events: auto;
}
body.is-leaving .page-root,
body.is-leaving .footer {
  opacity: .35;
  transform: translateY(8px);
  filter: blur(1px);
  transition: opacity .28s ease, transform .28s ease, filter .28s ease;
}

.page-root {
  min-height: 40vh;
  animation: pageRootIn .5s cubic-bezier(.22,1,.36,1) both;
}
@keyframes pageRootIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-enter {
  /* legacy class kept; content animated via .page-root */
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .55s cubic-bezier(.22,1,.36,1),
    transform .55s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .5s cubic-bezier(.22,1,.36,1),
    transform .5s cubic-bezier(.22,1,.36,1);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .04s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .09s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .19s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .29s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .34s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .39s; }
.reveal-stagger.is-visible > *:nth-child(9) { transition-delay: .44s; }
.reveal-stagger.is-visible > *:nth-child(10) { transition-delay: .49s; }
.reveal-stagger.is-visible > *:nth-child(11) { transition-delay: .54s; }
.reveal-stagger.is-visible > *:nth-child(12) { transition-delay: .59s; }
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(.96) translateY(16px);
  transition:
    opacity .6s cubic-bezier(.22,1,.36,1),
    transform .6s cubic-bezier(.22,1,.36,1);
}
.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.list-fade {
  transition: opacity .28s ease, transform .28s ease, filter .28s ease;
}
.list-fade.is-updating {
  opacity: .45;
  transform: translateY(6px);
  filter: blur(1px);
  pointer-events: none;
}

.service-block {
  transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .35s ease, padding-left .35s ease;
}
a.service-block:hover,
.service-block:hover {
  transform: translateX(6px);
  border-top-color: var(--gold);
}

.band {
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease;
}
.band:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(6, 40, 29, .2);
}

.quote-card {
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease, border-color .4s ease;
}
.quote-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(6, 40, 29, .1);
  border-color: rgba(184, 146, 58, .35);
}

.faq-item {
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.faq-item[open],
.faq-item:hover {
  border-color: rgba(184, 146, 58, .4);
  box-shadow: 0 8px 22px rgba(6, 40, 29, .06);
}

.panel {
  transition: box-shadow .35s ease, transform .35s ease;
}
.panel:focus-within {
  box-shadow: 0 10px 28px rgba(6, 40, 29, .08);
}

.detail-hero {
  animation: rise .8s cubic-bezier(.22,1,.36,1) both;
}
.detail-layout > * {
  animation: rise .75s cubic-bezier(.22,1,.36,1) both;
}
.detail-layout > *:nth-child(2) {
  animation-delay: .12s;
}

.filters .input,
.filters .select,
.filters .btn {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.filters .input:focus,
.filters .select:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(184, 146, 58, .12);
}

.toast {
  animation: toastIn .35s cubic-bezier(.22,1,.36,1) both;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-overlay.show .modal-card {
  animation: modalIn .35s cubic-bezier(.22,1,.36,1) both;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.fav-btn.is-active {
  animation: favPop .35s cubic-bezier(.22,1,.36,1);
}
@keyframes favPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.site-nav {
  /* Nav stays put across pages — no drop animation on every load */
}
.footer {
  position: relative;
  animation: pageRootIn .55s .08s cubic-bezier(.22,1,.36,1) both;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(240px, 40%);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  transform: translateX(-50%);
  opacity: .55;
}

@media (prefers-reduced-motion: reduce) {
  .page-root,
  .footer {
    animation: none !important;
  }
  body.is-leaving .page-root,
  body.is-leaving .footer {
    transform: none;
    filter: none;
  }
  .page-veil { display: none; }
}

/* ========== VITRINE UI : cards, modal, toast, détail ========== */
.property-card {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  min-width: 0;
}
.property-card .property {
  flex: 1;
}
.card-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.card-actions .btn { flex: 1; min-width: 0; }
.fav-btn.is-active {
  border-color: var(--gold);
  color: #8a6a1f;
  background: #fff8e8;
}
.fav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  margin-left: .25rem;
  padding: 0 .3rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--brand-deep);
  font-size: .68rem;
  font-weight: 700;
  vertical-align: middle;
}
.fav-count[hidden] {
  display: none !important;
}

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

.results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: -.6rem 0 1.2rem;
  color: var(--muted);
  font-size: .9rem;
}

.toast-host {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  width: min(360px, calc(100% - 2rem));
  pointer-events: none;
}
.toast {
  background: var(--brand-deep);
  color: white;
  padding: .85rem 1rem;
  border-radius: 12px;
  font-size: .9rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast-ok { border-left: 3px solid var(--gold-light); }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(6, 40, 29, .55);
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity .2s ease;
}
.modal-overlay.show { opacity: 1; }
.modal-card {
  width: min(480px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: white;
  border-radius: 18px;
  padding: 1.25rem 1.35rem 1.4rem;
  border: 1px solid rgba(20,32,27,.08);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: .35rem;
}
.modal-head h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--brand-deep);
}
.modal-x {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}
.modal-sub {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .9rem;
}
.modal-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: .4rem;
}
.modal-actions .btn { flex: 1; }

.detail-hero {
  border-radius: 20px;
  aspect-ratio: 16 / 9;
  min-height: clamp(220px, 42vw, 380px);
  background: #1a2e26 center/cover no-repeat;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  contain: layout paint;
}
.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(6,40,29,.75));
}
.detail-layout {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 1.5rem;
  align-items: start;
}
.detail-side {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}
.detail-price {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  color: var(--brand-deep);
  margin: 0 0 .75rem;
}
.detail-meta {
  display: grid;
  gap: .55rem;
  margin: 1rem 0 1.25rem;
}
.detail-meta div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.detail-meta span { color: var(--muted); }
.side-actions {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.side-actions .btn { width: 100%; }

.faq-list { display: grid; gap: .7rem; }
.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.1rem;
  font-weight: 600;
  color: var(--brand-deep);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-weight: 700;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.faq-item[open] summary::after {
  content: "–";
  transform: rotate(180deg);
}
.faq-item p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--muted);
  animation: faqOpen .35s cubic-bezier(.22,1,.36,1) both;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.gallery-thumbs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .75rem;
}
.gallery-thumbs button,
.gallery-thumbs img,
.gallery-thumbs video {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, opacity .25s ease;
  opacity: .72;
}
.gallery-thumbs .is-active,
.gallery-thumbs button.is-active,
.gallery-thumbs img.is-active {
  border-color: var(--gold);
  opacity: 1;
  transform: translateY(-2px);
}
.detail-hero {
  transition: background-image .45s ease, transform .6s cubic-bezier(.22,1,.36,1);
}
.detail-hero.is-swapping {
  transform: scale(1.02);
  filter: brightness(.92);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.quote-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
}
.quote-card h3 {
  margin: 0 0 .4rem;
  font-size: 1.2rem;
  color: var(--brand);
}
.stars { color: var(--gold); letter-spacing: .05em; }

.empty-state {
  grid-column: 1 / -1;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-side { position: static; }
  .quote-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .modal-actions { flex-direction: column; }
  .card-actions .btn { flex: 1 1 calc(50% - .25rem); }
}

/* Assistant IA flottant */
.ai-chat-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 999px;
  border: 0;
  background: var(--brand-deep, #0a3d2c);
  color: #fff;
  font-weight: 600;
  font-family: var(--font-body, inherit);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(10, 61, 44, 0.28);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, background .25s ease;
  animation: fabIn .6s .8s cubic-bezier(.22,1,.36,1) both;
}
.ai-chat-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px rgba(10, 61, 44, 0.35);
}
.ai-chat-fab.is-open {
  background: var(--gold);
  color: var(--brand-deep);
}
@keyframes fabIn {
  from { opacity: 0; transform: translateY(16px) scale(.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.ai-chat-panel {
  position: fixed;
  right: 1.1rem;
  bottom: 4.6rem;
  z-index: 60;
  width: min(360px, calc(100vw - 1.5rem));
  max-height: min(480px, 70vh);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(6, 40, 29, .18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(.96);
  pointer-events: none;
  transition:
    opacity .3s cubic-bezier(.22,1,.36,1),
    transform .3s cubic-bezier(.22,1,.36,1);
}
.ai-chat-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.ai-chat-msg {
  animation: toastIn .3s cubic-bezier(.22,1,.36,1) both;
  padding: .65rem .8rem;
  border-radius: 12px;
  max-width: 92%;
  line-height: 1.4;
}
.ai-chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: #f7f8f6;
}
.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  font-size: .92rem;
}
.ai-chat-msg.user {
  align-self: flex-end;
  background: var(--brand-deep, #0a3d2c);
  color: #fff;
}
.ai-chat-msg.bot {
  align-self: flex-start;
  background: #f0f2ef;
  color: var(--ink);
}
.ai-chat-form {
  display: flex;
  gap: .4rem;
  padding: .75rem;
  border-top: 1px solid var(--line);
}
.ai-chat-form .input { flex: 1; }

/* ---------- Groupe / filiales (composition 5★) ---------- */
body.branch-holding .footer {
  background: #061910;
  color: rgba(255,255,255,.7);
  border-top: none;
  padding: 1.25rem 0 1.75rem;
}
body.branch-holding .footer-grid { display: none; }
body.branch-holding .footer-bottom {
  border: 0;
  padding: 0;
  color: rgba(255,255,255,.45);
  text-align: center;
}
body.branch-holding .ai-chat-fab { display: none !important; }

.holding-stage {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #071a12;
}
.holding-stage__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: holdingKen 28s ease-in-out infinite alternate;
}
@keyframes holdingKen {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}
.holding-stage__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 18, 12, .28) 0%, rgba(4, 18, 12, .55) 42%, rgba(4, 18, 12, .92) 100%),
    linear-gradient(90deg, rgba(4, 18, 12, .5) 0%, transparent 50%);
  pointer-events: none;
}
.holding-stage__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(var(--nav-h) + 2rem) 0 2.75rem;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 8vh, 5rem);
}
.holding-stage__brand {
  max-width: 18ch;
}
.holding-kicker {
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 .65rem;
  opacity: .75;
}
.holding-brand {
  font-family: var(--font-display), Fraunces, Georgia, serif;
  font-size: clamp(3.6rem, 14vw, 7.2rem);
  font-weight: 600;
  line-height: .88;
  margin: 0 0 .85rem;
  letter-spacing: -.04em;
  text-shadow: 0 8px 40px rgba(0,0,0,.35);
  animation: holdingIn .9s cubic-bezier(.22,1,.36,1) both;
}
.holding-brand em {
  font-style: italic;
  font-weight: 500;
  display: block;
  font-size: .55em;
  letter-spacing: .02em;
  opacity: .92;
}
.has-submenu { position: relative; }
.submenu {
  position: absolute;
  top: calc(100% + .45rem);
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: .45rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0,0,0,.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .2s ease;
  z-index: 40;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.submenu a {
  display: block;
  padding: .45rem 1rem;
  color: var(--ink) !important;
  font-size: .88rem;
  text-decoration: none;
}
.submenu a::after { display: none !important; }
.submenu a:hover { background: rgba(10,61,44,.06); color: var(--brand-deep) !important; }
.drawer-label {
  display: block;
  padding: .6rem 0 .2rem;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.service-block--btn {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  border: 1px solid var(--line);
  background: #fff;
}
.admin-filiale-switch {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 0 .9rem 1rem;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.admin-filiale-switch select {
  width: 100%;
  padding: .45rem .5rem;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.2);
  color: #fff;
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
  font-size: .88rem;
}
@media (max-width: 900px) {
  .submenu { display: none; }
}

.holding-lead {
  margin: 0;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 400;
  letter-spacing: .01em;
  opacity: .92;
  animation: holdingIn .9s .12s cubic-bezier(.22,1,.36,1) both;
}
@keyframes holdingIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.holding-entries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  animation: holdingIn 1s .22s cubic-bezier(.22,1,.36,1) both;
}
.holding-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: .35rem .75rem;
  align-items: end;
  min-height: 7.5rem;
  padding: 1.15rem 1.2rem;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .35s ease, border-color .35s ease, transform .35s cubic-bezier(.22,1,.36,1);
}
.holding-entry:hover,
.holding-entry:focus-visible {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.4);
  transform: translateY(-3px);
  outline: none;
}
.holding-entry__name {
  grid-column: 1;
  font-family: var(--font-display), Fraunces, Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
}
.holding-entry__desc {
  grid-column: 1;
  font-size: .88rem;
  line-height: 1.4;
  color: rgba(255,255,255,.72);
}
.holding-entry__go {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 1.35rem;
  opacity: .7;
  transition: transform .3s ease, opacity .3s ease;
}
.holding-entry:hover .holding-entry__go {
  opacity: 1;
  transform: translateX(4px);
}
.holding-entry--immo { border-top: 3px solid #c9a227; }
.holding-entry--voyages { border-top: 3px solid #7eb8d8; }
.holding-entry--events { border-top: 3px solid #e0a46a; }

/* Filiales Voyages / Événements */
.filiale-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #0a1e28;
}
.filiale-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: filialeKen 30s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes filialeKen {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1%, -0.6%, 0); }
}
.filiale-hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.filiale-hero--voyages .filiale-hero__shade {
  background: linear-gradient(180deg, rgba(8, 32, 48, .35) 0%, rgba(8, 32, 48, .88) 100%);
}
.filiale-hero--events .filiale-hero__shade {
  background: linear-gradient(180deg, rgba(48, 24, 10, .3) 0%, rgba(42, 20, 8, .9) 100%);
}
.filiale-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(var(--nav-h) + 3rem) 0 3.5rem;
}
.filiale-hero__content .holding-eyebrow {
  animation: rise .85s cubic-bezier(.22,1,.36,1) both;
}
.filiale-brand {
  font-family: var(--font-display), Fraunces, Georgia, serif;
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  font-weight: 600;
  line-height: .95;
  margin: .35rem 0 1rem;
  letter-spacing: -.03em;
  animation: rise .9s .08s cubic-bezier(.22,1,.36,1) both;
}
.filiale-brand em {
  font-style: italic;
  font-weight: 500;
  color: rgba(255,255,255,.88);
}
.filiale-lead {
  max-width: 32rem;
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
  line-height: 1.55;
  opacity: .92;
  animation: rise .9s .18s cubic-bezier(.22,1,.36,1) both;
}
.filiale-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  animation: rise .9s .28s cubic-bezier(.22,1,.36,1) both;
}
.filiale-preview { padding-top: 3rem; }
.filiale-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.filiale-pillars article {
  padding: 0;
  border: 0;
  background: transparent;
}
.filiale-pillars h3 {
  font-family: var(--font-display), Fraunces, Georgia, serif;
  font-size: 1.35rem;
  margin: 0 0 .5rem;
  color: var(--brand-deep);
}
.filiale-pillars p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.holding-eyebrow {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 .75rem;
  opacity: .85;
}
.holding-eyebrow a { color: inherit; text-decoration: none; }
.holding-eyebrow a:hover { text-decoration: underline; }

/* Category rail immobilier */
.cat-rail-wrap {
  margin: 0 0 1.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.cat-rail {
  display: flex;
  flex-wrap: nowrap;
  gap: .5rem;
  width: max-content;
  min-width: 100%;
  padding-bottom: .25rem;
}
.cat-chip {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: .55rem 1rem;
  font-size: .88rem;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.cat-chip:hover {
  border-color: var(--brand-deep);
  color: var(--brand-deep);
}
.cat-chip.is-active {
  border-color: var(--brand-deep);
  background: var(--brand-deep);
  color: #fff;
}
.filters--immo {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.share-bar__label {
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: .35rem;
}
.share-btn {
  display: inline-flex;
  padding: .4rem .75rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--brand-deep);
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, border-color .2s;
}
.share-btn:hover {
  border-color: var(--brand);
  background: rgba(10, 61, 44, .04);
}

@media (max-width: 900px) {
  .holding-entries,
  .filiale-pillars { grid-template-columns: 1fr; }
  .holding-stage { min-height: 100svh; }
  .holding-entry { min-height: 5.5rem; }
  .filters--immo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .filters--immo { grid-template-columns: 1fr; }
  .filiale-hero { min-height: 100svh; }
}
@media (prefers-reduced-motion: reduce) {
  .holding-stage__img { animation: none; transform: none; }
  .holding-brand,
  .holding-lead,
  .holding-entries { animation: none; }
  .filiale-hero__img { animation: none; transform: none; translate: none; }
  .filiale-hero__content .holding-eyebrow,
  .filiale-brand,
  .filiale-lead,
  .filiale-actions { animation: none; }
  .hero::before,
  .filiale-hero::before,
  .hero-slash {
    animation: none;
    opacity: 0;
  }
}

/* Holding mood tints */
.holding-stage__tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .45s ease, background .45s ease;
  mix-blend-mode: soft-light;
}
.holding-stage[data-mood="immo"] .holding-stage__tint {
  opacity: 1;
  background: radial-gradient(ellipse 70% 60% at 50% 80%, rgba(201, 162, 39, .45), transparent 65%);
}
.holding-stage[data-mood="voyages"] .holding-stage__tint {
  opacity: 1;
  background: radial-gradient(ellipse 70% 60% at 50% 80%, rgba(70, 160, 210, .5), transparent 65%);
}
.holding-stage[data-mood="events"] .holding-stage__tint {
  opacity: 1;
  background: radial-gradient(ellipse 70% 60% at 50% 80%, rgba(224, 140, 70, .5), transparent 65%);
}
.holding-resume {
  margin: .85rem 0 0;
  font-size: .95rem;
  opacity: .85;
}
.holding-resume a {
  color: var(--gold-light, #e4c56a);
  text-decoration: none;
  border-bottom: 1px solid rgba(228, 197, 106, .4);
}
.cat-count {
  display: inline-block;
  margin-left: .35rem;
  font-size: .75rem;
  opacity: .75;
  font-weight: 600;
}
.cat-chip.is-active .cat-count { opacity: .95; }
.view-toggle { display: flex; gap: .35rem; }
.view-toggle .is-active {
  border-color: var(--brand-deep);
  color: var(--brand-deep);
  font-weight: 600;
}
.listings-map { margin-top: 1rem; overflow: hidden; padding: 0; }
.amenity-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .4rem .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.amenity-list li {
  padding: .45rem .65rem;
  border: 1px solid var(--line);
  font-size: .9rem;
  background: #fff;
}
body.branch-voyages {
  --brand: #1e6a8a;
  --brand-deep: #0d3a55;
  --gold: #3d9ecc;
  --gold-light: #7eb8d8;
}
body.branch-voyages .hero {
  background: #0a1e28;
}
body.branch-voyages .hero-media {
  background: linear-gradient(120deg, rgba(8, 32, 48, .9) 10%, rgba(30, 106, 138, .45) 55%, rgba(8, 32, 48, .78) 100%);
}
body.branch-voyages .hero::after {
  background: linear-gradient(transparent, rgba(8, 32, 48, .55));
}
body.branch-voyages .immo-gate__shade {
  background: linear-gradient(to top, rgba(13, 58, 85, .92) 0%, rgba(13, 58, 85, .25) 55%, transparent 100%);
}

body.branch-evenements {
  --brand: #8a4a1e;
  --brand-deep: #3d2410;
  --gold: #c47a3a;
  --gold-light: #e0a46a;
}
body.branch-evenements .hero {
  background: #2a1408;
}
body.branch-evenements .hero-media {
  background: linear-gradient(120deg, rgba(42, 20, 8, .9) 10%, rgba(138, 74, 30, .45) 55%, rgba(42, 20, 8, .78) 100%);
}
body.branch-evenements .hero::after {
  background: linear-gradient(transparent, rgba(42, 20, 8, .55));
}
body.branch-evenements .immo-gate__shade {
  background: linear-gradient(to top, rgba(61, 36, 16, .92) 0%, rgba(61, 36, 16, .25) 55%, transparent 100%);
}
.btn-ocean {
  background: #1e6a8a;
  color: #fff;
  border: 1px solid #1e6a8a;
}
.btn-ocean:hover { background: #0d3a55; border-color: #0d3a55; color: #fff; }
.btn-amber {
  background: #8a4a1e;
  color: #fff;
  border: 1px solid #8a4a1e;
}
.btn-amber:hover { background: #3d2410; border-color: #3d2410; color: #fff; }
.voyage-types {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .5rem;
}
.voyage-type {
  padding: .55rem 1rem;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  cursor: pointer;
}
.voyage-type.is-active {
  background: #0d3a55;
  border-color: #0d3a55;
  color: #fff;
}
.dest-card {
  border: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(20, 32, 27, 0.06);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.dest-card:hover { transform: translateY(-3px); }
.dest-card__media {
  aspect-ratio: 16/10;
  background: center/cover no-repeat #1a2e26;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.dest-card:hover .dest-card__media { transform: scale(1.04); }
.dest-card__body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1;
  border: 1px solid var(--line);
  border-top: 0;
}
.dest-card__body h3 {
  font-family: var(--font-display), Fraunces, Georgia, serif;
  font-size: 1.2rem;
  margin: 0;
  color: var(--brand-deep);
}
.dest-card__body .meta { color: var(--muted); font-size: .85rem; }
.dest-card__body .price { font-weight: 600; margin-bottom: .35rem; }
.dest-card__body .btn { align-self: flex-start; margin-top: auto; }

/* IMMO — panneaux univers */
.section--flush { padding: 0; }
.immo-gate {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .immo-gate { grid-template-columns: repeat(3, 1fr); min-height: 62vh; }
}
.immo-gate__panel {
  position: relative;
  display: block;
  min-height: 42vh;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}
@media (min-width: 900px) {
  .immo-gate__panel { min-height: 62vh; }
}
.immo-gate__panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1s cubic-bezier(.22,1,.36,1);
}
.immo-gate__panel:hover img { transform: scale(1.1); }
.immo-gate__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 40, 29, .92) 0%, rgba(6, 40, 29, .25) 55%, transparent 100%);
}
.immo-gate__body {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.75rem 1.5rem 2rem;
  text-align: left;
}
.immo-gate__body h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  color: #fff;
}
.immo-gate__body p {
  margin: .55rem 0 0;
  max-width: 18rem;
  font-size: .92rem;
  color: rgba(255,255,255,.75);
  line-height: 1.45;
}
.immo-gate__body span {
  margin-top: 1rem;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  opacity: .85;
  transition: opacity .25s, letter-spacing .25s;
}
.immo-gate__panel:hover .immo-gate__body span {
  opacity: 1;
  letter-spacing: .06em;
}

/* Services filiales — rail chips */
.service-rail {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.service-chip {
  padding: .7rem 1.15rem;
  font: inherit;
  font-size: .9rem;
  font-weight: 500;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.service-chip:hover,
.service-chip.is-active {
  background: #0d3a55;
  border-color: #0d3a55;
  color: #fff;
}
.service-chip--amber:hover,
.service-chip--amber.is-active {
  background: #3d2410;
  border-color: #3d2410;
  color: #fff;
}
.panel--form {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  background: #fff;
}
.legal-copy h3 {
  font-family: var(--font-display), Fraunces, Georgia, serif;
  margin: 1.5rem 0 .5rem;
  color: var(--brand-deep);
}
.legal-copy p, .legal-copy li { color: var(--muted); line-height: 1.55; }
.footer-bottom a { color: inherit; opacity: .85; margin-left: .15rem; }


