/* =============================================
   ToPlan · styles.css
   Mobile-first · CSS Custom Properties
   ============================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-primary: #1B3C78;
  --clr-secondary: #2D6EB4;
  --clr-accent: #5AA8D8;
  --clr-surface: #F4F7FB;
  --clr-border: #C8D8EC;
  --clr-text: #162F5E;
  --clr-text-muted: #5B7BA0;
  --clr-white: #FFFFFF;
  --clr-danger: #EF4444;
  --clr-warn: #F59E0B;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl: 0 24px 64px rgba(15,23,42,.14);

  --transition: 240ms cubic-bezier(.4,0,.2,1);
  --transition-slow: 420ms cubic-bezier(.4,0,.2,1);

  --header-h: 72px;
  --container-max: 1200px;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--clr-text);
  background: var(--clr-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* ---------- Accessibility ---------- */
.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;
}

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) { .container { padding-inline: 2rem; } }
@media (min-width: 1200px) { .container { padding-inline: 2.5rem; } }

.section { padding-block: 5rem; }
.section--light { background: var(--clr-surface); }
.section--dark { background: var(--clr-primary); }
.section--cta {
  background: linear-gradient(135deg, #0D2347 0%, #1B3C78 50%, #0D2347 100%);
  position: relative;
  overflow: hidden;
}
.section--cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(45,110,180,.22) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(90,168,216,.14) 0%, transparent 70%);
  pointer-events: none;
}

@media (min-width: 768px) { .section { padding-block: 7rem; } }

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-secondary);
  background: rgba(45,110,180,.08);
  border: 1px solid rgba(45,110,180,.2);
  padding: .3em .9em;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-tag--light {
  color: var(--clr-accent);
  background: rgba(90,168,216,.12);
  border-color: rgba(90,168,216,.3);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--clr-primary);
}

.section-title--light { color: var(--clr-white); }

.section-subtitle {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

.section-subtitle--light { color: rgba(255,255,255,.7); }

.highlight { color: var(--clr-secondary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  padding: .75em 1.5em;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  user-select: none;
}

.btn--primary {
  background: var(--clr-secondary);
  color: var(--clr-white);
  border-color: var(--clr-secondary);
  box-shadow: 0 4px 14px rgba(45,110,180,.35);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: #1B5A9A;
  border-color: #1B5A9A;
  box-shadow: 0 6px 20px rgba(45,110,180,.45);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-border);
}
.btn--outline:hover, .btn--outline:focus-visible {
  border-color: var(--clr-secondary);
  color: var(--clr-secondary);
  background: rgba(37,99,235,.05);
}

.btn--outline-light {
  background: transparent;
  color: var(--clr-white);
  border-color: rgba(255,255,255,.4);
}
.btn--outline-light:hover {
  border-color: var(--clr-white);
  background: rgba(255,255,255,.08);
}

.btn--ghost {
  background: transparent;
  color: var(--clr-primary);
  border-color: transparent;
}
.btn--ghost:hover {
  background: var(--clr-surface);
  border-color: var(--clr-border);
}

.btn--lg { padding: .875em 2em; font-size: 1rem; border-radius: var(--radius-md); }

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--clr-border);
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,.96);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}

.header__logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.header__logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--clr-primary);
  letter-spacing: -.02em;
}

.header__nav { display: none; flex: 1; }
.header__nav-list { display: flex; gap: .25rem; }
.header__nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  padding: .5em .75em;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.header__nav-link:hover, .header__nav-link.active {
  color: var(--clr-primary);
  background: var(--clr-surface);
}

.header__actions { display: none; align-items: center; gap: .75rem; margin-left: auto; }

