/* ============================================================
   AFLOR · Inteligência Operacional Aplicada
   style.css — V1
   Mobile-first · Dark Premium · Cabinet Grotesk + Satoshi
   ============================================================ */

/* ── 1. RESET & BASE ─────────────────────────────────────── */

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

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

body {
  background-color: var(--bg-primary);
  color: var(--bone);
  font-family: "Satoshi", Inter, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

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

/* ── 2. TOKENS ───────────────────────────────────────────── */

:root {
  --bg-primary:    #181A1F;
  --bg-secondary:  #1F2229;
  --structural:    #2B2C32;
  --accent:        #F05A28;
  --accent-deep:   #D9481D;
  --accent-hover:  #E14F22;
  --bone:          #F5F3EF;
  --white:         #FFFFFF;

  --text-muted:    #E5E7EB;
  --text-dark:     #2B2C32;
  --border-dark:   #4A4B52;
  --border-light:  #E5E7EB;

  --radius-card:   20px;
  --radius-btn:    999px;

  --transition:    0.18s ease;

  --container-max: 1200px;
  --container-pad: 1.25rem;

  --section-py:    4.5rem;
}

@media (min-width: 768px) {
  :root {
    --container-pad: 2rem;
    --section-py:    6rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --container-pad: 2.5rem;
    --section-py:    7.5rem;
  }
}

/* ── 3. TYPOGRAPHY ───────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: "Cabinet Grotesk", "Satoshi", Inter, system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* ── 4. LAYOUT UTILITIES ─────────────────────────────────── */

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

.section {
  padding-block: var(--section-py);
}

.section-dark {
  background-color: var(--bg-primary);
  color: var(--bone);
}

.section-light {
  background-color: var(--bone);
  color: var(--text-dark);
}

.section-header {
  margin-bottom: 3rem;
}

/* ── 5. LABELS & TITLES ──────────────────────────────────── */

.section-label {
  display: inline-block;
  font-family: "Satoshi", Inter, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-label--dark {
  color: var(--accent);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--bone);
  margin-bottom: 1.25rem;
}

.section-title--dark {
  color: var(--text-dark);
}

/* ── 6. BODY TEXT ────────────────────────────────────────── */

.body-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.body-text--dark {
  color: rgba(24, 26, 31, 0.70);
}

/* ── 7. BUTTONS ──────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Satoshi", Inter, system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-btn);
  padding: 0.8125rem 1.75rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 4px 24px rgba(214, 90, 49, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--bone);
  border-color: rgba(245, 243, 239, 0.25);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(245, 243, 239, 0.55);
  background-color: rgba(245, 243, 239, 0.06);
}

/* Secondary on light background */
.section-light .btn-secondary {
  color: var(--structural);
  border-color: rgba(43, 44, 50, 0.25);
}

.section-light .btn-secondary:hover {
  border-color: rgba(43, 44, 50, 0.5);
  background-color: rgba(43, 44, 50, 0.05);
}

.btn-sm {
  font-size: 0.8125rem;
  padding: 0.625rem 1.25rem;
}

.btn-lg {
  font-size: 1.0625rem;
  padding: 1rem 2.25rem;
}

.btn-inline {
  margin-top: 1.75rem;
}

/* ── 8. CTA GROUP ────────────────────────────────────────── */

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 2rem;
}

.cta-group--center {
  align-items: center;
  justify-content: center;
}

@media (min-width: 480px) {
  .cta-group {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ── 9. MICROCOPY ────────────────────────────────────────── */

.microcopy {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.microcopy--dark {
  color: rgba(24, 26, 31, 0.50);
}

.microcopy--center {
  text-align: center;
  margin-top: 1.5rem;
}

/* ── 10. CARDS ───────────────────────────────────────────── */

.card {
  padding: 1.75rem;
  border-radius: var(--radius-card);
}

.card-dark {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-dark);
}

.card-light {
  background-color: var(--white);
  border: 1px solid var(--border-light);
}

.card-icon {
  font-size: 1.375rem;
  color: var(--accent);
  margin-bottom: 1rem;
  line-height: 1;
}

.card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--bone);
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}

.card-body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.card-meta {
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 600;
  opacity: 0.85;
}

/* ── 11. HEADER ──────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(24, 26, 31, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 64px;
}

/* Logo */
.logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 28px;
  width: auto;
}

.logo-fallback {
  display: none;
  align-items: center;
  gap: 4px;
}

.logo-text {
  font-family: "Cabinet Grotesk", "Satoshi", Inter, system-ui, sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--bone);
  letter-spacing: -0.03em;
}

.logo-leaf {
  color: var(--accent);
  font-size: 0.75rem;
  transform: rotate(-45deg);
  display: inline-block;
}

/* Nav */
.main-nav {
  display: none;
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  gap: 0.25rem;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.main-nav a:hover {
  color: var(--bone);
  background: rgba(245, 243, 239, 0.06);
}

/* Header CTA */
.header-cta {
  display: none;
  margin-left: auto;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--bone);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  inset-inline: 0;
  z-index: 110;
  flex-direction: column;
  gap: 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-dark);
  padding: 1rem var(--container-pad) 1.5rem;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}

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

.mobile-nav a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-dark);
  transition: color var(--transition);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  color: var(--bone);
}

.mobile-nav .btn {
  margin-top: 1rem;
  width: 100%;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
  .header-cta {
    display: inline-flex;
    margin-left: 0;
  }
  .hamburger {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}

/* ── 12. HERO ────────────────────────────────────────────── */

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.hero-content {
  max-width: 640px;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  color: var(--bone);
  margin-bottom: 1.25rem;
  margin-top: 0.25rem;
}

.hero-title span {
  display: block;
}

.section-title span,
.cta-final-title span {
  display: block;
}

.hero-body {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.hero-highlight {
  font-family: "Cabinet Grotesk", "Satoshi", Inter, system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  font-style: normal;
  color: var(--bone);
  border-left: 3px solid var(--accent);
  padding-left: 1.125rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Hero Visual */
.hero-visual {
  width: 100%;
}

.hv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

.hv-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 1.25rem;
}

.hv-card--lg {
  grid-column: span 2;
}

.hv-card--accent-border {
  border-color: rgba(214, 90, 49, 0.25);
}

.hv-card-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.875rem;
}

.hv-bar-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.hv-bar {
  height: 6px;
  background-color: var(--c, var(--accent));
  border-radius: 99px;
}

.hv-stat-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hv-stat-pill {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(245, 243, 239, 0.06);
  border-radius: 99px;
  padding: 0.25rem 0.625rem;
}

.hv-flow {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.hv-node {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(245, 243, 239, 0.06);
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
}

.hv-node--accent {
  background: rgba(214, 90, 49, 0.18);
  color: var(--accent);
}

.hv-arrow {
  color: var(--accent);
  font-size: 0.75rem;
  opacity: 0.7;
}

.hv-crm-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.5rem;
}

.hv-crm-row:last-child {
  margin-bottom: 0;
}

.hv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 243, 239, 0.15);
  flex-shrink: 0;
}

