/* ============================================================
   GOSUEN ENGENHARIA — Direção visual
   Precisão construtiva, materialidade e transparência
   ============================================================ */

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

:root {
  --ink-950: #05131f;
  --ink-900: #071a2b;
  --ink-800: #0b2944;
  --ink-700: #123b60;
  --ink-600: #1c527d;
  --blue-100: #d9e7f0;
  --blue-50: #edf4f7;

  --paper: #f3f4f1;
  --paper-deep: #e8eceb;
  --surface: #ffffff;
  --surface-soft: #f8f9f7;
  --text: #263543;
  --muted: #687681;
  --muted-dark: #52616d;
  --line: #d9dede;
  --line-dark: rgba(255, 255, 255, 0.14);

  --brass: #c4a15f;
  --brass-dark: #957239;
  --brass-light: #eed8a5;
  --whatsapp: #167d5e;
  --whatsapp-dark: #0d654a;
  --danger: #b43c3c;

  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --shadow-soft: 0 18px 60px rgba(5, 19, 31, 0.1);
  --shadow-deep: 0 30px 90px rgba(5, 19, 31, 0.24);
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --transition: 280ms cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 84px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-width: 320px;
  color: var(--text);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

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

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

ul,
ol {
  list-style: none;
}

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

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

::selection {
  color: var(--ink-950);
  background: var(--brass-light);
}

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  color: var(--surface);
  background: var(--ink-900);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform var(--transition);
}

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

.container {
  width: min(100% - 3rem, 1340px);
  margin-inline: auto;
}

h1,
h2,
h3,
h4 {
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.78rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1;
  white-space: nowrap;
  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.btn svg {
  flex: 0 0 auto;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  color: var(--surface);
  background: var(--ink-800);
  box-shadow: 0 10px 24px rgba(7, 26, 43, 0.16);
}

.btn--primary:hover {
  background: var(--ink-950);
  box-shadow: 0 14px 32px rgba(7, 26, 43, 0.24);
}

.btn--outline {
  color: var(--surface);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.42);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn--whatsapp {
  color: var(--surface);
  background: var(--whatsapp);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  box-shadow: 0 10px 26px rgba(13, 101, 74, 0.22);
}

.btn--lg {
  min-height: 56px;
  padding-inline: 1.7rem;
  font-size: 0.94rem;
}

.btn--full {
  width: 100%;
}

/* ---------- Utilitários de seção ---------- */
.section {
  position: relative;
  padding-block: clamp(5.5rem, 9vw, 8.5rem);
}

.section__header {
  max-width: 820px;
  margin: 0 auto clamp(3.25rem, 6vw, 5rem);
  text-align: center;
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  color: var(--ink-600);
  font-family: var(--font-display);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

.section__title {
  margin-bottom: 1.2rem;
  font-size: clamp(2.35rem, 4.7vw, 4.5rem);
}

.section__title--left {
  text-align: left;
}

.section__subtitle {
  max-width: 700px;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.75;
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(5, 19, 31, 0.08);
  transition:
    height var(--transition),
    background-color var(--transition),
    box-shadow var(--transition);
}

@supports (backdrop-filter: blur(16px)) {
  .header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px) saturate(150%);
  }
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 38px rgba(5, 19, 31, 0.08);
}

.nav {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
}

.nav__logo-img {
  display: block;
  width: 176px;
  height: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.nav__link {
  position: relative;
  display: block;
  padding: 0.62rem 0.82rem;
  color: var(--muted-dark);
  font-size: 0.86rem;
  font-weight: 600;
  transition: color var(--transition);
}

.nav__link::after {
  position: absolute;
  right: 0.82rem;
  bottom: 0.25rem;
  left: 0.82rem;
  height: 1px;
  background: var(--ink-700);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--ink-900);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
}

.nav__cta {
  min-height: 44px;
  margin-left: 0.35rem;
  padding-inline: 1.1rem;
  background: var(--ink-800);
  font-size: 0.79rem;
}

.nav__cta:hover {
  background: var(--ink-950);
}

