@charset "utf-8";

:root {
  --ms-green: #16a34a;
  --ms-green-hover: #22c55e;
  --ms-teal: #19bbba;
  --ms-dark: #252b32;
  --ms-deeper: #1b2026;
  --ms-text: #1f2937;
  --ms-muted: #64748b;
  --ms-border: #e2e8f0;
  --ms-bg: #f7f9fb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ms-text);
  font-family: Inter, Arial, sans-serif;
}
a { color: inherit; }

.contact-header {
  background: #fff;
  border-bottom: 1px solid #edf0f3;
}
.contact-header-inner,
.contact-nav-inner,
.contact-shell,
.contact-footer-inner {
  width: min(1152px, calc(100% - 48px));
  margin: 0 auto;
}
.contact-header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.contact-brand img {
  display: block;
  width: auto;
  max-width: 230px;
  max-height: 58px;
}
.contact-back {
  color: #52606d;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s ease;
}
.contact-back:hover { color: var(--ms-green); }

.contact-nav {
  background: var(--ms-dark);
}
.contact-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 48px;
}
.contact-nav a {
  padding: 15px 14px;
  color: #e8edf2;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}
.contact-nav a:hover {
  color: #fff;
  background: rgba(22,163,74,.18);
}

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 68px;
  background:
    radial-gradient(circle at 85% 15%, rgba(25,187,186,.16), transparent 30%),
    linear-gradient(135deg, #f8fbfb 0%, #fff 55%, #f5faf7 100%);
  border-bottom: 1px solid #edf1f4;
}
.contact-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 5px;
  background: var(--ms-green);
}
.contact-eyebrow,
.side-kicker {
  display: inline-block;
  color: var(--ms-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
}
.contact-hero h1 {
  max-width: 700px;
  margin: 10px 0 14px;
  font-family: Raleway, Inter, sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.06;
  color: #202832;
}
.contact-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--ms-muted);
  font-size: 17px;
  line-height: 1.7;
}