.hv-dot--active {
  background: var(--accent);
}

.hv-crm-line {
  height: 2px;
  background: rgba(245, 243, 239, 0.10);
  border-radius: 99px;
  flex: 1;
}

.hv-crm-line--short {
  max-width: 60%;
}

.hv-crm-line--medium {
  max-width: 78%;
}

.hv-eco {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.hv-eco-tag {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(245, 243, 239, 0.06);
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
}

.hv-eco-tag--accent {
  background: rgba(214, 90, 49, 0.15);
  color: var(--accent);
}

@media (min-width: 1024px) {
  .hero-grid {
    flex-direction: row;
    align-items: center;
    gap: 5rem;
  }

  .hero-content {
    flex: 1 1 0;
  }

  .hero-visual {
    flex: 0 0 420px;
  }
}

/* ── 13. O QUE OBSERVAMOS ────────────────────────────────── */

.observamos-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.observamos-text {
  max-width: 640px;
}

.question-block {
  margin-block: 2rem;
  padding: 1.75rem;
  background-color: rgba(24, 26, 31, 0.05);
  border-radius: 16px;
  border-left: 3px solid var(--accent);
}

.question-secondary {
  font-size: 0.875rem;
  color: rgba(24, 26, 31, 0.50);
  margin-bottom: 0.25rem;
  font-style: italic;
}

.question-wrong {
  font-family: "Cabinet Grotesk", "Satoshi", Inter, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: rgba(24, 26, 31, 0.35);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.question-right {
  font-family: "Cabinet Grotesk", "Satoshi", Inter, system-ui, sans-serif;
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.025em;
}

.observamos-symptoms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

.symptom-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.25rem;
}

.symptom-icon {
  display: block;
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 0.625rem;
  line-height: 1;
}

.symptom-label {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-dark);
  margin-bottom: 0.375rem;
}

.symptom-desc {
  font-size: 0.8125rem;
  color: rgba(24, 26, 31, 0.55);
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .observamos-grid {
    flex-direction: row;
    gap: 5rem;
    align-items: flex-start;
  }

  .observamos-text {
    flex: 1 1 0;
  }

  .observamos-symptoms {
    flex: 0 0 360px;
    align-self: flex-start;
    position: sticky;
    top: 88px;
  }
}

/* ── 14. COMO A AFLOR ENTREGA ─────────────────────────────── */

/* Method Flow */
.method-block {
  margin-bottom: 3rem;
}

.method-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-style: italic;
}

.method-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.method-step {
  font-family: "Cabinet Grotesk", "Satoshi", Inter, system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--bone);
  background: rgba(245, 243, 239, 0.07);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 0.5rem 0.875rem;
}

.method-step--accent {
  color: var(--accent);
  background: rgba(214, 90, 49, 0.12);
  border-color: rgba(214, 90, 49, 0.25);
}

.method-arrow {
  color: var(--accent);
  font-size: 1rem;
  opacity: 0.6;
}

/* Delivery grid */
.delivery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card-dark--wide {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(214, 90, 49, 0.08) 100%);
  border-color: rgba(214, 90, 49, 0.18);
}

@media (min-width: 640px) {
  .delivery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-dark--wide {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .delivery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .card-dark--wide {
    grid-column: span 4;
  }
}

/* ── 15. IOA ─────────────────────────────────────────────── */

.ioa-grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.ioa-content {
  max-width: 580px;
}

.ioa-headline {
  font-family: "Cabinet Grotesk", "Satoshi", Inter, system-ui, sans-serif;
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.ioa-not-list {
  margin-bottom: 1.25rem;
}

.ioa-not-list li {
  font-size: 0.9375rem;
  color: rgba(24, 26, 31, 0.55);
  padding: 0.3125rem 0;
  padding-left: 1rem;
  position: relative;
  font-style: italic;
}

.ioa-not-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: rgba(24, 26, 31, 0.35);
}

.ioa-ownership {
  font-weight: 600;
  color: var(--text-dark) !important;
  opacity: 0.85;
}

/* IOA Mockup card */
.ioa-mockup {
  width: 100%;
}

.ioa-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 8px 48px rgba(24, 26, 31, 0.10);
  max-width: 480px;
}

.ioa-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.ioa-card-title {
  font-family: "Cabinet Grotesk", "Satoshi", Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.ioa-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2C7A4B;
  background: rgba(44, 122, 75, 0.10);
  border-radius: 99px;
  padding: 0.25rem 0.75rem;
}

.ioa-result-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.125rem;
}

.ioa-result-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(24, 26, 31, 0.60);
}

.ioa-result-bar-wrap {
  height: 6px;
  background: rgba(24, 26, 31, 0.07);
  border-radius: 99px;
  overflow: hidden;
}

.ioa-result-bar {
  display: block;
  height: 100%;
  background: rgba(24, 26, 31, 0.25);
  border-radius: 99px;
}

.ioa-result-bar--accent {
  background: var(--accent);
}

.ioa-result-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(24, 26, 31, 0.50);
  white-space: nowrap;
}

.ioa-result-tag--accent {
  color: var(--accent);
}

.ioa-next-step {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.ioa-next-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(24, 26, 31, 0.40);
}

.ioa-next-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-dark);
}

