:root {
  --primary: #6d28d9;
  --primary-dark: #5521b5;
  --blue: #2563eb;
  --ink: #10183f;
  --text: #526079;
  --muted: #758198;
  --line: #e1e8f3;
  --soft: #f3f6ff;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --shadow: 0 20px 60px rgba(38, 50, 93, 0.1);
  --radius: 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-width: 320px;
  background: #ffffff;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 76px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(18px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.header-logo {
  display: inline-flex;
  align-items: center;
}

.header-logo img {
  width: 176px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 38px);
  transform: translateX(-50%);
}

.main-nav a {
  position: relative;
  color: #24324d;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 27px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--gradient);
  box-shadow: 0 14px 30px rgba(84, 55, 218, 0.22);
  color: #ffffff;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover {
  box-shadow: 0 18px 38px rgba(84, 55, 218, 0.28);
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.3);
  outline-offset: 3px;
}

.button-small {
  min-height: 44px;
  padding: 11px 24px;
  font-size: 13px;
}

.button-outline {
  background: #ffffff;
  border-color: rgba(109, 40, 217, 0.35);
  box-shadow: none;
  color: var(--primary);
}

.button-outline:hover {
  background: #f8f6ff;
  box-shadow: 0 12px 26px rgba(84, 55, 218, 0.1);
}

.text-link {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: auto;
  padding: 100px 8% 94px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 30%, rgba(37, 99, 235, 0.13), transparent 28%),
    radial-gradient(circle at 92% 20%, rgba(124, 58, 237, 0.13), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, #eef3ff 100%);
}