.contact-main {
  padding: 64px 0 74px;
  background: var(--ms-bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .8fr);
  gap: 28px;
  align-items: start;
}
.contact-form-card,
.contact-side-card {
  border: 1px solid var(--ms-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15,23,42,.045);
}
.contact-form-card { padding: 34px; }
.contact-card-heading span {
  color: var(--ms-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-card-heading h2 {
  margin: 7px 0 8px;
  font-family: Raleway, Inter, sans-serif;
  font-size: 28px;
}
.contact-card-heading p {
  margin: 0 0 28px;
  color: var(--ms-muted);
  line-height: 1.65;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  margin-bottom: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}
.form-field label span { color: var(--ms-green); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  background: #fff;
  padding: 12px 13px;
  color: #1f2937;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form-field textarea { resize: vertical; min-height: 150px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ms-green);
  box-shadow: 0 0 0 3px rgba(22,163,74,.09);
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 2px 0 20px;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}
.privacy-check input { margin-top: 3px; accent-color: var(--ms-green); }
.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: var(--ms-green);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.contact-submit:hover {
  background: #15803d;
  transform: translateY(-1px);
}
.contact-submit span { font-size: 18px; }
.form-required {
  display: inline-block;
  margin: 0 0 0 12px;
  color: #98a2b3;
  font-size: 11px;
}
.form-status {
  display: none;
  margin: 0 0 22px;
  padding: 13px 15px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.form-status.success {
  display: block;
  color: #166534;
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
}
.form-status.error {
  display: block;
  color: #991b1b;
  border: 1px solid #fecaca;
  background: #fef2f2;
}

.contact-side {
  display: grid;
  gap: 20px;
}
.contact-side-card { padding: 28px; }
.contact-side-card h2,
.contact-side-card h3 {
  margin: 8px 0 9px;
  font-family: Raleway, Inter, sans-serif;
  color: #202832;
}
.contact-side-card h2 { font-size: 24px; }
.contact-side-card h3 { font-size: 21px; }
.contact-side-card > p {
  margin: 0 0 20px;
  color: var(--ms-muted);
  font-size: 14px;
  line-height: 1.65;
}
.contact-whatsapp {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(37,211,102,.30);
  border-radius: 10px;
  background: rgba(37,211,102,.07);
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.contact-whatsapp:hover {
  background: rgba(37,211,102,.12);
  border-color: rgba(37,211,102,.52);
  transform: translateY(-1px);
}
.contact-wa-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
}
.contact-wa-icon svg { width: 26px; height: 26px; }
.contact-whatsapp > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.contact-whatsapp small {
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
}
.contact-whatsapp strong {
  margin: 2px 0;
  color: #202832;
  font-size: 16px;
  font-weight: 700;
}
.contact-whatsapp em {
  color: var(--ms-green);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}
.contact-info-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-info-card li {
  position: relative;
  padding: 8px 0 8px 20px;
  border-top: 1px solid #eef1f4;
  color: #52606d;
  font-size: 13px;
}
.contact-info-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ms-green);
  font-weight: 800;
}

.contact-footer {
  border-top: 4px solid var(--ms-green);
  background: var(--ms-dark);
}
.contact-footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.contact-footer p {
  margin: 0;
  color: #aeb7c2;
  font-size: 12px;
}
.contact-footer a {
  color: var(--ms-green);
  text-decoration: none;
  transition: color .18s ease;
}
.contact-footer a:hover { color: var(--ms-green-hover); }

@media (max-width: 850px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-nav-inner {
    justify-content: flex-start;
    overflow-x: auto;
  }
  .contact-nav a { white-space: nowrap; }
}
@media (max-width: 620px) {
  .contact-header-inner,
  .contact-nav-inner,
  .contact-shell,
  .contact-footer-inner {
    width: min(100% - 32px, 1152px);
  }
  .contact-header-inner { min-height: 76px; }
  .contact-brand img { max-width: 190px; max-height: 50px; }
  .contact-back { font-size: 11px; }
  .contact-hero { padding: 52px 0 48px; }
  .contact-hero h1 { font-size: 36px; }
  .contact-hero p { font-size: 15px; }
  .contact-main { padding: 38px 0 48px; }
  .contact-form-card,
  .contact-side-card { padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-submit { width: 100%; }
  .form-required { display: block; margin: 10px 0 0; text-align: center; }
  .contact-footer-inner {
    min-height: 110px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

/* Página de contato: integração visual integral com a HOME */
.contact-hero { margin-top: 0; }
.contact-main { position: relative; z-index: 0; }
.contact-grid { position: relative; width: min(1152px, calc(100% - 48px)); max-width: 1152px; }
.contact-side { min-width: 0; width: auto; max-width: none; margin: 0; padding: 0; position: static; z-index: auto; }
.contact-side-card { min-width: 0; overflow: hidden; }
.contact-whatsapp { width: 100%; }
.contact-whatsapp small, .contact-whatsapp em { font-size: 12px; }
.contact-whatsapp strong { font-size: 18px; }

/* Cabeçalho da HOME na página interna */
body #bloco-principal { margin-bottom: 0; }

@media (max-width: 850px) {
  .contact-grid { width: min(100% - 32px, 1152px); }
}

/* Refinamento v5 — integração visual com a HOME v7 */
.contact-main .contact-shell { position: relative; z-index: 1; }
.contact-side { min-width: 0; }
.contact-side-card { overflow: hidden; }
.contact-whatsapp { width: 100%; min-width: 0; }
.contact-whatsapp > span:last-child { min-width: 0; }
.contact-whatsapp strong { font-weight: 600; }

/* O rodapé é herdado da HOME v7; nesta página apenas garantimos que o
   identificador #contato não interfira no conteúdo principal. */
footer.footer#contato { width: 100%; }

@media (max-width: 760px) {
  .contact-shell { width: min(100% - 30px, 1152px); }
  .contact-hero { padding: 46px 0 42px; }
  .contact-hero h1 { font-size: clamp(32px, 10vw, 44px); }
  .contact-main { padding: 38px 0 50px; }
  .contact-form-card, .contact-side-card { border-radius: 12px; }
}


/* v6 — topo integrado à identidade visual da HOME v7 */
.contact-hero {
  min-height: 390px;
  padding: 165px 0 68px;
  background-image:
    linear-gradient(90deg, rgba(25,187,186,.94) 0%, rgba(18,150,149,.78) 44%, rgba(25,187,186,.42) 76%, rgba(25,187,186,.18) 100%),
    url('../imagens/slide-bg.png');
  background-size: cover;
  background-position: center center;
  border-bottom: 0;
}
.contact-hero::before { display: none; }
.contact-hero .contact-shell { position: relative; z-index: 2; }
.contact-hero .contact-eyebrow {
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(0,0,0,.08);
  border-radius: 3px;
  padding: 6px 10px;
}
.contact-hero h1 {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.12);
}
.contact-hero p {
  color: rgba(255,255,255,.94);
  max-width: 680px;
}
/* Cabeçalho permanece sobre o hero, como na HOME. */
body #bloco-principal { position: relative; z-index: 20; background: transparent; }
body #bloco-principal header,
body #bloco-principal nav { z-index: 40; }

@media (max-width: 760px) {
  .contact-hero {
    min-height: 350px;
    padding: 145px 0 48px;
    background-position: 58% center;
  }
  .contact-hero h1 { font-size: clamp(32px, 10vw, 44px); }
}


/* v7 — topo limpo, imagem local em /contato/imagens e título junto ao formulário */
body #bloco-principal {
  width: 100%;
  max-width: none;
  min-height: 126px;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(25,187,186,.90) 0%, rgba(18,150,149,.70) 46%, rgba(25,187,186,.28) 100%),
    url('../imagens/slide-bg.png') center center / cover no-repeat;
}
body #bloco-principal header {
  width: min(1200px, 94%);
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
}
body #bloco-principal .header-icon img {
  display: block;
  width: auto;
  max-width: 165px;
  max-height: 92px;
}
body #bloco-principal #nav {
  width: min(1200px, 94%);
  margin: 0 auto;
  background: transparent;
}
body #bloco-principal .telefones { display: none !important; }

