/* ViverCá — redesenho profissional e futurista */

/* ViverCá — paleta pedra, cortiça, calcário, terracota e azulejo (sem verde) */

:root {
  --granito-escuro: #1F1D1A;
  --granito: #2C2A27;
  --granito-médio: #5C5954;
  --pedra: #7A766E;
  --cortiça: #8D5B36;
  --cortiça-clara: #C4A574;
  --calcário: #F3EDE3;
  --calcário-claro: #FAF7F2;
  --calcário-profundo: #E8DFD0;
  --terracota: #B85C3B;
  --terracota-hover: #9E4A30;
  --azulejo: #3E5F7A;
  --azulejo-deep: #2F4E66;

  --bg: #F3EDE3;
  --bg-soft: #E8DFD0;
  --bg-dark: #1F1D1A;
  --bg-dark-soft: #2C2A27;
  --bg-panel: rgba(250, 247, 242, 0.82);
  --bg-panel-strong: rgba(250, 247, 242, 0.94);
  --bg-panel-dark: rgba(44, 42, 39, 0.72);
  --ink: #2C2A27;
  --ink-soft: #5C5954;
  --ink-mute: #7A766E;
  --ink-on-dark: #F3EDE3;
  --ink-soft-on-dark: #C9C2B4;
  --gold: #C4A574;
  --gold-soft: #E2C9A0;
  --red: #B85C3B;
  --red-soft: #C47A62;
  --line: rgba(44, 42, 39, 0.12);
  --line-strong: rgba(44, 42, 39, 0.2);
  --line-on-dark: rgba(243, 237, 227, 0.14);
  --shadow: 0 22px 48px rgba(31, 29, 26, 0.12);
  --shadow-soft: 0 10px 28px rgba(31, 29, 26, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 28px;
  --max: 1200px;
  --header-h: 80px;
  --header-h-compact: 60px;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --display: "Syne", "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

html, body { margin: 0; padding: 0; }

body {
  position: relative;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  letter-spacing: 0.005em;
}

body.nav-open { overflow: hidden; }

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

button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 120;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracota);
  margin: 0 0 14px;
}

h1, h2, h3, .logo-word {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0;
}

h1 { font-size: clamp(2.35rem, 5.4vw, 4.05rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.03em; }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 40rem;
  margin: 1.15rem 0 0;
}

.section { padding: 108px 0; position: relative; }

.section-head {
  position: relative;
  max-width: 42rem;
  margin-bottom: 56px;
}

.section-head p {
  color: var(--ink-soft);
  margin: 14px 0 0;
  font-size: 1.12rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 13px 22px;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--cortiça-clara);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--terracota);
  color: #FAF7F2;
  box-shadow: 0 8px 18px rgba(31, 29, 26, 0.16);
}
.btn-primary:hover { background: var(--terracota-hover); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(31, 29, 26, 0.18); }

.btn-ghost {
  background: transparent;
  color: var(--ink-on-dark);
  border: 1px solid var(--line-on-dark);
}
.btn-ghost:hover { background: rgba(243, 237, 227, 0.08); }

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost-dark:hover { background: rgba(44, 42, 39, 0.05); }

.btn-block { width: 100%; }

.btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(31, 29, 26, 0.78);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  background: rgba(31, 29, 26, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(0,0,0,.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink-on-dark);
  flex-shrink: 0;
  position: relative;
  z-index: 90;
}

.logo-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  filter: none;
}

.logo-word {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.logo-word i {
  font-style: normal;
  color: var(--cortiça-clara);
}

.nav { margin-left: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft-on-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
  position: relative;
}

.nav-links a:hover { color: var(--ink-on-dark); background: rgba(243, 237, 227, 0.06); }

.nav-links a.is-active:not(.btn) {
  color: var(--ink-on-dark);
  background: rgba(196, 165, 116, 0.14);
}
.nav-links a.is-active:not(.btn)::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cortiça-clara), var(--terracota));
}

.nav-cta { margin-left: 10px; padding: 10px 18px; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 90;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink-on-dark);
  border-radius: 2px;
  position: absolute;
  left: 50%;
  top: 50%;
  transition: transform .28s ease, opacity .2s ease, background .2s ease;
}
.nav-toggle-bars { transform: translate(-50%, -50%); }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; left: 0; }
.nav-toggle-bars::before { transform: translateY(-6px); }
.nav-toggle-bars::after { transform: translateY(6px); }

body.nav-open .nav-toggle-bars { background: transparent; }
body.nav-open .nav-toggle-bars::before { transform: rotate(45deg); }
body.nav-open .nav-toggle-bars::after { transform: rotate(-45deg); }

.nav-backdrop {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 0;
  color: var(--ink-on-dark);
  background:
    radial-gradient(ellipse at 88% 12%, rgba(62, 95, 122, 0.22), transparent 48%),
    radial-gradient(ellipse at 8% 80%, rgba(184, 92, 59, 0.08), transparent 42%),
    linear-gradient(165deg, #1F1D1A 0%, #2C2A27 100%);
}

.azulejo-bg,
.hero-orb,
.calcada {
  pointer-events: none;
}

.azulejo-bg {
  position: absolute;
  inset: -8% -4%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='144' height='144' stroke='%233E5F7A' stroke-width='1.15'/%3E%3Cpath d='M80 8v144M8 80h144' stroke='%233E5F7A' stroke-width='.7'/%3E%3Cpath d='M80 28l36 52-36 52-36-52z' stroke='%23C4A574' stroke-width='1'/%3E%3Ccircle cx='80' cy='80' r='11' stroke='%233E5F7A' stroke-width='.9'/%3E%3Cpath d='M80 52v56M52 80h56' stroke='%23C4A574' stroke-width='.7'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 168px 168px;
  opacity: 0.2;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.hero-orb { display: none; }

@keyframes pulse-orb {
  0%, 100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: center;
  padding-bottom: 72px;
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.hero-kicker .eyebrow { margin: 0; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 11px;
  background: rgba(184, 92, 59, 0.16);
  color: #E8C4B6;
  border: 1px solid rgba(184, 92, 59, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.hero-channels li {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.night-scene {
  position: absolute;
  inset: 0 0 40px;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.95;
}

.phone {
  position: relative;
  z-index: 2;
  width: 300px;
  background: #0c0e12;
  border-radius: 36px;
  padding: 12px 10px 14px;
  box-shadow:
    0 0 0 1px rgba(243, 237, 227, 0.1),
    0 0 0 8px rgba(31, 29, 26, 0.55),
    0 30px 60px rgba(20, 16, 12, 0.4);
}

.phone-bar {
  height: 18px;
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.phone-bar i {
  width: 90px;
  height: 18px;
  background: #000;
  border-radius: 12px;
  display: block;
}

.wa {
  background: var(--calcário-profundo);
  border-radius: 26px;
  overflow: hidden;
  color: #111;
  font-size: 0.84rem;
  line-height: 1.4;
}

.wa-head {
  background: var(--azulejo);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
}

.wa-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(160deg, #3E5F7A, #2C2A27);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.wa-avatar svg { width: 18px; height: 18px; }

.wa-head strong { display: block; font-size: 0.92rem; font-weight: 700; }
.wa-head span { display: block; font-size: 0.7rem; opacity: .85; }

.wa-thread {
  background:
    radial-gradient(circle at 0 0, rgba(44,42,39,.04), transparent 40%),
    repeating-linear-gradient(135deg, rgba(62,95,122,.04) 0 8px, transparent 8px 16px),
    #E8DFD0;
  padding: 14px 10px 16px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bubble {
  max-width: 86%;
  padding: 8px 10px 6px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 1px 0.5px rgba(0,0,0,.08);
}
.bubble p { margin: 0; }
.bubble time {
  display: block;
  text-align: right;
  font-size: 0.64rem;
  color: #667781;
  margin-top: 4px;
}
.bubble.in {
  background: #FAF7F2;
  align-self: flex-start;
  border-top-left-radius: 2px;
}
.bubble.out {
  background: #F3E6D8;
  align-self: flex-end;
  border-top-right-radius: 2px;
}
.bubble .who {
  font-size: 0.68rem;
  font-weight: 700;
  color: #B85C3B;
  margin-bottom: 2px;
}

.hero-note {
  position: absolute;
  right: -8px;
  bottom: 58px;
  z-index: 3;
  background: var(--calcário-claro);
  color: var(--granito);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 700;
  max-width: 190px;
  backdrop-filter: blur(16px);
}
.hero-note span {
  display: block;
  font-weight: 500;
  color: var(--granito-médio);
  font-size: 0.75rem;
  margin-top: 2px;
}

.calcada {
  position: relative;
  height: 72px;
  overflow: hidden;
  background: transparent;
}
.calcada-shift {
  animation: calcada-drift 48s linear infinite;
  will-change: transform;
}
.calcada svg {
  width: 100%;
  height: 100%;
  display: block;
}

.city-band {
  background: var(--calcário-profundo);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  overflow: hidden;
}

.city-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: city-marquee 36s linear infinite;
}
.city-track span,
.city-track {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.city-track span { padding: 0 22px; white-space: nowrap; }
.city-band:hover .city-track { animation-play-state: paused; }

@keyframes city-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Cards / glass */

.glass {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.como .glass {
  background: var(--bg-panel-dark);
  border-color: var(--line-on-dark);
}
.lista .form-card.glass {
  background: var(--calcário-claro);
  color: var(--granito);
  border: 1px solid var(--line);
}
.lista .form-card h3,
.lista .form-card label {
  color: var(--granito);
}
.lista .form-card .form-intro,
.lista .form-card .form-legal,
.lista .form-card .form-success p {
  color: var(--granito-médio);
}

/* Problem */

.problema {
  background: var(--bg-soft);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.problem-card {
  padding: 24px 24px 22px;
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--azulejo), var(--terracota));
  opacity: 0.85;
}

.problem-card .time {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--cortiça);
  margin-bottom: 10px;
}
.problem-card p { margin: 0; color: var(--ink-soft); }
.problem-card strong { color: var(--ink); font-weight: 700; }

/* How it works */

.como {
  color: var(--ink-on-dark);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(62, 95, 122, 0.22), transparent 50%),
    var(--bg-dark);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step {
  padding: 28px 24px 26px;
  position: relative;
}

.step-num {
  font-family: var(--display);
  font-size: 2.2rem;
  color: var(--cortiça-clara);
  display: block;
  margin-bottom: 12px;
  line-height: 1;
  text-shadow: none;
}

.step h3 { margin-bottom: 10px; }
.step p { margin: 0; color: var(--ink-soft); }

/* Demo */

.demo {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(62, 95, 122, 0.08), transparent 46%),
    var(--calcário-profundo);
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.lang-tabs {
  display: inline-flex;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 999px;
  margin: 22px 0 0;
}

.lang-tab {
  border: 0;
  background: transparent;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink-soft);
}

.lang-tab[aria-selected="true"] {
  background: var(--calcário-claro);
  color: var(--granito);
  box-shadow: inset 0 0 0 1px rgba(44, 42, 39, 0.1);
}

.demo-copy .lead { margin-top: 1rem; }

.demo-phone-wrap { display: flex; justify-content: center; }

.demo .phone {
  box-shadow:
    0 0 0 1px rgba(44, 42, 39, 0.12),
    0 24px 50px rgba(20, 16, 12, 0.18);
}

.thread { display: none; }
.thread.is-active { display: flex; }

/* Features */

.funcionalidades { background: var(--bg); }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature { padding: 22px 20px 20px; }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(62, 95, 122, 0.1);
  color: var(--azulejo);
  border: 1px solid rgba(62, 95, 122, 0.2);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.feature-icon svg { width: 22px; height: 22px; }

.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* Pricing */

.precos {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(196, 165, 116, 0.16), transparent 50%),
    var(--calcário-profundo);
}

.price-note {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
}

.plan.is-featured {
  background: var(--azulejo);
  color: var(--ink-on-dark);
  border-color: rgba(196, 165, 116, 0.4);
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.plan-badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--cortiça-clara);
  color: #1A1612;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.plan h3 { font-size: 1.55rem; margin-bottom: 6px; }

.plan .tagline {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.price b {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price span { color: var(--ink-soft); font-weight: 600; }

.iva {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold);
  vertical-align: super;
}

.price-period {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0 0 22px;
}

.plan ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}

.plan li {
  padding-left: 26px;
  position: relative;
  font-size: 0.98rem;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.2 6.2 11.5 13 4.5' stroke='%232C5344' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* FAQ */

.faq { background: var(--bg); }

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.faq-item { overflow: hidden; border-radius: 16px; }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--azulejo);
  border-bottom: 2px solid var(--azulejo);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq-item .faq-body {
  padding: 0 20px 20px;
  color: var(--ink-soft);
  max-width: 62ch;
}
.faq-item .faq-body p { margin: 0; }

/* Waitlist */

.lista {
  color: var(--ink-on-dark);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(62, 95, 122, 0.28), transparent 50%),
    radial-gradient(ellipse at 10% 100%, rgba(184, 92, 59, 0.10), transparent 42%),
    var(--bg-dark);
}

.waitlist-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.form-card {
  padding: 28px;
  box-shadow: var(--shadow);
  background: var(--calcário-claro);
  color: var(--granito);
  border: 1px solid var(--line);
}

.form-card h3 { margin-bottom: 6px; font-size: 1.45rem; }
.form-card .form-intro { color: var(--ink-soft); margin: 0 0 22px; }

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.field > input,
.field > select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--granito);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b7c0d4' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.field input::placeholder { color: #8A857C; }

.field input:focus,
.field select:focus {
  border-color: var(--terracota);
  box-shadow: 0 0 0 3px rgba(62, 95, 122, 0.16);
}

.field option { color: #111; background: #fff; }

.field .error {
  display: none;
  color: #9A4630;
  font-size: 0.85rem;
  margin-top: 6px;
}

.field.is-invalid input,
.field.is-invalid select { border-color: var(--red-soft); }
.field.is-invalid .error { display: block; }

.form-legal {
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin: 14px 0 0;
}

.form-success {
  display: none;
  text-align: center;
  padding: 28px 8px 12px;
}
.form-success.is-visible { display: block; }
.form-card.is-done form { display: none; }

.success-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(62, 95, 122, 0.12);
  color: var(--azulejo);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(62, 95, 122, 0.25);
}

.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); margin: 0; }

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  color: #9A4630;
  font-size: 0.9rem;
  margin: 0 0 12px;
}

/* Footer */

.site-footer {
  background: #191715;
  color: var(--ink-soft-on-dark);
  padding: 0 0 28px;
  font-size: 0.95rem;
  position: relative;
}

.footer-calcada {
  height: 42px;
  overflow: hidden;
  margin-bottom: 36px;
  opacity: 0.85;
}
.footer-calcada svg { width: 100%; height: 100%; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.site-footer .logo { color: var(--ink-on-dark); margin-bottom: 12px; }
.site-footer p { margin: 0; max-width: 36ch; color: var(--ink-soft-on-dark); }

.footer-col h3 {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 12px;
  font-weight: 800;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { text-decoration: none; color: var(--ink-soft-on-dark); }
.footer-col a:hover { color: var(--ink-on-dark); }

.footer-cities {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  font-size: 0.88rem;
}

.privacy {
  display: none;
  padding: 20px 0 0;
  color: var(--ink-soft-on-dark);
  max-width: 62ch;
}
.privacy.is-open { display: block; }
.privacy h3 { color: var(--ink-on-dark); font-size: 1.1rem; margin-bottom: 8px; }

/* Em breve */

.embreve {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(62, 95, 122, 0.08), transparent 46%),
    var(--bg);
}

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.module {
  padding: 22px 20px 20px;
  position: relative;
  min-height: 100%;
}

.module-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.module .feature-icon { margin-bottom: 0; }

.pill {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracota);
  background: rgba(184, 92, 59, 0.12);
  border: 1px solid rgba(184, 92, 59, 0.28);
  border-radius: 999px;
  padding: 4px 9px;
}

.module h3 { font-size: 1.12rem; margin-bottom: 8px; }
.module p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* Reveal animation */

.reveal {
  animation: fade-up .7s ease both;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Responsive */

@media (max-width: 1080px) {
  .nav-toggle { display: block; }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(31, 29, 26, 0.62);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 70;
  }
  body.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(22rem, 86vw);
    margin: 0;
    background: #2C2A27;
    backdrop-filter: blur(28px) saturate(1.2);
    -webkit-backdrop-filter: blur(28px) saturate(1.2);
    border-left: 1px solid var(--line);
    padding: calc(var(--header-h) + 16px) 22px 28px;
    transform: translateX(110%);
    transition: transform .35s cubic-bezier(.22,.8,.36,1);
    z-index: 85;
    overflow: auto;
  }

  body.nav-open .nav { transform: translateX(0); }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav-links a:not(.btn) {
    width: 100%;
    padding: 14px 12px;
    font-size: 1.15rem;
    border-radius: 14px;
  }

  .nav-links a.is-active:not(.btn)::after { display: none; }

  .nav-cta-item { margin-top: 12px; }
  .nav-cta {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .demo-layout,
  .waitlist-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .night-scene { display: none; }

  .hero-note {
    position: static;
    margin: 18px auto 0;
    max-width: 260px;
  }

  .plans,
  .features,
  .steps { grid-template-columns: 1fr; }

  .plan.is-featured { transform: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .modules { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .problem-grid,
  .modules { grid-template-columns: 1fr; }

  .wrap,
  .header-inner { width: min(var(--max), calc(100% - 28px)); }

  .section { padding: 68px 0; }

  .hero { padding: 44px 0 0; }
  .hero-grid { padding-bottom: 48px; }

  .phone { width: 280px; }

  h1 { font-size: 2.1rem; }

  .logo-word { font-size: 1.28rem; }

  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }

  .wa-thread { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .city-track { transform: none; }
}


.plan-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.plan-waitlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 4px 8px;
}
.plan-waitlist:hover { color: var(--ink); }
.plan.is-featured .plan-waitlist { color: var(--gold-soft); }
.plan.is-featured .plan-waitlist:hover { color: var(--ink-on-dark); }

.nav-links a:focus { outline: none; }
.nav-links a:focus-visible {
  outline: 2px solid var(--cortiça-clara);
  outline-offset: 2px;
}

@media (min-width: 1100px) {
  .hero-channels { flex-wrap: nowrap; }
  .hero-channels li { padding: 6px 11px; font-size: 0.8rem; }
}


/* Contextos escuros: texto em calcário */
.hero .lead,
.hero .hero-channels li,
.como .section-head p,
.como .step p,
.lista .section-head p,
.site-footer .footer-cities,
.site-footer .footer-bottom {
  color: var(--ink-soft-on-dark);
}
.hero .hero-channels li {
  border-color: var(--line-on-dark);
  background: rgba(243, 237, 227, 0.05);
}
.hero .eyebrow,
.como .eyebrow,
.lista .eyebrow {
  color: var(--cortiça-clara);
}
.como h2,
.lista h2,
.hero h1 {
  color: var(--ink-on-dark);
}
.plan.is-featured .tagline,
.plan.is-featured .price span,
.plan.is-featured .price-period {
  color: var(--ink-soft-on-dark);
}
.plan.is-featured .iva { color: var(--cortiça-clara); }
.como .feature-icon,
.lista .feature-icon {
  background: rgba(196, 165, 116, 0.12);
  color: var(--cortiça-clara);
  border-color: rgba(196, 165, 116, 0.25);
}

.lang-tabs {
  background: rgba(44, 42, 39, 0.05);
  border-color: var(--line);
}
.site-header .nav-toggle {
  border-color: var(--line-on-dark);
  background: rgba(243, 237, 227, 0.06);
}
.faq-item summary::after {
  border-color: var(--terracota);
}

.plan.is-featured li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.2 6.2 11.5 13 4.5' stroke='%23C4A574' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.plan.is-featured .btn-primary {
  background: var(--calcário);
  color: var(--azulejo-deep);
  box-shadow: none;
}
.plan.is-featured .btn-primary:hover {
  background: #fff;
  color: var(--azulejo);
}


.hero-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.hero-cities li {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cortiça-clara);
  border: 1px solid rgba(196, 165, 116, 0.35);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(243, 237, 227, 0.04);
}

