@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-vf-subset.woff2") format("woff2");
}

:root {
  --wine: #7b1f28;
  --wine-deep: #511219;
  --ink: #17141a;
  --ink-soft: #34303a;
  --stone: #56515b;
  --stone-light: #76707b;
  --paper: #fbf7f1;
  --paper-strong: #f2e9de;
  --paper-soft: rgba(255, 253, 250, 0.82);
  --white: #fffdfa;
  --line: rgba(23, 20, 26, 0.14);
  --line-strong: rgba(23, 20, 26, 0.24);
  --surface-dark: #120f15;
  --success: #167c52;
  --danger: #b42318;
  --space-1: 0.35rem;
  --space-2: 0.55rem;
  --space-3: 0.8rem;
  --space-4: 0.95rem;
  --space-5: 1.18rem;
  --space-6: 1.55rem;
  --space-7: 2.1rem;
  --space-8: 2.8rem;
  --step-label: 0.75rem;
  --step-meta: 0.84rem;
  --step-body: 0.96rem;
  --step-body-lg: 1.01rem;
  --step-h3: clamp(1.04rem, 1.08vw, 1.2rem);
  --step-h2: clamp(1.36rem, 1.88vw, 1.88rem);
  --step-h1: clamp(1.66rem, 2.35vw, 2.24rem);
  --content: 1040px;
  --measure: 35rem;
  --measure-wide: 43rem;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-soft: 0 8px 18px rgba(23, 20, 26, 0.035);
  --shadow-md: 0 12px 24px rgba(23, 20, 26, 0.06);
  --header-h: 68px;
  --transition: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink-soft);
  background:
    radial-gradient(circle at top right, rgba(123, 31, 40, 0.08), transparent 26%),
    linear-gradient(180deg, #fffdfa 0%, #f8f0e6 100%);
  font-family: "Montserrat", system-ui, sans-serif;
  font-synthesis-weight: none;
  font-size: 16px;
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

picture,
img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

p,
ul,
ol {
  margin: 0 0 var(--space-4);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--space-3);
  color: var(--ink);
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h1 {
  font-size: var(--step-h1);
}

h2 {
  font-size: var(--step-h2);
}

h3 {
  font-size: var(--step-h3);
}

strong {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(123, 31, 40, 0.24);
  outline-offset: 3px;
}

.container {
  width: min(var(--content), calc(100% - 2rem));
      margin: 0 auto;
}

.section {
  padding: var(--space-8) 0;
}

.surface-section {
  background: rgba(255, 253, 250, 0.58);
}

.ink-section,
.cta-section {
  color: rgba(255, 253, 250, 0.86);
  background:
    radial-gradient(circle at top left, rgba(181, 82, 95, 0.15), transparent 30%),
    linear-gradient(135deg, #17141a, #100d13 72%);
}

.ink-section h2,
.ink-section h3,
.cta-section h2,
.cta-section h3 {
  color: var(--white);
}

.eyebrow,
.page-kicker,
.metric-card strong,
.service-tag,
.post-label,
.category-label,
.timeline-step span {
  display: inline-flex;
  margin-bottom: var(--space-2);
  color: var(--wine);
  font-size: var(--step-label);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.light .eyebrow,
.cta-section .eyebrow {
  color: #f3c9b2;
}

.section-heading {
  max-width: 32rem;
  margin-bottom: var(--space-5);
}

.section-heading h2,
.page-hero h1,
.founder-copy h2,
.faq-intro h2,
.method-intro h2,
.contato-copy h2 {
  text-wrap: balance;
}

.section-heading.narrow,
.faq-intro,
.method-intro,
.contato-copy,
.founder-copy {
  max-width: var(--measure);
}

.section-heading p:last-child,
.page-summary p,
.site-crumbs {
  color: var(--stone);
}

.hero-subtitle,
.section-heading p:last-child,
.founder-copy p,
.page-summary p,
.service-card p,
.metric-card p,
.scenario-card p,
.service-intro-card p,
.article-side p,
.contact-points span,
.article-body p,
.article-body li,
.policy-card p,
.policy-card li {
  text-align: left;
}

.article-hero-meta,
.helper-row,
.form-note {
  color: var(--stone-light);
}

.light p:last-child,
.cta-section p,
.cta-section .contact-points span {
  color: rgba(255, 253, 250, 0.8);
}

.hero-copy h1,
.page-hero h1,
.page-home .section-heading > h2,
.page-home .founder-copy > h2,
.page-home .contato-copy > h2,
.page-service .service-cta .section-heading > h2 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 252, 247, 0.92);
  border-bottom: 1px solid rgba(23, 20, 26, 0.08);
  backdrop-filter: blur(18px);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 10px 24px rgba(23, 20, 26, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  inline-size: 200px;
  block-size: 40px;
  flex-shrink: 0;
}

.brand img {
  flex: none;
}

.logo-master {
  display: block;
  inline-size: 200px;
  block-size: auto;
}

.logo-k {
  display: none;
  inline-size: 36px;
  block-size: 36px;
  object-fit: contain;
}

.nav {
  position: relative;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-menu,
.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-item {
  position: relative;
}

.nav-item.has-submenu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: max(100%, 238px);
  height: 0.7rem;
}

.nav-link,
.submenu-toggle,
.nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 0.7rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-link:hover,
.submenu-toggle:hover,
.nav-menu > li > a:hover,
.nav-item:focus-within > .submenu-toggle {
  color: var(--wine-deep);
  background: rgba(123, 31, 40, 0.08);
}

.submenu-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.submenu {
  position: absolute;
  top: calc(100% + 0.18rem);
  left: 0;
  min-width: 238px;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.98);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.nav-item:hover > .submenu,
.nav-item:focus-within > .submenu,
.nav-item.is-open > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 0.66rem 0.82rem;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 600;
}

.submenu a span {
  display: block;
  color: var(--stone-light);
  font-size: 0.78rem;
  font-weight: 500;
}

.submenu a:hover,
.submenu a:focus-visible {
  background: rgba(123, 31, 40, 0.08);
  color: var(--wine-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.72rem 1.08rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), color var(--transition), background var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--wine);
  box-shadow: 0 10px 20px rgba(123, 31, 40, 0.16);
}

