/* =====================================================================
   MS MARIBERG SOLUÇÕES — Versão estática (HTML + Bootstrap 5 + jQuery)
   Folha de estilo principal
   Sistema de design espelhado da versão React (tokens, cores, efeitos)
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Tokens de design
   ------------------------------------------------------------------ */
:root {
  --background: #ffffff;
  --foreground: #17324a;
  --brand-deep: #0b3a5c;
  --brand-mid: #12587f;
  --accent: #14a8c8;
  --accent-strong: #0d8ba8;
  --muted-foreground: #67788a;
  --border: #e3e8ee;
  --surface: #f6f8fa;
  --surface-2: #eef2f6;
  --white: #ffffff;

  --gradient-brand: linear-gradient(120deg, #0b3a5c 0%, #1e8bab 100%);
  --gradient-soft: linear-gradient(180deg, #ffffff 0%, #f2f6f9 100%);
  --hero-overlay: linear-gradient(
    100deg,
    rgba(9, 45, 71, 0.94) 0%,
    rgba(11, 58, 92, 0.74) 45%,
    rgba(21, 105, 134, 0.36) 100%
  );

  --shadow-sm: 0 1px 2px rgba(11, 58, 92, 0.06);
  --shadow-card: 0 4px 24px -8px rgba(11, 58, 92, 0.16);
  --shadow-lift: 0 18px 48px -18px rgba(11, 58, 92, 0.3);

  --radius: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------------------------------
   2. Base
   ------------------------------------------------------------------ */
* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

.ms-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.ms-section {
  padding: 80px 0;
}

@media (min-width: 992px) {
  .ms-section {
    padding: 112px 0;
  }
}

.ms-section--surface {
  background-color: var(--surface);
}

.ms-section--soft {
  background-image: var(--gradient-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ms-section--bordered {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------------------------------------------------------------------
   3. Tipografia utilitária
   ------------------------------------------------------------------ */
.ms-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.ms-eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background-color: var(--accent);
}

.ms-title {
  margin-top: 16px;
  font-size: clamp(1.75rem, 3.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
}

.ms-lead {
  margin-top: 16px;
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.ms-heading-block {
  max-width: 640px;
}

.ms-heading-block--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.ms-heading-block--center .ms-eyebrow {
  justify-content: center;
}

.ms-text-muted {
  color: var(--muted-foreground);
}

/* ---------------------------------------------------------------------
   4. Botões
   ------------------------------------------------------------------ */
.ms-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 14px 26px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease-out),
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

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

.ms-btn--brand {
  background-image: var(--gradient-brand);
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.ms-btn--light {
  background-color: var(--white);
  color: var(--brand-deep);
}

.ms-btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.ms-btn--ghost:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.ms-btn--sm {
  padding: 10px 20px;
}

/* ---------------------------------------------------------------------
   5. Barra superior + navegação
   ------------------------------------------------------------------ */
.ms-topbar {
  background-color: var(--brand-deep);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
}

.ms-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 24px;
}

.ms-topbar__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ms-topbar a {
  opacity: 0.9;
  transition: opacity 0.25s ease;
}

.ms-topbar a:hover {
  opacity: 1;
}

@media (max-width: 991.98px) {
  .ms-topbar {
    display: none;
  }
}

.ms-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: var(--background);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.ms-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.ms-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 24px;
}

.ms-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ms-logo img {
  height: 40px;
  width: auto;
}

.ms-logo__text {
  border-left: 1px solid var(--border);
  padding-left: 12px;
}

.ms-logo__name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ms-logo__sub {
  display: block;
  margin-top: 2px;
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted-foreground);
}

@media (max-width: 575.98px) {
  .ms-logo__text {
    display: none;
  }
}

.ms-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 992px) {
  .ms-nav {
    display: flex;
  }
}

.ms-nav__link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.25s ease;
}

.ms-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background-color: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.ms-nav__link:hover,
.ms-nav__link.is-active {
  color: var(--foreground);
}

.ms-nav__link:hover::after,
.ms-nav__link.is-active::after {
  width: 100%;
}

.ms-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ms-burger {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--foreground);
}

@media (min-width: 992px) {
  .ms-burger {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .ms-header__cta {
    display: none;
  }
}

.ms-mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background-color: var(--background);
}

.ms-mobile-nav a {
  display: block;
  padding: 14px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-bottom: 1px solid rgba(227, 232, 238, 0.7);
}

.ms-mobile-nav a:last-child {
  border-bottom: 0;
}

/* ---------------------------------------------------------------------
   6. Hero / banner com transição de imagens
   ------------------------------------------------------------------ */
.ms-hero {
  position: relative;
  isolation: isolate;
  background-color: var(--brand-deep);
  overflow: hidden;
}

.ms-hero__stage {
  position: relative;
  height: clamp(520px, 78vh, 760px);
}

.ms-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.ms-hero__slide.is-active {
  opacity: 1;
}

.ms-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ms-hero__slide.is-active img {
  animation: ms-kenburns 8s ease-out forwards;
}

.ms-hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-overlay);
}