/* Atmosphere — living but quiet background */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
main, .site-footer, .city-band { position: relative; z-index: 1; }
.site-header { z-index: 80; }

.atmosphere-grain {
  position: absolute;
  inset: -5%;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.40  0 0 0 0 0.34  0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  mix-blend-mode: multiply;
}

.atmosphere-blobs { position: absolute; inset: -20%; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  will-change: transform;
  transform: translate3d(0,0,0);
}
.blob-a {
  width: 52vw; height: 52vw; max-width: 720px; max-height: 720px;
  left: -12%; top: -8%;
  background: #3E5F7A;
  animation: drift-a 56s ease-in-out infinite;
}
.blob-b {
  width: 44vw; height: 44vw; max-width: 620px; max-height: 620px;
  right: -10%; top: 12%;
  background: #8D5B36;
  animation: drift-b 64s ease-in-out infinite;
}
.blob-c {
  width: 38vw; height: 38vw; max-width: 540px; max-height: 540px;
  left: 30%; bottom: -12%;
  background: #B85C3B;
  opacity: 0.16;
  animation: drift-c 48s ease-in-out infinite;
}

@keyframes drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(7%, 5%, 0) scale(1.06); }
  66% { transform: translate3d(-5%, 9%, 0) scale(0.96); }
}
@keyframes drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  40% { transform: translate3d(-8%, 6%, 0) scale(1.05); }
  70% { transform: translate3d(4%, -5%, 0) scale(0.97); }
}
@keyframes drift-c {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-6%, -7%, 0) scale(1.08); }
}

.atmosphere-azulejo {
  position: absolute;
  inset: -15%;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='144' height='144' stroke='%233E5F7A' stroke-width='1.1'/%3E%3Cpath d='M80 28l36 52-36 52-36-52z' stroke='%23C4A574' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 180px 180px;
  will-change: transform;
  transform: translate3d(0,0,0);
}

.atmosphere-calcada {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 18%;
  height: 180px;
  opacity: 0.11;
  color: #2C2A27;
}
.atmosphere-calcada svg {
  width: 120%;
  height: 100%;
  animation: calcada-drift 52s linear infinite;
  will-change: transform;
}
@keyframes calcada-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-8%, 0, 0); }
}

html.atm-paused .blob,
html.atm-paused .atmosphere-calcada svg,
html.atm-paused .calcada-shift {
  animation-play-state: paused !important;
}

@media (max-width: 760px) {
  .blob { filter: blur(64px); opacity: 0.14; }
  .blob-c { display: none; }
  .atmosphere-grain { opacity: 0.05; }
  .atmosphere-azulejo { opacity: 0.05; }
  .atmosphere-calcada { opacity: 0.08; height: 120px; }
  .hero-cities li { letter-spacing: 0.1em; }
}

@media (prefers-reduced-motion: reduce) {
  .blob,
  .atmosphere-calcada svg,
  .calcada-shift,
  .hero-orb {
    animation: none !important;
  }
  .atmosphere-azulejo,
  .azulejo-bg {
    will-change: auto;
    transform: none !important;
  }
}


/* ===== Interaction animations (transform/opacity) ===== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  pointer-events: none;
  background: rgba(184, 92, 59, 0.15);
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--terracota);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.js-anim .will-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}
.will-reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.8,.36,1);
}
.problem-grid .will-reveal:nth-child(1),
.steps .will-reveal:nth-child(1),
.features .will-reveal:nth-child(1),
.plans .will-reveal:nth-child(1),
.modules .will-reveal:nth-child(1),
.faq-list .will-reveal:nth-child(1) { transition-delay: .04s; }
.problem-grid .will-reveal:nth-child(2),
.steps .will-reveal:nth-child(2),
.features .will-reveal:nth-child(2),
.plans .will-reveal:nth-child(2),
.modules .will-reveal:nth-child(2),
.faq-list .will-reveal:nth-child(2) { transition-delay: .12s; }
.problem-grid .will-reveal:nth-child(3),
.steps .will-reveal:nth-child(3),
.features .will-reveal:nth-child(3),
.plans .will-reveal:nth-child(3),
.modules .will-reveal:nth-child(3),
.faq-list .will-reveal:nth-child(3) { transition-delay: .2s; }
.problem-grid .will-reveal:nth-child(4),
.features .will-reveal:nth-child(4),
.modules .will-reveal:nth-child(4),
.faq-list .will-reveal:nth-child(4) { transition-delay: .28s; }
.features .will-reveal:nth-child(5),
.modules .will-reveal:nth-child(5),
.faq-list .will-reveal:nth-child(5) { transition-delay: .36s; }
.features .will-reveal:nth-child(6),
.modules .will-reveal:nth-child(6),
.faq-list .will-reveal:nth-child(6) { transition-delay: .44s; }
.faq-list .will-reveal:nth-child(7) { transition-delay: .52s; }
.faq-list .will-reveal:nth-child(8) { transition-delay: .6s; }

.calcada-draw {
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.js-anim .calcada-draw {
  transform-origin: left center;
  transform: scaleX(0.16);
  opacity: 0.25;
}
.calcada.is-drawn .calcada-draw {
  transform: scaleX(1);
  opacity: 1;
  transition: transform 1.15s cubic-bezier(.22,.8,.36,1), opacity .6s ease;
}

/* Sliding nav underline */
.nav-underline {
  display: none;
}
@media (min-width: 1081px) {
  .nav { position: relative; }
  .nav-underline {
    display: block;
    position: absolute;
    left: 0;
    bottom: 6px;
    height: 2px;
    width: 40px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--cortiça-clara), var(--terracota));
    transform: translateX(0) scaleX(0);
    transform-origin: left center;
    pointer-events: none;
    opacity: 0;
    transition: transform .35s cubic-bezier(.22,.8,.36,1), opacity .25s ease;
  }
  .nav-underline.is-on { opacity: 1; }
  .nav-links a.is-active:not(.btn)::after { display: none; }
}

/* Ripple / press */
.btn,
.nav-links a,
.plan-waitlist {
  position: relative;
  overflow: hidden;
}
.btn { transform: translateZ(0); }
.btn:active { transform: translateY(1px) scale(0.985); }
.ripple-ink {
  position: absolute;
  border-radius: 50%;
  background: rgba(243, 237, 227, 0.45);
  pointer-events: none;
  transform: scale(0);
  opacity: 0.7;
  animation: ripple-out .55s ease-out forwards;
}
.nav-links a .ripple-ink,
.plan-waitlist .ripple-ink,
.btn-ghost-dark .ripple-ink,
.btn-ghost .ripple-ink {
  background: rgba(184, 92, 59, 0.28);
}
@keyframes ripple-out {
  to { transform: scale(2.4); opacity: 0; }
}

/* Drawer staggered links */
@media (max-width: 1080px) {
  .js-anim .nav-links li {
    opacity: 0;
    transform: translate3d(16px, 0, 0);
  }
  body.nav-open .nav-links li {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity .4s ease, transform .4s cubic-bezier(.22,.8,.36,1);
  }
  body.nav-open .nav-links li:nth-child(1) { transition-delay: .05s; }
  body.nav-open .nav-links li:nth-child(2) { transition-delay: .1s; }
  body.nav-open .nav-links li:nth-child(3) { transition-delay: .15s; }
  body.nav-open .nav-links li:nth-child(4) { transition-delay: .2s; }
  body.nav-open .nav-links li:nth-child(5) { transition-delay: .25s; }
  body.nav-open .nav-links li:nth-child(6) { transition-delay: .3s; }
}

/* Button shine */
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.28) 50%, transparent 60%);
  transform: translateX(-120%);
  pointer-events: none;
}
.btn-primary:hover::after {
  transform: translateX(120%);
  transition: transform .7s ease;
}

/* Card lift + tilt + pricing highlight + underline grow */
@media (hover: hover) and (pointer: fine) {
  .problem-card,
  .step,
  .feature,
  .module,
  .plan,
  .faq-item,
  .form-card {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    transform-style: preserve-3d;
    will-change: transform;
  }
  .problem-card.is-lifted,
  .step.is-lifted,
  .feature.is-lifted,
  .module.is-lifted,
  .plan.is-lifted,
  .faq-item.is-lifted,
  .form-card.is-lifted {
    box-shadow: 0 22px 40px rgba(31, 29, 26, 0.14);
  }
  .plan:hover,
  .plan.is-lifted {
    border-color: rgba(196, 165, 116, 0.55);
  }
  .plan.is-featured:hover,
  .plan.is-featured.is-lifted {
    border-color: rgba(243, 237, 227, 0.45);
  }

  .footer-col a,
  .site-footer .privacy a,
  #privacy-toggle {
    background-image: linear-gradient(var(--cortiça-clara), var(--cortiça-clara));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 1px;
    transition: background-size .25s ease, color .2s ease;
  }
  .footer-col a:hover,
  #privacy-toggle:hover {
    background-size: 100% 1px;
  }
}

/* Form floating labels, focus ring, pulse, tick */
.field-control {
  position: relative;
}
.field-control input,
.field-control select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--granito);
  border-radius: 12px;
  padding: 18px 40px 8px 14px;
  outline: none;
  transition: border-color .15s ease;
  appearance: none;
}
.field-control select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237A766E' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field-control label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
  color: var(--pedra);
  font-weight: 700;
  font-size: 0.92rem;
  pointer-events: none;
  transition: transform .2s ease, color .2s ease, opacity .2s ease;
}
.field-control input:focus + label,
.field-control input:not(:placeholder-shown) + label,
.field-control select + label,
.field.is-filled .field-control label {
  transform: translateY(-118%) scale(0.78);
  color: var(--azulejo);
}
.field-control::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 15px;
  border: 2px solid var(--azulejo);
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.field-control:focus-within::after {
  opacity: 1;
  transform: scale(1);
}
.field-control.is-pulsing {
  transform: scale(1.012);
  transition: transform .12s ease;
}
.field-tick {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 18px;
  height: 18px;
  color: var(--azulejo);
  opacity: 0;
  transform: translateY(-50%) scale(0.4);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.field-control select + label + .field-tick { right: 32px; }
.field.is-valid .field-tick {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.field.is-valid .field-control input,
.field.is-valid .field-control select {
  border-color: var(--azulejo);
}
.field-tick svg { width: 18px; height: 18px; }

.btn:focus-visible,
.nav-links a:focus-visible,
.plan-waitlist:focus-visible,
.footer-col a:focus-visible,
.field-control input:focus-visible,
.field-control select:focus-visible,
.nav-toggle:focus-visible,
.lang-tab:focus-visible {
  outline: 2px solid var(--azulejo);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .will-reveal,
  .will-reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-progress { display: none; }
  .nav-links li,
  body.nav-open .nav-links li {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .calcada-draw,
  .calcada.is-drawn .calcada-draw {
    transform: none;
    opacity: 1;
    transition: none;
  }
  .field-control.is-pulsing { transform: none; }
  .btn:active { transform: none; }
  .ripple-ink { display: none; }
}


/* Professional typography + Portugal section marks */
.section-head[data-index]::before {
  content: attr(data-index);
  position: absolute;
  left: -0.12em;
  top: -0.55em;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4.2rem, 8vw, 7rem);
  letter-spacing: -0.08em;
  line-height: 1;
  color: var(--azulejo);
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}
.como .section-head[data-index]::before,
.lista .section-head[data-index]::before {
  color: var(--cortiça-clara);
  opacity: 0.16;
}
.section-head > * { position: relative; z-index: 1; }

.section-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-variant-numeric: tabular-nums;
  color: var(--azulejo);
  letter-spacing: 0.12em;
}
.section-index::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.como .section-index,
.lista .section-index { color: var(--cortiça-clara); }

.step-num {
  font-size: clamp(2.4rem, 3vw, 3rem);
  letter-spacing: -0.06em;
  color: var(--cortiça-clara);
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.step-num::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--azulejo), var(--cortiça-clara));
  opacity: 0.85;
  transform-origin: left center;
}

/* Compact menu — limestone/granite glass */
.site-header {
  height: var(--header-h);
  transition:
    height .28s cubic-bezier(.22,.8,.36,1),
    background .28s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}
.site-header .logo-mark,
.site-header .logo-word,
.site-header .nav-links a,
.site-header .nav-cta {
  transition: width .28s ease, height .28s ease, font-size .28s ease, padding .28s ease, color .2s ease, background .2s ease, transform .28s ease;
}
html.compact-nav { --header-h: var(--header-h-compact); }

.site-header.is-scrolled {
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(22px) saturate(1.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
  border-bottom-color: rgba(44, 42, 39, 0.12);
  box-shadow: 0 8px 28px rgba(31, 29, 26, 0.08);
}
.site-header.is-scrolled .logo,
.site-header.is-scrolled .logo-word {
  color: var(--granito);
}
.site-header.is-scrolled .logo-word i { color: var(--cortiça); }
.site-header.is-scrolled .logo-mark {
  width: 30px;
  height: 30px;
}
.site-header.is-scrolled .logo-word { font-size: 1.05rem; }
.site-header.is-scrolled .nav-links a:not(.btn) {
  color: var(--ink-soft);
  padding: 6px 10px;
  font-size: 0.88rem;
}
.site-header.is-scrolled .nav-links a:not(.btn):hover,
.site-header.is-scrolled .nav-links a.is-active:not(.btn) {
  color: var(--granito);
  background: rgba(44, 42, 39, 0.05);
}
.site-header.is-scrolled .nav-underline {
  background: linear-gradient(90deg, var(--azulejo), var(--terracota));
}
.site-header.is-scrolled .nav-cta {
  padding: 8px 14px;
  font-size: 0.88rem;
}
.site-header.is-scrolled .nav-toggle {
  border-color: var(--line);
  background: rgba(44, 42, 39, 0.05);
  width: 40px;
  height: 40px;
}
.site-header.is-scrolled .nav-toggle-bars,
.site-header.is-scrolled .nav-toggle-bars::before,
.site-header.is-scrolled .nav-toggle-bars::after {
  background: var(--granito);
}
body.nav-open .site-header.is-scrolled .nav-toggle-bars { background: transparent; }

/* Trust strip */
.trust-strip {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(62, 95, 122, 0.05), transparent 40%),
    var(--calcário-claro);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.trust-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M0 24h48M24 0v48' fill='none' stroke='%233E5F7A' stroke-width='0.7' opacity='0.18'/%3E%3Crect x='20' y='20' width='8' height='8' fill='none' stroke='%238D5B36' stroke-width='0.6' opacity='0.2'/%3E%3C/svg%3E");
  opacity: 0.7;
  pointer-events: none;
}
.trust-grid {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 28px;
}
.trust-grid li {
  padding-left: 16px;
  border-left: 2px solid var(--azulejo);
}
.trust-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--azulejo);
  margin-bottom: 6px;
}
.trust-grid strong {
  display: block;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--granito);
  letter-spacing: -0.01em;
}

/* Footer polish */
.site-footer {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(62, 95, 122, 0.18), transparent 46%),
    #191715;
  padding: 0 0 32px;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 42px 0 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M4 28h48M28 4v48' fill='none' stroke='%23C4A574' stroke-width='0.6' opacity='0.14'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}