.contact-hero {
  min-height: 155px;
  padding: 0;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(25,187,186,.90) 0%, rgba(18,150,149,.70) 46%, rgba(25,187,186,.28) 100%),
    url('../imagens/slide-bg.png') center center / cover no-repeat;
  border: 0;
}
.contact-hero::before { display: none; }

.contact-main { padding-top: 48px; }
.contact-intro { margin-bottom: 30px; }
.contact-intro .contact-eyebrow {
  color: var(--ms-green);
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .10em;
}
.contact-intro h1 {
  margin: 7px 0 12px;
  font-family: Raleway, Inter, sans-serif;
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1.06;
  color: #202832;
}
.contact-intro p {
  max-width: 760px;
  margin: 0;
  color: var(--ms-muted);
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 760px) {
  body #bloco-principal { min-height: 112px; }
  body #bloco-principal .header-icon img { max-width: 140px; max-height: 78px; }
  .contact-hero { min-height: 125px; background-position: 58% center; }
  .contact-main { padding-top: 36px; }
  .contact-intro { margin-bottom: 24px; }
  .contact-intro h1 { font-size: clamp(32px, 10vw, 42px); }
  .contact-intro p { font-size: 15px; }
}

/* v8 — hero de contato alinhado à identidade da HOME e navegação final */
body #bloco-principal {
  min-height: 126px;
  background: transparent;
}
body #bloco-principal .telefones { display: block !important; }
body #bloco-principal .telefones .icon-3 a {
  white-space: nowrap;
}
body #bloco-principal #cssmenu {
  font-family: "Open Sans", Helvetica, sans-serif;
}

.contact-hero {
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 126px 0 46px;
  background-image:
    linear-gradient(90deg, rgba(25,187,186,.94) 0%, rgba(25,187,186,.72) 40%, rgba(25,187,186,.30) 73%, rgba(25,187,186,.08) 100%),
    url('../imagens/slide-bg.png');
  background-size: cover;
  background-position: center center;
}
.contact-hero-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
}
.contact-hero-copy {
  max-width: 720px;
  color: #fff;
}
.contact-hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 2px;
  background: rgba(0,0,0,.08);
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.contact-hero h1 {
  max-width: 700px;
  margin: 17px 0 6px;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.04;
  text-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.contact-hero p {
  margin: 0 0 25px;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 700;
  line-height: 1.25;
}
.contact-hero-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 3px;
  background: rgba(0,0,0,.10);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}