.nav__toggle {
  position: relative;
  z-index: 1100;
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink-900);
  transition:
    transform var(--transition),
    opacity var(--transition);
}

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

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  min-height: max(790px, 100svh);
  align-items: center;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, #051522 0%, #082238 58%, #0b2e4b 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 78% 42%, rgba(49, 111, 158, 0.2), transparent 31%),
    linear-gradient(90deg, rgba(5, 19, 31, 0.18), transparent 52%);
  pointer-events: none;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-position: center;
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, black 0%, transparent 74%);
}

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: clamp(3.5rem, 6vw, 6.75rem);
}

.hero__content {
  max-width: 690px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.65rem;
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--brass);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(196, 161, 95, 0.12);
}

.hero__title {
  max-width: 760px;
  margin-bottom: 1.6rem;
  color: var(--surface);
  font-size: clamp(3.35rem, 5.5vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -0.062em;
  line-height: 0.98;
}

.hero__title--highlight {
  display: block;
  color: var(--brass-light);
  font-weight: 700;
}

.hero__subtitle {
  max-width: 620px;
  margin-bottom: 2.15rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.78;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.hero .btn--primary {
  color: var(--ink-950);
  background: var(--brass-light);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.hero .btn--primary:hover {
  background: #f6e5bd;
}

.hero__stats {
  display: grid;
  max-width: 650px;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: clamp(0.8rem, 2vw, 1.4rem);
  padding-top: 1.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__stat-number {
  display: block;
  color: var(--surface);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero__stat-label {
  display: block;
  margin-top: 0.33rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  line-height: 1.4;
}

.hero__stat-divider {
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, 0.16);
}

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 590px;
  justify-self: end;
}

.hero__image-shell {
  position: relative;
  height: clamp(520px, 68vh, 700px);
}

.hero__image-shell::before {
  position: absolute;
  top: -18px;
  right: -18px;
  bottom: 18px;
  left: 18px;
  z-index: -1;
  border: 1px solid rgba(196, 161, 95, 0.52);
  content: "";
}

.hero__image-shell::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 19, 31, 0.48), transparent 40%),
    linear-gradient(to right, rgba(5, 19, 31, 0.15), transparent 40%);
  content: "";
  pointer-events: none;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow-deep);
}

.hero__visual-index {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero__visual-card {
  position: absolute;
  bottom: 1.5rem;
  left: -2.25rem;
  z-index: 2;
  display: flex;
  min-width: 290px;
  flex-direction: column;
  padding: 1.35rem 1.55rem;
  color: var(--surface);
  background: rgba(5, 19, 31, 0.9);
  border-left: 3px solid var(--brass);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.hero__visual-card-label {
  margin-bottom: 0.35rem;
  color: var(--brass-light);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__visual-card strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.hero__visual-card > span:last-child {
  margin-top: 0.28rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.67rem;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 1.3rem;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.58), transparent);
  animation: scroll-line 2.2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%,
  100% {
    opacity: 0.45;
    transform: scaleY(0.62);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}

/* ============================================================
   Barra de confiança
   ============================================================ */
.trust-bar {
  position: relative;
  z-index: 5;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: grid;
  min-height: 132px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 2.3vw, 2.15rem);
  border-right: 1px solid var(--line);
}

.trust-item:first-child {
  border-left: 1px solid var(--line);
}

.trust-item__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}

.trust-item strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.3;
}

.trust-item p {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

/* ============================================================
   Serviços
   ============================================================ */
.services {
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0 50%, rgba(7, 26, 43, 0.025) 50% 50.1%, transparent 50.1%),
    var(--paper);
}

.services .section__header {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  column-gap: clamp(3rem, 8vw, 8rem);
  text-align: left;
}

.services .section__tag {
  grid-column: 1;
}

.services .section__title {
  max-width: 790px;
  grid-column: 1;
  margin-bottom: 0;
}

