/* ============================================
   Par Ici Kénitra — Feuille de style globale
   Conciergerie locative courte durée
   ============================================ */

/* --- Tokens (les valeurs sont remplacées par le tweak palette) --- */
:root {
  --ivory: #F6F2EB;
  --sand: #E8DFD0;
  --ink: #1A1F2C;
  --ink-soft: #2E3340;
  --muted: #6B665C;
  --rule: rgba(26, 31, 44, 0.12);
  --accent: #8B6F47;
  --accent-soft: rgba(139, 111, 71, 0.14);
  --white: #FFFDF9;

  --serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --sans: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

  --max: 1240px;
  --gutter: 32px;
  --section-pad: clamp(80px, 10vw, 140px);
}

/* --- Reset léger --- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* --- Typographie --- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: clamp(48px, 7vw, 96px); }
h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.05; }
h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
h4 { font-size: 20px; }

p { margin: 0 0 1em 0; }
p:last-child { margin-bottom: 0; }

.serif { font-family: var(--serif); }
.italic { font-style: italic; }
.lead { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }
.muted { color: var(--muted); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.eyebrow.no-dash::before { display: none; }

.label-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
}

/* --- Layout --- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-wide {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: var(--section-pad) 0; }
section.tight { padding: clamp(60px, 7vw, 100px) 0; }

.rule { height: 1px; background: var(--rule); border: none; margin: 0; }

/* --- Header / Nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 242, 235, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  max-width: 1480px;
  margin: 0 auto;
}
.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  color: var(--ink);
}
.logo .lg-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.logo .lg-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.nav-links a {
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 180ms ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ivory) !important;
  border-radius: 0;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { color: var(--ivory) !important; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid var(--ink);
  transition: color 180ms ease, border-color 180ms ease;
}
.btn-link:hover { color: var(--accent); border-color: var(--accent); }
.btn-link .arrow {
  display: inline-block;
  transition: transform 220ms ease;
}
.btn-link:hover .arrow { transform: translateX(4px); }

.menu-toggle {
  display: none;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--ink);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* --- Hero --- */
.hero {
  padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 130px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
.hero h1 {
  margin-top: 24px;
  font-weight: 400;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.hero-lead {
  margin-top: 28px;
  max-width: 50ch;
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--ink-soft);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--sand);
}
.hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-img-caption {
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(26,31,44,0.5);
  padding: 8px 12px;
  backdrop-filter: blur(4px);
}

/* --- Modèle Paris/Maroc --- */
.model {
  background: var(--ivory);
}
.model-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: stretch;
}
.model-col h3 { margin-bottom: 18px; }
.model-divider {
  width: 1px;
  background: var(--rule);
  position: relative;
}
.model-divider::after {
  content: '↔';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--ivory);
  padding: 8px 4px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
}
.model-col .place {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.model-col p { color: var(--ink-soft); line-height: 1.65; max-width: 36ch; }

/* --- Services liste --- */
.services-list {
  margin-top: 60px;
  border-top: 1px solid var(--rule);
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.3fr 40px;
  gap: 32px;
  align-items: baseline;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  transition: background 200ms ease;
}
.service-row:hover { background: rgba(139,111,71,0.04); }
.service-row .s-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.service-row .s-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.15;
}
.service-row .s-desc {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  max-width: 48ch;
}
.service-row .s-arrow {
  text-align: right;
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
}