.site-footer .wrap { position: relative; z-index: 1; }
.footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px 32px;
  padding-bottom: 36px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; }
.footer-city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.footer-city-chips li {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cortiça-clara);
  border: 1px solid rgba(196, 165, 116, 0.28);
  border-radius: 999px;
  padding: 4px 9px;
}
.footer-bottom {
  align-items: center;
  padding-top: 22px;
  border-top: 0;
  color: var(--ink-soft-on-dark);
}

@media (max-width: 960px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  h1 { font-size: 2.15rem; }
  .section { padding: 72px 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head[data-index]::before { font-size: 4.2rem; top: -0.35em; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header .logo-mark,
  .site-header .logo-word,
  .site-header .nav-links a,
  .site-header .nav-cta {
    transition: none;
  }
}


/* ===== Combined release: stone surfaces, header atmosphere, i18n, services, city, obras, security ===== */

/* Light honed limestone — do not darken below #E8DFD0; do not retint card tokens */
body {
  background-color: #F3EDE3;
  background-image:
    linear-gradient(180deg, #F7F1E6 0%, #F3EDE3 42%, #EFE4D4 100%),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22200%22%20height%3D%22200%22%3E%3Cfilter%20id%3D%22l%22%20x%3D%220%22%20y%3D%220%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.8%22%20numOctaves%3D%224%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%200.42%20%200%200%200%200%200.36%20%200%200%200%200%200.26%20%200%200%200%200.45%200%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22200%22%20height%3D%22200%22%20filter%3D%22url%28%23l%29%22%2F%3E%3C%2Fsvg%3E");
  background-size: auto, 220px 220px;
  background-attachment: scroll, scroll;
}

.stone-grain-light,
.problema,
.funcionalidades,
.faq,
.demo,
.precos,
.servicos,
.trust-strip,
.city-band {
  position: relative;
}
.problema,
.demo,
.precos,
.city-band {
  background-color: #E8DFD0;
  background-image:
    linear-gradient(180deg, rgba(247, 241, 230, 0.55), rgba(232, 223, 208, 0.2) 55%, transparent),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22200%22%20height%3D%22200%22%3E%3Cfilter%20id%3D%22l%22%20x%3D%220%22%20y%3D%220%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.8%22%20numOctaves%3D%224%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%200.42%20%200%200%200%200%200.36%20%200%200%200%200%200.26%20%200%200%200%200.45%200%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22200%22%20height%3D%22200%22%20filter%3D%22url%28%23l%29%22%2F%3E%3C%2Fsvg%3E");
  background-size: auto, 220px 220px;
}
.funcionalidades,
.faq,
.servicos {
  background-color: #F3EDE3;
  background-image:
    linear-gradient(180deg, #F7F1E6, #F3EDE3 50%, #EFE8DC),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22200%22%20height%3D%22200%22%3E%3Cfilter%20id%3D%22l%22%20x%3D%220%22%20y%3D%220%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.8%22%20numOctaves%3D%224%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%200.42%20%200%200%200%200%200.36%20%200%200%200%200%200.26%20%200%200%200%200.45%200%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22200%22%20height%3D%22200%22%20filter%3D%22url%28%23l%29%22%2F%3E%3C%2Fsvg%3E");
  background-size: auto, 220px 220px;
}
.trust-strip {
  background-color: #F7F1E6;
  background-image:
    linear-gradient(180deg, rgba(62, 95, 122, 0.05), transparent 40%),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22200%22%20height%3D%22200%22%3E%3Cfilter%20id%3D%22l%22%20x%3D%220%22%20y%3D%220%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.8%22%20numOctaves%3D%224%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%200.42%20%200%200%200%200%200.36%20%200%200%200%200%200.26%20%200%200%200%200.45%200%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22200%22%20height%3D%22200%22%20filter%3D%22url%28%23l%29%22%2F%3E%3C%2Fsvg%3E");
  background-size: auto, 220px 220px;
}

/* Dark polished granite + fine speckle */
.hero {
  background:
    radial-gradient(ellipse at 88% 12%, rgba(62, 95, 122, 0.22), transparent 48%),
    radial-gradient(ellipse at 8% 80%, rgba(184, 92, 59, 0.08), transparent 42%),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cfilter%20id%3D%22g%22%20x%3D%220%22%20y%3D%220%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%221.1%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%200.85%20%200%200%200%200%200.80%20%200%200%200%200%200.72%20%200%200%200%200.55%200%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22180%22%20height%3D%22180%22%20filter%3D%22url%28%23g%29%22%2F%3E%3C%2Fsvg%3E") ,
    linear-gradient(165deg, #161412 0%, #221F1C 52%, #191714 100%);
  background-size: auto, auto, 180px 180px, auto;
}
.como {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(62, 95, 122, 0.22), transparent 50%),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cfilter%20id%3D%22g%22%20x%3D%220%22%20y%3D%220%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%221.1%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%200.85%20%200%200%200%200%200.80%20%200%200%200%200%200.72%20%200%200%200%200.55%200%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22180%22%20height%3D%22180%22%20filter%3D%22url%28%23g%29%22%2F%3E%3C%2Fsvg%3E"),
    linear-gradient(180deg, #161412 0%, #1C1916 60%, #191714 100%);
  background-size: auto, 180px 180px, auto;
}
.lista {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(62, 95, 122, 0.28), transparent 50%),
    radial-gradient(ellipse at 10% 100%, rgba(184, 92, 59, 0.10), transparent 42%),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cfilter%20id%3D%22g%22%20x%3D%220%22%20y%3D%220%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%221.1%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%200.85%20%200%200%200%200%200.80%20%200%200%200%200%200.72%20%200%200%200%200.55%200%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22180%22%20height%3D%22180%22%20filter%3D%22url%28%23g%29%22%2F%3E%3C%2Fsvg%3E"),
    linear-gradient(180deg, #161412, #191714 70%, #141210);
  background-size: auto, auto, 180px 180px, auto;
}
.site-footer {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(62, 95, 122, 0.18), transparent 46%),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cfilter%20id%3D%22g%22%20x%3D%220%22%20y%3D%220%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%221.1%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%200.85%20%200%200%200%200%200.80%20%200%200%200%200%200.72%20%200%200%200%200.55%200%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22180%22%20height%3D%22180%22%20filter%3D%22url%28%23g%29%22%2F%3E%3C%2Fsvg%3E"),
    linear-gradient(180deg, #1C1916, #141210);
  background-size: auto, 180px 180px, auto;
}

/* ===== Header atmosphere: never near-white ===== */
.site-header {
  background: transparent !important;
  overflow: visible;
  isolation: isolate;
}
.site-header.is-scrolled {
  background: transparent !important;
  border-bottom-color: rgba(44, 42, 39, 0.14);
  box-shadow: 0 8px 28px rgba(31, 29, 26, 0.10);
}
.header-atmosphere,
.drawer-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.header-inner,
.nav-links,
.nav-toggle,
.lang-switch {
  position: relative;
  z-index: 2;
}
.header-grain {
  position: absolute;
  inset: -60% -20%;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cfilter%20id%3D%22g%22%20x%3D%220%22%20y%3D%220%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%221.1%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%200.85%20%200%200%200%200%200.80%20%200%200%200%200%200.72%20%200%200%200%200.55%200%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22180%22%20height%3D%22180%22%20filter%3D%22url%28%23g%29%22%2F%3E%3C%2Fsvg%3E");
  background-size: 160px 160px;
  opacity: 0.42;
  transform: translate3d(calc(var(--hdr-x, 0) * -14px), calc(var(--hdr-s, 0) * 8px), 0);
  animation: header-grain-drift 48s linear infinite;
}
.site-header.is-scrolled .header-grain {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22200%22%20height%3D%22200%22%3E%3Cfilter%20id%3D%22l%22%20x%3D%220%22%20y%3D%220%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.8%22%20numOctaves%3D%224%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%200.42%20%200%200%200%200%200.36%20%200%200%200%200%200.26%20%200%200%200%200.45%200%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22200%22%20height%3D%22200%22%20filter%3D%22url%28%23l%29%22%2F%3E%3C%2Fsvg%3E");
  opacity: 0.32;
  filter: contrast(1.05) brightness(0.96);
}
.header-blooms { position: absolute; inset: -20px; }
.h-bloom {
  position: absolute;
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.5;
  will-change: transform;
}
.h-bloom-cork {
  width: 220px; height: 90px;
  left: 6%; top: -36px;
  background: rgba(141, 91, 54, 0.55);
  animation: header-bloom-a 26s ease-in-out infinite;
}
.h-bloom-terra {
  width: 180px; height: 80px;
  left: 48%; top: -20px;
  background: rgba(184, 92, 59, 0.42);
  animation: header-bloom-b 22s ease-in-out infinite;
}
.h-bloom-azulejo {
  width: 240px; height: 100px;
  right: 4%; top: -40px;
  background: rgba(62, 95, 122, 0.5);
  animation: header-bloom-c 28s ease-in-out infinite;
}
.header-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 20, 18, 0.82), rgba(22, 20, 18, 0.72));
}
.site-header.is-scrolled .header-scrim {
  background: linear-gradient(180deg, rgba(232, 223, 208, 0.90), rgba(237, 228, 214, 0.92));
}
/* Compact scrolled: slightly denser limestone tint, still not white */
.site-header.is-scrolled.is-compact .header-scrim,
html.compact-nav .site-header.is-scrolled .header-scrim {
  background: linear-gradient(180deg, rgba(226, 216, 200, 0.92), rgba(232, 223, 208, 0.94));
}

@keyframes header-grain-drift {
  from { background-position: 0 0; }
  to { background-position: 160px 80px; }
}
@keyframes header-bloom-a {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(18%, 8px, 0); }
}
@keyframes header-bloom-b {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-22%, 6px, 0); }
}
@keyframes header-bloom-c {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-14%, 10px, 0); }
}

/* Mobile drawer: dark granite atmosphere */
@media (max-width: 1080px) {
  .nav {
    background: transparent !important;
    isolation: isolate;
  }
  .drawer-atmosphere { z-index: 0; }
  .nav .nav-underline,
  .nav .nav-links { position: relative; z-index: 1; }
  .drawer-atmosphere .header-grain {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cfilter%20id%3D%22g%22%20x%3D%220%22%20y%3D%220%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%221.1%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%200.85%20%200%200%200%200%200.80%20%200%200%200%200%200.72%20%200%200%200%200.55%200%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22180%22%20height%3D%22180%22%20filter%3D%22url%28%23g%29%22%2F%3E%3C%2Fsvg%3E");
    opacity: 0.45;
  }
  .drawer-scrim {
    background: linear-gradient(180deg, rgba(22, 20, 18, 0.88), rgba(28, 25, 22, 0.92));
  }
}

html.atm-paused .header-grain,
html.atm-paused .h-bloom {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .header-grain, .h-bloom { animation: none !important; }
}

/* ===== Language switch ===== */
.lang-switch {
  position: relative;
  flex-shrink: 0;
  margin-left: 4px;
}
.lang-quick {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lang-chip,
.lang-more {
  appearance: none;
  border: 1px solid rgba(243, 237, 227, 0.28);
  background: rgba(22, 20, 18, 0.28);
  color: var(--ink-on-dark);
  font: 700 0.72rem/1 var(--sans);
  letter-spacing: 0.08em;
  padding: 6px 8px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-chip.is-suggested {
  border-color: rgba(196, 165, 116, 0.65);
  box-shadow: 0 0 0 1px rgba(196, 165, 116, 0.25);
}
.lang-chip.is-active {
  background: rgba(196, 165, 116, 0.22);
  border-color: var(--cortiça-clara);
  color: var(--ink-on-dark);
}
.site-header.is-scrolled .lang-chip,
.site-header.is-scrolled .lang-more {
  border-color: rgba(44, 42, 39, 0.18);
  background: rgba(44, 42, 39, 0.05);
  color: var(--granito);
}
.site-header.is-scrolled .lang-chip.is-active {
  background: rgba(62, 95, 122, 0.12);
  border-color: var(--azulejo);
  color: var(--granito);
}
.lang-more { padding: 6px 7px; }
.lang-more-caret {
  display: block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 10.5rem;
  background: #EDE4D6;
  border: 1px solid rgba(44, 42, 39, 0.14);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(31, 29, 26, 0.16);
  z-index: 100;
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--granito);
  font: 600 0.92rem/1.3 var(--sans);
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.lang-menu button:hover,
.lang-menu button.is-active { background: rgba(62, 95, 122, 0.12); }

@media (max-width: 1080px) {
  .lang-switch { margin-left: auto; }
  .nav-toggle { margin-left: 8px; }
}

/* ===== Hero proof + city picker ===== */
.hero-proof {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  max-width: 40rem;
}
.hero-proof li {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--ink-on-dark);
  background: rgba(243, 237, 227, 0.08);
  border: 1px solid rgba(243, 237, 227, 0.16);
  border-radius: 999px;
  padding: 6px 12px;
}
.hero-sub { max-width: 34rem; }
.hero-actions { margin-top: 1.35rem; }

.city-picker {
  position: relative;
  margin-top: 1.5rem;
  max-width: 22rem;
  z-index: 5;
}
.city-picker-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cortiça-clara);
  margin-bottom: 6px;
}
.city-picker-trigger {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  border: 1px solid rgba(243, 237, 227, 0.22);
  background: rgba(22, 20, 18, 0.45);
  color: var(--ink-on-dark);
  border-radius: 12px;
  padding: 11px 14px;
  font: 600 0.98rem/1.3 var(--sans);
  cursor: pointer;
}
.city-picker-trigger[aria-expanded="true"] {
  border-color: var(--cortiça-clara);
}
.city-picker-value.is-placeholder { color: var(--ink-soft-on-dark); font-weight: 500; }
.city-picker-caret {
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  flex-shrink: 0;
}
.city-picker-panel {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 6px);
  background: #EDE4D6;
  color: var(--granito);
  border: 1px solid rgba(44, 42, 39, 0.14);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(31, 29, 26, 0.2);
  padding: 10px;
  z-index: 8;
  max-height: min(22rem, 70vh);
  overflow: auto;
}
.city-picker-panel[hidden] { display: none; }
.city-picker-search {
  width: 100%;
  border: 1px solid rgba(44, 42, 39, 0.16);
  background: #F7F1E6;
  border-radius: 10px;
  padding: 9px 11px;
  margin-bottom: 8px;
  color: var(--granito);
}
.city-group-title,
.city-group-toggle {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--azulejo);
  margin: 8px 4px 6px;
}
.city-group-toggle {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px 4px;
  text-align: left;
}
.city-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.city-list button {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--granito);
  font: 600 0.95rem/1.3 var(--sans);
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.city-list button:hover,
.city-list button.is-active { background: rgba(62, 95, 122, 0.12); }
.city-picker-empty {
  margin: 8px 4px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
/* Form-embedded picker sits on light stone */
.obra-form .city-picker { margin-top: 0; max-width: none; }
.obra-form .city-picker-label { color: var(--azulejo); }
.obra-form .city-picker-trigger {
  background: #F7F1E6;
  color: var(--granito);
  border-color: rgba(44, 42, 39, 0.16);
}

/* ===== Services ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.service-card {
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.service-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--azulejo);
}
.service-badge {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 9px;
}
.service-badge.is-live {
  background: rgba(62, 95, 122, 0.14);
  color: var(--azulejo-deep);
  border: 1px solid rgba(62, 95, 122, 0.28);
}
.service-badge.is-soon {
  background: rgba(141, 91, 54, 0.12);
  color: var(--cortiça);
  border: 1px solid rgba(141, 91, 54, 0.28);
}
.service-badge.is-preview {
  background: rgba(184, 92, 59, 0.12);
  color: var(--terracota);
  border: 1px solid rgba(184, 92, 59, 0.28);
}
.service-card h3 { margin: 0 0 8px; }
.service-desc { margin: 0 0 12px; color: var(--ink-soft); font-size: 0.98rem; }
.service-points {
  margin: 0 0 18px;
  padding: 0 0 0 1.1rem;
  color: var(--ink);
  font-size: 0.95rem;
}
.service-points li { margin: 0 0 6px; }
.service-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}
.service-tabs [role="tab"] {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font: 700 0.8rem/1.2 var(--sans);
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
}
.service-tabs [role="tab"][aria-selected="true"] {
  background: rgba(62, 95, 122, 0.12);
  border-color: rgba(62, 95, 122, 0.35);
  color: var(--azulejo-deep);
}

/* Condo extras: obras form + security preview, full width under the grid */
.condo-extras {
  margin-top: 28px;
}
.condo-subhead {
  max-width: 42rem;
  margin-bottom: 22px;
}
.condo-subhead h3 { margin: 0 0 8px; font-size: 1.45rem; }
.condo-subhead p { margin: 0; color: var(--ink-soft); }

/* Obras stepper */
.obra-form,
.obra-success {
  background: rgba(250, 247, 242, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.obra-stepper {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.obra-stepper li {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(44, 42, 39, 0.04);
  border: 1px solid transparent;
}
.obra-stepper li.is-current {
  color: var(--azulejo-deep);
  background: rgba(62, 95, 122, 0.12);
  border-color: rgba(62, 95, 122, 0.25);
}
.obra-stepper li.is-done { color: var(--cortiça); }
.obra-panel[hidden] { display: none; }
.obra-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 10px 0 14px;
}
.obra-cats label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  background: #F7F1E6;
  font-weight: 600;
  font-size: 0.95rem;
}
.obra-cats input { accent-color: var(--azulejo); }
.obra-cats label:has(input:checked) {
  border-color: var(--azulejo);
  background: rgba(62, 95, 122, 0.1);
}
.obra-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.obra-note {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.obra-success[hidden] { display: none; }
.obra-form.is-done { display: none; }

/* Security preview — empty-state wireframes, no fake feeds/logs/controls */
.seg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.seg-card {
  padding: 20px 18px 18px;
  position: relative;
}
.seg-card .service-badge { margin-bottom: 10px; }
.seg-wire {
  border: 1px dashed rgba(44, 42, 39, 0.22);
  border-radius: 12px;
  background: repeating-linear-gradient(135deg, rgba(44,42,39,0.03) 0 8px, transparent 8px 16px);
  min-height: 110px;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--ink-soft);
  text-align: center;
  padding: 14px;
  pointer-events: none;
  user-select: none;
}
.seg-wire strong {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracota);
}
.seg-icon {
  width: 36px; height: 36px;
  color: var(--azulejo);
}
.seg-icon svg { width: 36px; height: 36px; }
.seg-card h3 { font-size: 1.12rem; margin: 0 0 8px; }
.seg-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.seg-log-skel {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
  color: var(--ink-mute);
  pointer-events: none;
}
.seg-log-skel th {
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 6px;
  border-bottom: 1px solid var(--line);
}
.seg-notes {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--azulejo);
  background: rgba(62, 95, 122, 0.06);
  border-radius: 0 12px 12px 0;
}
.seg-notes p { margin: 0 0 8px; color: var(--ink); font-size: 0.95rem; }
.seg-notes p:last-child { margin: 0; }
.seg-actions { margin-top: 16px; }