@keyframes ms-kenburns {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(0, -1.5%, 0);
  }
}

.ms-hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ms-hero__copy {
  max-width: 640px;
}

.ms-hero__text {
  position: absolute;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.ms-hero__text.is-active {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.ms-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

.ms-hero__title {
  margin-top: 24px;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
}

.ms-hero__paragraph {
  margin-top: 20px;
  max-width: 34rem;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.ms-hero__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ms-hero__controls {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ms-hero__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ms-hero__dot {
  height: 4px;
  width: 24px;
  border: 0;
  padding: 0;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.ms-hero__dot:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.ms-hero__dot.is-active {
  width: 48px;
  background-color: var(--white);
}

.ms-hero__arrows {
  display: none;
  gap: 8px;
}

@media (min-width: 576px) {
  .ms-hero__arrows {
    display: flex;
  }
}

.ms-hero__arrow {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  transition: background-color 0.25s ease;
}

.ms-hero__arrow:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.ms-hero__stats {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: var(--brand-deep);
}

.ms-hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 32px 24px;
}

@media (min-width: 992px) {
  .ms-hero__stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ms-hero__stat {
  padding: 12px 0;
}

@media (min-width: 576px) {
  .ms-hero__stat {
    padding: 12px 32px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }
  .ms-hero__stat:first-child {
    border-left: 0;
    padding-left: 0;
  }
}

.ms-hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
}

.ms-hero__stat-label {
  margin-top: 4px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------------------------------------------------------------------
   7. Cartões e grelhas
   ------------------------------------------------------------------ */
.ms-grid {
  display: grid;
  gap: 24px;
}

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

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

.ms-grid--4 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 576px) {
  .ms-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

@media (min-width: 992px) {
  .ms-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 80px;
  }
  .ms-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ms-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ms-card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  padding: 32px;
}

.ms-card--pad-sm {
  padding: 24px;
}

.ms-card--surface {
  background-color: var(--surface);
}

.ms-card--brand {
  background-image: var(--gradient-brand);
  color: var(--white);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ms-card--brand h3 {
  color: var(--white);
}

.ms-card--brand p {
  color: rgba(255, 255, 255, 0.85);
}

.ms-card__title {
  margin-top: 24px;
  font-size: 1.125rem;
  font-weight: 600;
}

.ms-card__text {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.ms-hover-lift {
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.ms-hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.ms-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background-image: var(--gradient-brand);
  color: var(--white);
}

.ms-icon--soft {
  background-image: none;
  background-color: var(--surface-2);
  color: var(--accent);
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.ms-card:hover .ms-icon--soft {
  background-image: var(--gradient-brand);
  color: var(--white);
}

.ms-icon--sm {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.ms-icon svg,
.ms-icon-inline svg {
  width: 22px;
  height: 22px;
}

.ms-index {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(103, 120, 138, 0.5);
}

.ms-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

/* pílulas de valores */
.ms-pills {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ms-pill {
  border: 1px solid var(--border);
  background-color: var(--surface);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

/* ---------------------------------------------------------------------
   8. Secção escura de vantagens
   ------------------------------------------------------------------ */
.ms-section--deep {
  position: relative;
  overflow: hidden;
  background-color: var(--brand-deep);
}

.ms-section--deep .ms-dots {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: radial-gradient(#ffffff 1.2px, transparent 1.2px);
  background-size: 26px 26px;
}

.ms-section--deep .ms-container {
  position: relative;
  z-index: 2;
}

.ms-section--deep .ms-title,
.ms-section--deep h3 {
  color: var(--white);
}

.ms-section--deep .ms-lead {
  color: rgba(255, 255, 255, 0.75);
}

.ms-card--glass {
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 24px;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    transform 0.35s var(--ease-out);
}

.ms-card--glass:hover {
  border-color: rgba(20, 168, 200, 0.6);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.ms-card--glass h3 {
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 600;
}

.ms-card--glass p {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.ms-check-accent {
  color: var(--accent);
}

/* ---------------------------------------------------------------------
   9. Imagens e molduras
   ------------------------------------------------------------------ */
.ms-figure {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.ms-figure--lift {
  box-shadow: var(--shadow-lift);
}

.ms-figure img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.ms-figure:hover img {
  transform: scale(1.05);
}

.ms-ratio-43 img {
  aspect-ratio: 4 / 3;
}

.ms-ratio-169 img {
  aspect-ratio: 16 / 9;
}

.ms-ratio-11 img {
  aspect-ratio: 1 / 1;
}

.ms-about {
  position: relative;
}

.ms-about__badge {
  position: absolute;
  right: -8px;
  bottom: -32px;
  max-width: 240px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  box-shadow: var(--shadow-card);
  padding: 24px;
}

@media (max-width: 575.98px) {
  .ms-about__badge {
    display: none;
  }
}

.ms-about__badge-value {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--accent);
}

.ms-about__badge-text {
  margin-top: 4px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.ms-facts {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ms-fact {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  padding: 20px;
}

.ms-fact__label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-foreground);
}

.ms-fact__value {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}

/* ---------------------------------------------------------------------
   10. Listas de produtos / áreas / compromisso
   ------------------------------------------------------------------ */
.ms-list-divided {
  margin-top: 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ms-list-divided li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 8px;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s ease;
}

.ms-list-divided li:last-child {
  border-bottom: 0;
}

.ms-list-divided li:hover {
  background-color: var(--surface);
}

.ms-list-divided span:first-child {
  font-size: 0.875rem;
  font-weight: 500;
}

.ms-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border);
  transition: background-color 0.25s ease;
  flex: 0 0 auto;
}

.ms-list-divided li:hover .ms-dot {
  background-color: var(--accent);
}

.ms-area {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  padding: 20px;
}

.ms-area p {
  font-size: 0.875rem;
  font-weight: 600;
}

.ms-commit {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  padding: 14px 16px;
  font-size: 0.875rem;
  font-weight: 500;
}

.ms-commit__check {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-image: var(--gradient-brand);
  color: var(--white);
}

.ms-commit__check svg {
  width: 14px;
  height: 14px;
}

.ms-partner-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
}

.ms-partner-list li:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.ms-partner-list svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: 0 0 auto;
}

.ms-media-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 576px) {
  .ms-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ms-media-grid__wide {
    grid-column: span 2;
  }
}

.ms-media-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  padding: 24px;
}

.ms-media-note p {
  margin-top: 16px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.ms-media-note svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

/* ---------------------------------------------------------------------
   11. Contactos e formulário
   ------------------------------------------------------------------ */
.ms-contact-grid {
  margin-top: 56px;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 992px) {
  .ms-contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.ms-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  padding: 24px;
}

.ms-contact-card + .ms-contact-card {
  margin-top: 16px;
}

.ms-contact-card__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-foreground);
}

.ms-contact-card__value {
  display: block;
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.6;
}

.ms-contact-card a.ms-contact-card__value:hover {
  color: var(--accent);
}

.ms-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  box-shadow: var(--shadow-card);
  padding: 32px;
}

@media (min-width: 992px) {
  .ms-form {
    padding: 40px;
  }
}

.ms-field {
  display: block;
}

.ms-field + .ms-field {
  margin-top: 20px;
}

.ms-field__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-foreground);
}

.ms-input,
.ms-select,
.ms-textarea {
  margin-top: 8px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.25s ease;
}

.ms-input:focus,
.ms-select:focus,
.ms-textarea:focus {
  border-color: var(--accent);
}

.ms-textarea {
  resize: none;
}

.ms-form__row {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 576px) {
  .ms-form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ms-form__row .ms-field + .ms-field {
    margin-top: 0;
  }
}

.ms-form__feedback {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--accent);
  display: none;
}

/* ---------------------------------------------------------------------
   12. Rodapé
   ------------------------------------------------------------------ */
.ms-footer {
  background-color: var(--brand-deep);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 64px;
}

.ms-footer__grid {
  display: grid;
  gap: 40px;
  padding-bottom: 48px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 992px) {
  .ms-footer__grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
}

.ms-footer__logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ms-footer__logo img {
  height: 48px;
  width: auto;
}

.ms-footer__logo-text {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 16px;
}

.ms-footer__logo-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
}

.ms-footer__logo-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.6);
}