.services .section__subtitle {
  grid-row: 2;
  grid-column: 2;
  align-self: end;
  margin: 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  display: flex;
  grid-column: span 6;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.service-card:hover {
  border-color: #c6cece;
  box-shadow: var(--shadow-soft);
  transform: translateY(-6px);
}

.service-card:nth-child(3) {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
}

.service-card__image-wrap {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: var(--ink-900);
}

.service-card:nth-child(3) .service-card__image-wrap {
  height: 100%;
  min-height: 460px;
}

.service-card__image-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 19, 31, 0.38), transparent 48%);
  content: "";
  pointer-events: none;
}

.service-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.service-card:hover .service-card__image {
  transform: scale(1.035);
}

.service-card__badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  padding: 0.48rem 0.72rem;
  color: var(--ink-950);
  background: var(--brass-light);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.service-card__badge--blue {
  color: var(--surface);
  background: var(--ink-700);
}

.service-card__badge--dark {
  color: var(--surface);
  background: var(--ink-950);
}

.service-card__image-note {
  position: absolute;
  right: 1rem;
  bottom: 0.8rem;
  z-index: 2;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.59rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card__body {
  display: flex;
  padding: clamp(2rem, 3vw, 3rem);
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.service-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 1.35rem;
  place-items: center;
  color: var(--ink-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}

.service-card__title {
  max-width: 480px;
  margin-bottom: 1rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.14;
}

.service-card__text {
  max-width: 660px;
  margin-bottom: 1.35rem;
  color: var(--muted-dark);
  font-size: 0.89rem;
  line-height: 1.78;
}

.service-card__list {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
  margin-bottom: 1.8rem;
}

.service-card__list li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--text);
  font-size: 0.76rem;
  line-height: 1.5;
}

.service-card__list li::before {
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--brass-dark);
  content: "";
}

.service-card__body .btn {
  margin-top: auto;
}

/* ============================================================
   Sobre
   ============================================================ */
.about {
  overflow: hidden;
  background: var(--surface);
}

.about::before {
  position: absolute;
  top: 10%;
  right: -11%;
  width: 44vw;
  height: 44vw;
  max-width: 700px;
  max-height: 700px;
  border: 1px solid rgba(7, 26, 43, 0.05);
  content: "";
  transform: rotate(12deg);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(4rem, 8vw, 8rem);
}

.about__image-col {
  position: relative;
}

.about__image-frame {
  position: relative;
  max-width: 530px;
}

.about__image-frame::after {
  position: absolute;
  top: 22px;
  right: -22px;
  bottom: -22px;
  left: 22px;
  z-index: 0;
  border: 1px solid rgba(7, 26, 43, 0.2);
  content: "";
}

.about__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(590px, 62vw, 730px);
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.8) contrast(1.02);
}

.about__image-badge {
  position: absolute;
  right: -1rem;
  bottom: 2.25rem;
  z-index: 3;
  display: flex;
  min-width: 205px;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.15rem;
  color: var(--brass-light);
  background: var(--ink-900);
  border-left: 3px solid var(--brass);
  box-shadow: var(--shadow-soft);
}

.about__image-badge strong {
  display: block;
  color: var(--surface);
  font-family: var(--font-display);
  font-size: 0.8rem;
}

.about__image-badge span {
  display: block;
  margin-top: 0.1rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.66rem;
}

.about__accent-block {
  position: absolute;
  top: -1.6rem;
  left: -1.6rem;
  z-index: 3;
  display: flex;
  width: 116px;
  height: 116px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: var(--surface);
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    var(--ink-800);
  background-size: 14px 14px;
}

.about__accent-block span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.about__accent-block small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
}

.about__content-col {
  position: relative;
  z-index: 2;
}

.about__content-col .section__title {
  max-width: 720px;
}

.about__highlight-box {
  position: relative;
  margin: 1.7rem 0 1.75rem;
  padding: 1.25rem 0 1.25rem 1.7rem;
  border-left: 2px solid var(--brass);
}

.about__highlight-text {
  max-width: 680px;
  color: var(--ink-800);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 600;
  line-height: 1.55;
}

.about__text {
  max-width: 700px;
  margin-bottom: 1rem;
  color: var(--muted-dark);
  font-size: 0.92rem;
  line-height: 1.82;
}