.btn-primary:hover {
  color: var(--white);
  background: var(--wine-deep);
}

.btn-outline {
  color: var(--ink);
  background: rgba(255, 253, 250, 0.82);
  border-color: var(--line-strong);
}

.btn-sm {
  min-height: 38px;
  padding: 0.5rem 0.85rem;
  font-size: 0.84rem;
}

.btn-full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--wine);
  font-weight: 700;
  font-size: 0.9rem;
}

.article-body a:not(.btn),
.policy-card a:not(.btn),
.section-heading p a:not(.btn),
.founder-copy p a:not(.btn),
.page-summary p a:not(.btn) {
  color: var(--wine-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

.article-body a:not(.btn):hover,
.policy-card a:not(.btn):hover,
.section-heading p a:not(.btn):hover,
.founder-copy p a:not(.btn):hover,
.page-summary p a:not(.btn):hover {
  color: var(--wine);
}

.text-link::after {
  content: "→";
  transition: transform var(--transition);
}

.text-link:hover::after {
  transform: translateX(2px);
}

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid,
.page-hero-grid,
.method-wrap,
.faq-grid,
.split-grid,
.article-layout,
.founder-grid,
.contato-grid {
  display: grid;
  gap: var(--space-5);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.28fr) minmax(260px, 0.72fr);
  align-items: center;
}

.hero-copy {
  max-width: 44rem;
  min-block-size: 15rem;
}

.hero-copy h1 {
  max-width: 18ch;
  margin-bottom: 0.7rem;
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 36rem;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--stone);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0.95rem 0 0;
}

.hero-frame {
  position: relative;
  max-width: min(320px, calc(100vw - 2rem));
  margin-left: auto;
  padding: 0.55rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.82), rgba(242, 233, 222, 0.92)),
    radial-gradient(circle at top, rgba(123, 31, 40, 0.14), transparent 40%);
  box-shadow: var(--shadow-md);
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
}

.hero-note {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  padding: 0.44rem 0.62rem;
  border-radius: 12px;
  background: rgba(19, 15, 23, 0.92);
  color: rgba(255, 253, 250, 0.82);
  box-shadow: var(--shadow-soft);
}

.hero-note strong {
  display: block;
  margin-bottom: 0.1rem;
  color: var(--white);
  font-size: 0.78rem;
}

.page-home .hero-copy {
  max-width: 40rem;
}

