/* Shared marketing chrome + inner page layout (Servia vitrine tokens) */
:root {
  --marine: #1c2836;
  --acier: #3c6d8f;
  --acier-dark: #2f5972;
  --paper: #eef1f2;
  --ink: #1c2836;
  --ink-soft: rgba(28, 40, 54, 0.82);
  --radius-btn: 10px;
  --radius-card: 14px;
  --head: "DM Sans", sans-serif;
  --head-italic: normal;
  --sans: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.mkt-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1, h2, h3 {
  font-family: var(--head);
  font-style: var(--head-italic);
  font-weight: 700;
}
body.tunnel-open { overflow: hidden; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* Text links only — never override logo / buttons / nav / footer */
.mkt-section a:not([class]),
.mkt-legal a,
.mkt-hero .lead a,
.mkt-placeholder a {
  color: var(--acier);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.mkt-section a:not([class]):hover,
.mkt-legal a:hover,
.mkt-hero .lead a:hover,
.mkt-placeholder a:hover {
  color: var(--acier-dark);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(238, 241, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(28, 40, 54, 0.1);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 40px;
  flex-wrap: wrap;
}
.logo,
a.logo,
.site-header a.logo {
  font-family: var(--sans);
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.02em;
  color: var(--marine);
  text-decoration: none;
  line-height: 1;
}
.logo span,
a.logo span,
.site-header a.logo span {
  color: var(--acier);
  font-weight: 800;
}
.nav-desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 14.5px;
  font-weight: 500;
  color: #3a4552;
  flex: 1;
  justify-content: center;
  max-width: 720px;
}
.nav-desktop a { text-decoration: none; color: inherit; white-space: nowrap; }
.nav-desktop a:hover { color: var(--acier); }
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header-cta .phone {
  font-size: 14.5px;
  color: #3a4552;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(28, 40, 54, 0.2);
  color: var(--marine);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 40px 28px;
  gap: 18px;
  border-top: 1px solid rgba(28, 40, 54, 0.08);
}
.mobile-menu a {
  text-decoration: none;
  color: var(--marine);
  font-size: 16px;
  font-weight: 500;
}
.mobile-menu-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid rgba(28, 40, 54, 0.1);
}
.mobile-menu-cta .phone {
  color: var(--marine);
  text-decoration: none;
  font-weight: 500;
}

.btn-primary,
a.btn-primary,
button.btn-primary {
  background: var(--acier);
  color: var(--paper);
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 20px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover {
  background: var(--acier-dark);
  color: var(--paper);
}
.btn-primary.lg,
a.btn-primary.lg { padding: 16px 28px; font-size: 16px; }
.btn-primary.xl,
a.btn-primary.xl { padding: 18px 32px; font-size: 17px; }
.btn-ghost,
a.btn-ghost,
button.btn-ghost {
  background: transparent;
  color: var(--marine);
  border: 1px solid rgba(28, 40, 54, 0.22);
  border-radius: var(--radius-btn);
  padding: 12px 20px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-family: inherit;
}
.btn-ghost:hover,
a.btn-ghost:hover,
button.btn-ghost:hover {
  border-color: var(--acier);
  color: var(--acier);
}

/* —— Footer —— */
.site-footer {
  background: #141e29;
  color: rgba(238, 241, 242, 0.6);
  padding: 72px 40px 28px;
  font-size: 13px;
  line-height: 1.6;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid h3 {
  font-size: 12px;
  font-weight: 600;
  color: var(--paper);
  margin: 0 0 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-brand {
  font-family: var(--head);
  font-weight: 700;
  font-size: 20px;
  color: var(--paper);
  margin-bottom: 14px;
}
.footer-grid a { color: rgba(238, 241, 242, 0.8); text-decoration: none; }
.footer-grid a:hover { color: var(--paper); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-copy {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(238, 241, 242, 0.1);
  font-size: 11px;
  opacity: 0.6;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.footer-copy a { color: inherit; text-decoration: none; }
.footer-copy a:hover { color: var(--paper); opacity: 1; }

/* —— Inner marketing pages —— */
.mkt-main { flex: 1; }
.mkt-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 40px 40px;
}
.mkt-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acier);
  margin: 0 0 14px;
}
.mkt-hero h1 {
  font-family: var(--head);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  font-style: var(--head-italic);
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--marine);
}
.mkt-hero .lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 640px;
}
.mkt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.mkt-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 40px 48px;
}
.mkt-section h2 {
  font-family: var(--head);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  font-style: var(--head-italic);
  margin: 0 0 16px;
  color: var(--marine);
}
.mkt-section h2:not(:first-child) {
  margin-top: 36px;
}
.mkt-section p {
  font-size: 16px;
  line-height: 1.7;
  color: #28323f;
  margin: 0 0 14px;
}
.mkt-section ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  color: #28323f;
  font-size: 16px;
  line-height: 1.7;
}
.mkt-section li { margin-bottom: 6px; }
.mkt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.mkt-card {
  background: #fff;
  border: 1px solid rgba(28, 40, 54, 0.08);
  border-radius: var(--radius-card);
  padding: 22px 20px;
}
.mkt-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--marine);
}
.mkt-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
a.mkt-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
a.mkt-card:hover { border-color: var(--acier); }
a.mkt-card h3 { color: var(--marine); }
.mkt-cta-band {
  background: var(--marine);
  color: var(--paper);
  text-align: center;
  padding: 56px 40px;
  margin-top: 24px;
}
.mkt-cta-band h2 {
  font-family: var(--head);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  font-style: var(--head-italic);
  margin: 0 0 12px;
  color: #fafafb;
}
.mkt-cta-band p {
  color: rgba(253, 253, 253, 0.78);
  margin: 0 0 24px;
  font-size: 15px;
}
.mkt-cta-band .btn-primary { margin: 0 auto; }
.mkt-cta-band a.phone-inline {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.mkt-cta-band a.phone-inline:hover { color: #fff; }
.mkt-list-articles {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mkt-article-link {
  display: block;
  background: #fff;
  border: 1px solid rgba(28, 40, 54, 0.08);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
}
.mkt-article-link:hover { border-color: var(--acier); }
.mkt-article-link h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--marine);
}
.mkt-article-link p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* Empty SEO shell */
.mkt-placeholder {
  border: 1px dashed rgba(28, 40, 54, 0.22);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.55);
  padding: 28px 24px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 16px;
}
.mkt-placeholder strong {
  display: block;
  color: var(--marine);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mkt-placeholder p {
  margin: 0 0 10px;
}
.mkt-placeholder p:last-child { margin-bottom: 0; }
.mkt-legal h2 { margin-top: 28px; }
.mkt-legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 12px 0 20px;
}
.mkt-legal th,
.mkt-legal td {
  border: 1px solid rgba(28, 40, 54, 0.12);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  background: #fff;
}
.mkt-legal th {
  background: rgba(28, 40, 54, 0.04);
  font-weight: 600;
}