.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
  border-radius: var(--radius-sm);
}
.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.header__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav open */
.header__nav.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--clr-white);
  border-top: 1px solid var(--clr-border);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  animation: slideDown var(--transition) ease both;
}
.header__nav.is-open .header__nav-list { flex-direction: column; gap: .25rem; }
.header__nav.is-open .header__nav-link { padding: .75em 1em; font-size: 1rem; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 900px) {
  .header__nav { display: flex; }
  .header__actions { display: flex; }
  .header__hamburger { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 20%, rgba(45,110,180,.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(90,168,216,.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.hero__badge {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--clr-secondary);
  background: rgba(45,110,180,.08);
  border: 1px solid rgba(45,110,180,.2);
  padding: .35em 1em;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--clr-primary);
}

.hero__subtitle {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
  max-width: 520px;
}

.hero__cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero__social-proof {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero__avatars { display: flex; }
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--clr-white);
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-right: -10px;
}

.hero__proof-text { font-size: .875rem; color: var(--clr-text-muted); margin-left: 18px; }
.hero__proof-text strong { color: var(--clr-primary); }

/* ---------- Browser Frame ---------- */
.browser-frame {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-3deg) rotateX(1.5deg);
  transition: transform var(--transition-slow);
}
.browser-frame:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}
.browser-frame__bar {
  background: #EEF2F8;
  border-bottom: 1px solid var(--clr-border);
  padding: .625rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.browser-frame__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.browser-frame__dot:nth-child(1) { background: #FC605C; }
.browser-frame__dot:nth-child(2) { background: #FDBC40; }
.browser-frame__dot:nth-child(3) { background: #34C749; }
.browser-frame__url {
  margin-left: .5rem;
  font-size: .72rem;
  color: var(--clr-text-muted);
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  padding: .2em .8em;
  font-family: var(--font);
}
.browser-frame__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Showcase variant — sem perspectiva, com sombra lateral */
.browser-frame--showcase {
  transform: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.browser-frame--showcase:hover { transform: none; }
.browser-frame--showcase img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 520px;
  background: #f8fafc;
}

/* ---------- Feature Showcase (tabs + preview) ---------- */
.feature-showcase {
  display: grid;
  gap: 2rem;
}
@media (min-width: 960px) {
  .feature-showcase {
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
  }
}

/* --- Tabs --- */
.feature-tabs {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
@media (max-width: 959px) {
  .feature-tabs {
    flex-direction: row;
    overflow-x: auto;
    gap: .5rem;
    padding-bottom: .25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .feature-tabs::-webkit-scrollbar { display: none; }
}

.feature-tab {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: 1rem 1.125rem;
  background: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  font-family: var(--font);
  width: 100%;
  position: relative;
}
.feature-tab:hover {
  background: rgba(45,110,180,.05);
  border-color: rgba(45,110,180,.2);
}
.feature-tab.active {
  background: rgba(45,110,180,.07);
  border-color: var(--clr-secondary);
}
.feature-tab.active::before {
  content: '';
  position: absolute;
  left: -1.5px;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: var(--clr-secondary);
  border-radius: 0 3px 3px 0;
}
@media (max-width: 959px) {
  .feature-tab { min-width: 180px; flex-direction: column; gap: .5rem; }
  .feature-tab.active::before { display: none; }
}

.feature-tab__icon {
  width: 38px; height: 38px;
  background: rgba(45,110,180,.08);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--clr-secondary);
  transition: background var(--transition), color var(--transition);
}
.feature-tab.active .feature-tab__icon {
  background: var(--clr-secondary);
  color: var(--clr-white);
}

.feature-tab__text strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: .3rem;
  line-height: 1.3;
}
.feature-tab__text span {
  font-size: .8rem;
  color: var(--clr-text-muted);
  line-height: 1.55;
  display: block;
}
@media (max-width: 959px) {
  .feature-tab__text span { display: none; }
}

/* --- Preview panels --- */
.feature-preview { position: relative; }

.feature-panel {
  display: none;
  animation: fadeInPanel .3s ease both;
}
.feature-panel.active { display: block; }

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.feature-caption {
  margin-top: 1.25rem;
  font-size: .9375rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  padding: 0 .25rem;
}
.feature-caption strong {
  color: var(--clr-primary);
  font-weight: 700;
}

/* ---------- Dashboard Mock (legacy, não usado) ---------- */
.dashboard-mock {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform var(--transition-slow);
}
.dashboard-mock:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }

.dashboard-mock__header {
  background: #F1F5F9;
  border-bottom: 1px solid var(--clr-border);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.dashboard-mock__dots { display: flex; gap: 6px; }
.dashboard-mock__dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--clr-border);
}
.dashboard-mock__dots span:first-child { background: #FC605C; }
.dashboard-mock__dots span:nth-child(2) { background: #FDBC40; }
.dashboard-mock__dots span:nth-child(3) { background: #34C749; }
.dashboard-mock__title { font-size: .8rem; color: var(--clr-text-muted); font-weight: 500; }

.dashboard-mock__body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1.25rem; }

.dash-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }

.dash-kpi {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  padding: .875rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  border: 1px solid var(--clr-border);
}
.dash-kpi__label { font-size: .7rem; color: var(--clr-text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.dash-kpi__value { font-size: 1.25rem; font-weight: 800; color: var(--clr-primary); }
.dash-kpi__delta { font-size: .75rem; font-weight: 600; }
.dash-kpi--up .dash-kpi__delta { color: var(--clr-accent); }
.dash-kpi--warn .dash-kpi__delta { color: var(--clr-warn); }

.dash-chart { background: var(--clr-surface); border-radius: var(--radius-md); padding: 1rem; border: 1px solid var(--clr-border); }
.dash-chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
}
.dash-bar {
  flex: 1;
  background: rgba(37,99,235,.15);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: background var(--transition);
}
.dash-bar span {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .6rem;
  color: var(--clr-text-muted);
  white-space: nowrap;
}
.dash-bar--active { background: var(--clr-secondary); }
.dash-chart__label { font-size: .7rem; color: var(--clr-text-muted); margin-top: 1.5rem; text-align: center; }

.dash-metas { display: flex; flex-direction: column; gap: .625rem; }
.dash-metas__title { font-size: .8rem; font-weight: 700; color: var(--clr-primary); margin-bottom: .25rem; }
.dash-meta-item { display: flex; align-items: center; gap: .75rem; font-size: .75rem; }
.dash-meta-item span:first-child { width: 70px; color: var(--clr-text-muted); flex-shrink: 0; }
.dash-meta-item span:last-child { width: 32px; text-align: right; font-weight: 600; color: var(--clr-primary); }

.progress-bar {
  flex: 1;
  height: 6px;
  background: var(--clr-border);
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar__fill {
  height: 100%;
  background: var(--clr-secondary);
  border-radius: 999px;
  transition: width 1s ease;
}
.progress-bar__fill--green { background: var(--clr-accent); }

/* ---------- PAIN CARDS ---------- */
.pain-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .pain-grid { grid-template-columns: repeat(4, 1fr); } }

.pain-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.pain-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(239,68,68,.25);
}
.pain-card__icon {
  width: 48px; height: 48px;
  background: rgba(239,68,68,.06);
  border: 1px solid rgba(239,68,68,.15);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}
.pain-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.pain-card p { font-size: .9rem; color: var(--clr-text-muted); line-height: 1.65; }

/* ---------- SOLUTION CARDS ---------- */
.solution-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) { .solution-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .solution-grid { grid-template-columns: repeat(3, 1fr); } }

.solution-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-secondary), var(--clr-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.solution-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(37,99,235,.2);
}
.solution-card:hover::before { transform: scaleX(1); }

.solution-card__icon {
  width: 52px; height: 52px;
  background: rgba(45,110,180,.07);
  border: 1px solid rgba(45,110,180,.18);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  transition: background var(--transition);
}
.solution-card:hover .solution-card__icon { background: rgba(45,110,180,.14); }

.solution-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .625rem; }
.solution-card p { font-size: .9rem; color: var(--clr-text-muted); line-height: 1.65; }

