:root {
  --bg: #fbf7f2;
  --bg-soft: #f3ebe2;
  --surface: #fffdfb;
  --ink: #271c22;
  --ink-soft: #665b5b;
  --wine: #321044;
  --copper: #ba7063;
  --copper-dark: #995347;
  --copper-light: #d9a092;
  --border: rgba(50, 16, 68, 0.11);
  --border-warm: rgba(186, 112, 99, 0.2);
  --success: #247252;
  --shadow-sm: 0 10px 28px rgba(43, 28, 25, 0.06);
  --shadow-lg: 0 32px 70px rgba(43, 28, 25, 0.13);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --container: 1180px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(186, 112, 99, 0.34);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--surface);
  background: var(--wine);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  background: rgba(251, 247, 242, 0.87);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(251, 247, 242, 0.95);
}

.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
}

.brand-word {
  position: relative;
  display: inline-flex;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.5vw, 2.05rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 1;
}

.brand-word span {
  color: var(--copper);
}

.brand-word i {
  position: absolute;
  top: 2px;
  right: -11px;
  width: 7px;
  height: 7px;
  background: var(--copper);
  transform: rotate(45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 31px);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.main-nav > a:not(.button) {
  position: relative;
  padding: 8px 0;
  font-weight: 500;
  transition: color 180ms ease;
}

.main-nav > a:not(.button)::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav > a:not(.button):hover,
.main-nav > a:not(.button):focus-visible {
  color: var(--ink);
}

.main-nav > a:not(.button):hover::after {
  transform: scaleX(1);
}

.access-link {
  padding-left: clamp(14px, 2vw, 25px) !important;
  border-left: 1px solid var(--border);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button.open span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.menu-button.open span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

.button {
  min-height: 52px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.91rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--copper);
  box-shadow: 0 8px 22px rgba(186, 112, 99, 0.2);
}

.button-primary:hover {
  background: var(--copper-dark);
  box-shadow: 0 14px 30px rgba(186, 112, 99, 0.32);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--border);
  background: transparent;
}

.button-secondary:hover {
  border-color: var(--border-warm);
  background: var(--surface);
}

.button-light {
  color: var(--copper-dark);
  background: #fff;
  box-shadow: 0 12px 32px rgba(58, 30, 20, 0.16);
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  min-height: 100vh;
  padding: clamp(136px, 13vw, 168px) 0 44px;
  background:
    radial-gradient(circle at 85% 12%, rgba(186, 112, 99, 0.12), transparent 31%),
    radial-gradient(circle at 8% 86%, rgba(50, 16, 68, 0.045), transparent 25%),
    var(--bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(350px, 0.92fr) minmax(500px, 1.08fr);
  align-items: center;
  gap: clamp(44px, 6vw, 80px);
}

.hero-grid > *,
.dashboard-preview,
.preview-content {
  min-width: 0;
}

.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(3.25rem, 5.1vw, 4.55rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.064em;
  color: var(--wine);
  margin-bottom: 26px;
}

.hero-copy h1 span {
  color: var(--copper);
}

.hero-text {
  max-width: 475px;
  margin-bottom: 38px;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--ink-soft);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 47px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 435px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.55;
}

.hero-note .line {
  width: 44px;
  height: 1px;
  flex-shrink: 0;
  background: var(--copper-light);
}

.product-scene {
  position: relative;
  min-height: 570px;
}

.dashboard-preview {
  position: absolute;
  top: 16px;
  left: 0;
  width: min(100%, 590px);
  overflow: hidden;
  border: 1px solid rgba(50, 16, 68, 0.09);
  border-radius: 25px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.preview-header {
  height: 53px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(110deg, #321044 0%, #402049 26%, #bc6b61 100%);
}

.preview-brand {
  font-family: var(--serif);
  font-size: 1.05rem;
}

.preview-user {
  font-size: 0.68rem;
  opacity: 0.78;
}

.preview-body {
  min-height: 366px;
  display: grid;
  grid-template-columns: 58px 1fr;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 27px;
  background: #fbf8f4;
  border-right: 1px solid #f1e9e3;
}

.preview-sidebar span {
  width: 21px;
  height: 6px;
  border-radius: 99px;
  background: #ded3ca;
}

.preview-sidebar span.selected {
  height: 22px;
  background: rgba(186, 112, 99, 0.2);
  border: 1px solid rgba(186, 112, 99, 0.28);
}

.preview-content {
  padding: 25px 25px 28px;
}

.preview-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 21px;
}

.preview-title strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

.preview-title small {
  color: #827576;
  font-size: 0.67rem;
}

.status {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--success);
  background: #e8f3ee;
  font-size: 0.63rem;
  font-weight: 600;
}