@media (min-width: 1024px) {
  .ioa-grid {
    flex-direction: row;
    align-items: center;
    gap: 5rem;
  }

  .ioa-content {
    flex: 1 1 0;
  }

  .ioa-mockup {
    flex: 0 0 460px;
  }
}

/* ── 16. CASES ───────────────────────────────────────────── */

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.case-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-dark);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.case-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.case-logo-wrap {
  height: 36px;
  display: flex;
  align-items: center;
}

.case-logo {
  height: 28px;
  width: auto;
  opacity: 0.85;
  filter: brightness(0) invert(1);
}

.case-logo-fallback {
  display: none;
  font-family: "Cabinet Grotesk", "Satoshi", Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--bone);
  letter-spacing: -0.02em;
}

.case-title {
  font-size: 1.25rem;
  color: var(--bone);
  letter-spacing: -0.02em;
  margin-bottom: 0;
  margin-top: 0;
}

.case-details {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.case-details dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.case-details dd {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.case-highlight {
  color: var(--bone);
  font-weight: 700;
}

.case-insight {
  font-size: 0.9375rem;
  font-style: italic;
  color: rgba(245, 243, 239, 0.45);
  border-top: 1px solid var(--border-dark);
  padding-top: 1.25rem;
  margin-top: 0;
  line-height: 1.65;
}

.case-btn {
  margin-top: auto;
  align-self: flex-start;
}

@media (min-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── 17. ORIGEM TÉCNICA ──────────────────────────────────── */

.origem-header {
  margin-bottom: 3rem;
}

.origem-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.origem-text {
  max-width: 560px;
}

.parceiros-block {
  width: 100%;
}

.parceiros-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(24, 26, 31, 0.40);
  margin-bottom: 1.25rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  overflow: hidden;
}

.logo-slot img {
  max-height: 32px;
  width: auto;
  opacity: 0.65;
  filter: grayscale(100%);
  transition: opacity var(--transition), filter var(--transition);
}

.logo-slot:hover img {
  opacity: 0.9;
  filter: grayscale(0%);
}

.logo-slot--empty {
  background: rgba(24, 26, 31, 0.04);
  border-style: dashed;
}

.logo-slot--empty img {
  display: none;
}

@media (min-width: 640px) {
  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .origem-grid {
    flex-direction: row;
    gap: 5rem;
  }

  .origem-text {
    flex: 1 1 0;
  }

  .parceiros-block {
    flex: 1 1 0;
  }
}

/* ── 18. CTA FINAL ───────────────────────────────────────── */

.cta-final-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.cta-final-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--bone);
  margin-bottom: 1rem;
}

.cta-final-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.whatsapp-alt {
  margin-top: 1.75rem;
}

.whatsapp-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(245, 243, 239, 0.35);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.whatsapp-link:hover {
  color: rgba(245, 243, 239, 0.65);
}

/* ── 19. FOOTER ──────────────────────────────────────────── */

.site-footer {
  background-color: #111318;
  border-top: 1px solid var(--border-dark);
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  height: 24px;
}

.footer-tagline {
  font-size: 0.8125rem;
  color: rgba(245, 243, 239, 0.35);
  font-weight: 500;
  margin-top: 0.125rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(245, 243, 239, 0.45);
  transition: color var(--transition);
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(245, 243, 239, 0.50);
  white-space: nowrap;
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--bone);
}

.footer-link--tertiary {
  font-weight: 400;
  color: rgba(245, 243, 239, 0.30);
}

.footer-link--tertiary:hover {
  color: rgba(245, 243, 239, 0.55);
}

.footer-bottom {
  padding-top: 1.5rem;
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(245, 243, 239, 0.25);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-nav ul {
    flex-direction: row;
    gap: 1.5rem;
  }

  .footer-links {
    flex-direction: row;
    gap: 1.25rem;
    align-items: center;
  }
}

/* ── 20. ACCESSIBILITY & FOCUS ───────────────────────────── */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   V1.9.2 layout refinements
   ============================================================ */

.site-header {
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(43, 44, 50, 0.08);
  box-shadow: 0 10px 28px rgba(24, 26, 31, 0.08);
}

.site-header.scrolled {
  box-shadow: 0 14px 34px rgba(24, 26, 31, 0.12);
}

.logo-text,
.main-nav a {
  color: var(--text-dark);
}

.main-nav a:hover {
  color: var(--accent);
  background: rgba(240, 90, 40, 0.06);
}

.hamburger span {
  background-color: var(--text-dark);
}

.site-header .btn-primary {
  background-color: transparent;
  color: var(--accent);
  border-color: var(--text-dark);
}

.site-header .btn-primary:hover,
.site-header .btn-primary:focus-visible {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.section {
  scroll-margin-top: 76px;
}

#metodo-aflor,
#inteligencias-aplicadas,
#contato,
#origem {
  background-color: var(--bg-primary);
}

#solucoes-aflor {
  background-color: var(--bg-secondary);
}

#observamos,
#na-pratica,
#plataforma-aflor,
#video-institucional {
  background-color: var(--bone);
}

#rede-aplicacao {
  background-color: var(--white);
}

.section-title {
  font-size: clamp(2.15rem, 6vw, 3.65rem);
  max-width: 980px;
}

.section-header {
  max-width: 980px;
}

.body-text {
  max-width: 760px;
  color: rgba(229, 231, 235, 0.86);
}

.body-text--dark {
  color: #6B7280;
}

.card {
  border-radius: 12px;
}

.card-dark {
  background-color: #303238;
  border-color: var(--border-dark);
}

.card-light {
  background-color: var(--white);
  border-color: var(--border-light);
}

.card-light .card-title,
.section-light .card-title {
  color: var(--text-dark);
}

.card-light .card-body,
.section-light .card-body {
  color: #6B7280;
}

.card-title {
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  line-height: 1.12;
}

.card-body {
  color: rgba(229, 231, 235, 0.86);
}

.card-meta {
  color: var(--accent);
  font-size: 1rem;
  line-height: 1.45;
  opacity: 1;
}

#inicio {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
}

.hero-grid {
  gap: 3rem;
}

.hero-title {
  font-size: clamp(2.85rem, 8vw, 5.25rem);
  max-width: 780px;
}

