/*
 * Variação clara/editorial.
 * Ativação: index.html?layout=clean
 * A página original permanece como layout padrão.
 */

html.layout-clean {
  --clean-bg: #f4f2ed;
  --clean-paper: #ffffff;
  --clean-ink: #142033;
  --clean-muted: #5f6875;
  --clean-line: #dcdedb;
  --clean-blue: #2457e6;
  --clean-blue-dark: #173ca9;
  --clean-blue-soft: #eaf0ff;
  --clean-green: #19734c;
  --clean-shadow: 0 22px 60px rgba(20, 32, 51, 0.1);
  overflow-x: clip;
  color-scheme: light;
}

html.layout-clean body {
  overflow-x: clip;
  background: var(--clean-bg);
  color: var(--clean-ink);
}

html.layout-clean body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

html.layout-clean .site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(20, 32, 51, 0.1);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(20, 32, 51, 0.06);
  backdrop-filter: blur(18px);
}

html.layout-clean .brand img {
  height: 34px;
  filter: brightness(0) saturate(100%) invert(11%) sepia(22%) saturate(1011%) hue-rotate(178deg)
    brightness(93%) contrast(91%);
}

html.layout-clean .desktop-nav {
  color: var(--clean-muted);
  font-weight: 600;
}

html.layout-clean .desktop-nav a {
  position: relative;
}

html.layout-clean .desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--clean-blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

html.layout-clean .desktop-nav a:hover {
  color: var(--clean-ink);
}

html.layout-clean .desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

html.layout-clean .header-cta,
html.layout-clean .btn-primary {
  color: #fff;
  background: var(--clean-blue);
  box-shadow: none;
}

html.layout-clean .header-cta:hover,
html.layout-clean .btn-primary:hover {
  background: var(--clean-blue-dark);
}

html.layout-clean .header-cta {
  padding: 11px 16px;
  border-radius: 8px;
}

html.layout-clean .section {
  width: min(1120px, calc(100% - 40px));
  padding: 92px 0;
}

html.layout-clean .hero {
  min-height: calc(100vh - 80px);
  gap: 64px;
  padding-top: 78px;
  padding-bottom: 110px;
}

html.layout-clean .hero-content {
  position: relative;
}

html.layout-clean .hero-content::before {
  display: block;
  width: 46px;
  height: 3px;
  margin-bottom: 24px;
  content: "";
  background: var(--clean-blue);
}

html.layout-clean .eyebrow {
  margin-bottom: 16px;
  color: var(--clean-blue);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

html.layout-clean h1,
html.layout-clean h2,
html.layout-clean h3 {
  color: var(--clean-ink);
}

html.layout-clean h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5vw, 3.8rem);
  line-height: 0.99;
  letter-spacing: -0.052em;
}

html.layout-clean h2 {
  max-width: 720px;
  font-size: clamp(2.1rem, 4.4vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: -0.048em;
}

html.layout-clean h3 {
  font-size: 1.08rem;
  letter-spacing: -0.016em;
}

html.layout-clean .hero-text,
html.layout-clean .section-heading p,
html.layout-clean .modal-copy p,
html.layout-clean .final-cta p {
  color: var(--clean-muted);
}

html.layout-clean .hero-text {
  max-width: 640px;
  font-size: 1.08rem;
  line-height: 1.75;
}

html.layout-clean .hero-actions {
  margin: 34px 0 30px;
}

html.layout-clean .btn {
  min-height: 52px;
  padding: 14px 21px;
  border-radius: 8px;
  font-weight: 700;
}

html.layout-clean .btn-secondary {
  color: var(--clean-ink);
  background: transparent;
  border: 1px solid #b7bcc3;
}

html.layout-clean .btn-secondary:hover {
  background: var(--clean-paper);
  border-color: var(--clean-ink);
}

html.layout-clean .trust-row {
  gap: 0;
  padding-top: 4px;
}

html.layout-clean .trust-row span {
  padding: 0 16px;
  color: var(--clean-muted);
  background: transparent;
  border: 0;
  border-right: 1px solid #c9ccc9;
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 600;
}

html.layout-clean .trust-row span:first-child {
  padding-left: 0;
}

html.layout-clean .trust-row span:last-child {
  border-right: 0;
}

html.layout-clean .trust-row span:nth-child(n) {
  color: var(--clean-muted);
}

html.layout-clean .hero-panel {
  padding: 18px;
  overflow: visible;
  color: var(--clean-ink);
  background: var(--clean-paper);
  border: 1px solid var(--clean-line);
  border-radius: 12px;
  box-shadow: var(--clean-shadow);
  transform: rotate(0.5deg);
}

html.layout-clean .hero-panel::before {
  inset: -12px 12px 12px -12px;
  z-index: -1;
  border: 1px solid rgba(36, 87, 230, 0.22);
  border-radius: 12px;
}

html.layout-clean .panel-top {
  color: var(--clean-muted);
}

html.layout-clean .status-dot {
  width: 8px;
  height: 8px;
  background: var(--clean-green);
  box-shadow: 0 0 0 5px rgba(25, 115, 76, 0.11);
}

html.layout-clean .browser-mockup,
html.layout-clean .demo-screen {
  background: #f7f8fa;
  border: 1px solid var(--clean-line);
  border-radius: 8px;
}

html.layout-clean .browser-bar {
  background: #eef0f2;
  border-bottom: 1px solid var(--clean-line);
}

html.layout-clean .browser-bar span {
  background: #c2c6ca;
}

html.layout-clean .lead-card,
html.layout-clean .notification-card {
  background: var(--clean-paper);
  border: 1px solid var(--clean-line);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(20, 32, 51, 0.04);
}

html.layout-clean .lead-card {
  border-left: 3px solid var(--clean-blue);
}

html.layout-clean .notification-card {
  border-left: 3px solid var(--clean-green);
}

html.layout-clean .lead-label,
html.layout-clean .notification-card span {
  color: var(--clean-blue);
}

html.layout-clean .notification-card span {
  color: var(--clean-green);
}

html.layout-clean .lead-card p,
html.layout-clean .notification-card p {
  color: var(--clean-muted);
}

html.layout-clean .flow-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html.layout-clean .flow-list div {
  padding: 10px;
  color: var(--clean-muted);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--clean-line);
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 600;
}