.preview-cards {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.82fr;
  gap: 10px;
  margin-bottom: 20px;
}

.preview-cards article {
  min-width: 0;
  padding: 14px 12px;
  border-radius: 13px;
  background: #fbf7f4;
}

.preview-cards small {
  display: block;
  margin-bottom: 6px;
  font-size: 0.6rem;
  color: #827576;
}

.preview-cards strong {
  color: var(--wine);
  font-size: clamp(0.75rem, 1vw, 0.95rem);
}

.table-label {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
}

.row {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.9fr;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid #f0e8e2;
  font-size: 0.66rem;
  color: #4d4546;
}

.row.head {
  border: 0;
  padding-top: 0;
  color: #8d8380;
  text-transform: uppercase;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.row b {
  justify-self: start;
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--success);
  background: #e8f3ee;
  font-weight: 600;
}

.row b.progress {
  color: #9a5a38;
  background: #f8ebe1;
}

.phone-preview {
  position: absolute;
  right: 0;
  bottom: 22px;
  width: 181px;
  min-height: 330px;
  padding: 34px 15px 14px;
  border: 5px solid #fff;
  border-radius: 31px;
  background: #fff;
  box-shadow: 0 28px 54px rgba(43, 28, 25, 0.19);
}

.phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 45px;
  height: 5px;
  border-radius: 99px;
  background: #ddd1ca;
  transform: translateX(-50%);
}

.phone-preview small {
  display: block;
  margin-bottom: 22px;
  color: #786e6c;
  font-size: 0.63rem;
}

.phone-preview strong {
  display: block;
  font-family: var(--serif);
  color: var(--wine);
  font-size: 1.23rem;
}

.phone-value {
  margin: 9px 0 24px;
  color: var(--copper-dark);
  font-size: 1.08rem;
  font-weight: 600;
}

.phone-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid #f1e9e3;
  color: #756b6a;
  font-size: 0.68rem;
}

.phone-row b {
  color: var(--ink);
}

.phone-nav {
  position: absolute;
  right: 15px;
  bottom: 15px;
  left: 15px;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  background: #fbf7f3;
}

.phone-nav span {
  width: 17px;
  height: 4px;
  border-radius: 99px;
  background: #ded3ca;
}

.phone-nav span.active {
  background: var(--copper);
}

.capability-strip {
  margin-top: clamp(55px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
}

.capability-strip p {
  padding: 23px 16px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.capability-strip p + p {
  border-left: 1px solid var(--border-warm);
}

.section {
  padding: clamp(82px, 9vw, 116px) 0;
}

.section-heading {
  max-width: 548px;
}

.section-heading h2 {
  margin-bottom: 18px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 3.12rem);
  font-weight: 600;
  line-height: 1.17;
  letter-spacing: -0.045em;
}

.section-heading p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.75;
}

.section-heading.center {
  margin: 0 auto 55px;
  max-width: 600px;
  text-align: center;
}

.features {
  background: var(--surface);
}

.features .section-heading {
  margin-bottom: clamp(48px, 6vw, 67px);
}

.feature-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(45px, 7vw, 94px);
  row-gap: clamp(42px, 5vw, 59px);
}

.feature {
  display: grid;
  grid-template-columns: 55px 1fr;
  align-items: start;
  gap: 22px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  padding: 14px;
  border: 1px solid var(--border-warm);
  border-radius: 16px;
  color: var(--copper);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 600;
}

.feature p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.72;
}

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

.workflow-grid {
  display: grid;
  grid-template-columns: 0.94fr 1fr;
  gap: clamp(54px, 9vw, 108px);
  align-items: start;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  color: var(--copper-dark);
  font-size: 0.91rem;
  font-weight: 600;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.steps {
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 27px 0;
  border-top: 1px solid var(--border);
}

.steps li:last-child {
  border-bottom: 1px solid var(--border);
}

.steps li > span {
  color: var(--copper);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.steps h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.07rem;
  font-weight: 600;
}

.steps p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.72;
}