.contact-hero-cta:hover { background: rgba(0,0,0,.18); transform: translateY(-1px); }

#contato, #faq { scroll-margin-top: 24px; }
.contact-intro { margin-bottom: 28px; }
.contact-intro h1 { margin: 8px 0 10px; font-family: 'Raleway', sans-serif; font-size: clamp(30px, 4vw, 44px); }
.contact-intro p { max-width: 760px; margin: 0; color: var(--ms-muted); line-height: 1.7; }

.contact-faq {
  padding: 68px 0 76px;
  background: #fff;
  border-top: 1px solid #edf1f4;
}
.contact-faq h2 {
  margin: 8px 0 26px;
  color: #202832;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(28px, 3.5vw, 38px);
}
.contact-faq-list { border-top: 1px solid var(--ms-border); }
.contact-faq details { border-bottom: 1px solid var(--ms-border); }
.contact-faq summary {
  position: relative;
  padding: 19px 42px 19px 0;
  color: #26313c;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.contact-faq summary::-webkit-details-marker { display: none; }
.contact-faq summary::after {
  content: "+";
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ms-green);
  font: 700 22px/1 Arial, sans-serif;
}
.contact-faq details[open] summary::after { content: "−"; }
.contact-faq details p {
  max-width: 900px;
  margin: -4px 0 20px;
  color: var(--ms-muted);
  font-size: 14px;
  line-height: 1.7;
}
footer.footer#rodape-contato { width: 100%; }

@media (max-width: 760px) {
  body #bloco-principal .telefones .icon-3 a { white-space: normal; }
  .contact-hero {
    min-height: 430px;
    padding: 136px 0 42px;
    background-position: 58% center;
  }
  .contact-hero-inner { width: min(100% - 30px, 1200px); }
  .contact-hero h1 { font-size: clamp(34px, 10vw, 46px); }
  .contact-hero p { font-size: 20px; }
  .contact-faq { padding: 48px 0 54px; }
  .contact-faq summary { font-size: 14px; }
}

/* v9 — quadrante de experiência no hero, preservando a linguagem visual da HOME */
.contact-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .72fr);
  gap: 54px;
  align-items: center;
}
.contact-hero-rightbox {
  display: flex;
  justify-content: flex-end;
}
.contact-hero-rightbox-card {
  width: 100%;
  max-width: 365px;
  padding: 26px 26px 23px;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(13,87,87,.25);
  box-shadow: 0 16px 38px rgba(0,0,0,.10);
  backdrop-filter: blur(3px);
  color: #fff;
}
.contact-hero-rightbox-label {
  margin-bottom: 13px;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.contact-hero-rightbox-title {
  margin-bottom: 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.12;
}
.contact-hero-rightbox-text {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255,255,255,.94);
}
.contact-hero-rightbox-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.contact-hero-rightbox-specs span {
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.35);
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .05em;
}
@media (max-width: 900px) {
  .contact-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .contact-hero-rightbox { justify-content: flex-start; }
  .contact-hero-rightbox-card { max-width: 520px; }
  .contact-hero { min-height: 650px; }
}
@media (max-width: 760px) {
  .contact-hero-rightbox-card { padding: 20px; }
  .contact-hero-rightbox-title { font-size: 21px; }
}

/* v10 — correção: cabeçalho/navegação integrados ao hero, tipografia da HOME */
body { position: relative; }
body #bloco-principal {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: 94%;
  max-width: 1200px;
  min-height: 0;
  margin: 0;
  background: transparent !important;
}
body #bloco-principal header {
  position: relative;
  top: 5px;
  left: auto;
  transform: none;
  width: 100%;
  max-width: 1200px;
  min-height: 92px;
  margin: 0 auto;
  background: transparent !important;
}
body #bloco-principal #nav {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: transparent !important;
}
body #bloco-principal #cssmenu { font-family: "Open Sans", Helvetica, sans-serif; }
body #bloco-principal #cssmenu > ul > li > a {
  font-size: 14px;
  font-weight: 400;
}
.contact-hero {
  min-height: 680px;
  padding: 150px 0 46px;
}
.contact-hero h1 {
  max-width: 640px;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: normal;
}
.contact-hero p {
  max-width: 540px;
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}
.contact-submit { font-weight: 600; }

