/* ============================================================
   ALMARE Studio — Site multi-pages V5
   ADN ALMARE : sans-serif, premium, sobre, aere
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --ink: #1c211d;
  --muted: #6d7067;
  --paper: rgba(252,249,241,0.88);
  --line: rgba(42,60,48,0.28);
  --line-soft: rgba(42,60,48,0.14);
  --accent: #90785b;
  --green: #344636;
  --white: #fffdf7;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-hand: "Bradley Hand", "Comic Sans MS", "Segoe Print", cursive;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.studio-home {
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, #fbfaf5 0%, #f4efe7 44%, #fbfaf5 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; }

/* ============================================================
   HEADER — exact React V2 style
   ============================================================ */
.sa-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(246,241,232,0.80);
  border-bottom: 1px solid rgba(31,33,29,0.14);
}

.sa-nav-inner {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.sa-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.sa-brand svg { flex-shrink: 0; }

.sa-brand-text {
  display: flex;
  flex-direction: column;
}

.sa-brand-text strong {
  display: block;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

.sa-brand-text span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  letter-spacing: 0.38em;
  color: var(--muted);
  line-height: 1;
}

.sa-links {
  display: none;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.sa-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.sa-links a:hover { color: var(--ink); }

@media (min-width: 860px) {
  .sa-links { display: flex; }
}

.sa-links.sa-links-open {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  background: rgba(246,241,232,0.95);
  backdrop-filter: blur(16px);
  padding: 16px 22px;
  border-bottom: 1px solid rgba(31,33,29,0.14);
}

.sa-nav-cta {
  padding: 12px 17px;
  border: 1px solid #272822;
  border-radius: 999px;
  color: white !important;
  background: #272822;
  font-weight: 650;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
}

.sa-nav-cta:hover { background: #1a1a16; }

.sa-mobile-toggle {
  display: flex; align-items: center; justify-content: center;
  padding: 6px; background: none; border: none; color: #4D3A2E; cursor: pointer;
}

@media (min-width: 860px) {
  .sa-mobile-toggle { display: none; }
}

/* ============================================================
   BLUEPRINT BACKGROUND — architectural draft
   ============================================================ */
.sa-blueprint {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.92;
}
.sa-blueprint svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.sa-blueprint path {
  fill: none; stroke: var(--line); stroke-width: 1.05;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: sa-draw 11s ease-in-out infinite;
}
.sa-blueprint .bp-grid path { stroke: var(--line-soft); stroke-width: 0.65; animation-duration: 14s; }
.sa-blueprint .bp-site path { stroke: rgba(144,120,91,0.22); stroke-width: 1.15; animation-delay: 0.6s; }
.sa-blueprint .bp-hero path:nth-child(odd) { animation-delay: 0.2s; }
.sa-blueprint .bp-hero path:nth-child(even) { animation-delay: 1.1s; }
.sa-blueprint .bp-mid path { animation-delay: 2.2s; }
.sa-blueprint .bp-pricing path { animation-delay: 3.6s; }
.sa-blueprint .bp-contact path { animation-delay: 5.2s; }

.sa-note {
  position: absolute; font-family: var(--font-hand);
  font-size: clamp(11px, 1vw, 16px); color: rgba(56,65,55,0.46);
  transform: rotate(-3deg); opacity: 0;
  animation: sa-noteIn 11s ease-in-out infinite;
  white-space: nowrap; z-index: 0; pointer-events: none;
}
.sa-n1 { top: 9rem; left: 7%; animation-delay: 2s; }
.sa-n2 { top: 42rem; right: 10%; animation-delay: 3.4s; transform: rotate(2deg); }
.sa-n3 { top: 95rem; left: 12%; animation-delay: 5.2s; }
.sa-n4 { top: 130rem; right: 8%; animation-delay: 6s; transform: rotate(3deg); }
.sa-n5 { top: 70rem; left: 44%; animation-delay: 4.4s; transform: rotate(-2deg); }

@keyframes sa-draw {
  0%   { stroke-dashoffset: 1; opacity: 0.15; }
  16%  { opacity: 1; }
  52%  { stroke-dashoffset: 0; opacity: 1; }
  78%  { stroke-dashoffset: 0; opacity: 0.62; }
  100% { stroke-dashoffset: 1; opacity: 0.12; }
}
@keyframes sa-noteIn {
  0%,10% { opacity: 0; transform: translateY(6px) rotate(-3deg); }
  28%,70% { opacity: 1; transform: translateY(0) rotate(-3deg); }
  100%    { opacity: 0; transform: translateY(-4px) rotate(-3deg); }
}

/* ============================================================
   LAYOUT & REVEAL
   ============================================================ */
.sa-wrap {
  position: relative; z-index: 2;
  width: min(1180px, calc(100% - 32px)); margin: 0 auto;
}

.sa-reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.sa-reveal.sa-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   TYPOGRAPHY — SANS-SERIF ONLY (ADN ALMARE)
   ============================================================ */
.sa-eyebrow {
  margin: 0 0 16px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent); font-size: 11.5px; font-weight: 720;
}
h1, h2, h3, p { margin-top: 0; }

.sa-h1 {
  font-size: clamp(42px, 6.5vw, 78px); line-height: 0.95;
  letter-spacing: -0.055em; font-weight: 720; margin-bottom: 26px; max-width: 820px;
}
.sa-h2 {
  font-size: clamp(30px, 3.8vw, 52px); line-height: 1.02;
  letter-spacing: -0.04em; font-weight: 700; margin-bottom: 16px;
}
.sa-h3 { font-size: 19px; font-weight: 640; margin-bottom: 10px; letter-spacing: -0.01em; }
.sa-lead { font-size: 19px; line-height: 1.7; color: rgba(28,33,29,0.82); max-width: 680px; }
.sa-muted { color: var(--muted); line-height: 1.75; }

/* ============================================================
   BUTTONS
   ============================================================ */
.sa-btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--white); border-radius: 999px;
  padding: 14px 24px; font-size: 14px; font-weight: 600;
  box-shadow: 0 12px 30px rgba(28,33,29,0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
}
.sa-btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); background: rgba(255,255,255,0.72);
  border: 1px solid rgba(28,33,29,0.12); border-radius: 999px;
  padding: 14px 24px; font-size: 14px; font-weight: 600;
  transition: transform 0.18s ease; text-decoration: none;
}
.sa-btn-primary:hover, .sa-btn-secondary:hover { transform: translateY(-2px); }