/* --- Pourquoi (différenciateurs) --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  margin-top: 60px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.why-cell {
  background: var(--ivory);
  padding: 40px 32px;
}
.why-cell .why-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 28px;
}
.why-cell h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.2;
}
.why-cell p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* --- Zones --- */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 40px);
  margin-top: 60px;
}
.zone-card {
  display: flex;
  flex-direction: column;
}
.zone-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--sand);
  margin-bottom: 24px;
}
.zone-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 800ms ease;
}
.zone-card:hover .zone-img img { transform: scale(1.03); }
.zone-name {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.zone-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.zone-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* --- MRE bloc --- */
.mre {
  background: var(--sand);
}
.mre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.mre-img {
  aspect-ratio: 5/6;
  overflow: hidden;
}
.mre-img img { width: 100%; height: 100%; object-fit: cover; }
.mre-text h2 { margin-bottom: 28px; }
.mre-text h2 em { font-style: italic; color: var(--accent); }
.mre-points {
  margin-top: 36px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.mre-points li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: baseline;
  font-size: 15px;
  color: var(--ink-soft);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.mre-points li:last-child { border-bottom: none; }
.mre-points .check {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

/* --- Processus / Étapes --- */
.steps {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 22px; left: 0; right: 0;
  height: 1px;
  background: var(--rule);
}
.step {
  position: relative;
  padding: 0 24px 0 0;
}
.step:not(:last-child) { border-right: 1px solid var(--rule); }
.step:not(:last-child) { padding-right: 32px; }
.step + .step { padding-left: 32px; }
.step-dot {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border: 3px solid var(--ivory);
  outline: 1px solid var(--accent);
  margin-top: 16px;
  position: relative;
  z-index: 1;
}
.step-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-top: 30px;
  margin-bottom: 14px;
}
.step h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 10px;
}
.step p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* --- CTA bloc nuit --- */
.cta-dark {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(80px, 10vw, 130px) 0;
}
.cta-dark .eyebrow { color: var(--accent); }
.cta-dark .eyebrow::before { background: var(--accent); }
.cta-dark h2 {
  color: var(--ivory);
  margin-top: 20px;
  max-width: 22ch;
}
.cta-dark h2 em { font-style: italic; color: var(--accent); }
.cta-dark .cta-lead {
  color: rgba(246, 242, 235, 0.72);
  margin-top: 28px;
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.6;
}
.cta-actions {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-dark .btn {
  background: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
}
.cta-dark .btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.cta-dark .btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--ivory);
}
.cta-dark .btn-ghost:hover { background: var(--ivory); color: var(--ink); }
.cta-dark .btn-link { color: var(--ivory); border-color: rgba(246,242,235,0.4); }
.cta-dark .btn-link:hover { color: var(--accent); border-color: var(--accent); }

/* --- Footer --- */
.site-footer {
  background: var(--ivory);
  border-top: 1px solid var(--rule);
  padding: 80px 0 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.foot-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}
.foot-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 10px;
}
.foot-col a, .foot-col li {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 180ms ease;
}
.foot-col a:hover { color: var(--accent); }
.foot-col p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.foot-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  margin-top: 18px;
  line-height: 1.4;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}
.foot-bottom a { color: var(--muted); }
.foot-bottom a:hover { color: var(--accent); }

/* --- Page header générique --- */
.page-head {
  padding: clamp(50px, 6vw, 90px) 0 clamp(40px, 5vw, 70px);
  border-bottom: 1px solid var(--rule);
}
.page-head .eyebrow { margin-bottom: 24px; }
.page-head h1 {
  font-size: clamp(44px, 6vw, 80px);
  max-width: 18ch;
}
.page-head .lead {
  margin-top: 28px;
  max-width: 60ch;
}

/* --- Tableau de service (page services) --- */
.tiers {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.tier {
  background: var(--ivory);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
}
.tier.featured { background: var(--sand); }
.tier-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.tier h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 14px;
}
.tier .tier-baseline {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 30px;
  min-height: 70px;
}
.tier ul {
  list-style: none;
  padding: 0; margin: 0 0 36px;
  display: grid;
  gap: 12px;
  flex: 1;
}
.tier ul li {
  font-size: 14.5px;
  color: var(--ink);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.tier ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 10px; height: 1px;
  background: var(--accent);
}