@media (max-width: 760px) {
  body #bloco-principal { width: 94%; }
  body #bloco-principal header { min-height: 82px; }
  .contact-hero { min-height: 620px; padding: 140px 0 42px; }
  .contact-hero h1 { font-size: 26px; line-height: 1.05; }
  .contact-hero p { font-size: 16px; line-height: 1.55; }
}

/* v11 — topo reproduz a geometria da HOME enviada pelo cliente.
   Não alterar o quadrante direito do hero. */
body #bloco-principal {
  display: block;
  position: relative;
  max-width: 1200px;
  width: 94%;
  margin: 0 auto;
  transform: none;
  left: auto;
  top: auto;
  min-height: 0;
  z-index: auto;
  background: transparent !important;
}
body #bloco-principal header {
  display: block;
  position: absolute;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  min-height: 50px;
  max-height: 120px;
  top: 5px;
  left: auto;
  transform: none;
  z-index: 30;
  background: transparent !important;
}
body #bloco-principal #nav {
  display: block;
  position: absolute;
  width: auto;
  max-width: none;
  top: 20px;
  margin: auto;
  margin-left: 250px;
  z-index: 40;
  background: transparent !important;
}
body #bloco-principal .telefones { display: block !important; }
body #bloco-principal .telefones .icon-3 a {
  display: block;
  position: relative;
  width: auto;
  margin: 0 auto;
  float: right;
  text-align: left;
  margin-top: -40px;
  margin-right: 5px;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  background-color: rgba(25,187,186,1);
  border: 2px solid #fff;
  border-radius: 2px;
  padding: 8px;
}
/* A chamada do contato usa a mesma escala tipográfica do slide da HOME. */
.contact-hero h1 {
  font-family: 'Raleway','Inter',sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.contact-hero p {
  font-family: 'Inter',sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}
.contact-submit { font-weight: 600; }

@media (max-width: 800px) {
  body #bloco-principal #nav {
    width: auto;
    top: 20px;
    margin-left: 250px;
  }
  .contact-hero h1 { font-size: 26px; }
}

/* v12 — melhora uniforme de contraste dos três selos do quadrante direito */
.contact-hero-rightbox-specs span {
  background: rgba(12, 86, 91, .42);
  border-color: rgba(255, 255, 255, .62);
  color: #fff;
  font-weight: 600;
}