/* ============================================================
   HERO
   ============================================================ */
.sa-hero {
  min-height: 800px; display: grid; grid-template-columns: 1fr;
  align-items: center; gap: 48px; padding-top: 160px; padding-bottom: 80px;
}
@media (min-width: 1024px) {
  .sa-hero { grid-template-columns: 0.94fr 1.06fr; gap: 64px; }
}

.sa-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 20px; }

.sa-promise {
  display: inline-flex; padding: 12px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.64); border: 1px solid rgba(28,33,29,0.10);
  color: rgba(28,33,29,0.72); font-size: 13.5px; line-height: 1.4; font-weight: 500;
}

.sa-hero-visual { position: relative; }
.sa-hero-img-wrap {
  position: relative; border-radius: 32px;
  border: 1px solid rgba(28,33,29,0.08);
  box-shadow: 0 28px 80px rgba(59,50,38,0.14);
  overflow: hidden; background: rgba(255,253,247,0.90);
}
.sa-hero-img-wrap img { display: block; width: 100%; height: auto; }
.sa-hero-dim {
  position: absolute; font-family: var(--font-hand);
  color: rgba(28,33,29,0.50); font-size: 13px; z-index: 3;
}
.sa-dim-1 { left: 20px; bottom: 14px; transform: rotate(-3deg); }
.sa-dim-2 { right: 20px; top: 14px; transform: rotate(2deg); }

/* ============================================================
   SECTIONS
   ============================================================ */
.sa-section { padding: 88px 0; position: relative; }
.sa-section-head { max-width: 740px; margin-bottom: 36px; }
.sa-section-head.sa-centered { text-align: center; margin-inline: auto; }

/* ============================================================
   CARDS
   ============================================================ */
.sa-card {
  background: var(--paper); border: 1px solid rgba(28,33,29,0.08);
  border-radius: 26px; box-shadow: 0 16px 60px rgba(50,42,32,0.06);
  padding: 24px; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sa-card:hover { transform: translateY(-3px); box-shadow: 0 20px 70px rgba(50,42,32,0.10); }
.sa-card p { color: var(--muted); line-height: 1.72; margin-top: 8px; font-size: 14.5px; }

.sa-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  font-size: 12px; font-weight: 700; margin-bottom: 14px;
}