.hero-body {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.92);
}

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

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 0 0 12%;
  border: 1px solid rgba(229, 231, 235, 0.12);
  border-radius: 36px;
  background: radial-gradient(circle at 70% 30%, rgba(240, 90, 40, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  opacity: 0.75;
}

.hero-asset-slot {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  min-height: 260px;
  object-fit: contain;
  margin-inline: auto;
  filter: drop-shadow(0 34px 55px rgba(0, 0, 0, 0.42));
}

#observamos .observamos-grid {
  align-items: center;
}

#observamos .observamos-text {
  max-width: 720px;
}

.problem-asset-slots {
  display: grid;
  gap: 2rem;
}

.problem-asset-slots img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0 999px 999px 0;
  background: rgba(43, 44, 50, 0.06);
}

.problem-asset-slots img:nth-child(2) {
  border-radius: 999px 0 0 999px;
  filter: grayscale(100%);
}

.observamos-symptoms {
  display: block;
  min-height: 300px;
}

#metodo-aflor .delivery-grid,
#solucoes-aflor .delivery-grid,
#na-pratica .cases-grid,
#inteligencias-aplicadas .delivery-grid,
#plataforma-aflor .delivery-grid,
#rede-aplicacao .delivery-grid {
  gap: 1.5rem;
}

#metodo-aflor .delivery-grid {
  margin-bottom: 4rem;
}

#metodo-aflor .card,
#solucoes-aflor .card {
  text-align: center;
  padding: 2rem;
}

.card-asset-slot {
  width: min(100%, 280px);
  aspect-ratio: 1.8 / 1;
  object-fit: cover;
  margin: 0 auto 1.6rem;
  border-radius: 0 999px 999px 999px;
  background: rgba(245, 243, 239, 0.08);
}

#metodo-aflor .method-block {
  max-width: 760px;
  margin: 0 auto 2rem;
  padding: 2rem;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: #303238;
}

#metodo-aflor .method-block .platform-asset-slot {
  margin-top: 1.25rem;
}

#metodo-aflor > .container > .card {
  max-width: 760px;
  margin: 0 auto;
  border-color: var(--accent);
}

#solucoes-aflor .card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

#solucoes-aflor .card:first-child {
  border-color: var(--accent);
}

#na-pratica .case-card {
  background-color: #303238;
  border-color: var(--accent);
  text-align: center;
}

#na-pratica .case-details dt {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

#na-pratica .case-details dd {
  color: rgba(245, 243, 239, 0.88);
}

#inteligencias-aplicadas .card-dark--wide {
  border-color: var(--accent);
}

.mockup-asset-slot {
  width: min(100%, 420px);
  aspect-ratio: 4 / 3;
  object-fit: contain;
  margin: 0 auto 1.5rem;
  border-radius: 18px;
  background: rgba(245, 243, 239, 0.05);
}

#inteligencias-aplicadas .btn {
  margin-top: 1.5rem;
}

#plataforma-aflor .section-header {
  max-width: 720px;
}

.platform-slots {
  align-items: stretch;
}

.platform-asset-slot {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 1px solid rgba(43, 44, 50, 0.08);
  border-radius: 18px;
  background: rgba(43, 44, 50, 0.05);
}

#plataforma-aflor .platform-asset-slot {
  min-height: 220px;
  padding: 1rem;
}

#plataforma-aflor .card {
  border-color: var(--accent);
  text-align: center;
}

#rede-aplicacao .delivery-grid {
  margin-bottom: 3rem;
}

#rede-aplicacao .logo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

#rede-aplicacao .logo-slot {
  min-height: 80px;
  border: none;
  background: transparent;
}

#rede-aplicacao .logo-slot img {
  max-height: 48px;
  opacity: 0.85;
}

#rede-aplicacao .logo-slot--empty {
  border: 1px dashed rgba(43, 44, 50, 0.16);
  background: rgba(43, 44, 50, 0.03);
}

#origem .origem-grid {
  align-items: center;
}

.founder-asset-slot {
  width: 75%;
  max-width: 380px;
  min-height: 0;
  margin-inline: auto;
  border: 1px solid rgba(229, 231, 235, 0.18);
  border-radius: 24px;
  background: linear-gradient(135deg, #303238, rgba(48, 50, 56, 0.36));
  overflow: hidden;
}

.founder-asset-slot img {
  width: 100%;
  height: auto;
  min-height: 0;
  display: block;
  object-fit: cover;
  filter: grayscale(20%);
}

#video-institucional .section-header {
  max-width: 640px;
}

.video-embed {
  border: 1px solid var(--border-light);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 22px 60px rgba(24, 26, 31, 0.12);
}

.video-embed iframe {
  border-radius: 18px;
}

#contato .cta-final-wrap {
  max-width: 760px;
}

#contato .cta-group {
  margin-top: 2.5rem;
}

.footer-nav ul {
  flex-wrap: wrap;
}

@media (min-width: 640px) {
  #rede-aplicacao .logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  #metodo-aflor .delivery-grid,
  #solucoes-aflor .delivery-grid,
  #na-pratica .cases-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #inteligencias-aplicadas .delivery-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  #inteligencias-aplicadas .card-dark--wide {
    grid-row: span 2;
    grid-column: auto;
  }

  #plataforma-aflor .delivery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #plataforma-aflor .platform-asset-slot {
    grid-row: span 2;
  }

  #rede-aplicacao .delivery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  }

  .hero-visual {
    min-height: 520px;
  }

  .observamos-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  }

  .observamos-symptoms {
    position: static;
  }

  .origem-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  }

  .founder-asset-slot {
    min-height: 0;
  }
}

@media (min-width: 1280px) {
  :root {
    --container-max: 1320px;
  }
}