.roles {
  background: var(--surface);
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.role {
  min-height: 305px;
  display: flex;
  flex-direction: column;
  padding: clamp(29px, 3vw, 37px);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  background: #fff;
}

.role.highlight {
  color: #fff;
  background: var(--wine);
  border-color: var(--wine);
}

.role-index {
  margin-bottom: auto;
  color: var(--copper);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.role.highlight .role-index {
  color: var(--copper-light);
}

.role h3 {
  max-width: 280px;
  margin: 50px 0 13px;
  color: inherit;
  font-family: var(--serif);
  font-size: clamp(1.42rem, 2vw, 1.68rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.role p:last-child {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.role.highlight p:last-child {
  color: rgba(255, 255, 255, 0.73);
}

.security {
  padding-top: clamp(75px, 8vw, 103px);
  padding-bottom: clamp(76px, 8vw, 104px);
  background: var(--bg);
}

.security-grid {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: clamp(45px, 9vw, 110px);
  align-items: start;
}

.security-copy > p {
  margin-bottom: 32px;
  color: var(--ink-soft);
  line-height: 1.82;
}

.security-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.security-points span {
  padding: 12px 15px;
  border: 1px solid var(--border-warm);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.final-cta {
  padding: clamp(88px, 9vw, 119px) 0;
  color: #fff;
  text-align: center;
  background: linear-gradient(114deg, #a05c50, #c2796b 55%, #b66b5d);
}

.cta-inner h2 {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: clamp(2.45rem, 4.2vw, 3.55rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.05em;
}

.cta-inner p {
  max-width: 550px;
  margin: 0 auto 39px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.client-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.36);
  text-underline-offset: 5px;
}

.site-footer {
  padding: 35px 0;
  background: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.footer-brand .brand-word {
  font-size: 1.73rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: var(--ink-soft);
  font-size: 0.81rem;
}

.footer-links a:hover {
  color: var(--copper);
}

.footer-inner p {
  color: #807575;
  font-size: 0.75rem;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 50;
  width: 58px;
  height: 58px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 14px 32px rgba(20, 80, 42, 0.25);
}

.floating-whatsapp svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reveal {
  opacity: 0;
  transform: translateY(17px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    max-width: 650px;
  }

  .product-scene {
    width: min(680px, 100%);
    min-height: 510px;
  }

  .workflow-grid,
  .security-grid {
    gap: 48px;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(var(--container), calc(100% - 34px));
  }

  .header-inner {
    height: 72px;
  }

  .menu-button {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    right: 17px;
    left: 17px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a:not(.button) {
    padding: 12px 8px;
  }

  .access-link {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 18px !important;
    padding-left: 8px !important;
    margin-top: 4px;
  }

  .nav-cta {
    margin-top: 5px;
  }

  .hero {
    padding-top: 121px;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 10.7vw, 3.55rem);
  }

  .product-scene {
    min-height: 450px;
  }

  .dashboard-preview {
    width: calc(100% - 50px);
  }

  .phone-preview {
    width: 160px;
    min-height: 290px;
  }

  .capability-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-strip p:nth-child(3),
  .capability-strip p:nth-child(4) {
    border-top: 1px solid var(--border-warm);
  }

  .capability-strip p:nth-child(3) {
    border-left: 0;
  }

  .feature-layout,
  .workflow-grid,
  .roles-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .section-heading.center {
    margin-bottom: 43px;
  }

  .role {
    min-height: auto;
  }

  .role h3 {
    margin-top: 36px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 25px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    width: auto;
    max-width: none;
    margin-right: 14px;
    margin-left: 14px;
  }

  .brand {
    margin-left: 2px;
  }

  .hero {
    min-height: 0;
    padding-top: 110px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 42px;
  }

  .hero-copy,
  .product-scene {
    width: 100%;
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(2.38rem, 10.4vw, 2.72rem);
    letter-spacing: -0.058em;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-note {
    align-items: flex-start;
  }

  .product-scene {
    min-height: 366px;
    margin-top: 10px;
  }

  .dashboard-preview {
    width: 100%;
    position: relative;
    top: 0;
  }

  .preview-header {
    gap: 8px;
    padding: 0 14px;
  }

  .preview-user {
    max-width: 154px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .preview-body {
    min-height: 267px;
    grid-template-columns: 44px 1fr;
  }

  .preview-sidebar {
    gap: 14px;
    padding-top: 20px;
  }

  .preview-sidebar span {
    width: 15px;
  }

  .preview-content {
    padding: 19px 15px;
  }

  .preview-title {
    margin-bottom: 14px;
  }

  .preview-cards {
    gap: 6px;
  }

  .preview-cards article {
    padding: 10px 7px;
  }

  .row > * {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .preview-table .row:last-child {
    display: none;
  }

  .phone-preview {
    display: none;
  }

  .capability-strip {
    margin-top: 47px;
  }

  .capability-strip p {
    padding: 18px 9px;
    font-size: 0.71rem;
  }

  .feature {
    grid-template-columns: 48px 1fr;
    gap: 18px;
  }

  .feature-icon {
    width: 47px;
    height: 47px;
    padding: 12px;
  }

  .steps li {
    grid-template-columns: 39px 1fr;
    gap: 16px;
  }

  .floating-whatsapp {
    display: flex;
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
