/* Layout: a dark granite hero with an inscription-scale headline whose last word cycles through the three trades,
   synced to a live phone mock-up; below, one interactive tool per trade, then pricing, process, FAQ, contact. */
:root {
  --bg: #f1f2ee;          /* light granite */
  --band: #e4e6e0;        /* stone band */
  --surface: #fbfbf8;
  --ink: #1b2220;
  --muted: #59625d;
  --line: #c9cdc4;
  --moss: #2d5a45;        /* castle moss */
  --moss-ink: #f4f7f2;
  --brass: #9a7631;       /* inscription brass */
  --focus: #2d5a45;
  /* hero is dark in both themes, by design */
  --hero: #16201c;
  --hero-2: #1f2c27;
  --hero-ink: #eef1ec;
  --hero-muted: #a7b3ac;
  --gold: #d9b56a;
  /* niche hues */
  --stay: #2d5a45; --food: #a4472f; --care: #5b4f8c;
  --f-display: "Bricolage Grotesque", "Hanken Grotesk", "Segoe UI", Arial, sans-serif;
  --f-mock: "Gloock", Georgia, "Times New Roman", serif; /* only inside the phone mock-ups (client sites) */
  --f-body: "Hanken Grotesk", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121715; --band: #181f1c; --surface: #1f2724; --ink: #e6e9e3; --muted: #a2aaa4;
    --line: #33403a; --moss: #7fb89b; --moss-ink: #0f1513; --brass: #d3ae66; --focus: #9fd0b6;
    --hero: #0c110f; --hero-2: #17201c;
    --stay: #7fb89b; --food: #e08a6d; --care: #a99be0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121715; --band: #181f1c; --surface: #1f2724; --ink: #e6e9e3; --muted: #a2aaa4;
  --line: #33403a; --moss: #7fb89b; --moss-ink: #0f1513; --brass: #d3ae66; --focus: #9fd0b6;
  --hero: #0c110f; --hero-2: #17201c;
  --stay: #7fb89b; --food: #e08a6d; --care: #a99be0;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--hero); }
html[data-lang="pt"] [lang="en"], html[data-lang="en"] [lang="pt"] { display: none !important; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
a { color: var(--moss); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -0.015em; }
h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
.eyebrow { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-bottom: 0.85rem; }

/* header (sits on the dark hero) */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--hero) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); color: var(--hero-ink); }
.top-in { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--hero-ink); font-weight: 700; font-size: 1.05rem; }
.logo em { font-style: normal; font-weight: 400; color: var(--hero-muted); }
.logo-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--hero); font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; line-height: 1; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--hero-ink); text-decoration: none; font-size: 0.95rem; opacity: .85; }
.nav a:hover { opacity: 1; color: var(--gold); }
.lang { display: flex; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 2px; }
.lang button { font: 600 0.75rem/1 var(--f-mono); letter-spacing: 0.06em; border: 0; background: transparent; color: var(--hero-muted); padding: 7px 10px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--hero-ink); color: var(--hero); }
@media (max-width: 760px) { .nav { display: none; } .lang { margin-left: auto; } }

/* HERO */
.hero {
  --accent: var(--gold);
  background:
    radial-gradient(1200px 500px at 85% 20%, rgba(217,181,106,.10), transparent 60%),
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.035) 0 1px, transparent 1.5px) 0 0 / 7px 7px,
    radial-gradient(circle at 70% 60%, rgba(0,0,0,.25) 0 1px, transparent 1.5px) 0 0 / 11px 11px,
    linear-gradient(160deg, var(--hero-2), var(--hero));
  color: var(--hero-ink);
  padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 112px);
  overflow: hidden;
}
.hero .eyebrow { color: var(--gold); }
.hero-in { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy { min-width: 0; }
h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.6rem, 6.2vw, 5.2rem); line-height: 1; letter-spacing: -0.02em; }
.word { display: grid; margin-top: 0.06em; }
.word .w { grid-area: 1 / 1; color: var(--gold); font-style: normal; opacity: 0; transform: translateY(0.35em); transition: opacity .45s ease, transform .45s ease; }
.hero[data-niche="stay"] .w[data-n="stay"], .hero[data-niche="food"] .w[data-n="food"], .hero[data-niche="care"] .w[data-n="care"] { opacity: 1; transform: none; }
.hero .lead { color: var(--hero-muted); font-size: 1.15rem; margin-top: 1.5rem; max-width: 33em; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.75rem; }
.tabs button {
  position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.18); background: transparent; color: var(--hero-ink);
  font: 600 0.9rem var(--f-body); padding: 9px 16px; border-radius: 999px; cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--hero-ink); color: var(--hero); border-color: var(--hero-ink); }