/* ============================================================
   GRIDS
   ============================================================ */
.sa-grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.sa-grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.sa-grid-4 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.sa-grid-5 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.sa-grid-split { display: grid; grid-template-columns: 1fr; gap: 42px; align-items: start; }

@media (min-width: 640px) {
  .sa-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .sa-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sa-grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .sa-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .sa-grid-split { grid-template-columns: 0.72fr 1.28fr; }
}
@media (min-width: 1024px) {
  .sa-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .sa-grid-5 { grid-template-columns: repeat(5, 1fr); }
}

/* ============================================================
   THRESHOLD SCORES (JADE)
   ============================================================ */
.sa-threshold-score {
  display: inline-flex; margin-bottom: 16px;
  color: var(--accent); font-weight: 800; font-size: 20px;
}

/* ============================================================
   EXAMPLES
   ============================================================ */
.sa-example-visual {
  height: 180px; border-radius: 20px; margin-bottom: 16px; overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(245,239,228,0.9), rgba(211,221,210,0.8));
}
.sa-example-visual span {
  position: absolute; left: 20%; top: 26%; width: 58%; height: 42%;
  background: rgba(255,253,247,0.84); border: 1px solid rgba(28,33,29,0.10);
  box-shadow: 12px 14px 30px rgba(0,0,0,0.06); display: block;
}
.sa-example-visual i {
  position: absolute; left: 14%; top: 20%; width: 66%; height: 12%;
  display: block; font-style: normal; transform: skewX(-20deg);
}
.sa-ev1 i { background: #b8754b; } .sa-ev2 i { background: #6d7771; }
.sa-ev3 i { background: #a56743; } .sa-ev4 i { background: #8b9d7a; }
.sa-ev5 i { background: #9b8a6e; } .sa-ev6 i { background: #7a8895; }

/* ============================================================
   PRICING
   ============================================================ */
.sa-price-card {
  display: flex; flex-direction: column; min-height: 440px;
}
.sa-plan-audience { font-size: 12px; color: var(--accent); margin-bottom: 6px; font-weight: 600; }
.sa-price { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0; }
.sa-plan-note { color: var(--muted); font-size: 13px; min-height: 40px; }
.sa-price-card ul { list-style: none; padding: 0; margin: 14px 0 24px; display: grid; gap: 10px; }
.sa-price-card li { color: rgba(28,33,29,0.72); font-size: 13.5px; }
.sa-price-card li::before { content: "\\2713"; margin-right: 8px; color: var(--accent); font-weight: 700; }
.sa-price-card .sa-btn-primary { margin-top: auto; width: 100%; text-align: center; font-size: 13px; padding: 12px 18px; }

/* ============================================================
   STEPS (methode)
   ============================================================ */
.sa-steps { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .sa-steps { grid-template-columns: repeat(5, 1fr); } }
.sa-step-num { color: var(--accent); font-weight: 900; letter-spacing: 0.08em; font-size: 13px; margin-bottom: 14px; }

/* ============================================================
   SPLIT SECTION
   ============================================================ */
.sa-text-columns { display: grid; grid-template-columns: 1fr; gap: 24px; font-size: 16px; }
@media (min-width: 768px) { .sa-text-columns { grid-template-columns: 1fr 1fr; gap: 28px; } }
.sa-text-columns p { color: var(--muted); line-height: 1.75; }

.sa-points { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 16px; }
.sa-points li { color: rgba(28,33,29,0.72); font-size: 14.5px; line-height: 1.5; }
.sa-points li::before { content: "\\2713"; margin-right: 10px; color: var(--accent); font-weight: 700; }

/* ============================================================
   CTA BLOCK
   ============================================================ */
.sa-cta-block {
  border-radius: 36px; padding: 44px; background: var(--ink); color: var(--white);
  box-shadow: 0 20px 60px rgba(28,33,29,0.20); margin-bottom: 0;
}
.sa-cta-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: end; }
@media (min-width: 1024px) { .sa-cta-grid { grid-template-columns: 1.2fr 0.8fr; } }
.sa-cta-block .sa-h2 { color: var(--white); margin: 0; }
.sa-cta-block p { color: rgba(214,202,188,0.88); line-height: 1.8; margin: 0 0 18px; font-size: 15px; }
.sa-cta-block .sa-btn-primary { background: var(--white); color: var(--ink); box-shadow: none; }

/* ============================================================
   JADE FLOATING
   ============================================================ */
.sa-jade-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 320px;
}
.sa-jade-panel {
  background: rgba(255,253,247,0.94); backdrop-filter: blur(16px);
  border: 1px solid rgba(28,33,29,0.08); border-radius: 26px;
  padding: 20px; box-shadow: 0 16px 60px rgba(50,42,32,0.10);
}
.sa-jade-head { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.sa-jade-head strong { font-size: 14px; }
.sa-jade-head small { display: block; color: var(--muted); margin-top: 2px; font-size: 11px; }
.sa-jade-dot {
  width: 10px; height: 10px; background: #61b981; border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(97,185,129,0.12); flex-shrink: 0;
}
.sa-jade-score { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.sa-jade-score span { color: var(--muted); font-size: 12px; }
.sa-jade-score strong { font-size: 32px; font-weight: 800; }
.sa-score-bar { height: 6px; background: rgba(28,33,29,0.06); border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.sa-score-bar span { display: block; width: 82%; height: 100%; background: linear-gradient(90deg,#9dbb8c,#344636); border-radius: inherit; }
.sa-jade-panel p { font-size: 13px; margin-bottom: 14px; color: var(--muted); line-height: 1.6; }
.sa-jade-panel .sa-btn-primary { width: 100%; text-align: center; font-size: 12.5px; padding: 11px 16px; }

.sa-jade-trigger {
  position: fixed; right: 24px; bottom: 24px; z-index: 29;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(28,33,29,0.18); cursor: pointer; border: none;
  transition: transform 0.2s ease;
}
.sa-jade-trigger:hover { transform: scale(1.06); }
.sa-jade-badge {
  position: absolute; top: -2px; right: -2px;
  width: 12px; height: 12px; background: #61b981;
  border-radius: 50%; border: 2px solid var(--white);
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.sa-page-hero {
  padding: 160px 0 60px; position: relative;
}
.sa-page-hero .sa-h1 { font-size: clamp(36px, 5vw, 62px); }

/* ============================================================
   FOOTER — same codes as header
   ============================================================ */
.sa-footer {
  position: relative; z-index: 2;
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  padding: 28px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.sa-footer-brand {
  font-size: 14px; color: var(--muted);
}
.sa-footer-links {
  display: flex; gap: 18px; font-size: 14px; color: var(--muted); align-items: center;
}
.sa-footer-links a { transition: color 0.2s; text-decoration: none; color: inherit; }
.sa-footer-links a:hover { color: var(--ink); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.sa-form-group { margin-bottom: 18px; }
.sa-form-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.sa-form-input, .sa-form-select, .sa-form-textarea {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(28,33,29,0.12);
  border-radius: 14px; font-size: 14px; font-family: var(--font);
  background: rgba(255,255,255,0.7); transition: border-color 0.2s;
}
.sa-form-input:focus, .sa-form-select:focus, .sa-form-textarea:focus {
  outline: none; border-color: rgba(28,33,29,0.28);
}
.sa-form-textarea { min-height: 100px; resize: vertical; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  body.studio-home .header nav { display: none; }
  .sa-hero { grid-template-columns: 1fr; padding-top: 130px; min-height: auto; }
  .sa-grid-split { grid-template-columns: 1fr; }
  .sa-jade-float { display: none; }
}
@media (max-width: 620px) {
  body.studio-home .header { border-radius: 22px; top: 10px; transform: translateY(10px); }
  .sa-header-cta { display: none; }
  .sa-hero { padding-top: 100px; }
  .sa-section { padding: 64px 0; }
  .sa-h1 { font-size: 38px; }
  .sa-cta-block { padding: 26px; border-radius: 26px; }
  .sa-card { padding: 20px; border-radius: 20px; }
  .sa-page-hero { padding: 120px 0 40px; }
}

/* Legacy compat — BO pages */
.studio-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