@media (max-width: 960px) {
  .service-grid,
  .seg-grid,
  .obra-cats { grid-template-columns: 1fr; }
}
@media (min-width: 701px) and (max-width: 960px) {
  .service-grid,
  .seg-grid { grid-template-columns: 1fr 1fr; }
  .service-grid .is-available { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .hero-proof { gap: 6px; }
  .hero-proof li { font-size: 0.8rem; }
}

/* Fee-payment preview — no charges, no live checkout */
.quota-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.quota-step { padding: 20px 18px 18px; }
.quota-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(62, 95, 122, 0.12);
  color: var(--azulejo-deep);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.quota-step h3, .quota-step h4 {
  font-size: 1.05rem;
  margin: 0 0 12px;
}
.quota-wire {
  border: 1px dashed rgba(44, 42, 39, 0.22);
  border-radius: 12px;
  background: repeating-linear-gradient(135deg, rgba(44,42,39,0.03) 0 8px, transparent 8px 16px);
  padding: 14px;
  text-align: center;
}
.exemplo-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 8px;
}
.quota-amount {
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  margin: 6px 0;
  color: var(--granito);
}
.quota-wire p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.quota-pay-wrap { text-align: center; padding: 12px 0 4px; }
.quota-note {
  margin-top: 16px;
  padding: 16px 18px;
  border-left: 3px solid var(--azulejo);
  background: rgba(62, 95, 122, 0.06);
  border-radius: 0 12px 12px 0;
}
.quota-note[hidden] { display: none; }
.quota-note p { margin: 0 0 12px; }
@media (max-width: 960px) {
  .quota-flow { grid-template-columns: 1fr; }
}

/* ===== Ferramentas (client-side only) ===== */
.tools-board { margin-top: 56px; }
.tools-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 20px;
}
.tools-nav button {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(250, 247, 242, 0.7);
  color: var(--ink-soft);
  font: 700 0.82rem/1.2 var(--sans);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.tools-nav button[aria-selected="true"] {
  background: rgba(62, 95, 122, 0.12);
  border-color: rgba(62, 95, 122, 0.35);
  color: var(--azulejo-deep);
}
.tool-panel {
  background: rgba(250, 247, 242, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.tool-panel[hidden] { display: none; }
.tool-panel h3 { margin: 0 0 8px; }
.tool-lead { margin: 0 0 16px; color: var(--ink-soft); }
.tool-grid { display: grid; gap: 12px; }
.tool-row, .tool-fracao {
  display: grid;
  grid-template-columns: 1fr 8rem 8rem auto;
  gap: 8px;
  align-items: end;
}
.tool-field label, .obra-form label, .tool-panel label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  color: var(--azulejo-deep);
}
.tool-field input, .tool-field select, .tool-field textarea,
.obra-form input[type="text"], .obra-form input[type="email"],
.obra-form input[type="tel"], .obra-form input[type="number"],
.obra-form input[type="date"], .obra-form textarea, .obra-form select,
.tool-panel input, .tool-panel select, .tool-panel textarea {
  width: 100%;
  border: 1px solid rgba(44, 42, 39, 0.16);
  background: #F7F1E6;
  border-radius: 10px;
  padding: 9px 11px;
  color: var(--granito);
}
.tool-panel textarea, .obra-form textarea { min-height: 7rem; resize: vertical; }
.tool-sum, .tool-result, .tool-warn, .tool-ok, .tool-err {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.95rem;
}
.tool-sum.is-ok, .tool-ok { background: rgba(62, 95, 122, 0.1); color: var(--azulejo-deep); }
.tool-sum.is-bad, .tool-err, .tool-warn { background: rgba(184, 92, 59, 0.12); color: #7A3B28; }
.tool-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 0.92rem; }
.tool-table th, .tool-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.tool-local {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.aviso-preview, .conv-preview {
  margin-top: 14px;
  padding: 16px 18px;
  background: #F7F1E6;
  border: 1px dashed rgba(44, 42, 39, 0.22);
  border-radius: 12px;
  white-space: pre-wrap;
  font-size: 0.95rem;
}
.tool-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.btn-remove {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--ink-soft);
}
@media (max-width: 760px) {
  .tool-row, .tool-fracao { grid-template-columns: 1fr 1fr; }
}
@media print {
  body * { visibility: hidden; }
  .aviso-preview, .aviso-preview * { visibility: visible; }
  .aviso-preview { position: absolute; left: 0; top: 0; width: 100%; border: 0; background: #fff; }
}

/* Desbloquear decisões de obras — no green, consultation vote */
.dec-legal {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--terracota);
  background: rgba(184, 92, 59, 0.08);
  border-radius: 0 12px 12px 0;
}
.dec-legal p { margin: 0; font-size: 0.92rem; color: var(--ink); }
.dec-examples-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--azulejo-deep);
  margin: 0 0 8px;
}
.dec-examples { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.dec-examples .btn { white-space: normal; text-align: left; gap: 8px; }
.dec-examples .exemplo-tag { margin: 0; }
.dec-panel h4, .dec-panel h5 { margin: 0 0 12px; }
.dec-panel h5 { font-size: 1.02rem; margin-top: 16px; }
.dec-tally, .dec-result {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(62, 95, 122, 0.08);
  color: var(--azulejo-deep);
  font-size: 0.95rem;
}
.dec-tally span { display: inline-block; margin-right: 12px; }
.dec-vote-row, .dec-budget-row, .dec-comment-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 8px;
  align-items: end;
}
.dec-vote-row select { accent-color: var(--azulejo); }
@media (max-width: 760px) {
  .dec-vote-row, .dec-budget-row, .dec-comment-row { grid-template-columns: 1fr 1fr; }
}
.dec-resumo { min-height: 12rem; }
.dec-example-note { margin: 8px 0 14px; font-size: 0.92rem; color: var(--ink-soft); }
.dec-examples { max-height: 11rem; overflow: auto; padding-right: 4px; }
.dec-comment-row { grid-template-columns: 1fr 10rem 1fr auto; }
.dec-budget-row { grid-template-columns: 1fr 8rem auto; }
@media (max-width: 760px) {
  .dec-comment-row { grid-template-columns: 1fr; }
  .dec-budget-row { grid-template-columns: 1fr auto; }
}

/* ===== Hero iPhone + WhatsApp mockup (green only inside .iphone) ===== */
.iphone-stage {
  position: relative;
  z-index: 2;
  width: 314px;
  perspective: 1400px;
}
.iphone-contact-shadow {
  position: absolute;
  left: 16%;
  right: 6%;
  bottom: -22px;
  height: 36px;
  background: radial-gradient(ellipse at center, rgba(16, 12, 10, 0.5) 0%, rgba(16, 12, 10, 0.18) 42%, transparent 72%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.iphone {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  transform: rotateY(-11deg) rotateX(5deg) rotateZ(-1.2deg);
  transform-style: preserve-3d;
  filter: drop-shadow(18px 28px 36px rgba(12, 10, 8, 0.42)) drop-shadow(0 8px 16px rgba(12, 10, 8, 0.22));
}
.iphone-body {
  position: relative;
  border-radius: 52px;
  padding: 11px;
  background:
    linear-gradient(155deg, rgba(255,255,255,0.22) 0%, transparent 28%),
    linear-gradient(115deg, #8a8a8e 0%, #4a4a4e 14%, #2a2a2c 36%, #3f3f43 52%, #1c1c1e 78%, #6a6a70 100%);
  box-shadow:
    inset 0 1px 1.5px rgba(255, 255, 255, 0.38),
    inset 0 -1px 1.5px rgba(0, 0, 0, 0.5),
    inset 1.5px 0 1px rgba(255, 255, 255, 0.16),
    inset -1.5px 0 1.5px rgba(0, 0, 0, 0.35);
}
.iphone-glare {
  position: absolute;
  inset: 0;
  border-radius: 52px;
  pointer-events: none;
  z-index: 3;
  background:
    linear-gradient(118deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.06) 16%, transparent 34%, transparent 62%, rgba(255,255,255,0.08) 82%, rgba(255,255,255,0.02) 100%);
  mix-blend-mode: soft-light;
}
.iphone-btn {
  position: absolute;
  background: linear-gradient(90deg, #6d6d72, #2e2e32 40%, #1a1a1c);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    inset 0 -1px 0 rgba(0,0,0,0.5);
  z-index: 4;
}
.iphone-btn-silent {
  left: -3px;
  top: 118px;
  width: 3px;
  height: 22px;
  border-radius: 2px 0 0 2px;
}
.iphone-btn-vol-up {
  left: -3px;
  top: 158px;
  width: 3px;
  height: 42px;
  border-radius: 2px 0 0 2px;
}
.iphone-btn-vol-down {
  left: -3px;
  top: 208px;
  width: 3px;
  height: 42px;
  border-radius: 2px 0 0 2px;
}
.iphone-btn-power {
  right: -3px;
  top: 186px;
  width: 3px;
  height: 64px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(270deg, #6d6d72, #2e2e32 40%, #1a1a1c);
}
.iphone-screen {
  position: relative;
  background: #050505;
  border-radius: 42px;
  padding: 3px;
  overflow: hidden;
  aspect-ratio: 9 / 19.4;
}
.iphone-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 10px 0 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.iphone-island-cam {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1b3a5a, #0a1020 55%, #000);
  box-shadow: 0 0 0 2px #0a0a0a;
}
.iphone-island-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #2a2a2e, #111);
}

.iphone-wa {
  height: 100%;
  border-radius: 39px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #efeae2;
  font-family: -apple-system, "SF Pro Text", "Segoe UI", var(--sans), sans-serif;
  color: #111b21;
  -webkit-font-smoothing: antialiased;
}
.iphone-wa-status {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 10px 18px 6px 22px;
  min-height: 42px;
  background: #f0f2f5;
  color: #111b21;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 4;
}
.iphone-wa-time { padding-bottom: 1px; }
.iphone-wa-sys {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #111b21;
}
.iphone-ico-signal { width: 16px; height: 11px; display: block; }
.iphone-ico-wifi { width: 15px; height: 11px; display: block; }
.iphone-ico-battery {
  width: 24px;
  height: 11px;
  border: 1.3px solid #111b21;
  border-radius: 3px;
  position: relative;
  display: block;
  box-sizing: border-box;
}
.iphone-ico-battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2.5px;
  width: 1.6px;
  height: 4.5px;
  background: #111b21;
  border-radius: 0 1px 1px 0;
}
.iphone-ico-battery i {
  display: block;
  height: 100%;
  width: 72%;
  background: #111b21;
  border-radius: 1px;
}

.iphone-wa-head {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px 10px 2px;
  background: #f0f2f5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}
.iphone-wa-back {
  appearance: none;
  border: 0;
  background: none;
  color: #00a884;
  width: 28px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: default;
}
.iphone-wa-back svg { width: 22px; height: 22px; }
.iphone-wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #2C2A27;
}
.iphone-wa-avatar svg { width: 36px; height: 36px; display: block; }
.iphone-wa-id { flex: 1; min-width: 0; }
.iphone-wa-id strong {
  display: block;
  font-size: 13.4px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #111b21;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.15;
}
.iphone-wa-id span {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: #00a884;
  line-height: 1.2;
  margin-top: 1px;
}
.iphone-wa-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #00a884;
  padding-right: 2px;
  flex-shrink: 0;
}
.iphone-wa-actions svg { width: 21px; height: 21px; display: block; }

.iphone-wa-thread {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 10px 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background-color: #efeae2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23c1b8ae' stroke-width='0.8' opacity='0.35' stroke-linecap='round'%3E%3Ccircle cx='22' cy='28' r='5'/%3E%3Ccircle cx='22' cy='28' r='1.4'/%3E%3Cpath d='M70 18c8 4 8 14 0 18'/%3E%3Cpath d='M108 24h12 M114 18v12'/%3E%3Crect x='14' y='78' width='10' height='16' rx='2'/%3E%3Cpath d='M48 86c6-8 18-8 22 2'/%3E%3Ccircle cx='132' cy='90' r='6'/%3E%3Cpath d='M20 132c10 0 10 10 20 10s10-10 20-10'/%3E%3Cpath d='M96 120l8 6-8 6'/%3E%3Ccircle cx='148' cy='40' r='3'/%3E%3Cpath d='M84 64h14 M91 57v14'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 160px 160px;
}

.iphone-wa-date {
  align-self: center;
  margin: 4px 0 8px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #54656f;
  background: rgba(225, 218, 207, 0.92);
  border-radius: 999px;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.06);
}

.iphone-wa-bubble {
  position: relative;
  max-width: 86%;
  padding: 6px 8px 4px 8px;
  border-radius: 8px;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
  font-size: 13.2px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.iphone-wa-bubble p { margin: 0; }
.iphone-wa-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  margin-top: 2px;
}
.iphone-wa-meta time {
  font-size: 10.5px;
  color: #667781;
  font-weight: 500;
}
.iphone-wa-checks {
  width: 16px;
  height: 11px;
  color: #53bdeb;
  display: block;
}
.iphone-wa-bubble.is-sent {
  align-self: flex-end;
  background: #d9fdd3;
  border-top-right-radius: 2px;
  margin-right: 4px;
}
.iphone-wa-bubble.is-sent::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 0;
  width: 8px;
  height: 12px;
  background: #d9fdd3;
  clip-path: path("M0 0 C 0 6 4 10 8 10 L 0 10 Z");
  filter: drop-shadow(0 1px 0.4px rgba(11,20,26,0.08));
}
.iphone-wa-bubble.is-received {
  align-self: flex-start;
  background: #fff;
  border-top-left-radius: 2px;
  margin-left: 4px;
}
.iphone-wa-bubble.is-received::after {
  content: "";
  position: absolute;
  left: -7px;
  top: 0;
  width: 8px;
  height: 12px;
  background: #fff;
  clip-path: path("M8 0 C 8 6 4 10 0 10 L 8 10 Z");
  filter: drop-shadow(0 1px 0.4px rgba(11,20,26,0.08));
}

.iphone-wa-composer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 14px;
  background: #f0f2f5;
  color: #54656f;
}
.iphone-ico-emoji,
.iphone-ico-clip,
.iphone-ico-cam { width: 22px; height: 22px; display: block; flex-shrink: 0; }
.iphone-wa-field {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 20px;
  padding: 7px 12px;
  font-size: 13.5px;
  color: #667781;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.04);
}
.iphone-wa-mic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #00a884;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.iphone-wa-mic svg { width: 16px; height: 16px; display: block; }

@media (max-width: 1080px) {
  .iphone { transform: rotateY(-8deg) rotateX(4deg); }
}
@media (max-width: 960px) {
  .iphone-stage { width: min(292px, 82vw); margin-inline: auto; }
  .iphone { transform: none; filter: drop-shadow(0 22px 28px rgba(12, 10, 8, 0.32)); }
  .iphone-contact-shadow { left: 10%; right: 10%; bottom: -16px; }
}
@media (max-width: 420px) {
  .iphone-stage { width: min(280px, 88vw); }
}
@media (prefers-reduced-motion: reduce) {
  .iphone { transform: none; }
}


.hero-visual { overflow: visible; }
.iphone-stage { margin-bottom: 12px; }
.hero-visual .hero-note {
  position: relative;
  right: auto;
  left: auto;
  bottom: auto;
  margin: 16px auto 0;
  max-width: 220px;
  z-index: 4;
}
.hero-visual {
  display: grid;
  place-items: center;
  align-content: center;
}

@media (max-width: 960px) {
  .hero-visual .hero-note {
    position: static;
    margin: 18px auto 0;
    max-width: 260px;
  }
  .iphone-stage { width: min(314px, 84vw); }
}