@media (max-width: 479px) {
  .container {
    padding-inline: 1.125rem;
  }

  .section {
    padding-block: 3.75rem;
  }

  #inicio,
  .hero-grid,
  .hero-content {
    width: calc(100vw - 2.25rem);
    max-width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .hero-title {
    width: calc(100vw - 2.25rem);
    max-width: calc(100vw - 2.25rem);
    font-size: 1.95rem;
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .section-title {
    font-size: 2rem;
    line-height: 1.08;
  }

  .hero-body,
  .body-text,
  .body-text--dark {
    width: auto;
    max-width: calc(100vw - 2.25rem);
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .hero-body,
  #inicio .microcopy,
  #inicio .cta-group {
    width: calc(100vw - 2.25rem);
    max-width: calc(100vw - 2.25rem);
  }

  .hero-visual {
    width: 100%;
    max-width: calc(100vw - 2.25rem);
    min-height: 240px;
    overflow: hidden;
  }

  .hero-asset-slot {
    width: 100%;
    max-width: 100%;
    min-height: 220px;
  }

  .btn {
    width: 100%;
    white-space: normal;
    line-height: 1.2;
  }

  .section-title,
  .hero-title {
    overflow-wrap: anywhere;
  }

  .card,
  .case-card,
  #metodo-aflor .method-block {
    padding: 1.35rem;
  }
}

@media (max-width: 640px) {
  #inicio .hero-content,
  #inicio .hero-title,
  #inicio .hero-body,
  #inicio .microcopy,
  #inicio .cta-group,
  #inicio .hero-visual {
    width: min(100%, 340px);
    max-width: min(100%, 340px);
  }
}

/* ============================================================
   Desktop route correction after V1.9.2 visual audit
   ============================================================ */

@media (min-width: 1024px) {
  .site-header {
    box-shadow: 0 12px 30px rgba(24, 26, 31, 0.08);
  }

  .header-inner {
    height: 92px;
    gap: 2rem;
  }

  .logo-img {
    height: 44px;
  }

  .main-nav {
    margin-left: 3.25rem;
  }

  .main-nav ul {
    gap: 1.25rem;
  }

  .main-nav a {
    color: var(--text-dark);
    padding: 0.25rem 0;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid transparent;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    color: var(--text-dark);
    background: transparent;
    border-bottom-color: var(--text-dark);
  }

  .site-header .header-cta {
    min-width: 280px;
    min-height: 50px;
    border-width: 1px;
    font-size: 0.92rem;
    font-weight: 600;
  }

  #inicio {
    min-height: auto;
    padding-block: 4.5rem 4rem;
  }

  #inicio .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(500px, 1.05fr);
    gap: 2.5rem;
    align-items: center;
  }

  #inicio .hero-content {
    max-width: 650px;
  }

  #inicio .hero-title {
    font-size: clamp(3.6rem, 4.75vw, 4.35rem);
    line-height: 1.06;
    max-width: 720px;
    margin-bottom: 1.65rem;
  }

  #inicio .hero-body {
    max-width: 650px;
    font-size: 1.24rem;
    line-height: 1.48;
  }

  #inicio .cta-group {
    gap: 1.25rem;
    margin-top: 3rem;
  }

  #inicio .btn {
    min-width: 220px;
    min-height: 56px;
    padding-inline: 2rem;
  }

  #inicio .microcopy {
    max-width: 560px;
    font-size: 0.98rem;
    line-height: 1.45;
    margin-top: 1.35rem;
  }

  #inicio .hero-visual {
    min-height: 430px;
    justify-items: end;
    overflow: visible;
  }

  #inicio .hero-visual::before {
    inset: 8% -2% 2% 12%;
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at 58% 45%, rgba(240, 90, 40, 0.18), transparent 34%),
      radial-gradient(circle at 62% 58%, rgba(255, 255, 255, 0.08), transparent 46%);
    opacity: 0.72;
  }

  #inicio .hero-asset-slot {
    width: min(100%, 720px);
    min-height: 0;
    filter: drop-shadow(0 36px 55px rgba(0, 0, 0, 0.5));
  }

  #observamos {
    padding-block: 7.25rem 6.75rem;
  }

  #observamos .observamos-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.76fr);
    gap: 5.75rem;
  }

  #observamos .section-title {
    max-width: 760px;
  }

  #observamos .observamos-symptoms {
    min-height: 520px;
    display: flex;
    align-items: center;
  }

  .problem-asset-slots {
    position: relative;
    width: 100%;
    min-height: 520px;
  }

  .problem-asset-slots::before,
  .problem-asset-slots::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 210px;
    border-radius: 999px 0 0 999px;
    background:
      linear-gradient(135deg, rgba(48, 50, 56, 0.12), rgba(48, 50, 56, 0.03)),
      repeating-linear-gradient(90deg, rgba(43, 44, 50, 0.08) 0 1px, transparent 1px 22px);
    border: 1px solid rgba(43, 44, 50, 0.08);
  }

  .problem-asset-slots::before {
    top: 0;
    transform: translateX(1rem);
  }

  .problem-asset-slots::after {
    bottom: 0;
    filter: grayscale(100%);
    opacity: 0.72;
    transform: translateX(-1.25rem);
  }

  .problem-asset-slots img {
    position: relative;
    z-index: 1;
  }

  #metodo-aflor,
  #solucoes-aflor,
  #inteligencias-aplicadas,
  #origem,
  #contato {
    padding-block: 6.75rem;
  }

  #metodo-aflor .section-title,
  #solucoes-aflor .section-title,
  #inteligencias-aplicadas .section-title,
  #plataforma-aflor .section-title,
  #rede-aplicacao .section-title,
  #origem .section-title,
  #video-institucional .section-title {
    font-size: clamp(3rem, 4.1vw, 4.25rem);
    line-height: 1.06;
  }

  #metodo-aflor .delivery-grid,
  #solucoes-aflor .delivery-grid {
    gap: 2rem;
  }

  #metodo-aflor .card,
  #solucoes-aflor .card {
    border-radius: 10px;
  }

  #metodo-aflor .method-block,
  #metodo-aflor > .container > .card {
    max-width: 820px;
  }

  #na-pratica .case-btn {
    color: var(--bone);
    border-color: rgba(245, 243, 239, 0.42);
    background-color: rgba(24, 26, 31, 0.28);
  }

  #na-pratica .case-btn:hover,
  #na-pratica .case-btn:focus-visible {
    color: var(--white);
    border-color: var(--accent);
    background-color: var(--accent);
  }

  #plataforma-aflor {
    padding-block: 7rem;
  }

  #plataforma-aflor .section-header {
    max-width: 690px;
  }

  #plataforma-aflor .platform-slots {
    margin-top: 1.25rem;
  }

  #plataforma-aflor .platform-asset-slot {
    min-height: 360px;
    border-color: rgba(240, 90, 40, 0.2);
    background:
      radial-gradient(circle at 70% 30%, rgba(240, 90, 40, 0.11), transparent 34%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(229, 231, 235, 0.22));
  }

  #video-institucional .video-embed {
    max-width: 1120px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  #na-pratica .case-btn {
    color: var(--bone);
    border-color: rgba(245, 243, 239, 0.42);
  }

  .problem-asset-slots {
    min-height: 0;
  }
}

