
:root {
  --bg: #0b0c0e;
  --bg-2: #121418;
  --fg: #eeece7;
  --muted: #8c919b;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --accent: #c8f25a;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1200px;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #0b0c0e; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.serif { font-family: var(--serif); font-weight: 400; }
em, .serif em { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ---------- header ---------- */
header.site {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
header.site.scrolled, header.site.solid {
  background: rgba(11, 12, 14, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { font-family: var(--serif); font-size: 28px; letter-spacing: -0.01em; line-height: 1; }
.logo span { font-style: italic; color: var(--accent); }

nav { display: flex; align-items: center; gap: 32px; }
nav a { font-size: 14px; color: var(--muted); transition: color .2s; }
nav a:hover { color: var(--fg); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; line-height: 1;
  background: var(--accent); color: #0b0c0e;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(200, 242, 90, .55); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line-2); }
.btn.ghost:hover { background: rgba(255,255,255,.05); box-shadow: none; }
.btn.sm { padding: 10px 16px; font-size: 14px; }
nav .btn { color: #0b0c0e; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 200px 0 120px;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 600px; left: 50%; top: -260px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(200, 242, 90, .18), transparent);
  filter: blur(20px);
}

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  font-size: 13px; color: var(--muted); margin-bottom: 32px;
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200,242,90,.15); margin-left: 6px;
}

.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(52px, 9vw, 128px);
  line-height: .95; letter-spacing: -0.035em;
  margin: 0 0 32px; max-width: 12ch;
}
.hero h1 em { color: var(--accent); }
.hero .sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 52ch; margin: 0 0 44px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

.built {
  margin-top: 96px; padding-top: 32px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px;
}
.built > span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.built a { display: flex; align-items: center; gap: 10px; opacity: .7; transition: opacity .2s; }
.built a:hover { opacity: 1; }
.built .ledda-mark { width: 30px; height: 30px; }
.built .ledda-word { font-family: var(--serif); font-size: 28px; line-height: 1; }
.built .ciclo-mark { height: 30px; width: auto; }

/* ---------- sections ---------- */
section { padding: 140px 0; }
.kicker {
  display: inline-block; font-size: 13px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent); margin-bottom: 20px;
}
.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.5vw, 76px); line-height: 1; letter-spacing: -0.03em;
  margin: 0 0 24px; max-width: 16ch;
}
.section-title em { color: var(--muted); }
.lead { color: var(--muted); font-size: 18px; max-width: 54ch; margin: 0; }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 72px; }