.page-home .hero-copy h1 {
  max-width: 19.5ch;
  font-size: clamp(2.55rem, 4.6vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.page-home .hero-actions {
  margin-top: 0.95rem;
}

.page-home .home-positioning .section-heading,
.page-home .home-faq .section-heading,
.page-home .home-content-preview .section-heading {
  max-width: 31rem;
}

.page-home .home-services .section-heading {
  max-width: 32rem;
}

.page-home .home-positioning .container,
.page-home .home-services .container {
  max-width: 940px;
}

.page-home .home-positioning .metrics-grid,
.page-home .home-services .service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.page-home .home-services .service-grid {
  align-items: stretch;
}

.page-home .home-services .service-card,
.page-home .home-positioning .metric-card {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.page-home .home-positioning .section-heading {
  min-block-size: 7.75rem;
}

.page-home .home-positioning .metric-card {
  min-block-size: 10.25rem;
}

.page-home .home-positioning .metric-card strong,
.page-home .home-services .service-tag {
  display: block;
  max-width: 14ch;
  line-height: 1.28;
  letter-spacing: 0.14em;
  text-wrap: balance;
}

.page-home .home-method .method-intro {
  padding-top: 0.1rem;
  max-width: 27rem;
}

.page-home .home-founder .founder-copy p + p {
  margin-top: 0.95rem;
}

.page-home .home-contact .contato-copy {
  padding-top: 0.1rem;
  max-width: 29rem;
}

.page-home .home-faq .faq-intro {
  max-width: 25rem;
}

.page-home .home-positioning,
.page-home .home-services,
.page-home .home-scenarios,
.page-home .home-method,
.page-home .home-founder,
.page-home .home-faq,
.page-home .home-content-preview,
.page-home .home-contact {
  padding-top: 2.6rem;
  padding-bottom: 2.6rem;
}

.page-home .home-contact {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.page-home .home-scenarios {
  background:
    radial-gradient(circle at top left, rgba(123, 31, 40, 0.18), transparent 34%),
    linear-gradient(135deg, #241c22, #1a151b 74%);
}

.metrics-grid,
.service-grid,
.scenario-grid,
.article-grid,
.category-grid,
.contact-points,
.timeline,
.faq-list,
.stack-grid,
.policy-wrap {
  display: grid;
  gap: 0.9rem;
}

.metrics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.scenario-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-grid,
.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card,
.service-card,
.scenario-card,
.article-card,
.timeline-step,
.info-panel,
.contact-points div,
.policy-card,
.article-side,
.page-summary,
.service-intro-card,
.category-card,
.blog-note,
.article-nav {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-soft);
  box-shadow: var(--shadow-soft);
}

.metric-card,
.service-card,
.scenario-card,
.article-card,
.timeline-step,
.category-card,
.blog-note {
  padding: 1.25rem;
}

.page-summary,
.service-intro-card,
.article-side,
.policy-card,
.article-nav,
.contact-points div {
  padding: 0.85rem 0.95rem;
}

.card-editorial,
.article-card,
.category-card,
.blog-note {
  background: rgba(255, 253, 250, 0.94);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.card-legal,
.policy-card,
.page-privacy .page-summary {
  background: rgba(255, 253, 250, 0.92);
  box-shadow: none;
  border-color: var(--line-strong);
  border-radius: var(--radius-md);
}

.metric-card,
.service-card,
.page-summary,
.service-intro-card,
.article-side {
  background: rgba(255, 253, 250, 0.86);
}

.service-card.featured {
  background: linear-gradient(180deg, rgba(123, 31, 40, 0.06), rgba(255, 253, 250, 0.92));
}

.service-card.subtle {
  background: rgba(255, 248, 240, 0.84);
}

.service-card h3,
.metric-card h3,
.scenario-card h3,
.article-card h3,
.category-card h3,
.timeline-step h3,
.page-summary strong,
.article-side h3,
.policy-card h2,
.service-intro-card h2 {
  margin-bottom: 0.42rem;
  text-wrap: balance;
}

.service-card p,
.metric-card p,
.scenario-card p,
.article-card p,
.category-card p,
.blog-note p,
.timeline-step p,
.service-intro-card p,
.page-summary p,
.policy-card p,
.article-side p {
  margin-bottom: 0;
  line-height: 1.5;
}

.scenario-card {
  background: rgba(255, 253, 250, 0.05);
  border-color: rgba(255, 253, 250, 0.16);
  box-shadow: none;
  padding: 0.9rem 0.95rem;
}

.scenario-card h3 {
  color: var(--white);
}

.scenario-card p {
  color: rgba(255, 253, 250, 0.82);
}

.method-wrap {
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: 1rem;
}

.timeline {
  gap: 0.8rem;
}

.timeline-step span {
  margin-bottom: 0.3rem;
}

.founder-section {
  background:
    radial-gradient(circle at bottom left, rgba(123, 31, 40, 0.08), transparent 28%),
    rgba(255, 253, 250, 0.56);
}

.founder-grid {
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.15rem;
}

.founder-photo img {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.founder-photo picture {
  width: 100%;
}

.founder-lead {
  font-size: 1rem;
  color: var(--ink-soft);
}

.info-panel {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
}

.faq-grid {
  grid-template-columns: 0.68fr 1.32fr;
  align-items: start;
  gap: 1rem;
}

.faq-list {
  gap: 0.65rem;
}

.faq-list details {
  padding: 0.82rem 0.92rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 250, 0.84);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.38;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin-top: 0.55rem;
  margin-bottom: 0;
}

.section-cta {
  margin-top: var(--space-5);
}

.contato-grid {
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: 1rem;
}

.contact-points {
  margin-top: 0.75rem;
  gap: 0.52rem;
}

.contact-points div {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 253, 250, 0.14);
  box-shadow: none;
}

.contact-points strong {
  color: var(--white);
}

.form-shell {
  padding: 0.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 253, 250, 0.11);
}

.contact-form {
  padding: 0.78rem;
  border-radius: 16px;
  background: rgba(255, 253, 250, 0.98);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.68rem;
}

.form-group {
  margin-bottom: 0.58rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.34rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(23, 20, 26, 0.22);
  border-radius: 14px;
  padding: 0.72rem 0.85rem;
  background: #fffdfa;
  color: var(--ink);
  font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(123, 31, 40, 0.42);
  box-shadow: 0 0 0 4px rgba(123, 31, 40, 0.08);
}

.form-group textarea {
  min-height: 72px;
  resize: vertical;
}

.helper-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.76rem;
}

.contact-form .helper-row,
.contact-form .helper-row span,
.contact-form .form-note {
  color: var(--stone-light);
}

.checkbox-group {
  margin-top: 0.8rem;
}

.checkbox-label {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  cursor: pointer;
  line-height: 1.45;
}

.checkbox-label input {
  position: absolute;
  opacity: 0;
}

.checkmark {
  display: inline-block;
  position: relative;
  width: 20px;
  min-width: 20px;
  height: 20px;
  border: 1px solid rgba(23, 20, 26, 0.2);
  border-radius: 6px;
}

.checkbox-label input:checked + .checkmark {
  border-color: var(--wine);
  background: var(--wine);
}

.checkbox-label input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label a,
.site-crumbs a {
  color: var(--wine);
}

.error-message {
  display: block;
  min-height: 0;
  margin-top: 0.35rem;
  color: var(--danger);
  font-size: 0.8rem;
}

.error-message:empty {
  display: none;
  margin-top: 0;
}

.contact-form .form-note {
  margin-top: 0.45rem;
  margin-bottom: 0;
  font-size: 0.76rem;
  line-height: 1.45;
}

.trap-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  padding: 1.7rem 0 2rem;
  background: #110f14;
  color: rgba(255, 253, 250, 0.72);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  align-items: start;
}

.footer-brand img {
  width: 160px;
  height: auto;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  margin-bottom: 0.35rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.1rem;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-oab {
  color: rgba(255, 253, 250, 0.62);
}

.footer-contact {
  margin-top: 0.45rem;
  color: rgba(255, 253, 250, 0.7);
  font-size: 0.88rem;
}

.footer-contact a {
  color: rgba(255, 253, 250, 0.82);
}

.footer-contact a:hover {
  color: var(--white);
}

.fab-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 999px;
  background: #167c52;
  color: #fff;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(22, 124, 82, 0.24);
}

.fab-whatsapp > span {
  display: none !important;
}

.fab-whatsapp::before {
  content: "";
  width: 26px;
  height: 26px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("../img/whatsapp-icon.svg");
}

.site-toast {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 1200;
  max-width: 320px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  color: #fff;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.site-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-toast[data-tone="success"] {
  background: var(--success);
}

.site-toast[data-tone="error"] {
  background: var(--danger);
}

.page-hero {
  padding: 2rem 0 1.15rem;
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(230px, 0.78fr);
  align-items: end;
}

.page-service .page-hero .container,
.page-content-index .page-hero .container,
.page-privacy .page-hero .container,
.page-article .page-hero .container {
  max-width: 100%;
}

.page-summary {
  max-width: 22rem;
  justify-self: end;
}

.split-grid,
.article-layout {
  grid-template-columns: minmax(0, 1.02fr) minmax(250px, 0.8fr);
}

.list-clean,
.article-body ul,
.policy-card ul {
  padding-left: 1.1rem;
}

.list-clean li,
.article-body li,
.policy-card li {
  margin-bottom: 0.5rem;
}

.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
  font-size: var(--step-meta);
}