.about__text strong {
  color: var(--ink-800);
  font-weight: 650;
}

.about__credentials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.credential-item {
  min-width: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.credential-icon {
  margin-bottom: 0.65rem;
  color: var(--brass-dark);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.credential-item strong {
  display: block;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1.3;
}

.credential-item span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.66rem;
}

/* ============================================================
   Portal
   ============================================================ */
.portal {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink-950);
}

.portal::before {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: radial-gradient(circle at 72% 45%, black, transparent 66%);
  pointer-events: none;
}

.portal .container {
  position: relative;
  z-index: 1;
}

.portal .section__tag {
  color: var(--brass-light);
}

.portal .section__title {
  color: var(--surface);
}

.portal .section__subtitle {
  color: rgba(255, 255, 255, 0.62);
}

.portal__grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.83fr) minmax(520px, 1.17fr);
  align-items: start;
  gap: clamp(3.5rem, 6vw, 6rem);
}

.portal__feature-list {
  display: flex;
  flex-direction: column;
}

.portal__feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.portal__feature:first-child {
  border-top: 1px solid var(--line-dark);
}

.portal__feature--highlight {
  margin: 0.25rem 0;
  padding: 1.35rem 1.15rem;
  background: rgba(196, 161, 95, 0.09);
  border: 1px solid rgba(196, 161, 95, 0.38);
}

.portal__feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--brass-light);
  border: 1px solid rgba(238, 216, 165, 0.34);
}

.portal__feature-icon--gold {
  color: var(--ink-950);
  background: var(--brass-light);
  border-color: var(--brass-light);
}

.portal__feature-text h3 {
  margin: 0.15rem 0 0.45rem;
  color: var(--surface);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.portal__feature-text p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  line-height: 1.68;
}

.portal__feature-text p strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.portal__cta-box {
  margin-top: 1.5rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--brass);
}

.portal__cta-box p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
  line-height: 1.68;
}

.portal .btn--primary {
  color: var(--ink-950);
  background: var(--brass-light);
  box-shadow: none;
}

.portal .btn--primary:hover {
  background: #f6e6be;
}

