/* Soluviq Studio — aperçus de démonstration
   Thème : papier ivoire, sérif éditorial, accent profond, arches. */

:root {
  --site-bg: #f6f3ec;
  --site-fg: #16201b;
  --site-accent: #14503f;
  --site-on-accent: #f8f5ee;
  --site-surface: #fcfaf5;
  --site-muted: #6e746e;
  --site-border: #e2ddcf;
  --site-font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --site-radius: 16px;
  --site-space: 1;
  --site-type: 1;
  --site-motion: 1;

  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --pad: calc(clamp(20px, 5vw, 48px));
  --section: calc(clamp(72px, 9vw, 128px) * var(--site-space, 1));
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --tr: calc(180ms * var(--site-motion, 1));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--site-bg);
  color: var(--site-fg);
  font-family: var(--site-font);
  font-size: calc(16.5px * var(--site-type, 1));
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- ribbon + header ---------- */

.ribbon {
  background: var(--site-accent);
  color: var(--site-on-accent);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 16px;
}
.ribbon b { font-weight: 600; }
.ribbon span { opacity: 0.75; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--site-bg) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--site-border) 70%, transparent);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--site-accent);
  color: var(--site-on-accent);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 15px;
  flex: none;
}
.brand-name {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.brand-sub {
  display: block;
  font-family: var(--site-font);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--site-muted);
}
.head-nav {
  display: flex;
  gap: 26px;
  font-size: 13.5px;
}
.head-nav a {
  text-decoration: none;
  color: color-mix(in srgb, var(--site-fg) 72%, transparent);
  transition: color var(--tr) var(--ease);
}
.head-nav a:hover { color: var(--site-fg); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform var(--tr) var(--ease), background var(--tr) var(--ease), color var(--tr) var(--ease), border-color var(--tr) var(--ease);
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--site-accent);
  color: var(--site-on-accent);
}
.btn-primary:hover { background: color-mix(in srgb, var(--site-accent) 86%, black); }
.btn-ghost {
  background: transparent;
  color: var(--site-fg);
  border-color: color-mix(in srgb, var(--site-fg) 22%, transparent);
}
.btn-ghost:hover { border-color: var(--site-fg); }
.btn svg { width: 17px; height: 17px; flex: none; }
.head .btn { padding: 10px 20px; font-size: 13px; }
.btn-sm { padding: 12px 22px; font-size: 13.5px; }

/* ---------- hero ---------- */