.article-body {
  max-width: 42rem;
}

.article-body p,
.policy-card p,
.article-body li,
.policy-card li {
  color: var(--ink-soft);
}

.article-body section + section {
  margin-top: var(--space-6);
}

.article-body h2 {
  font-size: clamp(1.26rem, 1.75vw, 1.66rem);
  line-height: 1.16;
}

.article-body blockquote {
  margin: var(--space-4) 0;
  padding: 0.95rem 1rem;
  color: var(--ink);
  font-size: 0.96rem;
  border-left: 4px solid rgba(123, 31, 40, 0.34);
  background: rgba(255, 253, 250, 0.7);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-side {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  align-self: start;
  max-width: 18.5rem;
  background: rgba(255, 253, 250, 0.9);
  border-color: var(--line-strong);
  box-shadow: none;
}

.page-article .article-side .hero-actions {
  margin-top: 0.95rem;
  gap: 0.55rem;
}

.page-article .article-side .btn {
  min-height: 40px;
  padding: 0.62rem 0.9rem;
  font-size: 0.84rem;
}

.page-article .article-side .btn-primary {
  background: var(--wine-deep);
  box-shadow: none;
}

.article-nav {
  display: grid;
  gap: 0.6rem;
  margin-top: var(--space-5);
}

.policy-wrap {
  gap: 0.8rem;
  max-width: 47rem;
}

.site-crumbs {
  margin-bottom: 0.75rem;
  font-size: 0.86rem;
}

.page-content-index .page-summary,
.page-privacy .page-summary {
  max-width: 20rem;
}

.page-content-index .page-hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(220px, 0.72fr);
}