/* ---------- TIMELINE ---------- */
.timeline {
  max-width: 640px;
  margin-inline: auto;
  position: relative;
}

.timeline__item {
  display: grid;
  grid-template-columns: 56px 24px 1fr;
  gap: 0 1.5rem;
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline__item:last-child { padding-bottom: 0; }

.timeline__step {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--clr-secondary);
  color: var(--clr-white);
  font-size: 1rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(45,110,180,.18);
  position: relative;
  z-index: 1;
}

.timeline__step--last {
  background: var(--clr-accent);
  box-shadow: 0 0 0 6px rgba(90,168,216,.2);
}

.timeline__connector {
  width: 2px;
  background: linear-gradient(180deg, rgba(37,99,235,.4), rgba(37,99,235,.1));
  margin-inline: auto;
  grid-column: 1;
  position: absolute;
  left: 25px;
  top: 52px;
  bottom: 0;
}

.timeline__content {
  padding-top: .75rem;
  grid-column: 3;
  grid-row: 1;
}
.timeline__content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: .5rem;
}
.timeline__content p { font-size: .9375rem; color: rgba(255,255,255,.65); line-height: 1.7; }

/* ---------- MOCKUPS GRID ---------- */
.mockups-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .mockups-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }
  .mockup-card--large { grid-column: span 3; }
}