.hero { padding-top: calc(64px * var(--site-space, 1)); padding-bottom: calc(72px * var(--site-space, 1)); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--site-muted);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--site-accent);
}
h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: calc(clamp(42px, 5.4vw, 74px) * var(--site-type, 1));
  line-height: 1.03;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
}
h1 em {
  font-style: italic;
  color: var(--site-accent);
}
.lead {
  font-size: calc(17.5px * var(--site-type, 1));
  line-height: 1.7;
  color: color-mix(in srgb, var(--site-fg) 76%, transparent);
  max-width: 46ch;
  margin: 0 0 30px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.fine {
  font-size: 12.5px;
  color: var(--site-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.fine svg { width: 14px; height: 14px; flex: none; }

.hero-visual { position: relative; }
.arch {
  border-radius: 999px 999px calc(var(--site-radius) * 1.5) calc(var(--site-radius) * 1.5);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: color-mix(in srgb, var(--site-border) 60%, white);
  box-shadow: 0 30px 60px -30px rgba(22, 32, 27, 0.35);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.rating-chip {
  position: absolute;
  left: -18px;
  bottom: 42px;
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: calc(var(--site-radius) * 1);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 40px -22px rgba(22, 32, 27, 0.4);
}
.rating-num { font-family: var(--serif); font-size: 30px; line-height: 1; }
.rating-meta { font-size: 11.5px; color: var(--site-muted); line-height: 1.35; }
.rating-meta b { display: block; color: var(--site-fg); font-size: 12px; font-weight: 600; }
.stars { display: flex; gap: 2px; margin-top: 3px; }
.stars svg { width: 12px; height: 12px; fill: var(--site-accent); }

/* ---------- facts strip ---------- */

.facts {
  border-top: 1px solid var(--site-border);
  border-bottom: 1px solid var(--site-border);
}
.facts .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.fact {
  padding: 26px 28px;
  border-left: 1px solid var(--site-border);
}
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-k { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--site-muted); margin-bottom: 6px; }
.fact-v { font-family: var(--serif); font-size: 19px; }

/* ---------- sections ---------- */

.section { padding-top: var(--section); padding-bottom: var(--section); }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.kicker {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--site-accent);
  margin-bottom: 14px;
  font-weight: 600;
}
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: calc(clamp(30px, 3.6vw, 46px) * var(--site-type, 1));
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}
.section-head p { color: color-mix(in srgb, var(--site-fg) 70%, transparent); margin: 16px 0 0; max-width: 52ch; }

/* cabinet */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split .frame {
  border-radius: calc(var(--site-radius) * 1.2);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--site-border);
  box-shadow: 0 30px 60px -34px rgba(22, 32, 27, 0.3);
}
.split .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform calc(900ms * var(--site-motion, 1)) var(--ease); }
.split .frame:hover img { transform: scale(1.025); }
.caption { font-size: 11.5px; color: var(--site-muted); margin-top: 10px; letter-spacing: 0.02em; }
.split h2 { margin-bottom: 18px; }
.split p { color: color-mix(in srgb, var(--site-fg) 72%, transparent); margin: 0 0 14px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.checks svg { width: 18px; height: 18px; flex: none; color: var(--site-accent); margin-top: 2px; }

/* cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  padding: 28px 26px 30px;
  position: relative;
  transition: transform var(--tr) var(--ease), box-shadow var(--tr) var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -30px rgba(22, 32, 27, 0.35);
}
.card-num {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--site-muted);
  margin-bottom: 44px;
}
.card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 10px;
  line-height: 1.2;
}
.card p { font-size: 14px; color: color-mix(in srgb, var(--site-fg) 68%, transparent); margin: 0; }
.card::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 26px;
  width: 30px;
  height: 1px;
  background: var(--site-accent);
}

/* dark band */

.band {
  background: var(--site-accent);
  color: var(--site-on-accent);
  border-radius: calc(var(--site-radius) * 1.4);
  padding: clamp(44px, 6vw, 76px);
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--site-on-accent) 22%, transparent);
}
.band .kicker { color: color-mix(in srgb, var(--site-on-accent) 70%, transparent); }
.band blockquote {
  font-family: var(--serif);
  font-size: calc(clamp(26px, 3.4vw, 42px) * var(--site-type, 1));
  line-height: 1.22;
  margin: 0;
  max-width: 22ch;
  font-weight: 400;
}
.band blockquote em { font-style: italic; opacity: 0.85; }
.band-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.band .btn-primary { background: var(--site-on-accent); color: var(--site-accent); }

/* reviews */

.reviews { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.review-score { display: flex; align-items: baseline; gap: 16px; }
.review-score .big { font-family: var(--serif); font-size: calc(clamp(64px, 9vw, 110px) * var(--site-type, 1)); line-height: 0.9; letter-spacing: -0.03em; }
.review-score .stars svg { width: 17px; height: 17px; }
.review-meta { color: var(--site-muted); font-size: 13.5px; margin-top: 16px; max-width: 34ch; }
.review-meta a { color: var(--site-accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--site-accent) 40%, transparent); }
.review-note { font-size: 12px; color: var(--site-muted); margin-top: 10px; }

/* contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 4vw, 56px);
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: calc(var(--site-radius) * 1.3);
  overflow: hidden;
}
.contact-info { padding: clamp(28px, 4vw, 52px); }
.contact-info h2 { margin-bottom: 26px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--site-border); }
.contact-line svg { width: 19px; height: 19px; flex: none; color: var(--site-accent); margin-top: 3px; }
.contact-line .k { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--site-muted); }
.contact-line .v { font-size: 16.5px; font-weight: 600; margin-top: 2px; }
.contact-line .v a { text-decoration: none; }
.contact-line .v a:hover { color: var(--site-accent); }
.contact-info .cta-row { margin-top: 26px; }
.map { min-height: 380px; background: var(--site-border); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.85); }

/* footer */