.tabs button i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold); }
.tabs button[aria-selected="true"] i { animation: fill var(--cycle, 5s) linear forwards; }
.hero.paused .tabs button i { animation: none; width: 0; }
@keyframes fill { to { width: 100%; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: var(--r); font-weight: 600; text-decoration: none; font-size: 1rem; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-main { background: var(--moss); color: var(--moss-ink); }
.hero .btn-main { background: var(--gold); color: var(--hero); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); }
.hero .btn-ghost { color: var(--hero-ink); border-color: rgba(255,255,255,.25); }
.btn.wide { width: 100%; }

/* phone */
.phone-stage { display: grid; justify-items: center; gap: 12px; min-width: 0; }
.phone {
  position: relative; width: min(300px, 100%); aspect-ratio: 9 / 18.5; max-width: 100%;
  border-radius: 40px; padding: 12px; background: #0a0d0c;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 80px -30px rgba(0,0,0,.8);
  transform: rotate(-3deg);
}
.notch { position: absolute; top: 18px; left: 50%; width: 80px; height: 20px; margin-left: -40px; border-radius: 12px; background: #0a0d0c; z-index: 3; }
.screen {
  position: absolute; inset: 12px; border-radius: 30px; overflow: hidden; background: #fbfaf7; color: #1d1f1e;
  display: grid; grid-template-rows: 42% 1fr; opacity: 0; transform: scale(.97) translateY(8px); transition: opacity .5s ease, transform .5s ease;
  font-family: var(--f-body);
}
.hero[data-niche="stay"] .screen[data-n="stay"], .hero[data-niche="food"] .screen[data-n="food"], .hero[data-niche="care"] .screen[data-n="care"] { opacity: 1; transform: none; }
.s-hero { position: relative; display: grid; place-items: end start; padding: 14px; overflow: hidden; }
.s-hero-stay { --sky: #cfdfe2; --roof: #b4593c; --wall: #ece6da; --wall2: #e3ddd0; --win: #3b5560; --rail: #2b2b2b; --door: #6b4630; padding: 0; }
.facade { position: absolute; inset: 0; width: 100%; height: 100%; }
.s-hero-food { background: radial-gradient(circle at 30% 30%, #c4583a, #7d2c1a); color: #fff3e8; }
.s-hero-care { background: linear-gradient(135deg, #e9e4f5, #c9bfe8); color: #2c2547; }
.s-script { font-family: var(--f-mock); font-size: 1.7rem; line-height: 1; position: relative; }
.s-sub { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.s-pills { position: absolute; top: 40px; right: 12px; display: flex; gap: 4px; }
.s-pills b { font: 600 .6rem var(--f-mono); background: rgba(255,255,255,.85); color: #1d1f1e; padding: 3px 5px; border-radius: 4px; }
.s-pills b:first-child { background: #1d1f1e; color: #fff; }
.s-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.s-kicker { font: 600 .62rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #6b726e; }
.s-title { font-family: var(--f-mock); font-size: 1.45rem; line-height: 1.05; }
.s-meta { font-size: .72rem; color: #6b726e; }
.s-book { display: grid; grid-template-columns: 1fr 1fr .6fr; border: 1px solid #ddd8cc; border-radius: 10px; margin-top: 6px; }
.s-book div { padding: 6px 8px; display: grid; }
.s-book div + div { border-left: 1px solid #ddd8cc; }
.s-book small { font-size: .58rem; color: #6b726e; text-transform: uppercase; letter-spacing: .06em; }
.s-book b { font-size: .8rem; }
.s-price { display: flex; align-items: baseline; gap: 5px; margin-top: 4px; }
.s-price b { font-family: var(--f-mock); font-size: 1.4rem; font-weight: 400; }
.s-price small { font-size: .68rem; color: #6b726e; }
.s-btn { margin-top: auto; text-align: center; font-weight: 700; font-size: .8rem; padding: 10px; border-radius: 10px; background: #2d5a45; color: #fff; }
.screen[data-n="food"] .s-btn { background: #a4472f; }
.screen[data-n="care"] .s-btn { background: #5b4f8c; }
.s-menu { list-style: none; padding: 0; margin: 2px 0 0; display: grid; gap: 7px; }
.s-menu li { display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; border-bottom: 1px dotted #cfc9bd; padding-bottom: 5px; }
.s-menu b { font-variant-numeric: tabular-nums; }
.s-allerg { font-size: .65rem; color: #6b726e; }
.s-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.s-slots b { font-size: .72rem; text-align: center; border: 1px solid #d6d0e6; border-radius: 8px; padding: 6px 0; font-weight: 600; }
.s-slots b.on { background: #5b4f8c; color: #fff; border-color: #5b4f8c; }
.phone-cap { font: 500 .7rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--hero-muted); }

/* sections */
section { padding-block: clamp(56px, 8vw, 104px); }
.band { background: var(--band); }
.sec-head { max-width: 42rem; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-sub { color: var(--muted); margin-top: 0.75rem; }

/* niches */
.niche-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.niche { --c: var(--stay); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 0 0 10px 10px; padding: 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.n-food { --c: var(--food); } .n-care { --c: var(--care); }
.n-tag { font: 600 .72rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c); margin-bottom: 6px; }
.niche h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; line-height: 1.12; letter-spacing: -0.02em; }
.tool { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 16px; min-height: 196px; }
.n-list { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 8px; }
.n-list li { padding-left: 18px; position: relative; font-size: .95rem; }
.n-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--c); }

/* calc */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.calc .full { grid-column: 1 / -1; }
.calc label { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; color: var(--muted); min-width: 0; }
.field { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.field i { font-style: normal; font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }
.field input[type="number"] { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 600 1.15rem/1.2 var(--f-body); font-variant-numeric: tabular-nums; padding: 2px 0; }
.field input[type="range"] { width: 100%; accent-color: var(--stay); }
.field output { font: 600 .95rem var(--f-body); font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; }
.tool-out { display: grid; border-top: 1px dashed var(--line); padding-top: 10px; }
.tool-out small { font-size: .78rem; color: var(--muted); }
.tool-out strong { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.02em; font-size: 2.2rem; line-height: 1.05; color: var(--stay); font-variant-numeric: tabular-nums; }

/* menu tool */
.menu-langs { display: flex; gap: 6px; }
.menu-langs button, .days button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 6px; font: 600 .78rem var(--f-mono); padding: 6px 10px; cursor: pointer; }
.menu-langs button[aria-pressed="true"] { background: var(--food); border-color: var(--food); color: var(--surface); }
.dish { margin-top: 14px; display: grid; gap: 6px; }
.dish-name { font-family: var(--f-mock); font-size: 1.35rem; line-height: 1.1; }
.dish-desc { font-size: .9rem; color: var(--muted); min-height: 2.9em; }
.dish-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 8px; }
.dish-foot b { font-variant-numeric: tabular-nums; }
.allergens { font-size: .75rem; color: var(--food); font-weight: 600; }

/* slot tool */
.days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.days button { display: grid; justify-items: center; gap: 0; padding: 6px 0; font-family: var(--f-body); }
.days button small { font-size: .75rem; color: var(--muted); font-weight: 600; }
.days button b { font-size: 1rem; }
.days button[aria-pressed="true"] { background: var(--care); border-color: var(--care); color: var(--surface); }
.days button[aria-pressed="true"] small { color: var(--surface); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.slots button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 6px; font: 600 .82rem var(--f-body); padding: 7px 0; cursor: pointer; font-variant-numeric: tabular-nums; }
.slots button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.slots button[aria-pressed="true"] { background: var(--care); border-color: var(--care); color: var(--surface); }
.slot-msg { font-size: .85rem; margin-top: 10px; color: var(--muted); }
.slot-msg.ok { color: var(--care); font-weight: 600; }

/* pricing */
.demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.demo { display: grid; gap: 6px; align-content: start; min-width: 0; color: inherit; text-decoration: none; }
.demo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 8px; transition: transform .25s ease; }
.demo b { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.demo-note { color: var(--muted); font-size: .95rem; }
.demo:hover img, .demo:focus-visible img { transform: translateY(-3px); }
.demo:hover b, .demo:focus-visible b { text-decoration: underline; text-underline-offset: 4px; }
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.price p:last-child { color: var(--muted); font-size: .95rem; }
.for { font: 600 .7rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brass); }
.amount { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.02em; font-size: 2.3rem; line-height: 1; font-variant-numeric: tabular-nums; }
.amount small { font-family: var(--f-body); font-size: .8rem; color: var(--muted); margin-right: 4px; vertical-align: .5em; }
.amount.sm { font-size: 1.9rem; }
.cur { margin-right: 1px; }
.amount.sm small:last-child { vertical-align: 0; margin-left: 2px; }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.extra { border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.extra p:last-child { color: var(--muted); font-size: .95rem; max-width: 34em; }

/* process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; min-width: 0; }
.steps li::before { content: counter(step); font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--brass); }
.steps p { color: var(--muted); font-size: .95rem; }
.included { margin-top: clamp(40px, 6vw, 64px); background: var(--surface); border-radius: var(--r); padding: 24px 26px; border: 1px solid var(--line); }
.included ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; }
.included li { font-size: .95rem; padding-left: 22px; position: relative; }
.included li::before { content: "✓"; position: absolute; left: 0; color: var(--moss); font-weight: 700; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq { border-top: 1px solid var(--line); min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.4rem; color: var(--moss); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 40em; }

/* contact */
.contact { background: var(--hero); color: var(--hero-ink); }
.contact .eyebrow { color: var(--gold); }
.contact .lead { color: var(--hero-muted); margin-top: 1rem; }
.contact-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.contact-card { background: var(--surface); color: var(--ink); border-radius: 10px; padding: 24px; display: grid; gap: 14px; min-width: 0; }
.c-line { display: grid; grid-template-columns: 5.5rem 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.c-label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.c-value { font-weight: 600; user-select: all; min-width: 0; overflow-wrap: anywhere; }
.copy { border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 999px; padding: 5px 12px; font: 600 .75rem var(--f-body); cursor: pointer; }
.foot { padding-block: 28px; background: var(--hero); color: var(--hero-muted); border-top: 1px solid rgba(255,255,255,.08); }
.foot a { color: var(--hero-ink); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; } .btn:hover { transform: none; }
  .demo img { transition: none; } .demo:hover img, .demo:focus-visible img { transform: none; }
  .word .w, .screen { transition: none; }
  .tabs button i { display: none; }
}
@media (max-width: 1000px) {
  .niche-grid { grid-template-columns: 1fr; max-width: 640px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .included ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .demos { grid-template-columns: 1fr; max-width: 520px; }
  .prices { grid-template-columns: 1fr; max-width: 520px; }
  .hero-in, .contact-in, .faq-wrap { grid-template-columns: 1fr; }
  .phone { width: min(260px, 100%); transform: none; }
  .extras { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .prices, .steps, .included ul { grid-template-columns: 1fr; }
  .c-line { grid-template-columns: 1fr auto; }
  .c-line .c-label { grid-column: 1 / -1; }
}