/* services */
.services { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 80px 1fr 1.2fr; gap: 32px; align-items: baseline;
  padding: 36px 0; border-bottom: 1px solid var(--line);
  transition: padding .3s ease, background .3s ease;
}
.service:hover { padding-left: 16px; }
.service .n { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.service h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
.service p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- portfolio ---------- */
.cases { display: grid; gap: 28px; }
.case {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr 1fr; min-height: 560px;
  border-radius: var(--radius);
}
.case .info { padding: 56px; display: flex; flex-direction: column; position: relative; z-index: 1; }
.case .brand { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; }
.case h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -0.025em;
  margin: 0 0 20px; max-width: 14ch;
}
.case p { margin: 0 0 28px; font-size: 16px; max-width: 46ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tags span { font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.case .visit { margin-top: auto; align-self: flex-start; }
.case .visual { position: relative; display: flex; align-items: center; justify-content: center; padding: 40px; }

/* Ledda */
.case.ledda { background: #f7f3ec; color: #1e4d4a; }
.case.ledda p { color: #4f6f6c; }
.case.ledda .tags span { background: #e6ede4; color: #1e4d4a; }
.case.ledda .brand img { width: 44px; height: 44px; }
.case.ledda .brand b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; }
.case.ledda .btn { background: #1e4d4a; color: #f7f3ec; }
.case.ledda .btn:hover { box-shadow: 0 10px 30px -10px rgba(30,77,74,.5); }
.case.ledda .visual { background: radial-gradient(circle at 70% 30%, #c2d9c3 0, transparent 60%); }

.mock {
  width: 100%; max-width: 440px; background: #fff; border-radius: 20px;
  box-shadow: 0 40px 80px -30px rgba(30,77,74,.35), 0 0 0 1px rgba(30,77,74,.08);
  padding: 22px; font-size: 13px; color: #1e4d4a;
  transform: rotate(-2deg);
}
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mock-head b { font-size: 14px; }
.mock-head small { color: #7a918f; }
.chans { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.chans span { padding: 4px 10px; border-radius: 999px; background: #f2efe8; font-size: 12px; font-weight: 500; }
.chans span.on { background: #1e4d4a; color: #f7f3ec; }
.msg { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.msg .av { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #c2d9c3; display: grid; place-items: center; font-weight: 700; font-size: 11px; }
.msg .av.ai { background: #1e4d4a; color: #c2d9c3; }
.msg .bubble { background: #f7f3ec; border-radius: 4px 14px 14px 14px; padding: 9px 12px; line-height: 1.45; }
.msg.me .bubble { background: #e6ede4; }
.mock-foot { display: flex; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #eee9df; }
.stat { flex: 1; background: #f7f3ec; border-radius: 12px; padding: 10px 12px; }
.stat small { display: block; color: #7a918f; font-size: 11px; }
.stat b { font-size: 18px; }
.stat b.up { color: #a65e42; }

/* CICLO */
.case.ciclo { background: linear-gradient(140deg, #0c2417 0%, #0f3a22 55%, #155c34 100%); color: #f1f7ee; }
.case.ciclo::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -120px; bottom: -220px;
  border-radius: 50%; border: 56px solid rgba(106, 190, 82, .14);
}
.case.ciclo p { color: #b8d1bf; }
.case.ciclo .tags span { background: rgba(106,190,82,.16); color: #cfeac4; }
.case.ciclo .brand img { height: 52px; width: auto; }
.case.ciclo .btn { background: #6abe52; color: #0c2417; }
.case.ciclo .btn:hover { box-shadow: 0 10px 30px -10px rgba(106,190,82,.6); }
.case.ciclo .visual { padding: 0 40px; align-items: flex-end; }
.case.ciclo .visual img { width: min(400px, 100%); height: auto; margin-bottom: -60px; filter: drop-shadow(0 40px 60px rgba(0,0,0,.45)); }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 36px 28px 0 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .n { font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--accent); line-height: 1; }
.step h3 { font-size: 18px; margin: 20px 0 10px; font-weight: 600; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 120px 32px;
  background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(200,242,90,.16), transparent 70%), var(--bg-2);
}
.cta h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 7vw, 104px); line-height: .98; letter-spacing: -0.035em;
  margin: 0 auto 24px; max-width: 14ch;
}
.cta h2 em { color: var(--accent); }
.cta p { color: var(--muted); font-size: 18px; margin: 0 auto 40px; max-width: 46ch; }
.cta .actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */
footer.site { padding: 72px 0 40px; font-size: 14px; color: var(--muted); }
footer.site .cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
footer.site .logo { color: var(--fg); display: inline-block; margin-bottom: 16px; }
footer.site .fh { color: var(--fg); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 16px; font-weight: 600; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 10px; }
footer.site a:hover { color: var(--fg); }
footer.site .legalinfo { line-height: 1.8; }
.copy { margin-top: 32px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- legal pages ---------- */
.legal { padding: 170px 0 120px; max-width: 760px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 72px); letter-spacing: -0.03em; line-height: 1; margin: 0 0 16px; }
.legal .updated { color: var(--muted); margin-bottom: 56px; }
.legal h2 { font-size: 20px; margin: 48px 0 12px; font-weight: 600; }
.legal p, .legal li { color: #c3c6cc; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--fg); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .case { grid-template-columns: 1fr; min-height: 0; }
  .case .info { padding: 40px 32px; }
  .case.ledda .visual { padding: 0 32px 48px; }
  .case.ciclo .visual img { width: 300px; margin-bottom: -40px; }
  .service { grid-template-columns: 48px 1fr; }
  .service p { grid-column: 2; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  nav a:not(.btn) { display: none; }
  .hero { padding: 150px 0 80px; }
  section { padding: 96px 0; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 0; border-left: 0; }
  .cta { padding: 80px 24px; }
  .mock { transform: none; }
}

/* language switch */
nav a.lang {
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted);
}
nav a.lang:hover { color: var(--fg); border-color: var(--fg); }
@media (max-width: 640px) { nav a.lang { display: inline-block; } }

/* whatsapp */
.btn.wa-btn { background: #25d366; color: #06280f; }
.btn.wa-btn:hover { box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .6); }
.btn.wa-btn svg { flex: none; }
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-radius: 999px;
  background: #25d366; color: #06280f; font-weight: 600; font-size: 15px;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(37,211,102,.55); }
.wa-fab svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .wa-fab { padding: 14px; right: 16px; bottom: 16px; }
  .wa-fab span { display: none; }
}

/* faq */
.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px;
  font-size: clamp(18px, 2vw, 22px); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 26px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 14px 0 0; max-width: 70ch; }
.step .n:not(:empty) { font-variant-numeric: tabular-nums; }
.hero h1.long { max-width: 17ch; font-size: clamp(44px, 7vw, 100px); }