.site-foot {
  border-top: 1px solid var(--site-border);
  padding: 36px 0 44px;
  margin-top: var(--section);
}
.foot-grid { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.foot-brand { font-family: var(--serif); font-size: 16px; }
.foot-note { font-size: 11.5px; line-height: 1.6; color: var(--site-muted); max-width: 62ch; }
.foot-note b { color: color-mix(in srgb, var(--site-fg) 80%, transparent); font-weight: 600; }
.foot-links { display: flex; gap: 18px; font-size: 12.5px; }
.foot-links a { color: var(--site-muted); text-decoration: none; }
.foot-links a:hover { color: var(--site-fg); }

/* mobile bar */

.mobile-bar { display: none; }

/* reveal */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity calc(700ms * var(--site-motion, 1)) var(--ease), transform calc(700ms * var(--site-motion, 1)) var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 8px auto 0; }
  .rating-chip { left: 12px; bottom: 18px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .split, .reviews, .contact-grid { grid-template-columns: 1fr; }
  .map { min-height: 300px; }
  .head-nav { display: none; }
}

@media (max-width: 620px) {
  .site-head .wrap { height: 60px; }
  .site-head .btn { display: none; }
  .cards { grid-template-columns: 1fr; }
  .facts .wrap { grid-template-columns: 1fr; }
  .fact { border-left: 0; border-top: 1px solid var(--site-border); padding-left: 0; }
  .fact:first-child { border-top: 0; }
  .band { border-radius: var(--site-radius); }
  .body-pad { padding-bottom: 76px; }
  .mobile-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--site-bg) 92%, transparent);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--site-border);
  }
  .mobile-bar .btn { flex: 1; }
}

/* ---------- hub ---------- */

.hub { max-width: 980px; margin: 0 auto; padding: 72px var(--pad) 60px; }
.hub h1 { font-size: clamp(36px, 5vw, 56px); }
.hub .lead { max-width: 56ch; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.hub-card {
  text-decoration: none;
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  overflow: hidden;
  transition: transform var(--tr) var(--ease), box-shadow var(--tr) var(--ease);
}
.hub-card:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -32px rgba(22, 32, 27, 0.4); }
.hub-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.hub-card .hc-body { padding: 18px 20px 22px; }
.hub-card .hc-k { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--site-muted); }
.hub-card h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin: 7px 0 4px; }
.hub-card p { font-size: 13px; color: var(--site-muted); margin: 0; }
@media (max-width: 760px) { .hub-grid { grid-template-columns: 1fr; } }

/* gallery + lightbox */
.gallery-sec { padding-top: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.g-item {
  padding: 0; border: 1px solid var(--site-border); background: var(--site-surface);
  border-radius: calc(var(--site-radius) * 0.8); overflow: hidden; cursor: zoom-in; position: relative;
}
.g-item img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 700ms var(--ease); }
.g-item:hover img { transform: scale(1.03); }
.g-item:focus-visible { outline: 2px solid var(--site-accent); outline-offset: 3px; }
.lightbox { position: fixed; inset: 0; display: none; z-index: 90; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(14, 20, 17, 0.88); }
.lb-stage { position: relative; margin: 0; max-width: min(1080px, 92vw); z-index: 1; }
.lb-stage img { display: block; width: 100%; max-height: 80vh; object-fit: contain; border-radius: 8px; background: rgba(0,0,0,.35); }
.lb-stage figcaption { color: rgba(255,255,255,.82); font-size: 12.5px; margin-top: 12px; letter-spacing: .02em; }
.lb-x, .lb-prev, .lb-next {
  position: absolute; z-index: 2; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.10);
  color: #fff; border-radius: 50%; width: 44px; height: 44px; font-size: 24px; line-height: 1;
  cursor: pointer; display: grid; place-items: center;
}
.lb-x { top: 18px; right: 22px; font-size: 20px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-x:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.22); }
body.lb-open { overflow: hidden; }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: 1fr; } .lb-prev { left: 8px; } .lb-next { right: 8px; } }