/* ===== Tone / professionalism review ===== */
:root { --ink-soft: #4A4742; }
body {
  font-size: 1.125rem;
  line-height: 1.7;
}
.lead, .section p, .feature p, .step p, .service-desc, .condo-subhead p {
  line-height: 1.7;
}
.eyebrow {
  color: var(--granito);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}
.como .eyebrow, .lista .eyebrow { color: var(--cortiça-clara); }
.section-head[data-index]::before {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  opacity: 0.05;
  top: -0.2em;
}
.como .section-head[data-index]::before,
.lista .section-head[data-index]::before { opacity: 0.08; }
.hero-proof li {
  font-size: 0.98rem;
  padding: 9px 16px;
}
.chip {
  background: rgba(62, 95, 122, 0.16);
  color: var(--ink-on-dark);
  border: 1px solid rgba(196, 165, 116, 0.35);
}
.service-badge.is-preview {
  background: rgba(141, 91, 54, 0.12);
  color: var(--cortiça);
  border: 1px solid rgba(141, 91, 54, 0.28);
}
.seg-wire strong { color: var(--azulejo); }

/* Tone down decorative motion: static or very subtle */
.city-rail, .city-marquee, [class*="city-marquee"] { animation: none !important; }
.calcada-shift { animation: none !important; }
.atmosphere-blobs .blob { animation-duration: 180s; opacity: 0.28; }
.header-grain { animation-duration: 120s; opacity: 0.22; }
.h-bloom { animation-duration: 80s; opacity: 0.28; }

/* Condo extras: same section rhythm as the rest of the page */
.condo-extras { margin-top: 0; }
.condo-sub { padding: 108px 0 0; }
.condo-sub:last-child { padding-bottom: 108px; }
.condo-subhead { margin-bottom: 36px; max-width: 42rem; }
.condo-subhead .eyebrow { margin: 0 0 16px; }
.condo-subhead .service-badge {
  display: inline-flex;
  margin: 0 8px 16px 0;
  vertical-align: middle;
}
.condo-subhead h3 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  margin: 0 0 16px;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

@media (max-width: 760px) {
  .condo-sub { padding-top: 72px; }
  .condo-sub:last-child { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .city-rail, .city-marquee, .calcada-shift,
  .atmosphere-blobs .blob, .header-grain, .h-bloom,
  .iphone { animation: none !important; }
  .iphone { transform: none !important; }
}

/* ===== v2: calmer hero contrast + in-use glass phone ===== */
.hero {
  background:
    radial-gradient(ellipse at 86% 8%, rgba(62, 95, 122, 0.12), transparent 50%),
    radial-gradient(ellipse at 10% 92%, rgba(141, 91, 54, 0.07), transparent 48%),
    linear-gradient(172deg, #1C1A17 0%, #221F1C 42%, #171512 100%) !important;
  background-size: auto !important;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.85  0 0 0 0 0.80  0 0 0 0 0.72  0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  mix-blend-mode: overlay;
}
.hero .azulejo-bg {
  opacity: 0.025;
}
.hero .night-scene { opacity: 0.35; }
.hero-grid { position: relative; z-index: 1; }
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: -36px -48px -48px -56px;
  background: radial-gradient(ellipse at 28% 42%, rgba(12, 10, 8, 0.78) 0%, rgba(12, 10, 8, 0.52) 42%, rgba(12, 10, 8, 0.18) 68%, transparent 82%);
}
.hero h1 {
  color: #F5F1EA !important;
  text-shadow: 0 1px 18px rgba(12, 10, 8, 0.28);
}
.hero .lead,
.hero .hero-sub {
  color: #E3DCD0 !important;
}
.hero .eyebrow {
  color: #E3DCD0;
}
.hero .chip {
  background: #2A2724;
  color: #F5F1EA;
  border: 1px solid rgba(245, 241, 234, 0.14);
}
.hero-proof li {
  background: #2A2724 !important;
  color: #F5F1EA !important;
  border: 1px solid rgba(245, 241, 234, 0.14) !important;
}
.hero .city-picker-label { color: #E3DCD0; }

/* Fainter WhatsApp doodles (~5% opacity), crisp bubble type */
.iphone-wa-thread {
  background-color: #efeae2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23c1b8ae' stroke-width='0.8' opacity='0.05' stroke-linecap='round'%3E%3Ccircle cx='22' cy='28' r='5'/%3E%3Ccircle cx='22' cy='28' r='1.4'/%3E%3Cpath d='M70 18c8 4 8 14 0 18'/%3E%3Cpath d='M108 24h12 M114 18v12'/%3E%3Crect x='14' y='78' width='10' height='16' rx='2'/%3E%3Cpath d='M48 86c6-8 18-8 22 2'/%3E%3Ccircle cx='132' cy='90' r='6'/%3E%3Cpath d='M20 132c10 0 10 10 20 10s10-10 20-10'/%3E%3Cpath d='M96 120l8 6-8 6'/%3E%3Ccircle cx='148' cy='40' r='3'/%3E%3Cpath d='M84 64h14 M91 57v14'/%3E%3C/g%3E%3C/svg%3E");
}
.iphone-wa-bubble p { color: #111b21; }
.iphone-wa-meta time { color: #667781; }
.iphone-wa-bubble.is-sent .iphone-wa-meta time { color: #5b6b74; }

/* In-use glass, bloom, vignette, 6–8° tilt, layered shadows */
.iphone {
  transform: rotateY(-7deg) rotateX(3.5deg) rotateZ(-0.6deg);
  filter:
    drop-shadow(0 8px 10px rgba(12, 10, 8, 0.18))
    drop-shadow(16px 32px 40px rgba(12, 10, 8, 0.42));
}
.iphone-contact-shadow {
  left: 14%;
  right: 4%;
  bottom: -26px;
  height: 42px;
  background: radial-gradient(ellipse at center, rgba(10, 8, 6, 0.55) 0%, rgba(10, 8, 6, 0.2) 46%, transparent 72%);
  filter: blur(12px);
}
.iphone-bloom {
  position: absolute;
  inset: 6px;
  border-radius: 48px;
  pointer-events: none;
  z-index: 0;
  box-shadow:
    0 0 18px 4px rgba(239, 234, 226, 0.18),
    0 0 40px 8px rgba(239, 234, 226, 0.08);
}
.iphone-glare {
  z-index: 6;
  background:
    linear-gradient(118deg, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.08) 14%, transparent 32%, transparent 58%, rgba(255,255,255,0.07) 78%, transparent 100%);
  mix-blend-mode: soft-light;
}
.iphone-screen { position: relative; }
.iphone-rim {
  position: absolute;
  inset: 0;
  border-radius: 42px;
  pointer-events: none;
  z-index: 7;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.42),
    inset 0 -1px 0 rgba(255,255,255,0.08),
    inset 1px 0 0 rgba(255,255,255,0.14),
    inset -1px 0 0 rgba(0,0,0,0.35);
}
.iphone-vignette {
  position: absolute;
  inset: 3px;
  border-radius: 40px;
  pointer-events: none;
  z-index: 6;
  box-shadow:
    inset 0 0 28px 8px rgba(0,0,0,0.18),
    inset 0 0 10px 2px rgba(0,0,0,0.12);
  background: radial-gradient(ellipse at 50% 42%, transparent 58%, rgba(0,0,0,0.14) 100%);
}
.iphone-glass {
  position: absolute;
  inset: 3px;
  border-radius: 40px;
  pointer-events: none;
  z-index: 6;
  background:
    linear-gradient(125deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.05) 12%, transparent 28%),
    linear-gradient(200deg, transparent 40%, rgba(62, 95, 122, 0.06) 72%, rgba(196, 165, 116, 0.05) 100%);
  mix-blend-mode: soft-light;
}
.iphone-wa-status {
  box-shadow: 0 1px 0 rgba(255,255,255,0.7), 0 6px 12px rgba(11, 20, 26, 0.06);
  transform: translateZ(0.5px);
  z-index: 4;
}
.iphone-wa-typing {
  align-self: flex-start;
  margin: 2px 0 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 16px;
  padding: 6px 10px;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
  font-size: 11.5px;
  font-weight: 500;
  color: #667781;
}
.iphone-wa-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}
.iphone-wa-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #667781;
  opacity: 0.45;
  animation: iphone-dot 1.2s ease-in-out infinite;
}
.iphone-wa-dots i:nth-child(2) { animation-delay: .2s; }
.iphone-wa-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes iphone-dot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
  40% { transform: translateY(-2px); opacity: 0.9; }
}
@media (max-width: 960px) {
  .iphone { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .iphone { transform: none !important; }
  .iphone-wa-dots i { animation: none; opacity: 0.6; }
}

/* ===== v3: 3D phone pair + camera-orbit (keep hero contrast + WA screen) ===== */
.iphone { transform: none; filter: none; }
.iphone-stage {
  position: relative;
  z-index: 2;
  width: 460px;
  min-height: 680px;
  perspective: 1600px;
  perspective-origin: 56% 42%;
  margin-bottom: 12px;
  margin-left: auto;
}
.iphone-orbit {
  position: relative;
  width: 100%;
  min-height: 680px;
  transform-style: preserve-3d;
  will-change: transform;
  animation: iphone-orbit 13s ease-in-out infinite;
}
@keyframes iphone-orbit {
  0%   { transform: rotateY(-22deg) rotateX(4deg); }
  50%  { transform: rotateY(22deg) rotateX(-4deg); }
  100% { transform: rotateY(-22deg) rotateX(4deg); }
}
.iphone-pair {
  position: relative;
  width: 314px;
  margin-left: auto;
  margin-right: 4px;
  transform-style: preserve-3d;
}
.iphone-front {
  position: relative;
  z-index: 2;
  width: 314px;
  margin: 0;
  transform: rotateY(-4deg) rotateX(1.5deg);
  transform-style: preserve-3d;
}
.iphone-rear {
  position: absolute;
  z-index: 1;
  width: 286px;
  left: -104px;
  top: 42px;
  margin: 0;
  transform: rotateY(16deg) rotateX(2deg) translateZ(-80px);
  transform-style: preserve-3d;
}
.iphone-3d {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
}
.iphone-front .iphone-body,
.iphone-rear .iphone-back-body {
  transform: translateZ(4.5px);
  transform-style: preserve-3d;
}

.iphone-side {
  position: absolute;
  pointer-events: none;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.5) 0 1px, rgba(255,255,255,0.1) 3px, transparent 46%, rgba(0,0,0,0.38) 100%),
    repeating-linear-gradient(180deg, rgba(255,255,255,0.07) 0 1px, rgba(0,0,0,0.04) 1px 3px),
    linear-gradient(180deg, #d2d2d6 0%, #8e8e94 10%, #4c4c52 22%, #6f6f75 48%, #333337 76%, #9c9ca2 100%);
  background-size: 220% 100%, 100% 6px, 220% 100%;
  animation: iphone-side-light 13s ease-in-out infinite;
}
@keyframes iphone-side-light {
  0%   { background-position: 0% 0, 0 0, 0% 0; }
  50%  { background-position: 100% 0, 0 0, 100% 0; }
  100% { background-position: 0% 0, 0 0, 0% 0; }
}
.iphone-side-right {
  top: 14px;
  bottom: 14px;
  width: 9px;
  left: 100%;
  margin-left: -1px;
  transform-origin: left center;
  transform: rotateY(90deg);
  border-radius: 1px 2px 2px 1px;
}
.iphone-side-left {
  top: 14px;
  bottom: 14px;
  width: 9px;
  right: 100%;
  margin-right: -1px;
  left: auto;
  transform-origin: right center;
  transform: rotateY(-90deg);
  border-radius: 2px 1px 1px 2px;
}
.iphone-side-top {
  left: 16px;
  right: 16px;
  height: 9px;
  bottom: 100%;
  margin-bottom: -1px;
  transform-origin: center bottom;
  transform: rotateX(90deg);
  border-radius: 2px;
}
.iphone-side-bottom {
  left: 16px;
  right: 16px;
  height: 9px;
  top: 100%;
  margin-top: -1px;
  transform-origin: center top;
  transform: rotateX(-90deg);
  border-radius: 2px;
}
.iphone-side-chamfer {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1.4px;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.18) 40%, rgba(255,255,255,0.5));
  border-radius: 1px;
  pointer-events: none;
}
.iphone-side-right .iphone-side-chamfer { left: 0; }
.iphone-side-left .iphone-side-chamfer { right: 0; left: auto; }
.iphone-antenna {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(0,0,0,0.12), rgba(18,18,20,0.74), rgba(0,0,0,0.12));
  box-shadow: inset 0 0.5px 0 rgba(255,255,255,0.16);
}
.iphone-antenna-top { top: 11%; }
.iphone-antenna-bot { bottom: 11%; }
.iphone-side-top .iphone-antenna-mid,
.iphone-side-bottom .iphone-antenna-mid {
  left: 12%;
  right: 12%;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
}

.iphone-3d .iphone-btn {
  position: absolute;
  z-index: 3;
  left: 50%;
  background: linear-gradient(90deg, #c4c4c8, #6c6c72 36%, #2a2a2e);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 0 0.5px rgba(0,0,0,0.65);
  border-radius: 1px;
}
.iphone-side-left .iphone-btn-silent {
  top: 118px;
  width: 2.5px;
  height: 22px;
  transform: translate(-50%, 0) translateZ(2.4px);
  border-radius: 1px;
}
.iphone-side-left .iphone-btn-vol-up {
  top: 158px;
  width: 3px;
  height: 42px;
  transform: translate(-50%, 0) translateZ(2.5px);
}
.iphone-side-left .iphone-btn-vol-down {
  top: 208px;
  width: 3px;
  height: 42px;
  transform: translate(-50%, 0) translateZ(2.5px);
}
.iphone-side-right .iphone-btn-power {
  top: 186px;
  width: 3px;
  height: 64px;
  transform: translate(-50%, 0) translateZ(2.6px);
  background: linear-gradient(90deg, #2a2a2e, #6c6c72 40%, #c4c4c8);
}

/* Layered shadows — not a filter on the screen, so type stays crisp */
.iphone-contact-shadow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  filter: blur(14px);
  background: radial-gradient(ellipse at center, rgba(10, 8, 6, 0.55) 0%, rgba(10, 8, 6, 0.18) 48%, transparent 72%);
  animation: iphone-shadow-shift 13s ease-in-out infinite;
}
.iphone-contact-shadow.is-front {
  left: 8%;
  right: -6%;
  bottom: -28px;
  height: 46px;
}
.iphone-contact-shadow.is-rear {
  left: -30%;
  width: 68%;
  right: auto;
  bottom: 8px;
  height: 36px;
  opacity: 0.7;
}
@keyframes iphone-shadow-shift {
  0%   { transform: translateX(16px) scale(1); opacity: 0.75; }
  50%  { transform: translateX(-16px) scale(0.95); opacity: 0.48; }
  100% { transform: translateX(16px) scale(1); opacity: 0.75; }
}

/* Lighting that travels with the orbit */
.iphone-front .iphone-glare,
.iphone-back-glare {
  background-size: 220% 220%;
  animation: iphone-glare-shift 13s ease-in-out infinite;
}
@keyframes iphone-glare-shift {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 28%; }
  100% { background-position: 0% 0%; }
}