/* ============================================================
   Desktop fine tuning before asset pass
   ============================================================ */

@media (min-width: 1024px) {
  :root {
    --container-max: 1360px;
    --container-pad: 2.25rem;
  }

  .section-label {
    font-size: 0.875rem;
    line-height: 1.2;
  }

  .section-title {
    font-size: 3rem;
    line-height: 1.08;
  }

  .body-text,
  .body-text--dark {
    font-size: 1.125rem;
    line-height: 1.58;
  }

  .card-body,
  .case-details dd {
    font-size: 1rem;
    line-height: 1.58;
  }

  .card-meta,
  #na-pratica .case-details dt {
    font-size: 1.0625rem;
  }

  .btn {
    gap: 0.55rem;
    min-height: 52px;
    padding-inline: 2rem;
  }

  .header-inner {
    height: 92px;
    max-width: 1380px;
  }

  .logo-img {
    height: 46px;
  }

  .main-nav {
    margin-left: 4rem;
  }

  .main-nav ul {
    gap: 1.45rem;
  }

  .site-header .header-cta {
    min-width: 280px;
    margin-left: auto;
  }

  #inicio .hero-grid {
    grid-template-columns: minmax(720px, 0.96fr) minmax(470px, 0.78fr);
    max-width: 1400px;
    gap: 1.5rem;
  }

  #inicio .hero-title {
    font-size: clamp(3.75rem, 4.35vw, 4.45rem);
    line-height: 1.04;
    max-width: 760px;
    white-space: nowrap;
  }

  #inicio .hero-body {
    font-size: 1.25rem;
    max-width: 700px;
  }

  #inicio .hero-visual {
    min-height: 410px;
  }

  #inicio .hero-asset-slot {
    width: min(100%, 650px);
  }

  #observamos .observamos-text {
    max-width: 760px;
  }

  #observamos .body-text {
    max-width: 735px;
    margin-bottom: 1.22rem;
  }

  #metodo-aflor .method-block,
  #metodo-aflor > .container > .card {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    padding: 2.15rem 2.25rem;
    text-align: left;
  }

  #metodo-aflor .method-block .card-title,
  #metodo-aflor > .container > .card .card-title {
    font-size: 1.75rem;
    margin-bottom: 0.85rem;
  }

  #metodo-aflor .method-block .body-text,
  #metodo-aflor > .container > .card .card-body {
    max-width: none;
    font-size: 1.0625rem;
    line-height: 1.58;
    text-align: left;
  }

  #metodo-aflor > .container > .card {
    margin-top: 2rem;
  }

  #metodo-aflor .method-block .platform-asset-slot {
    max-width: 520px;
    margin-left: 0;
  }

  #metodo-aflor .section-title,
  #solucoes-aflor .section-title,
  #inteligencias-aplicadas .section-title,
  #plataforma-aflor .section-title,
  #rede-aplicacao .section-title,
  #origem .section-title,
  #video-institucional .section-title {
    font-size: 3rem;
    line-height: 1.08;
  }

  #na-pratica .case-btn {
    align-self: center;
    min-width: 210px;
    justify-self: center;
  }

  .footer-logo {
    height: 34px;
    max-width: 170px;
    object-fit: contain;
  }
}

/* ============================================================
   Frozen typography system aligned to the AFLOR blueprint
   ============================================================ */

@media (min-width: 1024px) {
  .header-inner {
    height: 96px;
  }

  .logo-img {
    height: 54px;
  }

  #na-pratica .section-title {
    max-width: 1080px;
  }

  .section-label,
  .hero-content .section-label {
    font-family: "Satoshi", Inter, system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
  }

  #inicio .hero-title {
    font-family: "Cabinet Grotesk", "Satoshi", Inter, system-ui, sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.04;
  }

  #inicio .hero-body {
    font-family: "Satoshi", Inter, system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
  }

  .section-title,
  .cta-final-title,
  #metodo-aflor .section-title,
  #solucoes-aflor .section-title,
  #inteligencias-aplicadas .section-title,
  #plataforma-aflor .section-title,
  #rede-aplicacao .section-title,
  #origem .section-title,
  #video-institucional .section-title {
    font-family: "Cabinet Grotesk", "Satoshi", Inter, system-ui, sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.08;
  }

  .body-text,
  .body-text--dark,
  .cta-final-sub {
    font-family: "Satoshi", Inter, system-ui, sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.58;
  }

  .card-title,
  .case-title,
  #metodo-aflor .method-block .card-title,
  #metodo-aflor > .container > .card .card-title {
    font-family: "Cabinet Grotesk", "Satoshi", Inter, system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.12;
  }

  .card-body,
  .card-meta,
  .case-details dd,
  #metodo-aflor .method-block .body-text,
  #metodo-aflor > .container > .card .card-body {
    font-family: "Satoshi", Inter, system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.58;
  }

  .case-details dt {
    font-family: "Satoshi", Inter, system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
  }

  .btn,
  .btn-sm,
  .btn-lg,
  .site-header .header-cta {
    font-family: "Satoshi", Inter, system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.2;
  }

  .microcopy,
  #inicio .microcopy,
  .footer-tagline,
  .footer-copy {
    font-family: "Satoshi", Inter, system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.45;
  }
}

/* ============================================================
   Desktop width discipline inspired by the Prime LP spacing
   ============================================================ */