/* Identidade do topo compartilhada com HOME - CSS aprovado pelo cliente */
/* ===== MedicalSpace | ajustes responsivos do topo (2026-10-08) ===== */
@media screen and (max-width: 1199px) {
  html, body { max-width: 100%; overflow-x: clip; }
  body #bloco-principal { width: 100%; max-width: 100%; box-sizing: border-box; }
  body #bloco-principal header { position: relative; top: auto; left: auto; width: 100%; max-width: 100%; max-height: none; min-height: 0; z-index: 30; }
  body #bloco-principal .header-icon { display: flex; float: none; justify-content: center; align-items: center; width: 100%; max-width: 100%; height: auto; padding: 12px 16px 4px; margin: 0; box-sizing: border-box; background: none; }
  body #bloco-principal .header-icon a { display: inline-flex; max-width: 100%; }
  body #bloco-principal .header-icon img { display: block; width: auto; max-width: min(260px, 78vw); height: auto; }
  body #bloco-principal .telefones .icon-3 a { float: none; width: fit-content; max-width: calc(100% - 24px); margin: 8px auto; text-align: center; box-sizing: border-box; }
  body #bloco-principal nav#nav { position: relative; top: auto; left: auto; margin: 0 auto; padding: 0 12px 12px; width: 100%; max-width: 100%; box-sizing: border-box; z-index: 60; }
  body #bloco-principal #cssmenu { position: relative; width: 100%; min-width: 0; max-width: 100%; height: auto; min-height: 54px; margin: 0; background: transparent; box-sizing: border-box; }
  body #bloco-principal #cssmenu #menu-button { display: block; position: relative; float: none; margin: 0 0 0 auto; padding: 14px 54px 14px 18px; min-height: 48px; width: auto; color: #168f8e; font: 700 14px/1.2 'Inter', sans-serif; letter-spacing: .03em; text-transform: uppercase; background: #fff; border: 1px solid #16a34a; border-radius: 6px; cursor: pointer; z-index: 70; }
  body #bloco-principal #cssmenu #menu-button::after { content: ''; position: absolute; right: 16px; top: 15px; width: 21px; height: 13px; border: 0; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; background: none; }
  body #bloco-principal #cssmenu #menu-button::before { content: ''; position: absolute; right: 16px; top: 23px; width: 21px; height: 0; border: 0; border-top: 2px solid currentColor; }
  body #bloco-principal #cssmenu #menu-button.is-open { color: #fff; background: #16a34a; }
  body #bloco-principal #cssmenu > ul { display: none; float: none; position: relative; width: min(320px, calc(100vw - 4px)); max-width: 100%; height: auto; margin: 8px 2px 0 auto; padding: 6px; background: linear-gradient(145deg, #f5f9f7 0%, #edf5f0 100%); border: 1px solid rgba(36,126,91,.18); border-radius: 8px; box-shadow: 0 8px 24px rgba(19,65,47,.09); box-sizing: border-box; }
  body #bloco-principal #cssmenu > ul.open { display: block; }
  body #bloco-principal #cssmenu > ul > li { display: block; float: none; position: relative; top: auto; right: auto; width: 100%; margin: 0; padding: 0; background: transparent; }
  body #bloco-principal #cssmenu > ul > li > a { display: block; width: 100%; box-sizing: border-box; padding: 13px 15px; border: 0; border-radius: 4px; background: #e8f4ec; color: #247b60; font-size: 14px; transition: background-color .2s ease, color .2s ease; }
  body #bloco-principal #cssmenu > ul > li > a:hover, body #bloco-principal #cssmenu > ul > li > a:focus-visible { background: #ccebd9; color: #096b4d; }
  body aside .ms-slider, body aside .ms-boxes { max-width: 100%; box-sizing: border-box; }
  body aside .ms-inner { max-width: 100%; box-sizing: border-box; }
}
@media screen and (max-width: 640px) {
  body aside .ms-inner { gap: 12px; }
  body aside .ms-textbox { max-width: 100%; min-width: 0; }
  body aside .ms-h2, body aside .ms-p { overflow-wrap: anywhere; }
  body aside .ms-boxes { width: 100%; }
}

@media screen and (min-width: 1200px) {
  body #bloco-principal .header-icon { display: inline-block; position: relative; float: left; width: 150px; height: 89px; padding-right: 250px; margin-top: 20px; }
  body #bloco-principal .header-icon img { max-width: 100%; height: auto; }
  #cssmenu #menu-button { display: none; }
  #cssmenu > ul > li > a::after { content: ''; display: inline-block; width: 0; height: 0; margin-left: 7px; vertical-align: middle; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #16a34a; }
}


/* MedicalSpace | refinamento final da faixa e das setas */
@media screen and (max-width: 1199px) {
  body #bloco-principal nav#nav {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }
  body #bloco-principal #cssmenu {
    width: 100%;
    max-width: none;
    padding: 3px 1px 3px 0;
    background: linear-gradient(90deg, #e3eee8 0%, #d5e9df 55%, #c8e2d4 100%);
    border-top: 1px solid #cbded2;
    border-bottom: 1px solid #b9d3c5;
  }
  body #bloco-principal #cssmenu #menu-button {
    margin-left: auto;
    margin-right: 0;
  }
}
@media screen and (min-width: 1200px) {
  #cssmenu > ul > li > a::after,
  #cssmenu > ul > li.has-sub > a::after {
    border-top-color: #ffffff;
  }
}