@media (min-width: 960px) {
  .mockups-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mockup-card--large { grid-column: span 2; }
}

.mockup-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--clr-border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.mockup-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }

.mockup-label {
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
  padding: .625rem 1rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mockup-screen { background: var(--clr-white); }

.ms-header {
  background: #F1F5F9;
  border-bottom: 1px solid var(--clr-border);
  padding: .625rem 1rem;
  display: flex;
  align-items: center;
  gap: .625rem;
}
.ms-dot { width: 9px; height: 9px; border-radius: 50%; }
.ms-dot.r { background: #FC605C; }
.ms-dot.y { background: #FDBC40; }
.ms-dot.g { background: #34C749; }
.ms-title { font-size: .72rem; color: var(--clr-text-muted); font-weight: 500; }

.ms-body { padding: 1rem; }

/* Dashboard screen */
.ms-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .625rem; margin-bottom: 1rem; }
.ms-kpi {
  background: var(--clr-surface);
  border-left: 3px solid;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: .625rem;
}
.ms-kpi b { display: block; font-size: 1.05rem; font-weight: 800; color: var(--clr-primary); }
.ms-kpi small { font-size: .7rem; color: var(--clr-text-muted); }

.ms-graph { background: var(--clr-surface); border-radius: var(--radius-md); padding: .875rem; }
.ms-bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 80px; }
.ms-bar {
  flex: 1;
  background: rgba(37,99,235,.15);
  border-radius: 3px 3px 0 0;
  transition: background var(--transition);
}
.ms-bar--active { background: var(--clr-secondary); }

/* KPI screen */
.ms-kpi-list { display: flex; flex-direction: column; gap: .75rem; padding: .5rem 0; }
.ms-kpi-row { display: flex; align-items: center; gap: .75rem; font-size: .8rem; }
.ms-kpi-row span:first-child { width: 60px; color: var(--clr-text-muted); flex-shrink: 0; }
.ms-prog { flex: 1; height: 6px; background: var(--clr-border); border-radius: 999px; overflow: hidden; }
.ms-prog div { height: 100%; background: var(--clr-secondary); border-radius: 999px; }

/* Action screen */
.ms-action-list { display: flex; flex-direction: column; gap: .5rem; }
.ms-action-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .625rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  font-weight: 500;
}
.ms-action-status { width: 18px; height: 18px; display: grid; place-items: center; font-size: .75rem; border-radius: 50%; flex-shrink: 0; font-weight: 700; }
.ms-action-item--done { background: rgba(34,197,94,.08); color: #15803D; }
.ms-action-item--done .ms-action-status { background: rgba(34,197,94,.2); }
.ms-action-item--progress { background: rgba(37,99,235,.08); color: #1D4ED8; }
.ms-action-item--progress .ms-action-status { background: rgba(37,99,235,.2); }
.ms-action-item--open { background: var(--clr-surface); color: var(--clr-text-muted); }
.ms-action-item--open .ms-action-status { background: var(--clr-border); }

/* Goals screen */
.ms-goal-list { display: flex; flex-direction: column; gap: .875rem; }
.ms-goal { display: flex; align-items: center; gap: .75rem; font-size: .8rem; }
.ms-goal span { width: 65px; color: var(--clr-text-muted); flex-shrink: 0; }
.ms-goal b { width: 36px; text-align: right; font-weight: 700; color: var(--clr-primary); }
.ms-prog-g { height: 100%; background: var(--clr-accent); border-radius: 999px; }

/* ---------- DIFFERENTIALS ---------- */
.differentials-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) { .differentials-grid { grid-template-columns: repeat(3, 1fr); } }

.differential-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.differential-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.differential-card__number {
  position: absolute;
  top: 1.75rem;
  right: 2rem;
  font-size: 3rem;
  font-weight: 900;
  color: var(--clr-border);
  line-height: 1;
  letter-spacing: -.05em;
}

.differential-card__icon {
  width: 56px; height: 56px;
  background: rgba(45,110,180,.07);
  border: 1px solid rgba(45,110,180,.18);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}

.differential-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: .875rem;
  color: var(--clr-primary);
}

.differential-card p {
  font-size: .9375rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.differential-card__list { display: flex; flex-direction: column; gap: .5rem; }
.differential-card__list li {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .875rem;
  color: var(--clr-text);
  font-weight: 500;
}
.differential-card__list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clr-accent);
  flex-shrink: 0;
}