.ms-footer__about {
  margin-top: 20px;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.7;
}

.ms-footer h3 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--white);
}

.ms-footer ul {
  margin-top: 20px;
}

.ms-footer li + li {
  margin-top: 12px;
}

.ms-footer a {
  font-size: 0.875rem;
  transition: color 0.25s ease;
}

.ms-footer a:hover {
  color: var(--accent);
}

.ms-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 576px) {
  .ms-footer__bottom {
    flex-direction: row;
  }
}

/* ---------------------------------------------------------------------
   13. Animações de entrada (reveal) e utilidades
   ------------------------------------------------------------------ */
.ms-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.ms-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.ms-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1040;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background-image: var(--gradient-brand);
  color: var(--white);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s var(--ease-out);
}

.ms-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.ms-whatsapp {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  background-color: #1f9d55;
  color: var(--white);
  padding: 12px 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out);
}

.ms-whatsapp:hover {
  transform: translateY(-3px);
  color: var(--white);
}

@media (max-width: 575.98px) {
  .ms-whatsapp span {
    display: none;
  }
}

.ms-mt-8 {
  margin-top: 8px;
}
.ms-mt-16 {
  margin-top: 16px;
}
.ms-mt-24 {
  margin-top: 24px;
}
.ms-mt-32 {
  margin-top: 32px;
}
.ms-mt-48 {
  margin-top: 48px;
}
.ms-mt-56 {
  margin-top: 56px;
}