/* Rear phone: frosted graphite/stone back, no logos */
.iphone-back-body {
  position: relative;
  border-radius: 50px;
  overflow: hidden;
  aspect-ratio: 9 / 19.4;
  background: #2a2826;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.22),
    inset 0 -1px 2px rgba(0,0,0,0.5),
    inset 1px 0 1px rgba(255,255,255,0.08),
    inset -1px 0 1px rgba(0,0,0,0.35);
}
.iphone-back-glass {
  position: absolute;
  inset: 3px;
  border-radius: 47px;
  background:
    radial-gradient(ellipse at 28% 16%, rgba(255,255,255,0.16), transparent 42%),
    radial-gradient(ellipse at 78% 72%, rgba(196, 165, 116, 0.07), transparent 40%),
    linear-gradient(165deg, #3f3c3a 0%, #2c2a27 44%, #1f1d1a 100%);
}
.iphone-back-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.iphone-back-glare {
  position: absolute;
  inset: 3px;
  border-radius: 47px;
  pointer-events: none;
  background-image: linear-gradient(125deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.07) 16%, transparent 36%, transparent 62%, rgba(255,255,255,0.08) 84%, transparent 100%);
  mix-blend-mode: soft-light;
}
.iphone-cam-bump {
  position: absolute;
  top: 22px;
  left: 16px;
  width: 118px;
  height: 122px;
  border-radius: 28px;
  background: linear-gradient(145deg, #4a4846 0%, #2a2826 40%, #1a1816 100%);
  box-shadow:
    0 8px 16px rgba(0,0,0,0.42),
    0 2px 4px rgba(0,0,0,0.3),
    inset 0 1px 1px rgba(255,255,255,0.22),
    inset 0 -1px 1px rgba(0,0,0,0.5);
  transform: translateZ(6px);
}
.iphone-cam-plate {
  position: absolute;
  inset: 5px;
  border-radius: 24px;
  background: linear-gradient(160deg, #3a3836, #23211f 60%, #2e2c2a);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.iphone-lens {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, #5a5856, #1c1a18);
  box-shadow:
    0 1px 2px rgba(0,0,0,0.55),
    inset 0 1px 1px rgba(255,255,255,0.25),
    inset 0 -1px 1px rgba(0,0,0,0.5);
  display: grid;
  place-items: center;
}
.iphone-lens i {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 32%, rgba(180,200,220,0.48), transparent 28%),
    radial-gradient(circle at 62% 68%, rgba(20,40,80,0.55), #0a1018 58%, #050608 100%);
  box-shadow: 0 0 0 2px #1a1816, inset 0 0 6px rgba(255,255,255,0.12);
}
.iphone-lens.is-tl { top: 8px; left: 8px; }
.iphone-lens.is-tr { top: 8px; right: 8px; }
.iphone-lens.is-bl { bottom: 10px; left: 8px; width: 38px; height: 38px; }
.iphone-lens.is-bl i { width: 26px; height: 26px; }
.iphone-flash {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  right: 18px;
  bottom: 28px;
  background: radial-gradient(circle at 40% 35%, #f4f0e6, #c8bba8 45%, #8a8070);
  box-shadow: 0 0 6px rgba(255,240,200,0.35), inset 0 1px 1px rgba(255,255,255,0.7);
}
.iphone-sensor {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  right: 22px;
  bottom: 12px;
  background: radial-gradient(circle at 40% 35%, #3a3a3c, #111);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

html.atm-paused .iphone-orbit,
html.atm-paused .iphone-side,
html.atm-paused .iphone-front .iphone-glare,
html.atm-paused .iphone-back-glare,
html.atm-paused .iphone-contact-shadow,
html.orbit-paused .iphone-orbit,
html.orbit-paused .iphone-side,
html.orbit-paused .iphone-front .iphone-glare,
html.orbit-paused .iphone-back-glare,
html.orbit-paused .iphone-contact-shadow {
  animation-play-state: paused !important;
}
html.is-capturing .iphone-wa-dots i { animation: none !important; }

@media (max-width: 960px) {
  .iphone-stage {
    width: min(400px, 92vw);
    min-height: 620px;
    margin-inline: auto;
  }
  .iphone-orbit { min-height: 620px; }
  .iphone-pair { margin: 0 auto; }
  .iphone.iphone-front { transform: rotateY(-4deg) rotateX(1.5deg); filter: none; }
}
@media (max-width: 599px) {
  .iphone-rear,
  .iphone-contact-shadow.is-rear { display: none; }
  .iphone-stage {
    width: min(300px, 88vw);
    min-height: 0;
    perspective: 1200px;
    margin-inline: auto;
  }
  .iphone-orbit {
    min-height: 0;
    animation-name: iphone-orbit-mobile;
  }
  .iphone-pair { width: 100%; margin: 0 auto; }
  .iphone-front { width: 100%; transform: none; }
}
@keyframes iphone-orbit-mobile {
  0%   { transform: rotateY(-10deg) rotateX(2deg); }
  50%  { transform: rotateY(10deg) rotateX(-2deg); }
  100% { transform: rotateY(-10deg) rotateX(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .iphone-orbit,
  .iphone-side,
  .iphone-front .iphone-glare,
  .iphone-back-glare,
  .iphone-contact-shadow {
    animation: none !important;
  }
  .iphone-orbit { transform: rotateY(-8deg) rotateX(3deg); }
  .iphone.iphone-front { transform: rotateY(-6deg) rotateX(2deg) !important; filter: none !important; }
  .iphone.iphone-rear { transform: rotateY(16deg) rotateX(2deg) translateZ(-80px) !important; }
}
@media (max-width: 599px) and (prefers-reduced-motion: reduce) {
  .iphone-orbit,
  .iphone.iphone-front { transform: none !important; }
}

/* ===== Design pass + accessibility + print (40+, calm limestone/granite) ===== */
:root {
  --space-section: 96px;
  --space-section-inner: 64px;
  --space-section-m: 64px;
  --space-section-inner-m: 48px;
  --ink-mute: #5C5954;
  --pedra: #5C5954;
  --ink-soft: #4A4742;
  --terracota-btn: #9E4A30;
  --terracota-btn-hover: #8F432C;
  --radius: 16px;
  --shadow-soft: 0 8px 24px rgba(31, 29, 26, 0.07);
  --shadow: 0 16px 40px rgba(31, 29, 26, 0.10);
  --max: 1120px;
}

::selection { background: rgba(184, 92, 59, 0.28); color: #1F1D1A; }

body {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--calcário);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.035em; line-height: 1.1; }
h2 { font-size: clamp(1.85rem, 3vw, 2.45rem); letter-spacing: -0.03em; line-height: 1.15; }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.25; }
.lead, .section-head p {
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 42rem;
  color: var(--ink-soft);
}
.section { padding: var(--space-section) 0; }
.section-head { margin-bottom: var(--space-section-inner); }
.condo-sub { padding: var(--space-section) 0 0; }
.condo-sub:last-child { padding-bottom: var(--space-section); }
.condo-subhead h3 { font-size: clamp(1.85rem, 3vw, 2.45rem); }

@media (max-width: 760px) {
  .section { padding: var(--space-section-m) 0; }
  .condo-sub { padding: var(--space-section-m) 0 0; }
  .condo-sub:last-child { padding-bottom: var(--space-section-m); }
  .section-head { margin-bottom: var(--space-section-inner-m); }
  body { font-size: 1.125rem; }
}

/* Calm backgrounds: no noisy texture under text */
.atmosphere-grain { opacity: 0.03; }
.atmosphere-azulejo { opacity: 0.02; }
.atmosphere-blobs .blob { opacity: 0.08; }
.trust-strip,
.problema,
.funcionalidades,
.servicos,
.faq,
.demo,
.precos {
  background-image: none !important;
}
.trust-strip,
.funcionalidades,
.servicos,
.faq {
  background-color: var(--calcário-claro) !important;
  background: var(--calcário-claro) !important;
}
.problema,
.demo,
.precos {
  background-color: var(--calcário) !important;
  background: var(--calcário) !important;
  color: var(--ink);
}
.como {
  color: var(--ink);
  background: #EDE6DA !important;
  background-image: none !important;
}
.como .eyebrow { color: var(--granito); }
.como .section-head p,
.como .step p,
.como .lead { color: var(--ink-soft) !important; }
.como h2, .como h3 { color: var(--ink); }
.como .glass {
  background: #FAF7F2;
  border-color: var(--line);
  color: var(--ink);
}
.como .feature-icon {
  background: rgba(62, 95, 122, 0.1);
  color: var(--azulejo-deep);
  border-color: rgba(62, 95, 122, 0.22);
}
.como .step-num { color: var(--cortiça); text-shadow: none; }
.lista {
  background-image: none !important;
  background: linear-gradient(180deg, #1C1A17 0%, #161412 100%) !important;
}
.site-footer {
  background-image: none !important;
  background: #161412 !important;
}
.site-footer::before { opacity: 0.08; }
.hero .azulejo-bg { opacity: 0.02; }

/* Cards & buttons */
.glass,
.service-card,
.plan,
.problem-card,
.step,
.feature,
.faq-item,
.obra-form,
.obra-success,
.module {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.btn {
  min-height: 44px;
  padding: 12px 22px;
  font-size: 1rem;
}
.btn-primary {
  background: var(--terracota-btn);
  color: #FAF7F2;
}
.btn-primary:hover { background: var(--terracota-btn-hover); }

/* Touch targets and focus */
.skip:focus,
.skip:focus-visible {
  top: 12px;
  outline: 2px solid #C4A574;
  outline-offset: 3px;
}
.nav-toggle,
.lang-chip,
.lang-more,
.nav-links a,
.city-picker-trigger,
.service-tabs [role="tab"],
.tools-nav [role="tab"],
.faq-item summary,
.lang-menu button,
.city-group-toggle {
  min-height: 44px;
}
.lang-chip, .lang-more { min-width: 44px; }
.nav-links a:focus { outline: none; } /* keep, rely on focus-visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[role="tab"]:focus-visible,
[role="option"]:focus-visible,
.lang-chip:focus-visible,
.lang-more:focus-visible,
.city-picker-trigger:focus-visible,
.city-picker-search:focus-visible,
.logo:focus-visible {
  outline: 2px solid var(--azulejo);
  outline-offset: 3px;
}

/* Form errors: clear, persistent, associated */
.field .error,
[data-err] {
  color: #8F432C;
  font-weight: 650;
  font-size: 0.95rem;
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #8F432C;
  box-shadow: 0 0 0 3px rgba(143, 67, 44, 0.18);
}

/* Phone pair: keep rear behind the front screen (no z-fight) */
.iphone-front { z-index: 4; isolation: isolate; }
.iphone-rear { z-index: 1; }
.iphone-cam-bump { transform: translateZ(2px); }

/* Footer rhythm */
.footer-grid {
  padding-top: 48px;
  padding-bottom: 40px;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none !important; opacity: 1; transform: none; }
  .iphone-orbit,
  .iphone-side,
  .iphone-front .iphone-glare,
  .iphone-back-glare,
  .iphone-contact-shadow,
  .iphone-wa-dots i,
  .header-grain,
  .h-bloom,
  .blob {
    animation: none !important;
  }
}

/* Print */
@media print {
  .atmosphere,
  .header-atmosphere,
  .drawer-atmosphere,
  .scroll-progress,
  .nav-toggle,
  .lang-switch,
  .iphone-stage,
  .hero-visual,
  .city-band,
  .skip { display: none !important; }
  body, .section, .hero, .como, .lista, .site-footer, .precos, .servicos {
    background: #fff !important;
    background-image: none !important;
    color: #1F1D1A !important;
  }
  .hero h1, h1, h2, h3, .lead, p, li, a { color: #1F1D1A !important; }
  a[href]::after { content: " (" attr(href) ")"; font-weight: 400; font-size: 0.85em; }
  .site-header { position: static; box-shadow: none; }
  .btn { box-shadow: none; }
}
.site-header .btn-primary,
.nav-cta.btn-primary,
.btn-primary {
  background: var(--terracota-btn);
  color: #FAF7F2 !important;
}
.site-header .btn-primary:hover,
.btn-primary:hover { background: var(--terracota-btn-hover); color: #FAF7F2 !important; }
.nav-toggle { min-width: 44px; min-height: 44px; width: 44px; }
.footer-col a, .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a { white-space: nowrap; }

/* ===== v4 trio: front-left + back-center + front-right, no z-fight ===== */
.iphone-stage {
  width: 540px;
  min-height: 700px;
  perspective: 1800px;
  perspective-origin: 50% 42%;
  margin-left: auto;
  overflow: visible;
}
.iphone-orbit {
  min-height: 700px;
  transform-style: preserve-3d;
}
.iphone-trio,
.iphone-pair {
  position: relative;
  width: 540px;
  height: 680px;
  margin: 0;
  /* Flatten sibling phones so z-index wins and planes cannot interpenetrate */
  transform-style: flat;
  isolation: isolate;
}
.iphone-front,
.iphone-rear {
  isolation: isolate;
  filter: none;
}
.iphone-rear {
  position: absolute;
  z-index: 1;
  width: 276px;
  left: 50%;
  top: 18px;
  margin: 0;
  transform: translateX(-50%) rotateY(-6deg) rotateX(4deg);
  transform-style: preserve-3d;
}
.iphone-front-left,
.iphone.iphone-front-left {
  position: absolute;
  z-index: 3;
  width: 262px;
  left: 0;
  top: 52px;
  margin: 0;
  transform: rotateY(17deg) rotateX(3deg);
  transform-style: preserve-3d;
  filter: none;
}
.iphone-front-right,
.iphone.iphone-front-right {
  position: absolute;
  z-index: 3;
  width: 262px;
  left: auto;
  right: 0;
  top: 52px;
  margin: 0;
  transform: rotateY(-17deg) rotateX(3deg);
  transform-style: preserve-3d;
  filter: none;
}
.iphone-contact-shadow.is-rear {
  left: 28%;
  width: 44%;
  right: auto;
  bottom: 36px;
  height: 40px;
  opacity: 0.65;
}
.iphone-contact-shadow.is-front-left {
  left: 2%;
  width: 36%;
  right: auto;
  bottom: 8px;
  height: 42px;
}
.iphone-contact-shadow.is-front-right {
  left: auto;
  right: 0;
  width: 36%;
  bottom: 8px;
  height: 42px;
}
/* Kill leftover pair-era placement that caused the dark slab */
.iphone-front:not(.iphone-front-left):not(.iphone-front-right) {
  position: relative;
}
.iphone-cam-bump { transform: translateZ(3px); }

@media (max-width: 1080px) {
  .iphone-stage { width: min(520px, 96vw); margin-inline: auto; }
  .iphone-trio, .iphone-pair { width: 100%; }
}
@media (max-width: 599px) {
  .iphone-rear,
  .iphone-front-left,
  .iphone-front-right,
  .iphone-contact-shadow.is-rear { display: block; }
  .iphone-stage {
    width: min(370px, 96vw);
    min-height: 460px;
    margin-inline: auto;
  }
  .iphone-orbit { min-height: 460px; }
  .iphone-trio, .iphone-pair {
    width: 540px;
    height: 680px;
    transform: scale(0.66);
    transform-origin: top center;
    margin-inline: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .iphone-orbit { transform: none; }
  .iphone.iphone-front-left { transform: rotateY(17deg) rotateX(3deg) !important; filter: none !important; }
  .iphone.iphone-front-right { transform: rotateY(-17deg) rotateX(3deg) !important; filter: none !important; }
  .iphone.iphone-rear { transform: translateX(-50%) rotateY(-6deg) rotateX(4deg) !important; }
}

/* v4 trio spacing: back must read clearly in the centre gap */
.iphone-stage {
  width: 560px;
  min-height: 640px;
}
.iphone-orbit { min-height: 640px; }
.iphone-trio,
.iphone-pair {
  width: 660px;
  height: 720px;
  transform: scale(0.84);
  transform-origin: right top;
  transform-style: flat;
}
.iphone-rear {
  width: 288px;
  left: 50%;
  top: 0;
  z-index: 1;
  transform: translateX(-50%) rotateY(-8deg) rotateX(5deg);
  transform-style: preserve-3d;
}
.iphone-front-left,
.iphone.iphone-front-left {
  width: 236px;
  left: 0;
  top: 118px;
  z-index: 3;
  transform: rotateY(19deg) rotateX(3deg);
  transform-style: preserve-3d;
}
.iphone-front-right,
.iphone.iphone-front-right {
  width: 236px;
  left: auto;
  right: 0;
  top: 118px;
  z-index: 3;
  transform: rotateY(-19deg) rotateX(3deg);
  transform-style: preserve-3d;
}
.iphone-contact-shadow.is-rear { bottom: 88px; left: 30%; width: 40%; }
.iphone-contact-shadow.is-front-left { bottom: 24px; left: 4%; width: 32%; }
.iphone-contact-shadow.is-front-right { bottom: 24px; right: 2%; width: 32%; }

@media (max-width: 1080px) {
  .iphone-stage { width: min(520px, 96vw); }
  .iphone-trio, .iphone-pair {
    transform: scale(0.78);
    transform-origin: center top;
  }
}
@media (max-width: 599px) {
  .iphone-stage {
    width: min(370px, 96vw);
    min-height: 500px;
  }
  .iphone-orbit { min-height: 500px; }
  .iphone-trio, .iphone-pair {
    width: 660px;
    height: 720px;
    transform: scale(0.56);
    transform-origin: top center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .iphone-orbit { transform: none; }
  .iphone.iphone-front-left { transform: rotateY(19deg) rotateX(3deg) !important; }
  .iphone.iphone-front-right { transform: rotateY(-19deg) rotateX(3deg) !important; }
  .iphone.iphone-rear { transform: translateX(-50%) rotateY(-8deg) rotateX(5deg) !important; }
}

/* ===== v4 trio FINAL: fit in hero, visible back, thicker titanium, no clip ===== */
.hero-visual,
.iphone-stage,
.iphone-orbit { overflow: visible; }

.iphone-stage {
  width: 520px !important;
  min-height: 600px !important;
  margin-left: auto;
  perspective: 1800px;
  perspective-origin: 50% 40%;
}
.iphone-orbit {
  width: 520px;
  min-height: 600px !important;
  transform-style: preserve-3d;
}
.iphone-trio,
.iphone-pair {
  position: relative;
  width: 520px !important;
  height: 620px !important;
  margin: 0;
  transform: none !important;
  transform-style: flat;
  isolation: isolate;
}
.iphone-rear,
.iphone.iphone-rear {
  position: absolute !important;
  display: block !important;
  z-index: 1;
  width: 232px !important;
  left: 50% !important;
  top: 0 !important;
  margin: 0;
  transform: translateX(-50%) rotateY(22deg) rotateX(6deg) !important;
  transform-style: preserve-3d;
  filter: none !important;
}
.iphone-front-left,
.iphone.iphone-front-left {
  position: absolute !important;
  display: block !important;
  z-index: 3;
  width: 196px !important;
  left: 0 !important;
  right: auto !important;
  top: 98px !important;
  margin: 0;
  transform: rotateY(24deg) rotateX(3deg) !important;
  transform-style: preserve-3d;
  filter: none !important;
}
.iphone-front-right,
.iphone.iphone-front-right {
  position: absolute !important;
  display: block !important;
  z-index: 3;
  width: 196px !important;
  left: auto !important;
  right: 0 !important;
  top: 98px !important;
  margin: 0;
  transform: rotateY(-24deg) rotateX(3deg) !important;
  transform-style: preserve-3d;
  filter: none !important;
}
.iphone-contact-shadow.is-rear {
  display: block !important;
  left: 28%;
  width: 44%;
  right: auto;
  bottom: 70px;
  height: 36px;
}
.iphone-contact-shadow.is-front-left { left: 1%; width: 34%; bottom: 16px; }
.iphone-contact-shadow.is-front-right { left: auto; right: 0; width: 34%; bottom: 16px; }

/* Thicker brushed titanium edges + face seated on the slab */
.iphone-side-right,
.iphone-side-left { width: 14px; }
.iphone-side-top,
.iphone-side-bottom { height: 14px; }
.iphone-front .iphone-body,
.iphone-rear .iphone-back-body { transform: translateZ(7px); transform-style: preserve-3d; }

/* Back glass + bump: visible even when partly covered */
.iphone-rear .iphone-back-body {
  overflow: visible;
  box-shadow:
    inset 0 0 0 1.5px rgba(214, 210, 204, 0.42),
    inset 0 2px 2px rgba(255,255,255,0.32),
    inset 0 -2px 3px rgba(0,0,0,0.55),
    0 22px 40px rgba(0,0,0,0.38);
}
.iphone-rear .iphone-back-glass {
  background:
    radial-gradient(ellipse at 28% 14%, rgba(255,255,255,0.32), transparent 36%),
    radial-gradient(ellipse at 82% 78%, rgba(196, 165, 116, 0.14), transparent 44%),
    linear-gradient(158deg, #55514d 0%, #322f2c 42%, #1c1a18 100%);
}
.iphone-rear .iphone-back-glare {
  opacity: 1;
  background-image: linear-gradient(122deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.14) 18%, transparent 36%, transparent 60%, rgba(255,255,255,0.12) 82%, transparent 100%);
}
.iphone-cam-bump {
  transform: translateZ(8px);
  box-shadow:
    0 10px 18px rgba(0,0,0,0.5),
    0 2px 4px rgba(0,0,0,0.35),
    inset 0 1px 1px rgba(255,255,255,0.3),
    inset 0 -1px 1px rgba(0,0,0,0.55);
}

@media (max-width: 1080px) {
  .iphone-stage { width: min(520px, 96vw) !important; margin-inline: auto; }
  .iphone-trio, .iphone-pair { transform: none !important; }
}
@media (max-width: 599px) {
  .iphone-rear,
  .iphone-front-left,
  .iphone-front-right,
  .iphone-contact-shadow.is-rear { display: block !important; }
  .iphone-stage {
    width: min(370px, 96vw) !important;
    min-height: 430px !important;
    margin-inline: auto;
  }
  .iphone-orbit {
    width: 100%;
    min-height: 430px !important;
  }
  .iphone-trio,
  .iphone-pair {
    width: 520px !important;
    height: 620px !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%) scale(0.70) !important;
    transform-origin: top center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .iphone-orbit { transform: none !important; }
  .iphone.iphone-front-left { transform: rotateY(24deg) rotateX(3deg) !important; }
  .iphone.iphone-front-right { transform: rotateY(-24deg) rotateX(3deg) !important; }
  .iphone.iphone-rear { transform: translateX(-50%) rotateY(22deg) rotateX(6deg) !important; }
}

/* v4 polish: drop ghost plate, slightly larger fronts, tighter mobile stage */
.iphone-rear .iphone-back-body {
  box-shadow:
    inset 0 0 0 1.5px rgba(214, 210, 204, 0.5),
    inset 0 2px 2px rgba(255,255,255,0.35),
    inset 0 -2px 3px rgba(0,0,0,0.55) !important;
}
.iphone-front-left,
.iphone.iphone-front-left {
  width: 214px !important;
  top: 92px !important;
}
.iphone-front-right,
.iphone.iphone-front-right {
  width: 214px !important;
  top: 92px !important;
}
.iphone-rear,
.iphone.iphone-rear {
  width: 240px !important;
}
.iphone-contact-shadow.is-rear {
  bottom: 24px;
  opacity: 0.45;
  filter: blur(18px);
}
@media (max-width: 599px) {
  .iphone-stage {
    height: 444px !important;
    min-height: 444px !important;
    overflow: hidden;
  }
}

/* Pricing: single early-access CTA, no live checkout */
.plans-cta {
  margin-top: 40px;
  text-align: center;
}
.plans-cta .btn {
  min-height: 44px;
  min-width: 14rem;
}
.price-pay-later {
  margin: 14px auto 0;
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #5C5954;
}

/* ===== v4.2 trio: full back visible, chrome typography, front rim + buttons ===== */
.iphone-stage {
  width: 640px !important;
  min-height: 580px !important;
  margin-left: -40px;
  margin-right: -70px;
  overflow: visible;
  perspective: 1800px;
  perspective-origin: 50% 40%;
}
.iphone-orbit {
  width: 640px;
  min-height: 580px !important;
  transform-style: preserve-3d;
}
.iphone-trio,
.iphone-pair {
  position: relative;
  width: 620px !important;
  height: 560px !important;
  margin: 0 auto;
  transform: none !important;
  transform-style: flat;
  isolation: isolate;
}
.iphone-rear,
.iphone.iphone-rear {
  position: absolute !important;
  display: block !important;
  z-index: 1;
  width: 216px !important;
  left: 50% !important;
  top: 8px !important;
  margin: 0;
  transform: translateX(-50%) rotateY(12deg) rotateX(5deg) !important;
  transform-style: preserve-3d;
  filter: none !important;
}
.iphone-front-left,
.iphone.iphone-front-left {
  position: absolute !important;
  display: block !important;
  z-index: 3;
  width: 196px !important;
  left: 0 !important;
  right: auto !important;
  top: 36px !important;
  margin: 0;
  transform: rotateY(16deg) rotateX(3deg) !important;
  transform-style: preserve-3d;
  filter: none !important;
}
.iphone-front-right,
.iphone.iphone-front-right {
  position: absolute !important;
  display: block !important;
  z-index: 3;
  width: 196px !important;
  left: auto !important;
  right: 0 !important;
  top: 36px !important;
  margin: 0;
  transform: rotateY(-16deg) rotateX(3deg) !important;
  transform-style: preserve-3d;
  filter: none !important;
}
.iphone-contact-shadow.is-rear {
  display: block !important;
  left: 30%;
  width: 40%;
  bottom: 16px;
  height: 36px;
  opacity: 0.4;
  filter: blur(18px);
}
.iphone-contact-shadow.is-front-left { left: 0; width: 30%; bottom: 4px; }
.iphone-contact-shadow.is-front-right { left: auto; right: 0; width: 30%; bottom: 4px; }

/* Back: plain logo-free glass, clear gradient reflection */
.iphone-rear .iphone-back-body {
  overflow: visible;
  box-shadow:
    inset 0 0 0 1.5px rgba(214, 210, 204, 0.55),
    inset 0 2px 2px rgba(255,255,255,0.38),
    inset 0 -2px 3px rgba(0,0,0,0.55) !important;
}
.iphone-rear .iphone-back-glass {
  background:
    radial-gradient(ellipse at 26% 12%, rgba(255,255,255,0.42), transparent 34%),
    linear-gradient(125deg, rgba(255,255,255,0.22) 0%, transparent 28%),
    linear-gradient(165deg, #6a6560 0%, #3a3734 38%, #241f1c 72%, #2c2926 100%) !important;
}
.iphone-rear .iphone-back-glare {
  opacity: 1;
  background-image: linear-gradient(118deg, rgba(255,255,255,0.58) 0%, rgba(255,255,255,0.18) 16%, transparent 34%, transparent 58%, rgba(255,255,255,0.16) 78%, transparent 100%) !important;
}

/* Front: brushed titanium rim, depth, raised edge buttons */
.iphone-front .iphone-body {
  padding: 10px;
  background:
    linear-gradient(155deg, rgba(255,255,255,0.42) 0%, transparent 26%),
    linear-gradient(115deg, #d2d2d6 0%, #8a8a8e 12%, #4a4a4e 32%, #6a6a70 50%, #2a2a2c 74%, #b0b0b6 100%);
  box-shadow:
    inset 0 1.5px 2px rgba(255,255,255,0.55),
    inset 0 -1.5px 2px rgba(0,0,0,0.55),
    inset 1.5px 0 1px rgba(255,255,255,0.28),
    inset -1.5px 0 2px rgba(0,0,0,0.4),
    0 16px 28px rgba(0,0,0,0.38),
    0 4px 10px rgba(0,0,0,0.22);
  transform: translateZ(7px);
  transform-style: preserve-3d;
}
.iphone-front .iphone-rim {
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(0,0,0,0.35),
    inset 1px 0 0 rgba(255,255,255,0.22),
    inset -1px 0 0 rgba(0,0,0,0.4);
}
.iphone-edge-btn {
  position: absolute;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(90deg, #e8e8ec, #9a9aa0 38%, #3a3a3e);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(0,0,0,0.45),
    0 1px 2px rgba(0,0,0,0.4);
  border-radius: 2px;
}
.iphone-edge-silent {
  left: -4px;
  top: 108px;
  width: 4px;
  height: 20px;
  border-radius: 2px 0 0 2px;
}
.iphone-edge-vol-up {
  left: -4px;
  top: 146px;
  width: 4.5px;
  height: 36px;
  border-radius: 2px 0 0 2px;
}
.iphone-edge-vol-down {
  left: -4px;
  top: 190px;
  width: 4.5px;
  height: 36px;
  border-radius: 2px 0 0 2px;
}
.iphone-edge-power {
  right: -4px;
  left: auto;
  top: 168px;
  width: 4.5px;
  height: 56px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(270deg, #e8e8ec, #9a9aa0 38%, #3a3a3e);
}

/* Header: ViverCá must remain fully visible */
.iphone-wa-head { gap: 3px; padding: 4px 6px 8px 1px; }
.iphone-wa-back { width: 20px; height: 28px; flex-shrink: 0; }
.iphone-wa-back svg { width: 16px; height: 16px; }
.iphone-wa-avatar { width: 26px; height: 26px; }
.iphone-wa-avatar svg { width: 26px; height: 26px; }
.iphone-wa-id { flex: 1 1 auto; min-width: 4.5rem; }
.iphone-wa-id strong {
  font-size: 11px;
  letter-spacing: -0.02em;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}
.iphone-wa-id span { font-size: 10px; }
.iphone-wa-actions { gap: 6px; padding-right: 0; }
.iphone-wa-actions svg { width: 15px; height: 15px; }

/* Composer: placeholder must not cover clip/camera */
.iphone-wa-composer {
  gap: 4px;
  padding: 5px 5px 12px;
}
.iphone-ico-emoji,
.iphone-ico-clip,
.iphone-ico-cam {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.iphone-wa-field {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 5px 8px;
  font-size: 11px;
}
.iphone-wa-mic { width: 26px; height: 26px; flex-shrink: 0; }
.iphone-wa-mic svg { width: 13px; height: 13px; }

@media (max-width: 1080px) {
  .iphone-stage { width: min(620px, 96vw) !important; margin-left: auto; margin-right: auto; }
  .iphone-trio, .iphone-pair { transform: none !important; }
}
@media (max-width: 599px) {
  .iphone-rear,
  .iphone-front-left,
  .iphone-front-right,
  .iphone-contact-shadow.is-rear { display: block !important; }
  .iphone-stage {
    width: min(370px, 96vw) !important;
    height: 340px !important;
    min-height: 340px !important;
    margin-inline: auto !important;
    overflow: hidden;
  }
  .iphone-orbit {
    width: 100%;
    min-height: 340px !important;
  }
  .iphone-trio,
  .iphone-pair {
    width: 620px !important;
    height: 560px !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%) scale(0.58) !important;
    transform-origin: top center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .iphone-orbit { transform: none !important; }
  .iphone.iphone-front-left { transform: rotateY(16deg) rotateX(3deg) !important; }
  .iphone.iphone-front-right { transform: rotateY(-16deg) rotateX(3deg) !important; }
  .iphone.iphone-rear { transform: translateX(-50%) rotateY(12deg) rotateX(5deg) !important; }
}

/* Hide leftover night-scene building: it painted a dark rounded slab + window frames under the back phone */
.hero .night-scene { display: none !important; }

/* ===== v5 single hero iPhone: one front device, larger, centered ===== */
.hero .night-scene { display: none !important; }

.iphone-stage {
  width: 400px !important;
  min-height: 720px !important;
  height: auto !important;
  margin: 0 auto !important;
  perspective: 1600px;
  perspective-origin: 50% 42%;
  overflow: visible;
}
.iphone-orbit {
  width: 400px !important;
  min-height: 720px !important;
  margin: 0 auto;
  transform-style: preserve-3d;
  animation-name: iphone-orbit-solo;
  animation-duration: 13s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes iphone-orbit-solo {
  0%   { transform: rotateY(-10deg) rotateX(3deg); }
  50%  { transform: rotateY(10deg) rotateX(-3deg); }
  100% { transform: rotateY(-10deg) rotateX(3deg); }
}
.iphone-solo,
.iphone-trio,
.iphone-pair {
  position: relative;
  width: 340px !important;
  height: auto !important;
  margin: 8px auto 0 !important;
  transform: none !important;
  transform-style: preserve-3d;
  isolation: auto;
  left: auto !important;
}
.iphone-front,
.iphone.iphone-front {
  position: relative !important;
  display: block !important;
  z-index: 2;
  width: 340px !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  margin: 0 auto !important;
  transform: rotateY(-11deg) rotateX(5deg) rotateZ(-1deg) !important;
  transform-style: preserve-3d;
  filter: none !important;
}
.iphone-contact-shadow.is-front,
.iphone-contact-shadow.is-front-left,
.iphone-contact-shadow.is-front-right,
.iphone-contact-shadow.is-rear {
  display: none !important;
}
.iphone-solo .iphone-contact-shadow.is-front {
  display: block !important;
  left: 10%;
  right: 6%;
  width: auto;
  bottom: -18px;
  height: 44px;
  opacity: 0.7;
  filter: blur(16px);
}

/* Keep typography comfortable on the larger screen */
.iphone-wa-head { gap: 4px; padding: 6px 8px 10px 4px; }
.iphone-wa-back { width: 24px; height: 32px; }
.iphone-wa-back svg { width: 20px; height: 20px; }
.iphone-wa-avatar { width: 32px; height: 32px; }
.iphone-wa-avatar svg { width: 32px; height: 32px; }
.iphone-wa-id strong {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.iphone-wa-id span { font-size: 11px; }
.iphone-wa-actions { gap: 10px; }
.iphone-wa-actions svg { width: 20px; height: 20px; }
.iphone-wa-composer { gap: 6px; padding: 6px 8px 14px; }
.iphone-ico-emoji,
.iphone-ico-clip,
.iphone-ico-cam { width: 20px; height: 20px; }
.iphone-wa-field {
  font-size: 13px;
  padding: 7px 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.iphone-wa-mic { width: 32px; height: 32px; }
.iphone-wa-mic svg { width: 15px; height: 15px; }

@media (max-width: 1080px) {
  .iphone-stage { width: min(360px, 86vw) !important; margin-inline: auto !important; }
  .iphone-orbit { width: 100% !important; }
  .iphone-solo, .iphone-front, .iphone.iphone-front { width: min(320px, 100%) !important; }
}
@media (max-width: 599px) {
  .iphone-stage {
    width: min(300px, 82vw) !important;
    min-height: 0 !important;
    height: auto !important;
    margin-inline: auto !important;
    overflow: visible;
  }
  .iphone-orbit {
    width: 100% !important;
    min-height: 0 !important;
    animation-name: iphone-orbit-solo-mobile;
  }
  .iphone-solo,
  .iphone-trio,
  .iphone-pair {
    width: 100% !important;
    height: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto !important;
  }
  .iphone-front,
  .iphone.iphone-front {
    width: 100% !important;
    transform: rotateY(-8deg) rotateX(4deg) !important;
  }
}
@keyframes iphone-orbit-solo-mobile {
  0%   { transform: rotateY(-8deg) rotateX(2deg); }
  50%  { transform: rotateY(8deg) rotateX(-2deg); }
  100% { transform: rotateY(-8deg) rotateX(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .iphone-orbit {
    animation: none !important;
    transform: none !important;
  }
  .iphone.iphone-front,
  .iphone-front {
    transform: rotateY(-11deg) rotateX(5deg) rotateZ(-1deg) !important;
  }
}
@media (max-width: 599px) and (prefers-reduced-motion: reduce) {
  .iphone-orbit { animation: none !important; transform: none !important; }
  .iphone.iphone-front,
  .iphone-front { transform: rotateY(-8deg) rotateX(4deg) !important; }
}

/* ===== v5.1 hero grid: proof/city are siblings; mobile 60/40 row ===== */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "copy visual"
    "proof visual"
    "city visual";
  column-gap: 56px;
  row-gap: 0;
  align-items: start;
}
.hero-copy { grid-area: copy; }
.hero-visual {
  grid-area: visual;
  grid-row: 1 / -1;
  align-self: center;
}
.hero-grid > .hero-proof { grid-area: proof; }
.hero-grid > .city-picker { grid-area: city; }

@media (max-width: 960px) {
  .hero {
    padding: 16px 0 0;
    overflow-x: hidden;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    grid-template-areas:
      "copy visual"
      "proof proof"
      "city city";
    column-gap: 12px;
    row-gap: 14px;
    align-items: center;
    padding-bottom: 20px;
  }
  .hero-visual {
    grid-row: auto;
    grid-area: visual;
    min-height: 0 !important;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    align-self: center;
  }
  .hero-copy { min-width: 0; }
  .hero-grid > .hero-proof {
    margin-top: 2px;
    max-width: none;
    gap: 6px 8px;
  }
  .hero-grid > .city-picker {
    margin-top: 4px;
    max-width: none;
  }
  .hero-visual .hero-note { display: none !important; }

  .hero h1 {
    font-size: clamp(1.75rem, 7.2vw, 2.15rem) !important;
    line-height: 1.15;
    margin: 0 0 8px;
  }
  .hero-kicker { margin-bottom: 8px; gap: 6px; }
  .hero-kicker .eyebrow { font-size: 0.65rem; letter-spacing: 0.1em; }
  .hero .chip {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    padding: 3px 8px;
  }
  .hero .lead,
  .hero .hero-sub {
    font-size: 0.95rem !important;
    line-height: 1.45;
    margin: 0;
    max-width: none;
  }
  .hero-actions {
    margin-top: 12px;
    gap: 8px;
    width: 100%;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 0.92rem;
  }
  .hero-proof li {
    font-size: 0.75rem !important;
    padding: 5px 9px;
  }
  .calcada { height: 40px; }

  /* Smaller phone, fills the 40% column only */
  .iphone-stage {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
    overflow: visible;
  }
  .iphone-orbit,
  .iphone-solo,
  .iphone-front,
  .iphone.iphone-front {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
  }
  .iphone-front,
  .iphone.iphone-front {
    transform: rotateY(-8deg) rotateX(3deg) !important;
  }
}

@media (max-width: 720px) {
  .hero-grid { column-gap: 10px; row-gap: 12px; padding-bottom: 16px; }
  .wrap.hero-grid,
  .hero .wrap { width: min(var(--max), calc(100% - 28px)); }
}

@media (prefers-reduced-motion: reduce) {
  .iphone-orbit { animation: none !important; transform: none !important; }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) {
  .iphone.iphone-front,
  .iphone-front { transform: rotateY(-8deg) rotateX(3deg) !important; }
}

/* Prevent horizontal page scroll (city ticker, off-canvas nav, header blooms) */
html { overflow-x: hidden; }
.city-band { overflow: hidden; max-width: 100%; }

/* ===== Account-creation preview (client-side simulation only) ===== */
.acct-banner {
  background: #1F1D1A;
  color: #F5F1EA;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}
.acct-page { padding: 40px 0 80px; background: var(--bg); min-height: 70vh; }
.acct-page h1 { color: var(--ink); text-shadow: none; }
.acct-lead { color: var(--ink-soft); margin: 0 0 28px; max-width: 38rem; }
.acct-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px 24px;
  max-width: 40rem;
  box-shadow: 0 10px 32px rgba(31,29,26,0.06);
}
.acct-legend { font-weight: 750; margin: 0 0 10px; font-size: 1rem; }
.acct-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.acct-seg label,
.acct-plan label {
  display: block;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  background: #fff;
}
.acct-seg label.is-on,
.acct-plan label.is-on {
  border-color: var(--azulejo);
  box-shadow: 0 0 0 3px rgba(62, 95, 122, 0.16);
  background: #f7f4ee;
}
.acct-seg b, .acct-plan b { display: block; }
.acct-hint { display: block; font-size: 0.88rem; color: var(--ink-soft); margin-top: 4px; font-weight: 500; }
.acct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0; }
.acct-field { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.acct-field label { font-weight: 650; font-size: 0.92rem; }
.acct-field input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
}
.acct-plan { display: grid; gap: 10px; margin: 8px 0 18px; }
.acct-sim {
  border: 1.5px dashed #9E4A30;
  background: #faf4ee;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 16px 0;
}
.acct-sim strong { display: block; margin-bottom: 6px; color: #8F432C; }
.acct-sim ul { margin: 8px 0 0; padding-left: 1.2rem; }
.acct-sim li { margin: 4px 0; }
.acct-check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: 0.95rem; }
.acct-check input { margin-top: 4px; flex-shrink: 0; width: 18px; height: 18px; }
.acct-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.acct-bill { width: 100%; border-collapse: collapse; margin: 12px 0 16px; }
.acct-bill th, .acct-bill td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--line); }
.acct-bill th { width: 9rem; background: #efe8dc; font-weight: 700; }
.acct-price { font-size: 1.35rem; font-weight: 800; margin: 0 0 4px; }
.acct-badge {
  display: inline-block;
  background: #f0d9c8;
  color: #8F432C;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  margin-right: 8px;
}
.acct-fns { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.acct-fn { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.acct-fn span { display: inline-block; margin-top: 8px; font-size: 0.8rem; font-weight: 700; background: #d9e4ee; color: var(--azulejo-deep); border-radius: 999px; padding: 3px 8px; }
.acct-panel-head { margin-bottom: 18px; }
.acct-hidden { display: none !important; }
.acct-note-bar { font-size: 0.88rem; color: var(--ink-soft); margin-top: 20px; }
@media (max-width: 700px) {
  .acct-seg, .acct-row { grid-template-columns: 1fr; }
  .acct-card { padding: 20px 16px; }
}

/* Account page: solid dark header (no hero behind it) */
.acct-body .acct-header {
  background: #1F1D1A !important;
  border-bottom: 1px solid rgba(245, 241, 234, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
.acct-body .acct-header .logo-word,
.acct-body .acct-header .logo-word i,
.acct-body .acct-header .nav-links a:not(.btn) {
  color: #F5F1EA !important;
}
.acct-body .acct-header .header-inner {
  width: min(var(--max), calc(100% - 32px));
  gap: 12px;
}
@media (max-width: 700px) {
  .acct-body .acct-nav .nav-links a:not(.btn) { display: none; }
}

/* Smaller 3D phone typography so “ViverCá” and the first bubble stay readable */
@media (max-width: 960px) {
  .iphone-wa-head { gap: 3px; padding: 4px 5px 8px 2px; }
  .iphone-wa-back { width: 16px; height: 24px; }
  .iphone-wa-back svg { width: 14px; height: 14px; }
  .iphone-wa-avatar { width: 20px; height: 20px; }
  .iphone-wa-avatar svg { width: 20px; height: 20px; }
  .iphone-wa-id { min-width: 0; }
  .iphone-wa-id strong {
    font-size: 10px !important;
    letter-spacing: -0.03em;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  .iphone-wa-id span { font-size: 8px !important; }
  .iphone-wa-actions { gap: 4px; }
  .iphone-wa-actions svg { width: 12px; height: 12px; }
  .iphone-wa-bubble p,
  .iphone-wa-thread .bubble p,
  .iphone .bubble p { font-size: 10px !important; line-height: 1.3; }
  .iphone-wa-composer { gap: 3px; padding: 4px 4px 10px; }
  .iphone-ico-emoji,
  .iphone-ico-clip,
  .iphone-ico-cam { width: 13px; height: 13px; }
  .iphone-wa-field { font-size: 10px !important; padding: 4px 7px; }
  .iphone-wa-mic { width: 22px; height: 22px; }
  .iphone-wa-mic svg { width: 11px; height: 11px; }
}

/* ===== v15: iPhone 17 frame (hero + demo) + contained scaling ===== */
.iphone17-stage {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  margin: 0 auto;
  padding: 4% 9% 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  perspective: 1400px;
}
.hero-visual .iphone17-stage {
  max-height: calc(100vh - var(--header-h) - 24px);
}
.iphone17 {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 20.5rem, calc((100vh - var(--header-h) - 140px) * 9 / 19.5));
  max-width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  margin: 0;
  transform: rotateY(-6deg) rotateX(2deg);
  transform-origin: center center;
  transform-style: preserve-3d;
  filter: none;
}
.demo-phone-wrap .iphone17 {
  width: min(100%, 20.5rem);
  max-height: min(36rem, calc(100vh - 6rem));
}
.iphone17-shadow {
  position: absolute;
  left: 8%;
  right: 4%;
  bottom: -7%;
  height: 14%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(8, 6, 5, 0.55) 0%, rgba(8, 6, 5, 0.18) 48%, transparent 74%);
  filter: blur(18px);
}
.iphone17-device {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 19.5;
  padding: 1.55%;
  border-radius: 14.2% / 6.55%;
  background:
    linear-gradient(155deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.05) 18%, transparent 36%),
    linear-gradient(90deg, #2a2a2c 0%, #6a6a6e 8%, #1a1a1c 22%, #3a3a3d 50%, #111113 78%, #5c5c60 94%, #242426 100%);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.45),
    inset 0 -1px 1px rgba(0,0,0,0.55),
    inset 1px 0 1px rgba(255,255,255,0.18),
    inset -1px 0 1px rgba(0,0,0,0.4),
    0 22px 40px rgba(0,0,0,0.38),
    0 6px 14px rgba(0,0,0,0.22);
}
.iphone17-screen {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12.4% / 5.85%;
  background: #000;
}
.iphone17-island {
  position: absolute;
  top: 1.15%;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 3.15%;
  min-height: 18px;
  background: #000;
  border-radius: 999px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12%;
  padding: 0 6% 0 8%;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 1px 2px rgba(0,0,0,0.4);
  pointer-events: none;
}
.iphone17-island-cam {
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a4a6a, #0a1020 55%, #000);
}
.iphone17-island-dot {
  width: 14%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #3a3a3e, #111);
  margin-right: auto;
}
.iphone17-home {
  position: absolute;
  left: 50%;
  bottom: 1.1%;
  transform: translateX(-50%);
  width: 32%;
  height: 0.55%;
  min-height: 4px;
  background: rgba(255,255,255,0.55);
  border-radius: 999px;
  z-index: 8;
  pointer-events: none;
}
.iphone17-btn {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg, #8a8a8e, #3a3a3e 40%, #1c1c1e);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -1px 0 rgba(0,0,0,0.5);
  border-radius: 1px;
}
.iphone17-btn-action { left: -1.15%; top: 16.5%; width: 1.25%; height: 4.2%; border-radius: 2px 0 0 2px; }
.iphone17-btn-vol-up { left: -1.25%; top: 22.4%; width: 1.35%; height: 7.2%; border-radius: 2px 0 0 2px; }
.iphone17-btn-vol-down { left: -1.25%; top: 30.6%; width: 1.35%; height: 7.2%; border-radius: 2px 0 0 2px; }
.iphone17-btn-power { right: -1.25%; left: auto; top: 24.5%; width: 1.35%; height: 9.4%; border-radius: 0 2px 2px 0; background: linear-gradient(270deg, #8a8a8e, #3a3a3e 40%, #1c1c1e); }
.iphone17-btn-camera { right: -1.05%; left: auto; top: 36.5%; width: 1.1%; height: 5.6%; border-radius: 0 2px 2px 0; background: linear-gradient(270deg, #6a6a6e, #2a2a2e); }

/* WhatsApp look (hero + demo), green only inside the screen */
.iphone17-screen .iphone-wa {
  position: relative;
  z-index: 1;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #efeae2;
  font-family: -apple-system, "SF Pro Text", "Segoe UI", var(--sans), sans-serif;
  color: #111b21;
}
.iphone17-screen .iphone-wa-status {
  flex-shrink: 0;
  padding: 7.5% 5% 1.5% 6.5%;
  min-height: 0;
  background: #f0f2f5;
  color: #111b21;
  box-shadow: none;
  transform: none;
}
.iphone17-screen .iphone-wa-head {
  background: #f0f2f5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.iphone17-screen .iphone-wa-thread {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background-color: #e8e0d4;
  /* Original beige doodle wallpaper — not a WhatsApp asset */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23b9a896' stroke-width='0.85' opacity='0.28' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='30' r='6'/%3E%3Ccircle cx='24' cy='30' r='1.6'/%3E%3Cpath d='M72 20c9 4 9 16 0 20'/%3E%3Cpath d='M118 26h14 M125 19v14'/%3E%3Crect x='16' y='86' width='11' height='17' rx='2'/%3E%3Cpath d='M54 94c7-9 20-9 24 2'/%3E%3Ccircle cx='148' cy='98' r='6.5'/%3E%3Cpath d='M22 148c11 0 11 11 22 11s11-11 22-11'/%3E%3Cpath d='M108 132l9 7-9 7'/%3E%3Ccircle cx='164' cy='42' r='3.2'/%3E%3Cpath d='M92 70h16 M100 62v16'/%3E%3Cpath d='M150 150c4-8 14-8 18 0'/%3E%3Cpath d='M70 150h10v12h-10z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.iphone17-screen .iphone-wa-thread.thread { display: none; }
.iphone17-screen .iphone-wa-thread.thread.is-active { display: flex; }
.iphone17-screen .iphone-wa-bubble.is-sent { background: #d9fdd3; }
.iphone17-screen .iphone-wa-bubble.is-received { background: #fff; }
.iphone17-screen .iphone-wa-composer {
  background: #f0f2f5;
  padding: 6px 8px 16px;
  color: #54656f;
}
.iphone17-screen .iphone-wa-mic { background: #00a884; color: #fff; }
.iphone17-screen .iphone-wa-back,
.iphone17-screen .iphone-wa-actions { color: #00a884; }
.iphone17-screen .iphone-wa-id span { color: #00a884; }

@media (prefers-reduced-motion: reduce) {
  .iphone17 { transform: rotateY(-6deg) rotateX(2deg); }
}
@media (max-width: 960px) {
  .iphone17-stage { padding: 3% 8% 7%; }
  .hero-visual .iphone17-stage { max-height: none; }
  .hero-visual .iphone17 {
    width: 100%;
    max-width: 100%;
    max-height: none;
  }
  .demo-phone-wrap .iphone17 {
    width: min(100%, 19rem);
  }
}

/* City picker: tappable on mobile, panel not clipped, room above the badge */
.hero {
  overflow-x: clip;
  overflow-y: visible;
}
.hero-grid > .city-picker,
.hero .city-picker {
  position: relative;
  z-index: 30;
  pointer-events: auto;
}
.hero .city-picker-trigger,
.hero .city-picker-panel {
  position: relative;
  pointer-events: auto;
}
.hero .city-picker-panel {
  position: absolute;
  z-index: 40;
  max-height: min(24rem, 62vh);
}
@media (max-width: 960px) {
  .hero-grid { padding-bottom: 12px; }
  .hero .city-picker {
    margin-top: 0.6rem;
    margin-bottom: 16px;
    z-index: 40;
    scroll-margin-bottom: 120px;
  }
  /* Space so a fixed host badge cannot cover the control */
  .hero .calcada { height: 36px; margin-top: 8px; }
  body { padding-bottom: 120px; }
  html { scroll-padding-bottom: 120px; }
  .hero .city-picker-panel {
    max-height: min(20rem, 55vh);
  }
}
@media (max-width: 960px) and (max-height: 800px) {
  /* Keep the city trigger out of the first-screen badge zone; it may sit just below the fold. */
  .hero-grid > .city-picker { margin-top: 120px; }
}

.acct-field textarea,
.acct-field select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}
.acct-field textarea { min-height: 96px; resize: vertical; }


/* v16: open city panel must paint above later main sections (city-band, trust-strip).
   Those siblings share a stacking context with the hero, so a high z-index on the
   panel alone cannot win. Keep below the sticky header (80) and the nav drawer. */
.hero {
  position: relative;
  z-index: 4;
}
.hero-grid {
  position: relative;
  z-index: 3;
}


/* v17: longer translated bubbles wrap inside the phone, never spill the chassis */
.iphone-wa-bubble {
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 86%;
  min-width: 0;
  box-sizing: border-box;
}
.iphone-wa-bubble p {
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%;
}
.iphone-wa-field {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* v17 polish: readability (40+), contrast, 44px targets, focus, rhythm.
   Does not change copy, iPhone 17 chats, city picker behaviour, conta fields, or SEO. */
:root {
  --ink-mute: #5C5954;
  --pedra: #5C5954;
}
::placeholder,
.field input::placeholder,
.field-control input::placeholder,
.city-picker-search::placeholder {
  color: #5C5954;
  opacity: 1;
}
input, textarea, select { caret-color: var(--terracota); }

/* Body-role text stays at least 17px, including the mobile hero lead that was later shrunk. */
.hero .lead,
.hero .hero-sub,
.section-head p,
.feature p,
.module p,
.plan .tagline,
.plan li,
.price-note,
.service-desc,
.faq-item p,
.demo .lead,
.como .step p {
  font-size: 1.125rem !important;
  line-height: 1.65;
}
.hero .lead,
.hero .hero-sub {
  max-width: 42rem;
  color: var(--ink-on-dark);
}
.section-head p,
.feature p,
.module p,
.plan .tagline,
.plan li,
.price-note,
.service-desc,
.faq-item p,
.demo .lead,
.como .step p {
  max-width: 42rem;
  color: var(--ink-soft);
}

/* Primary controls: 44px tap targets, consistent focus */
.btn,
.nav-cta,
.lang-chip,
.lang-more,
.lang-tab,
.lang-menu button,
.city-picker-trigger,
.city-group-toggle,
.nav-toggle,
.nav-links a,
.faq-item summary,
.plan-waitlist,
.footer-col a,
.service-tabs [role="tab"],
.tools-nav [role="tab"] {
  min-height: 44px;
  box-sizing: border-box;
}
.lang-chip,
.lang-more,
.nav-toggle {
  min-width: 44px;
}
.lang-chip,
.lang-more {
  padding: 10px 12px;
  font-size: 0.8rem;
}
.lang-menu button { padding: 10px 12px; }
.lang-tab { padding: 10px 16px; }
.city-picker-trigger { padding: 12px 14px; }
.footer-col a {
  display: inline-flex;
  align-items: center;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
.city-picker-trigger:focus-visible,
.lang-chip:focus-visible,
.lang-more:focus-visible,
.lang-menu button:focus-visible {
  outline: 2px solid var(--cortiça-clara);
  outline-offset: 3px;
}
.site-header.is-scrolled a:focus-visible,
.site-header.is-scrolled button:focus-visible {
  outline-color: var(--azulejo);
}

html { scroll-padding-top: calc(var(--header-h) + 16px); }
html:has(.site-header.is-scrolled.is-compact),
html.compact-nav { scroll-padding-top: calc(var(--header-h-compact) + 16px); }

/* Keep phone chat typography as the mock UI, not site body type */
.iphone-wa-bubble p,
.iphone-wa-field,
.iphone-wa-date,
.iphone-wa-id strong,
.iphone-wa-id span,
.iphone-wa-typing {
  max-width: none;
  color: inherit;
}
@media (max-width: 960px) {
  .iphone-wa-bubble p,
  .iphone-wa-thread .bubble p,
  .iphone .bubble p {
    font-size: 10px !important;
    line-height: 1.3;
    color: #111b21;
  }
}