.page-content-index .category-grid {
  margin-bottom: var(--space-6);
}

.page-content-index .article-grid {
  margin-top: 0;
}

.page-content-index .category-card h3,
.page-content-index .blog-note h3 {
  margin-bottom: var(--space-2);
}

.page-content-index .category-card h3,
.page-content-index .article-card h3 {
  line-height: 1.22;
}

.page-content-index .blog-note {
  margin-top: var(--space-6);
  background: rgba(255, 250, 246, 0.9);
  border-color: var(--line-strong);
}

.page-privacy .policy-wrap {
  max-width: 42rem;
}

.page-privacy .page-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.72fr);
}

.page-privacy .policy-card h2 {
  font-size: 1.14rem;
}

.policy-card h3 {
  margin: 1rem 0 0.35rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.28;
}

.page-service .page-hero,
.page-content-index .page-hero,
.page-privacy .page-hero,
.page-article .page-hero {
  padding-top: 1.75rem;
}

.page-service .service-hero .page-summary {
  background: rgba(255, 250, 246, 0.88);
  border-left: 3px solid rgba(123, 31, 40, 0.16);
}

.page-service .page-summary strong {
  color: var(--wine-deep);
}

.page-service .service-explainer .service-intro-card,
.page-service .service-explainer .article-side {
  background: rgba(255, 253, 250, 0.88);
}

.page-service .split-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(230px, 0.72fr);
  gap: 1.15rem;
}

.page-service .service-fit .metric-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.page-service .service-cta .section-heading {
  max-width: 36rem;
}

.page-service .cta-section .container,
.page-content-index .section .container,
.page-privacy .section .container {
  max-width: var(--content);
}

.page-content-index .editorial-heading {
  max-width: 31rem;
}

.page-content-index .category-card,
.page-content-index .article-card {
  gap: 0.4rem;
}