/* Before / after slider (shared with home + réalisations) */
.ba-frame {
  position: relative;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #243140;
}
.ba-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-before {
  filter: grayscale(1) contrast(0.85) brightness(0.7);
}
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #fff;
  left: 50%;
  pointer-events: none;
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba-labels {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  font-size: 12px;
  color: rgba(28, 40, 54, 0.5);
  margin-top: 10px;
}
.ba-slot {
  margin-bottom: 40px;
}
.ba-slot-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--marine);
  margin: 0 0 12px;
}
.ba-slot-meta {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 8px 0 0;
}

.mkt-mailto {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .nav-desktop, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu:not([hidden]) { display: flex; }
  .header-inner, .site-footer, .mkt-hero, .mkt-section, .mkt-cta-band {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Chantier 4 : grille « à partir de » Rotation Airbnb */
.mkt-section[hidden] { display: none !important; }
.mkt-price-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.mkt-price-card h3 { margin-bottom: 6px; }
.mkt-price-card .mkt-price {
  font-size: 17px;
  font-weight: 600;
  color: var(--marine);
}

/* 9/11 : pages en construction signalées dans le catalogue */
a.mkt-card.is-soon { background: #f6f7f8; border-style: dashed; }
a.mkt-card.is-soon h3 { color: rgba(28, 40, 54, 0.75); }
.mkt-badge {
  display: inline-block;
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #3c6d8f;
  background: rgba(60, 109, 143, 0.1);
  border-radius: 999px;
  padding: 3px 10px;
}