/* --- FAQ --- */
.faq-list {
  margin-top: 40px;
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 400;
  text-align: left;
  color: var(--ink);
  gap: 24px;
}
.faq-q .faq-toggle {
  width: 32px; height: 32px;
  border: 1px solid var(--rule);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--accent);
  flex-shrink: 0;
  transition: background 180ms ease, border-color 180ms ease;
}
.faq-q:hover .faq-toggle { background: var(--accent-soft); border-color: var(--accent); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 360ms ease;
}
.faq-a-inner {
  padding: 0 0 28px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 65ch;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-item.open .faq-toggle { background: var(--accent); color: var(--ivory); border-color: var(--accent); }

/* --- Formulaire contact --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.contact-info h2 {
  margin-bottom: 32px;
}
.contact-info .info-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.contact-info .info-row:first-of-type { border-top: 1px solid var(--rule); }
.contact-info .info-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.contact-info .info-value {
  font-size: 16px;
  color: var(--ink);
}
.contact-info .info-value a { color: var(--ink); border-bottom: 1px solid var(--rule); }
.contact-info .info-value a:hover { color: var(--accent); border-color: var(--accent); }

.contact-form {
  background: var(--white);
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid var(--rule);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 8px 0 12px;
  font-size: 16px;
  color: var(--ink);
  font-family: var(--sans);
  border-radius: 0;
  outline: none;
  transition: border-color 200ms ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(26,31,44,0.35); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent); }
.form-field textarea {
  resize: vertical;
  min-height: 120px;
}
.form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%),
                    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 14px) 18px, calc(100% - 9px) 18px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
}
.form-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.form-note {
  font-size: 12px;
  color: var(--muted);
  max-width: 30ch;
  line-height: 1.5;
}

/* --- Bandeau split (réutilisable) --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.split.flip { direction: rtl; }
.split.flip > * { direction: ltr; }
.split-img { aspect-ratio: 5/6; overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-text h2 { margin-bottom: 24px; }
.split-text h2 em { font-style: italic; color: var(--accent); }
.split-text p { color: var(--ink-soft); font-size: 16px; line-height: 1.65; }

/* --- Pages légales --- */
.legal-body {
  max-width: 70ch;
  margin: 0 auto;
  padding: clamp(50px, 6vw, 80px) 0 100px;
}
.legal-body h2 {
  font-size: clamp(22px, 2vw, 28px);
  margin-top: 48px;
  margin-bottom: 16px;
}
.legal-body p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 1em;
}
.legal-body ul {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
  padding-left: 22px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { max-width: 480px; }
  .model-grid { grid-template-columns: 1fr; gap: 40px; }
  .model-divider { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .zones-grid { grid-template-columns: 1fr; gap: 40px; }
  .zone-img { aspect-ratio: 16/10; max-height: 380px; }
  .mre-inner { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .step { border-right: none !important; border-bottom: 1px solid var(--rule); padding: 0 0 32px 0 !important; margin-bottom: 32px; }
  .step + .step { padding-left: 0 !important; }
  .tiers { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.flip { direction: ltr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  :root { --gutter: 22px; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { padding-top: 40px; }
  .service-row {
    grid-template-columns: 60px 1fr;
    gap: 16px 20px;
  }
  .service-row .s-desc { grid-column: 1 / -1; padding-left: 80px; margin-top: -4px; }
  .service-row .s-arrow { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* --- Tweaks panel positioning fix --- */
.palette-tweak {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  background: var(--ink);
  color: var(--ivory);
  padding: 14px 16px;
  display: none;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.palette-tweak.visible { display: inline-flex; }
.palette-tweak button {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(246,242,235,0.3);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease;
}
.palette-tweak button.active { border-color: var(--ivory); transform: scale(1.1); }
.palette-tweak button[data-palette="ivory"] { background: linear-gradient(135deg, #F6F2EB 50%, #8B6F47 50%); }
.palette-tweak button[data-palette="lin"] { background: linear-gradient(135deg, #EFEAE0 50%, #2F5D50 50%); }
.palette-tweak button[data-palette="pierre"] { background: linear-gradient(135deg, #EDE7DC 50%, #B36A3F 50%); }

/* Palettes alternatives */
body[data-palette="lin"] {
  --ivory: #EFEAE0;
  --sand: #E4DDD0;
  --ink: #0E1B2C;
  --ink-soft: #233448;
  --accent: #2F5D50;
  --accent-soft: rgba(47, 93, 80, 0.14);
  --rule: rgba(14, 27, 44, 0.12);
}
body[data-palette="pierre"] {
  --ivory: #EDE7DC;
  --sand: #DDD3C3;
  --ink: #2A1F18;
  --ink-soft: #44352B;
  --accent: #B36A3F;
  --accent-soft: rgba(179, 106, 63, 0.14);
  --rule: rgba(42, 31, 24, 0.14);
}

/* --- Animations subtiles --- */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 700ms ease, transform 700ms ease;
  }
  .fade-in.visible {
    opacity: 1;
    transform: none;
  }
}