.page-content-index .article-card h3 a,
.page-article .article-body h2,
.page-service .page-hero h1 {
  text-wrap: balance;
}

.page-content-index .editorial-note {
  max-width: 44rem;
}

.page-privacy .policy-wrap {
  max-width: 45rem;
}

.page-privacy .policy-card {
  border-radius: var(--radius-md);
}

.page-article .article-hero {
  padding-bottom: 1rem;
}

.page-article .article-layout {
  align-items: start;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 420ms ease, transform 420ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .metrics-grid,
  .service-grid,
  .category-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .method-wrap,
  .faq-grid,
  .page-hero-grid,
  .split-grid,
  .article-layout,
  .founder-grid,
  .contato-grid {
    grid-template-columns: 1fr;
  }

  .hero-frame,
  .page-summary,
  .article-side {
    max-width: 100%;
    justify-self: start;
  }

  .article-side {
    position: static;
  }
}

@media (max-width: 860px) {
  body {
    font-size: 15.5px;
  }

  .section {
    padding: 2.35rem 0;
  }

  .logo-master {
    display: none;
  }

  .logo-k {
    display: block;
  }

  .brand {
    inline-size: 36px;
    block-size: 36px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    inset: var(--header-h) 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 252, 247, 0.98);
    box-shadow: var(--shadow-md);
  }

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

  .nav-item,
  .nav-menu li {
    width: 100%;
  }

  .nav-link,
  .submenu-toggle,
  .nav-menu > li > a,
  .nav-menu .btn {
    width: 100%;
    justify-content: center;
  }

  .submenu {
    position: static;
    min-width: 100%;
    margin-top: 0.35rem;
    padding: 0.35rem 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .nav-item.is-open > .submenu {
    display: block;
  }

  .submenu a {
    padding: 0.58rem 0.78rem 0.58rem 1rem;
    background: rgba(123, 31, 40, 0.05);
  }

  .hero-grid,
  .scenario-grid,
  .article-grid,
  .metrics-grid,
  .service-grid,
  .form-grid,
  .footer-inner,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .founder-copy,
  .section-heading,
  .section-heading.narrow,
  .faq-intro,
  .method-intro,
  .contato-copy,
  .article-body {
    max-width: 100%;
  }

  .hero-subtitle,
  .section-heading p:last-child,
  .founder-copy p,
  .page-summary p,
  .service-card p,
  .metric-card p,
  .scenario-card p,
  .service-intro-card p,
  .article-side p,
  .contact-points span,
  .article-body p,
  .article-body li,
  .policy-card p,
  .policy-card li {
    text-align: left;
  }

  .hero-copy h1 {
    max-width: 12.2ch;
  }

  .page-home .hero-copy h1 {
    max-width: 13.2ch;
    font-size: clamp(2.08rem, 8vw, 2.7rem);
    line-height: 1.01;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
  }

  .page-home .hero {
    padding-bottom: 1.5rem;
  }

  .page-home .hero-copy {
    min-block-size: auto;
  }

  .page-home .hero-visual {
    display: none;
  }

  .hero-frame {
    max-width: 280px;
    margin-inline: auto;
  }

  .hero-actions .btn,
  .btn-full {
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    display: grid;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 1.2rem, var(--content));
  }

  h1 {
    font-size: clamp(1.58rem, 8.2vw, 1.98rem);
  }

  h2 {
    font-size: clamp(1.28rem, 6vw, 1.65rem);
  }

  .hero {
    padding-top: 1.1rem;
  }

  .hero-frame {
    max-width: 240px;
    padding: 0.42rem;
  }

  .page-home .home-positioning .section-heading,
  .page-home .home-positioning .metric-card {
    min-block-size: auto;
  }

  .hero-note {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
  }

  .page-home .hero-copy h1 {
    max-width: 12.6ch;
    font-size: clamp(1.92rem, 8.8vw, 2.35rem);
  }

  .metric-card,
  .service-card,
  .scenario-card,
  .article-card,
  .category-card,
  .blog-note,
  .timeline-step,
  .page-summary,
  .service-intro-card,
  .article-side,
  .policy-card,
  .article-nav,
  .contact-form {
    padding: 0.82rem;
  }

  .helper-row {
    flex-direction: column;
    align-items: start;
  }

  .fab-whatsapp {
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
