/* =========================================================
   MCosme Soluções em Tecnologia
   Landing page institucional
   ========================================================= */

:root {
  --bg: #eef3f6;
  --surface: #f8fafb;
  --surface-soft: #e6edf2;
  --surface-dark: #0b1220;
  --surface-dark-2: #111c30;

  --text: #111827;
  --text-soft: #5f6b7a;
  --text-muted: #8490a1;
  --line: #dfe6ee;

  --primary: #0f5f75;
  --primary-strong: #0a4a5c;
  --accent: #3ea6a0;
  --accent-soft: #dff3f1;

  --white: #ffffff;
  --shadow-sm: 0 14px 38px rgba(14, 30, 52, 0.07);
  --shadow-md: 0 24px 70px rgba(9, 25, 45, 0.12);

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;

  --container: 1180px;
  --header-height: 82px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

::selection {
  background: var(--accent-soft);
  color: var(--surface-dark);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface-dark);
  color: var(--white);
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section {
  padding: 112px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow-light {
  color: #9bdad4;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading-centered .eyebrow {
  justify-content: center;
}

.section-heading h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.section-heading p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 750;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.main-nav a:focus-visible,
.brand:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(62, 166, 160, 0.35);
  outline-offset: 4px;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 12px 30px rgba(15, 95, 117, 0.2);
}

.button-primary:hover {
  background: var(--primary-strong);
  box-shadow: 0 16px 34px rgba(15, 95, 117, 0.25);
}

.button-secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.68);
}

.button-secondary:hover {
  border-color: #c6d3de;
  background: var(--white);
}

.button-small {
  min-height: 44px;
  padding-inline: 16px;
  font-size: 0.92rem;
}

.button-light {
  flex-shrink: 0;
  color: var(--surface-dark);
  background: var(--white);
}

.button-light:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid rgba(223, 230, 238, 0.72);
  background: rgba(247, 249, 252, 0.86);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  height: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--surface-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.brand-copy span {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.77rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  position: relative;
  color: #475467;
  font-size: 0.92rem;
  font-weight: 650;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  justify-self: end;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: var(--text);
  transition: 0.2s ease;
}

/* Hero */
.hero {
  position: relative;
  overflow: clip;
  padding-top: 92px;
  padding-bottom: 92px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.94fr);
  align-items: center;
  gap: 70px;
}

.hero-content h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(3.25rem, 6.1vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-content h1 span {
  display: block;
  margin-top: 8px;
  color: var(--primary);
}

.hero-text {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.status-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.status-dot::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(62, 166, 160, 0.32);
  border-radius: inherit;
  content: "";
}

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

.hero-glow-one {
  top: -160px;
  right: 2%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(62, 166, 160, 0.13), rgba(62, 166, 160, 0));
}

.hero-glow-two {
  bottom: -220px;
  left: 18%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(15, 95, 117, 0.09), rgba(15, 95, 117, 0));
}

.hero-visual {
  position: relative;
}

.visual-shell {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background: var(--surface-dark);
  box-shadow: 0 38px 90px rgba(11, 18, 32, 0.23);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.visual-topbar {
  display: flex;
  height: 46px;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d1728;
}

.visual-topbar > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.visual-address {
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.4);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.66rem;
}

.visual-layout {
  display: grid;
  min-height: 438px;
  grid-template-columns: 58px 1fr;
}

.visual-sidebar {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 21px;
  padding: 19px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: #0c1525;
}

.visual-sidebar span {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
}

.visual-sidebar span.active {
  border-color: rgba(110, 213, 204, 0.6);
  background: rgba(62, 166, 160, 0.18);
}

.visual-logo {
  display: grid;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 7px;
  color: var(--surface-dark);
  background: #7dd6ce;
  font-size: 0.72rem;
  font-weight: 900;
}

.visual-dashboard {
  min-width: 0;
  padding: 28px;
}

.visual-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.visual-heading > div {
  display: flex;
  flex-direction: column;
}

.mini-label {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-heading strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}

.mini-badge {
  padding: 6px 9px;
  border: 1px solid rgba(125, 214, 206, 0.2);
  border-radius: 999px;
  color: #9de2dc;
  background: rgba(62, 166, 160, 0.1);
  font-size: 0.62rem;
  font-weight: 700;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.metric-card,
.chart-card {
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.035);
}

.metric-card {
  display: flex;
  min-height: 94px;
  flex-direction: column;
  justify-content: center;
  padding: 15px;
  border-radius: 13px;
}

.metric-card span,
.metric-card small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.61rem;
}

.metric-card strong {
  margin: 5px 0;
  color: #f4f7fb;
  font-size: 0.78rem;
}