html.layout-clean .flow-list span,
html.layout-clean .steps-list span,
html.layout-clean .demo-flow span {
  color: var(--clean-blue);
  background: var(--clean-blue-soft);
  border-radius: 6px;
}

html.layout-clean .section-heading {
  margin-bottom: 44px;
}

html.layout-clean .section-heading p {
  line-height: 1.75;
}

html.layout-clean .section-heading.centered {
  text-align: left;
}

html.layout-clean .demo-section,
html.layout-clean .solution-section,
html.layout-clean .audience-section {
  position: relative;
}

html.layout-clean .demo-section::before,
html.layout-clean .solution-section::before,
html.layout-clean .audience-section::before {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: 100%;
  content: "";
  background: rgba(255, 255, 255, 0.56);
  transform: translateX(-50%);
}

html.layout-clean .demo-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 28px;
  background: var(--clean-paper);
  border: 1px solid var(--clean-line);
  border-radius: 12px;
  box-shadow: 0 16px 44px rgba(20, 32, 51, 0.07);
}

html.layout-clean .demo-flow li {
  color: var(--clean-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--clean-line);
  border-radius: 0;
  font-weight: 600;
}

html.layout-clean .demo-flow li:last-child {
  border-bottom: 0;
}

html.layout-clean .card-grid,
html.layout-clean .feature-grid {
  gap: 1px;
  overflow: hidden;
  background: var(--clean-line);
  border: 1px solid var(--clean-line);
  border-radius: 12px;
}