.hero::before {
  content: '';
  position: absolute;
  right: 5%;
  bottom: 6%;
  width: 120px;
  height: 80px;
  opacity: 0.35;
  background-image: radial-gradient(circle, #7c3aed 1.5px, transparent 1.7px);
  background-size: 14px 14px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-left {
  left: -160px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  background: rgba(37, 99, 235, 0.12);
}

.hero-glow-right {
  top: 80px;
  right: -150px;
  width: 380px;
  height: 380px;
  background: rgba(124, 58, 237, 0.13);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr);
  align-items: center;
  width: 100%;
  max-width: 1400px;
  gap: clamp(48px, 7vw, 90px);
}

.hero-copy {
  max-width: 700px;
  margin: 0;
  overflow: visible;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border: 1px solid rgba(109, 40, 217, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px rgba(72, 54, 150, 0.06);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-badge {
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 16px 8px 9px;
}

.product-badge img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: contain;
}

.hero-copy h1 {
  max-width: 700px;
  margin: 0 0 23px;
  padding-top: 0.08em;
  overflow: visible;
  color: #0c143c;
  font-size: clamp(2.8rem, 4.8vw, 4.8rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.045em;
  transform: none;
}

.hero-copy h1 span {
  display: inline;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy > p {
  max-width: 640px;
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-trust {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
  list-style: none;
}

.hero-trust li {
  padding: 8px 13px;
  border: 1px solid #ddd6fe;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #5b3e91;
  font-size: 12px;
  font-weight: 700;
}

.hero-trust li::before {
  content: '✓ ';
  color: var(--primary);
  font-weight: 800;
}

.hero-visual {
  position: relative;
  width: 100%;
}

.mockup-card {
  padding: 12px;
  border: 1px solid rgba(208, 217, 235, 0.9);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 30px 75px rgba(75, 53, 154, 0.16);
  transform: none;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 11px;
  color: #65708a;
  font-size: 10px;
}

.mockup-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d7deeb;
}

.mockup-bar strong {
  margin-left: auto;
  font-weight: 650;
}

.mockup-card > img {
  width: 100%;
  border: 1px solid #e3e9f3;
  border-radius: 17px;
}

.floating-stat {
  position: absolute;
  min-width: 150px;
  padding: 14px 18px;
  border: 1px solid rgba(222, 229, 241, 0.86);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(43, 49, 86, 0.13);
  backdrop-filter: blur(12px);
}

.floating-stat span,
.floating-stat strong {
  display: block;
}

.floating-stat span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.floating-stat strong {
  margin-top: 2px;
  color: var(--ink);
  font-size: 13px;
}

.floating-stat-sales {
  left: -45px;
  bottom: -24px;
}

.floating-stat-control {
  top: 50px;
  right: -35px;
}

.section {
  padding: 105px 0;
}

.section-soft {
  background: var(--soft);
}

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

.section-heading h2 {
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 650px;
  margin: 17px auto 0;
  color: var(--text);
  font-size: 16px;
}

.card-grid {
  display: grid;
  gap: 23px;
}

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

.feature-card,
.benefit-card {
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 15px 42px rgba(42, 52, 91, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover,
.benefit-card:hover {
  border-color: #c9b9f6;
  box-shadow: 0 24px 54px rgba(75, 53, 154, 0.12);
  transform: translateY(-6px);
}

.feature-icon,
.segment-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(145deg, #ede9fe, #dbeafe);
  color: var(--primary);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.feature-icon svg,
.segment-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3,
.benefit-card h3 {
  margin-top: 21px;
  color: #17204a;
  font-size: 18px;
}

.feature-card p,
.benefit-card p {
  margin-top: 10px;
  color: var(--text);
  font-size: 14px;
}

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

.segment-card {
  display: flex;
  min-height: 142px;
  padding: 21px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #e3e8f3;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(42, 52, 91, 0.05);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.segment-card:hover {
  box-shadow: 0 20px 44px rgba(75, 53, 154, 0.1);
  transform: translateY(-4px);
}

.segment-card h3 {
  margin-top: 14px;
  color: #283253;
  font-size: 13px;
  line-height: 1.35;
}

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

.benefit-card > span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.client-section {
  background: linear-gradient(180deg, #f8faff, #eef2ff);
}

.client-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  align-items: center;
  gap: 70px;
  padding: 60px;
  overflow: hidden;
  border: 1px solid #dfe6f2;
  border-radius: 32px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.client-copy h2 {
  margin-top: 19px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.client-copy p {
  margin: 18px 0 27px;
  color: var(--text);
}

.client-preview {
  display: grid;
  grid-template-columns: 80px 1fr;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid #e0e5f0;
  border-radius: 24px;
  background: #f8f9ff;
  box-shadow: 0 25px 60px rgba(49, 48, 102, 0.14);
  transform: rotate(1.2deg);
}

.preview-sidebar {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 22px;
  padding: 24px 18px;
  background: #4e309c;
}

.preview-logo {
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 12px;
}

.preview-sidebar i {
  width: 24px;
  height: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.38);
}

.preview-content {
  padding: 32px;
}

.preview-content > span {
  color: #353d62;
  font-size: 14px;
  font-weight: 800;
}

.preview-video {
  display: grid;
  place-items: center;
  height: 155px;
  margin-top: 24px;
  border-radius: 16px;
  background: linear-gradient(145deg, #ddd6fe, #dbeafe);
}

.preview-video b {
  width: 44px;
  height: 44px;
  border: 12px solid transparent;
  border-left: 18px solid var(--primary);
  transform: translateX(6px);
}

.preview-lines {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.preview-lines i {
  width: 100%;
  height: 9px;
  border-radius: 8px;
  background: #e3e8f2;
}

.preview-lines i:nth-child(2) {
  width: 76%;
}

.preview-lines i:nth-child(3) {
  width: 52%;
}

.demo-section {
  padding: 80px 0;
  background: #ffffff;
}

.demo-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 55px 60px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 5% 20%, rgba(255, 255, 255, 0.14), transparent 26%),
    linear-gradient(135deg, #2563eb, #7335d5);
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(67, 55, 175, 0.22);
}

.demo-panel .eyebrow {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.demo-panel h2 {
  max-width: 720px;
  margin-top: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.demo-panel p {
  max-width: 700px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.button-light {
  flex: 0 0 auto;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(25, 22, 81, 0.15);
  color: var(--primary);
}

.contact-section {
  padding-top: 70px;
}

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

.contact-grid > * {
  display: flex;
  min-height: 130px;
  padding: 27px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(42, 52, 91, 0.05);
}

.contact-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-grid strong {
  margin-top: 7px;
  color: #1b254c;
  font-size: 15px;
}

.contact-grid a:hover strong {
  color: var(--primary);
}

.site-footer {
  padding: 55px 0 28px;
  border-top: 1px solid var(--line);
  background: #f9fbff;
}

.site-footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #161b47;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.site-footer .brand strong {
  color: var(--primary);
}

.site-footer .brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 13px;
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(109, 40, 217, 0.2);
}

.site-footer .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.footer-grid > div p {
  margin-top: 12px;
  color: var(--text);
  font-size: 13px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 13px 22px;
}

.footer-nav a {
  color: #526079;
  font-size: 12px;
  font-weight: 650;
}

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

.copyright {
  grid-column: 1 / -1;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  padding: 13px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 15px 35px rgba(22, 163, 74, 0.26);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

/* Area do cliente */
.client-page {
  background:
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.12), transparent 28%),
    radial-gradient(circle at 90% 15%, rgba(124, 58, 237, 0.13), transparent 30%),
    #f4f7ff;
}

.client-main {
  min-height: 100vh;
  padding-top: 76px;
}

.login-section {
  position: relative;
  display: grid;
  min-height: calc(100vh - 76px);
  padding: 60px 20px;
  place-items: center;
  overflow: hidden;
}

.login-decoration {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.login-decoration-left {
  left: -120px;
  bottom: -80px;
  background: rgba(37, 99, 235, 0.15);
}

.login-decoration-right {
  top: -80px;
  right: -100px;
  background: rgba(124, 58, 237, 0.14);
}

.login-card {
  position: relative;
  z-index: 2;
  width: min(470px, 100%);
  padding: 44px;
  border: 1px solid rgba(218, 226, 240, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 80px rgba(38, 45, 86, 0.14);
}

.login-logo {
  display: block;
  width: 62px;
  height: 62px;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 19px;
  box-shadow: 0 12px 28px rgba(109, 40, 217, 0.2);
}

.login-card h1 {
  margin-top: 18px;
  font-size: 31px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.login-card > p {
  margin-top: 12px;
  color: var(--text);
  font-size: 14px;
}

.login-form {
  display: grid;
  margin-top: 30px;
  gap: 10px;
}

.login-form label {
  color: #283253;
  font-size: 13px;
  font-weight: 700;
}

.login-form input {
  width: 100%;
  height: 51px;
  padding: 0 16px;
  border: 1px solid #dce3ef;
  border-radius: 13px;
  background: #fbfcff;
  color: var(--ink);
  outline: none;
}

.login-form input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08);
}

.password-label {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  gap: 18px;
}

.password-label a {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.login-form .button {
  width: 100%;
  margin-top: 9px;
}

.form-message {
  min-height: 20px;
  color: #b42318;
  font-size: 12px;
}

.login-card small {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.training-section {
  min-height: calc(100vh - 76px);
  padding: 75px 0 100px;
}

.training-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.training-header h1 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.training-header p {
  margin-top: 15px;
  color: var(--text);
}

.category-list {
  display: flex;
  gap: 10px;
  margin-top: 40px;
  padding-bottom: 8px;
  overflow-x: auto;
}

.category-list button {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid #dce3ef;
  border-radius: 999px;
  background: #ffffff;
  color: #566179;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.category-list button.active,
.category-list button:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
  margin-top: 28px;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 15px 42px rgba(42, 52, 91, 0.07);
}

.video-thumbnail {
  position: relative;
  display: grid;
  height: 170px;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(145deg, #4f2d9c, #7052df);
}

.video-thumbnail span {
  position: absolute;
  top: 15px;
  left: 17px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 800;
}

.video-thumbnail b {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  font-size: 18px;
}

.video-card > div:last-child {
  padding: 23px;
}

.video-card > div:last-child > span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.video-card h2 {
  min-height: 48px;
  margin-top: 7px;
  font-size: 16px;
  line-height: 1.45;
}

.video-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.video-card button {
  width: 100%;
  margin-top: 18px;
  padding: 10px;
  border: 1px solid #d8cff8;
  border-radius: 11px;
  background: #f8f6ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 15px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 850px;
  }

  .hero-copy {
    max-width: 700px;
    margin: 0;
    text-align: left;
  }

  .hero-copy h1,
  .hero-copy > p {
    margin-right: 0;
    margin-left: 0;
  }

  .hero-actions,
  .hero-trust {
    justify-content: flex-start;
  }

  .hero-visual {
    margin-top: 20px;
  }

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

  .client-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    left: auto;
    display: flex;
    width: min(360px, 88vw);
    padding: 30px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    box-shadow: -20px 30px 60px rgba(26, 35, 70, 0.14);
    transform: translateX(105%);
    transition: transform 0.25s ease;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    padding: 16px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .main-nav a::after {
    display: none;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .demo-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-logo img {
    width: 150px;
    height: 42px;
  }

  .hero {
    min-height: auto;
    padding: 58px 5% 66px;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
    letter-spacing: -0.045em;
  }

  .hero-copy > p {
    font-size: 15px;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-trust {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .hero-trust li {
    width: 100%;
  }

  .mockup-card {
    padding: 6px;
    border-radius: 17px;
    transform: none;
  }

  .mockup-card > img {
    border-radius: 12px;
  }

  .floating-stat {
    display: none;
  }

  .section {
    padding: 75px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .resource-grid,
  .benefit-grid,
  .training-grid {
    grid-template-columns: 1fr;
  }

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

  .client-panel {
    gap: 45px;
    padding: 34px 25px;
    border-radius: 24px;
  }

  .client-preview {
    grid-template-columns: 58px 1fr;
    min-height: 260px;
  }

  .preview-content {
    padding: 22px;
  }

  .preview-video {
    height: 115px;
  }

  .demo-panel {
    padding: 40px 28px;
    border-radius: 24px;
  }

  .demo-panel .button {
    width: 100%;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }

  .login-card {
    padding: 32px 24px;
  }

  .training-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .segment-grid {
    grid-template-columns: 1fr;
  }

  .segment-card {
    min-height: 120px;
  }

  .client-preview {
    display: none;
  }

  .footer-nav {
    flex-direction: column;
  }
}

/* Responsive hardening */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

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

.container,
.hero,
.hero-grid,
.hero-copy,
.hero-visual,
.section,
.section-heading,
.card-grid,
.segment-grid,
.client-panel,
.contact-grid,
.demo-panel,
.footer-grid {
  min-width: 0;
  max-width: 100%;
}

.hero-grid > *,
.card-grid > *,
.segment-grid > *,
.contact-grid > *,
.footer-grid > * {
  min-width: 0;
}

.client-page .site-header .brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: #161b47;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.client-page .site-header .brand strong {
  color: var(--primary);
}

.client-page .site-header .brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 13px;
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(109, 40, 217, 0.2);
}

.client-page .site-header .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-page .client-main {
  padding-top: 0;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    max-width: 850px;
  }

  .hero {
    padding: 80px 5%;
  }

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

  .client-panel {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: clamp(32px, 5vw, 52px);
  }
}

@media (max-width: 768px) {
  .site-header {
    min-height: 68px;
  }

  .header-inner {
    min-height: 68px;
  }

  .header-logo img {
    width: 145px;
    height: 40px;
  }

  .hero {
    padding: 64px 5%;
  }

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

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

  .demo-panel {
    padding: 42px 32px;
  }

  .client-page .header-inner {
    gap: 14px;
  }

  .client-page .site-header .brand {
    font-size: 16px;
  }

  .client-page .text-link {
    flex: 0 0 auto;
    font-size: 13px;
    text-align: right;
  }

  .login-section {
    min-height: calc(100dvh - 68px);
    padding: 42px 16px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .header-logo img {
    width: 122px;
    height: 36px;
  }

  .hero {
    padding: 52px 4% 58px;
  }

  .hero-copy h1 {
    overflow-wrap: anywhere;
    font-size: clamp(2.15rem, 11vw, 2.9rem);
  }

  .resource-grid,
  .benefit-grid,
  .training-grid,
  .segment-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .benefit-card,
  .segment-card {
    min-width: 0;
  }

  .client-panel,
  .demo-panel {
    padding: 30px 20px;
  }

  .client-page .header-inner {
    width: calc(100% - 24px);
    gap: 10px;
  }

  .client-page .site-header .brand {
    gap: 8px;
    font-size: 14px;
  }

  .client-page .site-header .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 11px;
  }

  .client-page .text-link {
    max-width: 92px;
    font-size: 12px;
    line-height: 1.25;
    white-space: normal;
  }

  .login-section {
    padding: 30px 12px;
  }

  .login-card {
    width: 100%;
    padding: 28px 20px;
    border-radius: 22px;
  }

  .login-logo {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
  }

  .login-card h1 {
    overflow-wrap: anywhere;
    font-size: clamp(1.75rem, 9vw, 2.2rem);
  }

  .password-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .login-form input {
    min-width: 0;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
  }
}