.portal__mockup-col {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.portal__mockup-frame {
  overflow: hidden;
  color: var(--text);
  background: #f2f5f6;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

.portal__mockup-bar {
  display: flex;
  height: 38px;
  align-items: center;
  gap: 6px;
  padding: 0 0.9rem;
  background: #e8ecee;
  border-bottom: 1px solid #d7dddf;
}

.portal__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.portal__dot--red {
  background: #e36b65;
}

.portal__dot--yellow {
  background: #e0b458;
}

.portal__dot--green {
  background: #58a875;
}

.portal__url {
  margin-left: 0.65rem;
  color: #6f7d87;
  font-size: 0.55rem;
  letter-spacing: 0.02em;
}

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

.portal-dashboard {
  display: grid;
  min-height: 570px;
  grid-template-columns: 142px 1fr;
  background: #f5f7f8;
}

.portal-dashboard__sidebar {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0.8rem 1rem;
  color: rgba(255, 255, 255, 0.7);
  background: #092238;
}

.portal-dashboard__brand {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 1.6rem;
  padding: 0 0.5rem;
}

.portal-dashboard__brand span {
  color: var(--surface);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.portal-dashboard__brand small {
  color: var(--brass-light);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portal-dashboard__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.portal-dashboard__nav span {
  padding: 0.58rem 0.55rem;
  color: rgba(255, 255, 255, 0.48);
  border-left: 2px solid transparent;
  font-size: 0.58rem;
}

.portal-dashboard__nav span.active {
  color: var(--surface);
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--brass);
}

.portal-dashboard__profile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.portal-dashboard__profile span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: var(--ink-950);
  background: var(--brass-light);
  border-radius: 50%;
  font-size: 0.5rem;
  font-weight: 800;
}

.portal-dashboard__profile small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.48rem;
}

.portal-dashboard__main {
  position: relative;
  min-width: 0;
  padding: 1.25rem;
}

.portal-dashboard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.portal-dashboard__top div {
  display: flex;
  flex-direction: column;
}

.portal-dashboard__top small {
  color: #81909a;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.portal-dashboard__top strong {
  margin-top: 0.25rem;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 0.91rem;
}

.portal-dashboard__demo {
  padding: 0.35rem 0.48rem;
  color: #735727;
  background: #f2e8cf;
  border: 1px solid #e2d1ac;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.portal-dashboard__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.7rem;
}

.portal-metric {
  display: flex;
  min-height: 105px;
  flex-direction: column;
  padding: 0.85rem;
  background: var(--surface);
  border: 1px solid #e0e5e7;
}

.portal-metric > span {
  color: #7c8a94;
  font-size: 0.51rem;
}

.portal-metric > strong {
  margin-top: 0.45rem;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 0.93rem;
}

.portal-metric > small {
  margin-top: auto;
  color: #8b989f;
  font-size: 0.47rem;
}

.portal-progress {
  height: 4px;
  margin-top: auto;
  overflow: hidden;
  background: #e5ebed;
}

.portal-progress i {
  display: block;
  height: 100%;
  background: var(--ink-700);
}

.portal-dashboard__content {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 0.65rem;
}

.portal-panel {
  min-width: 0;
  padding: 0.9rem;
  background: var(--surface);
  border: 1px solid #e0e5e7;
}

.portal-panel__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.portal-panel__heading strong {
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 0.61rem;
}

.portal-panel__heading span {
  color: #84929b;
  font-size: 0.45rem;
}

.portal-stage {
  display: grid;
  grid-template-columns: 68px 1fr 25px;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.74rem;
}

.portal-stage span,
.portal-stage small {
  color: #73818a;
  font-size: 0.47rem;
}

.portal-stage small {
  text-align: right;
}

.portal-stage i {
  position: relative;
  height: 5px;
  overflow: hidden;
  background: #e5ebed;
}

.portal-stage i::after {
  display: block;
  width: 20%;
  height: 100%;
  background: #a9b7be;
  content: "";
}

.portal-stage.done i::after {
  width: 100%;
  background: #527a66;
}

.portal-stage.current i::after {
  width: 68%;
  background: var(--brass-dark);
}

.portal-material {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0;
  border-top: 1px solid #edf0f1;
}

.portal-material > i {
  width: 23px;
  height: 23px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}

.portal-material span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.portal-material strong {
  overflow: hidden;
  color: var(--ink-800);
  font-size: 0.49rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-material small {
  color: #8b979e;
  font-size: 0.42rem;
}

.portal-material b {
  color: #668274;
  font-size: 0.5rem;
}

.portal-dashboard__disclaimer {
  position: absolute;
  right: 1.25rem;
  bottom: 0.35rem;
  color: #9ba5ab;
  font-size: 0.4rem;
}

.portal__mockup-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

/* ============================================================
   Processo
   ============================================================ */
.process {
  background: var(--paper-deep);
}

.process__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.process__steps::before {
  position: absolute;
  top: 22px;
  right: 11%;
  left: 11%;
  height: 1px;
  background: #cbd2d1;
  content: "";
}

.process__step {
  position: relative;
  z-index: 1;
  padding: 0 0.4rem;
}

.process__step-number {
  display: grid;
  width: 46px;
  height: 46px;
  margin: 0 auto 1.5rem;
  place-items: center;
  color: var(--surface);
  background: var(--ink-800);
  border: 7px solid var(--paper-deep);
  outline: 1px solid #bdc7c7;
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.process__step-content {
  padding-top: 1.1rem;
  border-top: 1px solid #cbd2d1;
  text-align: center;
}

.process__step-content h3 {
  margin-bottom: 0.7rem;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

.process__step-content p {
  color: var(--muted-dark);
  font-size: 0.72rem;
  line-height: 1.72;
}

/* ============================================================
   Contato
   ============================================================ */
.contact {
  overflow: hidden;
  background: var(--surface);
}

.contact::before {
  position: absolute;
  right: -0.05em;
  bottom: -0.25em;
  color: rgba(7, 26, 43, 0.025);
  font-family: var(--font-display);
  font-size: min(33vw, 520px);
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 1;
  content: "GE";
  pointer-events: none;
}

.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(440px, 1.02fr);
  align-items: start;
  gap: clamp(4rem, 9vw, 9rem);
}

.contact__info-text {
  max-width: 530px;
  margin: 1.5rem 0 2.25rem;
  color: var(--muted-dark);
  font-size: 0.95rem;
  line-height: 1.8;
}

.contact__channels {
  max-width: 500px;
  border-top: 1px solid var(--line);
}

.contact__channel {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  transition:
    padding-left var(--transition),
    color var(--transition);
}

a.contact__channel:hover {
  padding-left: 0.55rem;
}

.contact__channel-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--ink-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}

.contact__channel-icon--green {
  color: var(--whatsapp);
  background: #ecf7f2;
  border-color: #cfe9dc;
}

.contact__channel strong {
  display: block;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 0.78rem;
}

.contact__channel span {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.contact__form {
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink-800);
  box-shadow: var(--shadow-soft);
}

.contact__form-title {
  margin-bottom: 1.8rem;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.form__group {
  margin-bottom: 1rem;
}

.form__label {
  display: block;
  margin-bottom: 0.42rem;
  color: var(--ink-800);
  font-family: var(--font-display);
  font-size: 0.69rem;
  font-weight: 700;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  color: var(--text);
  background: var(--surface);
  border: 1px solid #cdd5d6;
  border-radius: 0;
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

.form__input,
.form__select {
  height: 50px;
  padding: 0 0.9rem;
}

.form__textarea {
  min-height: 118px;
  padding: 0.8rem 0.9rem;
  resize: vertical;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: #89959d;
  opacity: 1;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  background: var(--surface);
  border-color: var(--ink-600);
  box-shadow: 0 0 0 3px rgba(28, 82, 125, 0.1);
}

.form__input.error,
.form__select.error,
.form__textarea.error,
.form__input[aria-invalid="true"],
.form__select[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(180, 60, 60, 0.08);
}

.form__error {
  display: block;
  min-height: 1rem;
  margin-top: 0.25rem;
  color: var(--danger);
  font-size: 0.66rem;
  line-height: 1.35;
}

.contact__form .btn {
  margin-top: 0.3rem;
}

.contact__form-note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.55;
  text-align: center;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  color: rgba(255, 255, 255, 0.62);
  background: var(--ink-950);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 0.8fr 0.95fr 1.2fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-block: 4.5rem;
}

.footer__logo-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer__logo-img {
  display: block;
  width: 200px;
  height: auto;
}

.footer__tagline {
  margin: 1.35rem 0 1.4rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  line-height: 1.7;
}

.footer__whatsapp-btn {
  min-height: 44px;
  font-size: 0.76rem;
}

.footer__nav-title {
  margin-bottom: 1.25rem;
  color: var(--surface);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__nav-link {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
  transition:
    color var(--transition),
    padding-left var(--transition);
}

.footer__nav-link:hover {
  padding-left: 0.25rem;
  color: var(--surface);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.69rem;
  line-height: 1.55;
}

.footer__contact-item svg {
  margin-top: 0.15rem;
  flex: 0 0 auto;
  color: var(--brass-light);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom-content {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__copyright,
.footer__credits {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.62rem;
}

/* ---------- WhatsApp flutuante ---------- */
.floating-whatsapp {
  position: fixed;
  right: max(1.4rem, env(safe-area-inset-right));
  bottom: max(1.4rem, env(safe-area-inset-bottom));
  z-index: 900;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--surface);
  background: var(--whatsapp);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(9, 64, 47, 0.32);
  transition:
    transform var(--transition),
    background-color var(--transition),
    box-shadow var(--transition);
}

.floating-whatsapp:hover {
  background: var(--whatsapp-dark);
  box-shadow: 0 18px 42px rgba(9, 64, 47, 0.42);
  transform: translateY(-4px);
}

.floating-whatsapp.is-pulsing {
  animation: whatsapp-pulse 680ms ease 3;
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

.floating-whatsapp__tooltip {
  position: absolute;
  right: calc(100% + 0.8rem);
  width: max-content;
  padding: 0.55rem 0.75rem;
  color: var(--surface);
  background: var(--ink-950);
  border-radius: var(--radius-sm);
  font-size: 0.66rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition:
    opacity var(--transition),
    transform var(--transition);
}

.floating-whatsapp:hover .floating-whatsapp__tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Revelação ---------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  will-change: transform, opacity;
  transition:
    opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.reveal-delay-1 {
  transition-delay: 70ms;
}

.reveal-delay-2 {
  transition-delay: 140ms;
}

/* ============================================================
   Responsividade
   ============================================================ */
@media (max-width: 1220px) {
  .container {
    width: min(100% - 2.5rem, 1160px);
  }

  .nav__link {
    padding-inline: 0.65rem;
  }

  .hero__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.85fr);
    gap: 3.5rem;
  }

  .hero__visual-card {
    left: -1.25rem;
  }

  .portal__grid {
    grid-template-columns: minmax(320px, 0.75fr) minmax(500px, 1.25fr);
    gap: 3.2rem;
  }

  .footer__grid {
    grid-template-columns: 1.55fr 0.75fr 0.9fr 1.15fr;
    gap: 2.6rem;
  }
}

@media (max-width: 1040px) {
  :root {
    --header-h: 76px;
  }

  .nav__menu {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: flex;
    max-height: calc(100svh - var(--header-h));
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.99);
    border-top: 1px solid var(--line);
    box-shadow: 0 22px 45px rgba(5, 19, 31, 0.13);
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    visibility: hidden;
    transition:
      opacity var(--transition),
      transform var(--transition),
      visibility var(--transition);
  }

  .nav__menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .nav__link {
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 0.95rem;
  }

  .nav__link::after {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-block: calc(var(--header-h) + 4.5rem) 5.5rem;
  }

  .hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 3rem;
  }

  .hero__title {
    font-size: clamp(3.2rem, 7vw, 5rem);
  }

  .hero__image-shell {
    height: 560px;
  }

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

  .trust-item:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .about__grid {
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    gap: 4rem;
  }

  .about__credentials {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .credential-item {
    display: grid;
    grid-template-columns: 30px 1fr;
    padding-top: 0.7rem;
  }

  .credential-icon {
    grid-row: span 2;
    margin: 0;
  }

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

  .portal__content {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
    gap: 2rem;
  }

  .portal__cta-box {
    align-self: end;
  }

  .portal__mockup-col {
    position: static;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
  }

  .contact__grid {
    gap: 4rem;
  }

  .footer__grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 2rem, 720px);
  }

  .section {
    padding-block: 5.5rem;
  }

  .hero {
    padding-bottom: 4.5rem;
  }

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

  .hero__content {
    max-width: 690px;
  }

  .hero__visual {
    width: calc(100% - 1.25rem);
    max-width: none;
    justify-self: start;
  }

  .hero__image-shell {
    height: min(78vw, 620px);
  }

  .hero__visual-card {
    left: 1rem;
  }

  .hero__scroll-indicator {
    display: none;
  }

  .services .section__header {
    display: block;
  }

  .services .section__title {
    margin-bottom: 1.2rem;
  }

  .services .section__subtitle {
    max-width: 620px;
  }

  .service-card {
    grid-column: 1 / -1;
  }

  .service-card:nth-child(3) {
    display: flex;
  }

  .service-card:nth-child(3) .service-card__image-wrap {
    height: 360px;
    min-height: 0;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .about__image-frame {
    max-width: 560px;
    margin-inline: auto;
  }

  .about__photo {
    height: min(112vw, 720px);
  }

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

  .credential-item {
    display: block;
    padding-top: 1rem;
  }

  .credential-icon {
    margin-bottom: 0.65rem;
  }

  .portal__content {
    display: block;
  }

  .process__steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 3rem;
  }

  .process__steps::before {
    display: none;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .contact__info,
  .contact__channels {
    max-width: 620px;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 70px;
  }

  .container {
    width: min(100% - 1.5rem, 540px);
  }

  .nav__logo-img {
    width: 150px;
  }

  .section {
    padding-block: 4.75rem;
  }

  .section__header {
    margin-bottom: 3rem;
  }

  .section__title {
    font-size: clamp(2.1rem, 11vw, 3.1rem);
  }

  .section__subtitle {
    font-size: 0.95rem;
  }

  .hero {
    padding-top: calc(var(--header-h) + 3.7rem);
  }

  .hero__badge {
    font-size: 0.63rem;
  }

  .hero__title {
    font-size: clamp(2.75rem, 14.5vw, 4rem);
    line-height: 1.01;
  }

  .hero__subtitle {
    font-size: 0.93rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .hero__stat-divider {
    display: none;
  }

  .hero__stat-number {
    font-size: 0.98rem;
  }

  .hero__stat-label {
    font-size: 0.58rem;
  }

  .hero__visual {
    width: calc(100% - 0.65rem);
  }

  .hero__image-shell {
    height: min(118vw, 520px);
  }

  .hero__image-shell::before {
    top: -10px;
    right: -10px;
    bottom: 10px;
    left: 10px;
  }

  .hero__visual-card {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    min-width: 0;
    padding: 1rem;
  }

  .trust-bar__grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: 108px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .services__grid {
    gap: 1rem;
  }

  .service-card__image-wrap,
  .service-card:nth-child(3) .service-card__image-wrap {
    height: 290px;
  }

  .service-card__body {
    padding: 1.5rem;
  }

  .service-card__list {
    grid-template-columns: 1fr;
  }

  .service-card__body .btn {
    width: 100%;
  }

  .about__image-frame::after {
    right: -10px;
    bottom: -10px;
    left: 10px;
  }

  .about__accent-block {
    top: -0.9rem;
    left: -0.35rem;
    width: 94px;
    height: 94px;
  }

  .about__image-badge {
    right: -0.25rem;
    bottom: 1rem;
  }

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

  .credential-item {
    display: grid;
    grid-template-columns: 32px 1fr;
  }

  .credential-icon {
    grid-row: span 2;
    margin: 0;
  }

  .portal .section__title br {
    display: none;
  }

  .portal__feature {
    gap: 0.8rem;
  }

  .portal__feature--highlight {
    padding-inline: 0.85rem;
  }

  .portal-dashboard {
    min-height: 530px;
    grid-template-columns: 1fr;
  }

  .portal-dashboard__sidebar {
    display: none;
  }

  .portal-dashboard__main {
    padding: 0.8rem;
  }

  .portal-dashboard__metrics {
    gap: 0.38rem;
  }

  .portal-metric {
    min-height: 92px;
    padding: 0.58rem;
  }

  .portal-metric > strong {
    font-size: 0.7rem;
  }

  .portal-dashboard__content {
    grid-template-columns: 1fr;
  }

  .portal-dashboard__disclaimer {
    right: 0.8rem;
  }

  .portal__mockup-label {
    font-size: 0.55rem;
  }

  .process__steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process__step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1rem;
    padding: 0;
  }

  .process__step-number {
    margin: 0;
  }

  .process__step-content {
    padding-top: 0.6rem;
    text-align: left;
  }

  .contact__info .section__title br {
    display: none;
  }

  .contact__form {
    padding: 1.5rem 1.15rem;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    padding-block: 3.5rem;
  }

  .footer__brand,
  .footer__contact {
    grid-column: 1 / -1;
  }

  .footer__bottom-content {
    padding-block: 1rem;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
  }

  .floating-whatsapp__tooltip {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero__stats {
    grid-template-columns: 1fr;
  }

  .hero__stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.7rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .footer__brand,
  .footer__contact {
    grid-column: auto;
  }
}

@media (max-height: 680px) and (orientation: landscape) {
  .hero {
    min-height: 680px;
  }

  .hero__scroll-indicator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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