html.layout-clean .card,
html.layout-clean .feature-card,
html.layout-clean .audience-grid article,
html.layout-clean .lead-form {
  background: var(--clean-paper);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

html.layout-clean .card,
html.layout-clean .feature-card {
  min-height: 230px;
  padding: 28px;
}

html.layout-clean .card {
  display: flex;
  flex-direction: column;
}

html.layout-clean .card h3 {
  margin-top: auto;
}

html.layout-clean .card p,
html.layout-clean .feature-card p,
html.layout-clean .steps-list p {
  color: var(--clean-muted);
}

html.layout-clean .card-icon {
  color: var(--clean-blue);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

html.layout-clean .feature-card {
  min-height: 185px;
  border-top: 0;
}

html.layout-clean .feature-card::before {
  display: block;
  width: 26px;
  height: 2px;
  margin-bottom: 30px;
  content: "";
  background: var(--clean-blue);
}

html.layout-clean .price-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 22px;
  padding: 26px 28px;
  background: var(--clean-blue);
  border: 0;
  border-radius: 10px;
  box-shadow: none;
}

html.layout-clean .price-card strong,
html.layout-clean .price-card p {
  color: #fff;
}

html.layout-clean .price-card p {
  max-width: 440px;
  margin: 0;
  opacity: 0.8;
}

html.layout-clean .differentiators-section,
html.layout-clean .final-cta {
  padding: 58px;
  color: #fff;
  background: var(--clean-ink);
  border: 0;
  border-radius: 12px;
  box-shadow: none;
}

html.layout-clean .differentiators-section h2,
html.layout-clean .final-cta h2 {
  color: #fff;
}

html.layout-clean .differentiators-section .eyebrow,
html.layout-clean .final-cta .eyebrow {
  color: #9fb8ff;
}

html.layout-clean .check-list {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

html.layout-clean .check-list li {
  padding: 13px 0 13px 30px;
  color: rgba(255, 255, 255, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 500;
}

html.layout-clean .check-list li::before {
  color: #9fb8ff;
}

html.layout-clean .audience-grid {
  gap: 12px;
}

html.layout-clean .audience-grid article {
  position: relative;
  min-height: 150px;
  align-items: flex-end;
  padding: 22px;
  color: var(--clean-ink);
  border: 1px solid var(--clean-line);
  border-radius: 10px;
  font-weight: 700;
}

html.layout-clean .audience-grid article::before {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--clean-blue);
  border-radius: 50%;
}

html.layout-clean .audience-grid article:nth-child(2n) {
  border-color: var(--clean-line);
}

html.layout-clean .final-cta p {
  color: rgba(255, 255, 255, 0.7);
}

html.layout-clean .final-cta .btn-primary {
  color: var(--clean-ink);
  background: #fff;
}

html.layout-clean .final-cta .btn-primary:hover {
  color: #fff;
  background: var(--clean-blue);
}

html.layout-clean .modal-backdrop {
  background: rgba(20, 32, 51, 0.58);
  backdrop-filter: blur(10px);
}

html.layout-clean .modal-dialog {
  background: var(--clean-paper);
  border: 1px solid var(--clean-line);
  border-radius: 12px;
  box-shadow: var(--clean-shadow);
}

html.layout-clean .modal-close {
  color: var(--clean-muted);
  background: #f1f2f2;
  border: 1px solid var(--clean-line);
}

html.layout-clean .wizard-form {
  background: transparent;
}

html.layout-clean .wizard-progress {
  background: #e5e7e9;
}

html.layout-clean .wizard-progress span {
  background: var(--clean-blue);
}

html.layout-clean .wizard-counter {
  color: var(--clean-blue);
}

html.layout-clean label {
  color: var(--clean-ink);
}

html.layout-clean input,
html.layout-clean select,
html.layout-clean textarea {
  color: var(--clean-ink);
  background: #f7f8f8;
  border: 1px solid #cfd3d7;
}

html.layout-clean input:focus,
html.layout-clean select:focus,
html.layout-clean textarea:focus {
  border-color: var(--clean-blue);
  outline: 3px solid rgba(36, 87, 230, 0.12);
}

html.layout-clean .form-success {
  color: #135f3e;
  background: #eaf6ef;
  border-color: #b9ddc9;
}

html.layout-clean .site-footer {
  color: #7a828e;
  background: var(--clean-paper);
  border-top: 1px solid var(--clean-line);
}

html.layout-clean .site-footer span:first-child {
  color: var(--clean-ink);
}

@media (max-width: 959px) {
  html.layout-clean .hero {
    gap: 56px;
  }

  html.layout-clean .demo-panel {
    grid-template-columns: 1fr;
  }

  html.layout-clean .price-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-width: 960px) {
  html.layout-clean .hero {
    grid-template-columns: 1.14fr 0.86fr;
  }
}

@media (max-width: 719px) {
  html.layout-clean .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  html.layout-clean .section {
    width: min(100% - 32px, 1120px);
    padding: 72px 0;
  }

  html.layout-clean .hero {
    padding-top: 64px;
  }

  html.layout-clean h1 {
    font-size: clamp(2.8rem, 13vw, 3.7rem);
  }

  html.layout-clean .trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 0;
  }

  html.layout-clean .trust-row span {
    padding: 0 10px 0 0;
    border-right: 0;
  }

  html.layout-clean .flow-list {
    grid-template-columns: 1fr;
  }

  html.layout-clean .demo-panel {
    padding: 16px;
  }

  html.layout-clean .card-grid,
  html.layout-clean .feature-grid {
    gap: 1px;
  }

  html.layout-clean .card,
  html.layout-clean .feature-card {
    min-height: auto;
  }

  html.layout-clean .differentiators-section,
  html.layout-clean .final-cta {
    width: calc(100% - 20px);
    padding: 38px 24px;
  }
}