/* Contato: somente isolamento do topo; sem alterar o hero, selos ou formulário */
@media screen and (max-width:1199px) {
 body #bloco-principal { width:100%; max-width:100%; position:relative; left:auto; transform:none; }
 body #bloco-principal header { position:relative; top:auto; max-height:none; min-height:0; width:100%; }
 body #bloco-principal .header-icon { display:flex; float:none; justify-content:center; align-items:center; width:100%; max-width:100%; height:auto; padding:12px 16px 4px; margin:0; box-sizing:border-box; background:none; }
 body #bloco-principal .header-icon a { display:inline-flex; max-width:100%; }
 body #bloco-principal .header-icon img { display:block; width:auto; max-width:min(260px,78vw); height:auto; }
 body #bloco-principal .telefones { display:block; position:relative; float:none; width:100%; height:auto; margin:0; }
 body #bloco-principal .telefones .icon-3 { display:block; position:relative; width:100%; }
 body #bloco-principal .telefones .icon-3 a { position:relative; float:none; display:block; width:fit-content; max-width:calc(100% - 24px); margin:8px auto; text-align:center; white-space:normal; box-sizing:border-box; }
 body #bloco-principal nav#nav { position:relative; top:auto; left:auto; z-index:60; margin-left:calc(50% - 50vw); width:100vw; max-width:none; padding:0; box-sizing:border-box; }
 body #bloco-principal #cssmenu { min-width:0; max-width:none; width:100%; padding:3px 1px 3px 0; }
 body #bloco-principal #cssmenu #menu-button { margin-left:auto; margin-right:0; }
}
@media screen and (max-width:480px) {
 body #bloco-principal .header-icon img { max-width:min(260px,78vw); }
}

/* Ajuste fino: mesma altura de cabecalho da HOME no mobile.
   Compensa a diferenca vertical de 13px observada nas capturas de 08/10.
   Nao altera hero, formulario, selos nem desktop. */
@media screen and (max-width: 1199px) {
  body #bloco-principal .header-icon {
    padding-top: 25px;
  }
}

/* Alinhamento com a HOME: prevalece sobre regras antigas de contato. */
@media screen and (max-width: 1199px) {
  body #bloco-principal .header-icon { padding: 12px 16px 4px; }
  body #bloco-principal .header-icon img { width: auto; height: auto; max-width: min(260px, 78vw); max-height: none; }
  body #bloco-principal .telefones .icon-3 a { margin: 8px auto; padding: 7px; }
  body #bloco-principal nav#nav { margin-bottom: 12px; }
  body #bloco-principal #cssmenu { margin-bottom: 0; }
}

/* 08/10 — Chamada abaixo do menu desktop, alinhada ao item Contato.
   Mobile conserva o tamanho menor aprovado na página de contato. */
@media screen and (min-width: 1200px) {
  body #bloco-principal header { overflow: visible; }
  body #bloco-principal header .telefones {
    display: block !important; position: absolute; right: 0; top: 49px;
    width: auto; height: auto; margin: 0; z-index: 55;
  }
  body #bloco-principal header .telefones .icon-3 { width: auto; }
  body #bloco-principal header .telefones .icon-3 a {
    display: block; position: relative; float: none; width: max-content;
    max-width: none; margin: 0 5px 0 0; padding: 8px;
    white-space: nowrap; font-size: 12px; line-height: 1.2;
    color: #fff; background: #19bbba; border: 2px solid #fff;
    box-sizing: border-box; text-decoration: none;
  }
}
@media screen and (max-width: 600px) {
  body #bloco-principal .telefones .icon-3 a {
    font-size: 14px; line-height: normal; padding: 7px;
    white-space: normal; max-width: calc(100vw - 20px);
  }
}

/* Correção pontual: área útil da logomarca no desktop. */
@media screen and (min-width: 1200px) {
  body #bloco-principal .header-icon {
    width: 150px;
    padding-right: 0;
  }
  body #bloco-principal .header-icon img {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
  }
}

/* MedicalSpace: logomarca desktop com dimensões iguais às da HOME. */
@media screen and (min-width: 1200px) {
  body #bloco-principal .header-icon {
    width: 250px;
    height: 151px;
    padding: 0;
    box-sizing: border-box;
    background: none;
  }
  body #bloco-principal .header-icon a,
  body #bloco-principal .header-icon picture {
    display: block;
    width: 250px;
    height: 151px;
  }
  body #bloco-principal .header-icon img {
    display: block;
    width: 250px;
    height: 151px;
    max-width: none;
    max-height: none;
    object-fit: contain;
  }
}