@media (min-width: 1024px) {
  :root {
    --container-max: 1240px;
    --container-pad: 3.5rem;
  }

  .header-inner {
    max-width: 1240px;
    height: 96px;
  }

  .logo-img {
    height: 56px;
  }

  .section-header {
    max-width: 960px;
  }

  .section-title {
    max-width: 960px;
  }

  #inicio .hero-grid {
    max-width: 1320px;
    grid-template-columns: minmax(680px, 0.96fr) minmax(430px, 0.78fr);
    gap: 2rem;
  }

  #inicio .hero-title {
    max-width: 760px;
  }

  #inicio .hero-body {
    max-width: 680px;
  }

  #metodo-aflor .delivery-grid,
  #solucoes-aflor .delivery-grid,
  #na-pratica .cases-grid,
  #inteligencias-aplicadas .delivery-grid,
  #plataforma-aflor .delivery-grid,
  #rede-aplicacao .logo-grid {
    max-width: 1180px;
    margin-inline: auto;
    gap: 2.25rem;
  }

  #na-pratica .section-title {
    max-width: 980px;
  }

  #plataforma-aflor .section-header,
  #video-institucional .section-header {
    max-width: 760px;
  }

  #video-institucional .video-embed {
    max-width: 1080px;
  }
}

/* ============================================================
   Desktop breathing refinement after header/logo review
   ============================================================ */

@media (min-width: 1024px) {
  :root {
    --container-max: 1200px;
    --container-pad: 4rem;
  }

  .header-inner {
    max-width: 1200px;
  }

  #inicio .hero-grid {
    max-width: 1280px;
  }

  #observamos .observamos-grid {
    max-width: 1160px;
    margin-inline: auto;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
    gap: 4.5rem;
  }

  #metodo-aflor .delivery-grid,
  #solucoes-aflor .delivery-grid,
  #na-pratica .cases-grid,
  #inteligencias-aplicadas .delivery-grid,
  #plataforma-aflor .delivery-grid,
  #rede-aplicacao .logo-grid {
    max-width: 1120px;
    gap: 2rem;
  }

  #rede-aplicacao .logo-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .section-header,
  .section-title {
    max-width: 920px;
  }
}

/* ============================================================
   Reusable desktop split layout system
   ============================================================ */

@media (min-width: 1024px) {
  .split-grid {
    display: grid;
    align-items: center;
    gap: 4.5rem;
  }

  .split-content,
  .split-visual {
    min-width: 0;
  }

  .split-content {
    text-align: left;
  }

  .split-grid--60-40 {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

  .split-grid--55-45 {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .split-grid--40-60 {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }

  #observamos .split-grid,
  #origem .split-grid,
  #video-institucional .split-grid {
    max-width: 1160px;
    margin-inline: auto;
  }

  #observamos .split-grid--60-40 {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

  #observamos .split-content,
  #origem .split-content,
  #video-institucional .split-content {
    max-width: none;
    margin-bottom: 0;
  }

  #origem .split-content {
    order: 1;
  }

  #origem .split-visual--founder {
    order: 2;
  }

  #observamos .split-visual--problem {
    display: flex;
    align-items: center;
    min-height: 520px;
    position: static;
  }

  #observamos .problem-asset-slots {
    width: 100%;
  }

  #origem .split-visual--founder {
    min-height: 440px;
  }

  #video-institucional .split-visual--video {
    width: 100%;
  }

  #video-institucional .video-embed {
    max-width: none;
    margin-inline: 0;
  }

  #video-institucional .microcopy {
    margin-top: 1rem;
  }
}

/* ============================================================
   Delivery cards real asset treatment
   ============================================================ */

#solucoes-aflor .card-asset-slot {
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  margin: 0 0 1.5rem;
  border: 1px solid rgba(229, 231, 235, 0.14);
  border-radius: 14px;
  background: rgba(245, 243, 239, 0.06);
  padding: 0.35rem;
}

/* ============================================================
   Problem section single final asset
   ============================================================ */

#observamos .split-visual--problem {
  min-height: auto;
  align-self: center;
  transform: translateY(1.25rem);
}

#observamos .problem-asset-slots {
  display: block;
  min-height: 0;
  position: relative;
  width: 100%;
}

#observamos .problem-asset-slots::before,
#observamos .problem-asset-slots::after {
  display: none;
}

#observamos .problem-asset-slots img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(43, 44, 50, 0.12);
  border-radius: 24px;
  background: rgba(43, 44, 50, 0.06);
  filter: none;
}

#observamos .problem-highlight {
  padding: 1rem 1.125rem;
  border: 1px solid rgba(240, 90, 40, 0.72);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 8px 18px rgba(43, 44, 50, 0.06);
  color: var(--text-dark);
}

/* ============================================================
   Institutional video integrated into the hero
   ============================================================ */

#inicio .hero-video-frame {
  width: 100%;
  min-width: 0;
  min-height: 0;
}

#inicio .hero-video-frame .video-embed {
  width: 100%;
  border: 1px solid rgba(229, 231, 235, 0.2);
  border-radius: 18px;
  background: var(--bg-secondary);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.36);
}

#inicio .hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 18px;
}

#inicio .hero-video-caption {
  max-width: 640px;
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-family: "Satoshi", Inter, system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

#inicio .hero-video-link {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--text-muted);
  font-family: "Satoshi", Inter, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.72;
  transition: color var(--transition), opacity var(--transition);
}

#inicio .hero-video-link:hover,
#inicio .hero-video-link:focus-visible {
  color: var(--accent);
  opacity: 1;
}

/* ============================================================
   Method transversal layers refinement
   ============================================================ */

@media (min-width: 1024px) {
  #metodo-aflor .method-block,
  #metodo-aflor > .container > .card {
    max-width: 1120px;
    padding: 2.35rem 2.5rem;
    border: 1px solid rgba(240, 90, 40, 0.82);
    border-radius: 12px;
    background: #303238;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  }

  #metodo-aflor .method-block {
    margin-bottom: 2.25rem;
  }

  #metodo-aflor > .container > .card {
    margin-top: 0;
  }

  #metodo-aflor .method-block .body-text,
  #metodo-aflor > .container > .card .card-body {
    max-width: 980px;
  }
}

/* ============================================================
   Delivery solution cards visual area refinement
   ============================================================ */

#solucoes-aflor .card {
  padding: 1.25rem 1.25rem 1.75rem;
}