.chart-card {
  margin-top: 12px;
  padding: 18px;
  border-radius: 15px;
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.63rem;
}

.chart-head strong {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.chart {
  display: grid;
  height: 120px;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 9px;
  margin-top: 20px;
}

.chart span {
  height: var(--h);
  min-height: 18px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(to top, #286f79, #73cfc7);
  opacity: 0.92;
}

.data-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.flow-item {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.61rem;
  white-space: nowrap;
}

.flow-item span {
  display: inline-grid;
  width: 23px;
  height: 23px;
  margin-right: 4px;
  place-items: center;
  border-radius: 6px;
  color: #8ee0d8;
  background: rgba(62, 166, 160, 0.11);
  font-size: 0.55rem;
}

.flow-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.floating-tag {
  position: absolute;
  padding: 8px 12px;
  border: 1px solid rgba(15, 95, 117, 0.12);
  border-radius: 999px;
  color: #375061;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  font-size: 0.7rem;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.floating-tag-one {
  top: 12%;
  right: -22px;
}

.floating-tag-two {
  bottom: 21%;
  left: -34px;
}

.floating-tag-three {
  right: 10%;
  bottom: -18px;
}

/* Trust strip */
.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.trust-strip-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #667085;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-strip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #aeb9c7;
}

/* Problems */
.problems {
  background: #edf2f5;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.problem-card {
  position: relative;
  min-height: 300px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #f8fafb;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.problem-card:hover {
  border-color: #c8d8e2;
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.problem-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #c8d1dc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
}

.icon-box,
.solution-icon {
  display: grid;
  place-items: center;
  border-radius: 14px;
}

.icon-box {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
}

.icon-box svg,
.solution-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.icon-box svg {
  width: 23px;
  color: var(--primary);
}

.problem-card h3 {
  margin: 42px 0 12px;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
}

.problem-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

/* Solutions */
.solutions {
  background: #f3f6fa;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.solution-card {
  padding: 30px;
  border: 1px solid rgba(215, 225, 235, 0.9);
  border-radius: var(--radius-md);
  background: rgba(248, 250, 251, 0.82);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.solution-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.solution-icon {
  width: 52px;
  height: 52px;
  color: #d9faf6;
  background: var(--surface-dark);
}

.solution-icon svg {
  width: 24px;
}

.solution-card h3 {
  margin: 24px 0 12px;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.solution-card p {
  min-height: 92px;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.solution-card > span {
  display: inline-flex;
  margin-top: 22px;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Process */
.process-section {
  background: var(--surface-dark);
  color: var(--white);
}

.process-wrapper {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 80px;
}

.process-section .section-heading {
  position: sticky;
  top: 130px;
  align-self: start;
  margin: 0;
}

.process-section .section-heading h2 {
  color: var(--white);
}

.process-section .section-heading p {
  color: #96a3b6;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.process-list > li > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(125, 214, 206, 0.18);
  border-radius: 13px;
  color: #9de2dc;
  background: rgba(62, 166, 160, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
}

.process-list strong {
  display: block;
  margin-bottom: 7px;
  color: #f7f9fc;
  font-size: 1.05rem;
}

.process-list p {
  margin: 0;
  color: #8d9bad;
  font-size: 0.92rem;
}

/* About */
.about {
  background: #f3f6f8;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 86px;
}

.about-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.about-copy > p {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 1rem;
}

.about-points {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.about-points div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #edf0f3;
}

.about-points span {
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
}

.about-points strong {
  font-size: 0.92rem;
}

.about-panel {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #f4f7fa;
}

.about-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.about-panel-card {
  min-height: 170px;
  padding: 24px;
  border: 1px solid #e3e9ef;
  border-radius: 18px;
  background: var(--white);
}

.about-panel-card.featured {
  grid-column: 1 / -1;
  min-height: 230px;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 18%, rgba(62, 166, 160, 0.18), transparent 32%),
    var(--surface-dark);
  border-color: var(--surface-dark);
}

.about-panel-card.featured strong {
  display: block;
  max-width: 470px;
  margin-top: 22px;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.about-panel-card.featured p {
  max-width: 500px;
  margin: 18px 0 0;
  color: #9eabba;
  font-size: 0.94rem;
}

.panel-kicker {
  display: block;
  margin-bottom: 35px;
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
}

.about-panel-card:not(.featured) strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.96rem;
}

.about-panel-card:not(.featured) p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
}

/* Technology */
.technology-section {
  padding: 44px 0 58px;
  border-top: 1px solid var(--line);
  background: #eaf0f4;
}

.technology-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 25px;
}

.technology-heading > span {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.technology-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.technology-list {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}

.technology-list span {
  display: grid;
  min-height: 54px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #586678;
  background: #f4f7f9;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Final CTA */
.final-cta {
  padding-top: 80px;
  background: #eaf0f4;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 58px 64px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 85% 20%, rgba(86, 194, 185, 0.22), transparent 26%),
    radial-gradient(circle at 8% 92%, rgba(43, 109, 130, 0.35), transparent 27%),
    var(--surface-dark);
}

.cta-copy {
  max-width: 720px;
}

.cta-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.cta-copy p {
  max-width: 640px;
  margin: 0;
  color: #9ba8b8;
  font-size: 1rem;
}

/* Footer */
.site-footer {
  padding: 72px 0 26px;
  background: var(--surface-dark);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 1fr;
  gap: 70px;
  padding-bottom: 54px;
}

.brand-footer .brand-mark {
  color: var(--surface-dark);
  background: #8adbd4;
}

.brand-footer .brand-copy strong {
  color: var(--white);
}

.brand-footer .brand-copy span {
  color: #9ba8b8;
}

.footer-brand p {
  max-width: 470px;
  margin: 22px 0 0;
  color: #9ba8b8;
  font-size: 0.9rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column > strong {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 0.84rem;
}

.footer-column a {
  color: #9ba8b8;
  font-size: 0.86rem;
}

.footer-column a:hover {
  color: #9de2dc;
}

.footer-contact {
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #7f8d9f;
  font-size: 0.75rem;
}

/* Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s cubic-bezier(.2, .7, .2, 1),
    transform 0.65s cubic-bezier(.2, .7, .2, 1);
}

.reveal-delay {
  transition-delay: 0.1s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

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

  .hero-content h1 {
    max-width: 900px;
  }

  .hero-visual {
    max-width: 760px;
    margin-inline: auto;
  }

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

  .process-wrapper {
    gap: 50px;
  }

  .about-grid {
    gap: 48px;
  }

  .technology-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 74px;
  }

  .section {
    padding: 88px 0;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 14px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 249, 252, 0.98);
    box-shadow: 0 20px 35px rgba(16, 24, 40, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px 2px;
    border-bottom: 1px solid #e9edf2;
  }

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

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

  .process-wrapper {
    grid-template-columns: 1fr;
  }

  .process-section .section-heading {
    position: static;
  }

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

  .cta-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr;
  }

  .footer-column:last-child {
    grid-column: 1 / -1;
  }
}

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

  .section {
    padding: 72px 0;
  }

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

  .brand-copy span {
    font-size: 0.72rem;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-content h1 {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-note {
    align-items: flex-start;
  }

  .hero-visual {
    margin-inline: 0;
  }

  .visual-shell {
    border-radius: 20px;
    transform: none;
  }

  .visual-layout {
    min-height: 390px;
    grid-template-columns: 44px 1fr;
  }

  .visual-sidebar {
    gap: 17px;
  }

  .visual-sidebar span {
    width: 15px;
    height: 15px;
  }

  .visual-dashboard {
    padding: 20px 15px;
  }

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

  .metric-card {
    min-height: 70px;
  }

  .metric-card small {
    display: none;
  }

  .chart {
    height: 92px;
  }

  .data-flow {
    display: none;
  }

  .floating-tag {
    display: none;
  }

  .trust-strip {
    overflow: hidden;
  }

  .trust-strip-inner {
    width: max-content;
    min-width: 100%;
    justify-content: flex-start;
    gap: 16px;
    padding-inline: 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .trust-strip-inner::-webkit-scrollbar {
    display: none;
  }

  .problem-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .problem-card {
    min-height: auto;
  }

  .solution-card p {
    min-height: auto;
  }

  .process-list li {
    grid-template-columns: 52px 1fr;
    gap: 14px;
  }

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

  .about-panel-card.featured {
    grid-column: auto;
  }

  .technology-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .technology-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box {
    padding: 38px 28px;
    border-radius: 24px;
  }

  .cta-box .button {
    width: 100%;
  }

  .site-footer {
    padding-top: 54px;
  }

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

  .footer-column:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .brand-copy span {
    display: none;
  }

  .visual-address {
    display: none;
  }

  .visual-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .mini-badge {
    display: none;
  }

  .technology-list {
    grid-template-columns: 1fr;
  }
}

.whatsapp-float i {
  font-size: 31px;
  line-height: 1;
}

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;

  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #25D366;
  color: #ffffff;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);

  z-index: 9999;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.whatsapp-float i {
  font-size: 32px;
  line-height: 1;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}

@media (max-width: 680px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }

  .whatsapp-float i {
    font-size: 30px;
  }
}