/* ---------- APPROACH CARDS ---------- */
.approach-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) { .approach-grid { grid-template-columns: repeat(3, 1fr); } }

.approach-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
  text-align: center;
}
.approach-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.approach-card__step {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.approach-card__number {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-secondary);
  margin-bottom: .75rem;
}

.approach-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--clr-primary);
  margin-bottom: .875rem;
}

.approach-card p {
  font-size: .9375rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.approach-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}
.approach-card__tags span {
  font-size: .75rem;
  font-weight: 600;
  color: var(--clr-secondary);
  background: rgba(45,110,180,.08);
  border: 1px solid rgba(45,110,180,.2);
  padding: .25em .75em;
  border-radius: 999px;
}

/* ---------- CTA BLOCK ---------- */
.cta-block {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-block__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
}

.cta-block__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cta-form { width: 100%; }
.cta-form__row {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

@media (min-width: 768px) {
  .cta-form__row {
    flex-direction: row;
    align-items: stretch;
  }
}

.cta-form__group { flex: 1; }

.cta-form input {
  width: 100%;
  height: 52px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  padding: 0 1.25rem;
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--clr-white);
  transition: border-color var(--transition), background var(--transition);
}
.cta-form input::placeholder { color: rgba(255,255,255,.45); }
.cta-form input:focus { outline: none; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.15); }
.cta-form input.error { border-color: #FCA5A5; }

.cta-form .btn { height: 52px; white-space: nowrap; flex-shrink: 0; }

.cta-form__privacy {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  margin-top: 1rem;
}
.cta-form__privacy a { color: rgba(255,255,255,.65); text-decoration: underline; }

.cta-form__success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  margin-top: 1rem;
  font-size: .9375rem;
  color: var(--clr-accent);
  font-weight: 600;
  animation: fadeIn .3s ease;
}

.cta-secondary {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .9rem;
  color: rgba(255,255,255,.5);
}

/* ---------- FOOTER ---------- */
.footer {
  background: #0D2347;
  color: rgba(255,255,255,.7);
  padding-top: 4rem;
}

.footer__inner {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
}

.footer__brand p {
  margin-top: 1rem;
  font-size: .9rem;
  line-height: 1.65;
  max-width: 260px;
}

.footer__logo-link { display: inline-flex; }

.footer__logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .92;
}

.footer__social {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
}
.footer__social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.6);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.footer__social a:hover {
  border-color: rgba(255,255,255,.5);
  color: var(--clr-white);
  background: rgba(255,255,255,.08);
}

.footer__nav { display: contents; }

.footer__col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}

.footer__col ul { display: flex; flex-direction: column; gap: .625rem; }
.footer__col a {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--clr-white); }

.footer__bottom {
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.5rem;
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

@media (min-width: 768px) {
  .footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 500;
  width: 44px; height: 44px;
  background: var(--clr-secondary);
  color: var(--clr-white);
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: #1B5A9A; }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal--right {
  transform: translateX(28px);
}
.reveal--right.revealed {
  transform: translateX(0);
}

/* Stagger children */
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .40s; }

/* ---------- Animations ---------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Utilities ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .header, .hero__bg, .back-to-top { display: none; }
  .hero { padding-top: 2rem; min-height: auto; }
  body { color: #000; }
}
