/* ==========================================================================
   HotelOS — Landing. Direção "concierge digital":
   teal petróleo (marca) + latão (chaves/sino), marfim quente, display grotesca.
   ========================================================================== */

:root {
  --bg: #f6f4ee;
  --surface: #ffffff;
  --ink: #13262a;
  --muted: #566566;
  --brand: #0e5c63;
  --brand-deep: #0a4247;
  --brand-dark: #08292d;
  --accent: #bd852a;
  --accent-soft: #ecd6a3;
  --line: #e5e0d4;
  --whatsapp: #25d366;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1120px;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(19, 38, 42, 0.04), 0 12px 32px -12px rgba(19, 38, 42, 0.14);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}

.section {
  padding-block: clamp(56px, 9vw, 112px);
}
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  margin-top: 14px;
}
.section-head p {
  margin-top: 16px;
  font-size: 1.075rem;
  color: var(--muted);
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(14, 92, 99, 0.7);
}
.btn-primary:hover {
  background: var(--brand-deep);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: #fff;
}
.btn-on-dark {
  background: var(--accent);
  color: #241a06;
}
.btn-on-dark:hover {
  background: #d29b3c;
}
.btn-lg {
  padding: 16px 28px;
  font-size: 1.02rem;
}

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.4) blur(10px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
}
.nav-links {
  display: none;
  gap: 30px;
  font-size: 0.95rem;
  color: var(--muted);
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta .btn-ghost {
  display: none;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
  .nav-cta .btn-ghost {
    display: inline-flex;
  }
}

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(56px, 9vw, 104px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% 40% auto -10%;
  height: 520px;
  background: radial-gradient(closest-side, rgba(14, 92, 99, 0.16), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  margin-top: 20px;
}
.hero h1 .hl {
  color: var(--brand);
  position: relative;
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.28em;
  background: var(--accent-soft);
  z-index: -1;
  border-radius: 2px;
}
.hero-sub {
  margin-top: 22px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 30ch;
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-trust {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero-trust svg {
  color: var(--brand);
  flex-shrink: 0;
}

/* WhatsApp chat (signature) ---------------------------------------------- */
.phone {
  justify-self: center;
  width: min(360px, 100%);
  background: var(--brand-dark);
  border-radius: 34px;
  padding: 12px;
  box-shadow: var(--shadow), 0 40px 80px -40px rgba(8, 41, 45, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.phone-screen {
  background: #0b1f23;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  border-radius: 24px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}
.chat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px;
  background: var(--brand-deep);
  color: #fff;
}
.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #241a06;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.chat-top small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}
.chat-body {
  flex: 1;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.bubble {
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #0b1f23;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}
.bubble .meta {
  display: block;
  margin-top: 4px;
  font-size: 0.66rem;
  color: rgba(11, 31, 35, 0.5);
  text-align: right;
}
.bubble-out {
  align-self: flex-end;
  background: #d9fdd3;
  border-bottom-right-radius: 4px;
}
.bubble-in {
  align-self: flex-start;
  background: #ffffff;
  border-bottom-left-radius: 4px;
}
.bubble-in strong {
  color: var(--brand);
}
.typing {
  align-self: flex-start;
  background: #fff;
  padding: 12px 14px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  display: inline-flex;
  gap: 4px;
}
.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9db0ad;
  animation: blink 1.2s infinite ease-in-out;
}
.typing span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes blink {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

/* Logos / prova ----------------------------------------------------------- */
.proof {
  padding-block: 30px;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
}
.proof-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 30px;
  justify-content: center;
  color: var(--muted);
  font-size: 0.92rem;
}
.proof-inner strong {
  color: var(--ink);
}
.proof-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Feature grid ------------------------------------------------------------ */
.grid {
  display: grid;
  gap: 18px;
}
.grid-3 {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.18rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Diferencial (seção escura) --------------------------------------------- */
.dark {
  background: var(--brand-dark);
  color: #eaf3f2;
  position: relative;
  overflow: hidden;
}
.dark::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 480px;
  height: 480px;
  background: radial-gradient(closest-side, rgba(37, 211, 102, 0.18), transparent 70%);
}
.dark .eyebrow {
  color: var(--accent-soft);
}
.dark h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
}
.dark .lead {
  color: rgba(234, 243, 242, 0.75);
  font-size: 1.1rem;
  margin-top: 16px;
  max-width: 52ch;
}
.dark-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  margin-top: 44px;
}
@media (min-width: 960px) {
  .dark-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
.check-list {
  list-style: none;
  display: grid;
  gap: 18px;
}
.check-list li {
  display: flex;
  gap: 14px;
}
.check-list .tick {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(37, 211, 102, 0.16);
  color: var(--whatsapp);
  display: grid;
  place-items: center;
}
.check-list b {
  color: #fff;
  font-weight: 600;
}
.check-list span {
  color: rgba(234, 243, 242, 0.7);
  font-size: 0.96rem;
}

/* Steps ------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 18px;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  position: relative;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step .num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}
.step h3 {
  font-family: var(--font-sans);
  font-size: 1.12rem;
  font-weight: 700;
  margin-top: 6px;
}
.step p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 0.96rem;
}

/* Pricing ----------------------------------------------------------------- */
.plans {
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.plan.featured {
  border-color: var(--brand);
  box-shadow: var(--shadow), 0 0 0 1px var(--brand);
  position: relative;
}
.plan .tag {
  position: absolute;
  top: -12px;
  left: 30px;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.plan h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
}
.plan .price {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.plan .price .amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.plan .price .per {
  color: var(--muted);
  font-size: 0.95rem;
}
.plan ul {
  list-style: none;
  margin: 22px 0;
  display: grid;
  gap: 12px;
}
.plan li {
  display: flex;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--ink);
}
.plan li svg {
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 3px;
}
.plan .btn {
  width: 100%;
}
.plan-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 22px;
}

/* FAQ --------------------------------------------------------------------- */
.faq {
  max-width: 760px;
  margin-inline: auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-sans);
}
.faq-q .chev {
  transition: transform 0.25s ease;
  color: var(--brand);
  flex-shrink: 0;
}
.faq-item[open] .chev,
.faq-q[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq-a p {
  padding-bottom: 22px;
  color: var(--muted);
  font-size: 1rem;
}

/* CTA final --------------------------------------------------------------- */
.cta {
  background: linear-gradient(160deg, var(--brand-deep), var(--brand-dark));
  color: #fff;
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -60%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(closest-side, rgba(189, 133, 42, 0.35), transparent 70%);
}
.cta h2 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  position: relative;
}
.cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 14px;
  font-size: 1.1rem;
  position: relative;
}
.cta .hero-actions {
  justify-content: center;
  position: relative;
}

/* Trial form (modal) ------------------------------------------------------ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 41, 45, 0.55);
  backdrop-filter: blur(4px);
}
.modal.open {
  display: flex;
}
.modal-card {
  background: var(--surface);
  border-radius: 22px;
  width: min(460px, 100%);
  padding: 30px;
  box-shadow: var(--shadow);
  max-height: 92vh;
  overflow: auto;
}
.modal-card h3 {
  font-size: 1.5rem;
}
.modal-card > p {
  color: var(--muted);
  margin-top: 6px;
  font-size: 0.96rem;
}
.field {
  margin-top: 16px;
}
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--ink);
}
.field input:focus {
  outline: 2px solid color-mix(in srgb, var(--brand) 40%, transparent);
  border-color: var(--brand);
}
.field .err {
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}
.field.invalid .err {
  display: block;
}
.modal .btn {
  width: 100%;
  margin-top: 22px;
}
.modal-close {
  float: right;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
}
.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}
.form-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 11px;
  font-size: 0.9rem;
  display: none;
}
.form-status.ok {
  display: block;
  background: rgba(47, 143, 91, 0.12);
  color: #22643f;
}
.form-status.bad {
  display: block;
  background: rgba(192, 57, 43, 0.1);
  color: #a2372c;
}

/* Footer ------------------------------------------------------------------ */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 44px;
  margin-top: 20px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.footer .muted {
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-links {
  display: flex;
  gap: 22px;
  font-size: 0.92rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.footer-links a:hover {
  color: var(--ink);
}

/* Reveal on scroll -------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .typing span {
    animation: none;
  }
}