#solucoes-aflor .card-asset-slot {
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  margin: 0 0 1.35rem;
  padding: 0;
  border: 1px solid rgba(229, 231, 235, 0.1);
  border-radius: 10px;
  background: rgba(245, 243, 239, 0.04);
}

/* ============================================================
   IOA applied intelligence visual area refinement
   ============================================================ */

#inteligencias-aplicadas .card-dark--wide .mockup-asset-slot {
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  margin: 0 0 1.35rem;
  padding: 0;
  border: 1px solid rgba(229, 231, 235, 0.1);
  border-radius: 10px;
  background: rgba(245, 243, 239, 0.04);
}

/* ============================================================
   Real applications complementary proof layer
   ============================================================ */

#na-pratica .operations-proof {
  margin-top: 4rem;
}

#na-pratica .operations-proof-header {
  max-width: 820px;
  margin-bottom: 2rem;
}

#na-pratica .operations-proof-title {
  color: var(--text-dark);
  font-family: "Cabinet Grotesk", "Satoshi", Inter, system-ui, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.12;
}

#na-pratica .operations-proof-body {
  margin-top: 0.85rem;
  color: #6b7280;
  font-family: "Satoshi", Inter, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.58;
}

#na-pratica .operations-proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

#na-pratica .operations-proof-card {
  min-height: 190px;
  padding: 1.35rem;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(43, 44, 50, 0.05);
}

#na-pratica .operations-proof-label {
  color: var(--text-dark);
  font-family: "Satoshi", Inter, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

#na-pratica .operations-proof-value {
  margin-top: 0.85rem;
  color: var(--accent);
  font-family: "Cabinet Grotesk", "Satoshi", Inter, system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

#na-pratica .operations-proof-detail {
  margin-top: 0.65rem;
  color: #6b7280;
  font-family: "Satoshi", Inter, system-ui, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.55;
}

@media (min-width: 768px) {
  #na-pratica .operations-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  #na-pratica .operations-proof {
    margin-top: 4.5rem;
  }

  #na-pratica .operations-proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

/* ============================================================
   AFLOR platform split composition
   ============================================================ */

#plataforma-aflor .platform-layout {
  display: grid;
  gap: 2.5rem;
}

#plataforma-aflor .platform-content {
  min-width: 0;
}

#plataforma-aflor .platform-slots {
  margin-top: 2rem;
}

#plataforma-aflor .platform-visual {
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(240, 90, 40, 0.22);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 34px rgba(43, 44, 50, 0.12);
}

#plataforma-aflor .platform-app-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

#plataforma-aflor .platform-carousel-track {
  display: grid;
  aspect-ratio: 4 / 5;
  background: var(--white);
}

#plataforma-aflor .platform-carousel-slide {
  display: none;
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#plataforma-aflor .platform-carousel-slide.is-active {
  display: block;
}

#plataforma-aflor .platform-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(43, 44, 50, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

#plataforma-aflor .platform-carousel-arrow,
#plataforma-aflor .platform-carousel-dot {
  border: 0;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), opacity var(--transition);
}

#plataforma-aflor .platform-carousel-arrow {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: transparent;
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1;
}

#plataforma-aflor .platform-carousel-arrow:hover,
#plataforma-aflor .platform-carousel-arrow:focus-visible {
  background: rgba(240, 90, 40, 0.1);
  color: var(--accent);
}

#plataforma-aflor .platform-carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#plataforma-aflor .platform-carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border-radius: 50%;
  background: rgba(43, 44, 50, 0.22);
}

#plataforma-aflor .platform-carousel-dot.is-active {
  background: var(--accent);
}

@media (min-width: 1024px) {
  #plataforma-aflor .platform-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: center;
    gap: 3.5rem;
  }

  #plataforma-aflor .section-header {
    max-width: none;
  }

  #plataforma-aflor .platform-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    margin-inline: 0;
    gap: 1rem;
  }

  #plataforma-aflor .platform-visual {
    max-height: 760px;
  }

  #plataforma-aflor .platform-app-image {
    max-height: 760px;
  }
}

/* ============================================================
   Final CTA split composition
   ============================================================ */

#contato {
  position: relative;
}

#contato::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(calc(100% - 2rem), 1160px);
  height: 1px;
  background: rgba(229, 231, 235, 0.16);
  transform: translateX(-50%);
}

#contato .cta-final-wrap {
  display: grid;
  max-width: 1160px;
  gap: 2.5rem;
  text-align: left;
}

#contato .cta-final-grid {
  display: grid;
  gap: 2.5rem;
}

#contato .cta-final-content {
  min-width: 0;
}

#contato .cta-group--center {
  align-items: flex-start;
  justify-content: flex-start;
}

#contato .microcopy--center {
  text-align: left;
}

#contato .cta-final-visual {
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(240, 90, 40, 0.34);
  border-radius: 16px;
  background: rgba(48, 50, 56, 0.88);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

#contato .cta-final-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1024px) {
  #contato .cta-final-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    align-items: center;
    gap: 3.5rem;
  }
}

/* ============================================================
   Split section editorial headings refinement
   ============================================================ */

#observamos .split-section-heading {
  margin-bottom: 2.75rem;
}

@media (min-width: 1024px) {
  #observamos .split-section-heading,
  #inteligencias-aplicadas .section-header,
  #contato .cta-final-heading {
    max-width: 1040px;
  }

  #observamos .split-section-heading .section-title,
  #inteligencias-aplicadas .section-title,
  #contato .cta-final-title {
    max-width: 1040px;
  }
}

/* ============================================================
   Founder portrait desktop scale refinement
   ============================================================ */

@media (min-width: 1024px) {
  #origem .split-visual--founder {
    width: 56%;
    min-height: 0;
    margin-inline: 0;
    justify-self: end;
  }

  #origem .split-visual--founder img {
    height: auto;
    min-height: 0;
  }
}

/* ============================================================
   Controlled tablet and narrow-desktop responsive refinement
   ============================================================ */

@media (min-width: 768px) and (max-width: 1023px) {
  #solucoes-aflor .delivery-grid,
  #na-pratica .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  #inicio .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
    gap: 2.5rem;
    max-width: 100%;
  }

  #inicio .hero-content,
  #inicio .hero-visual {
    min-width: 0;
  }
}
