:root {
  --blue: #3f5b95;
  --navy: #0b2d5b;
  --turquoise: #18c4b3;
  --green: #34d399;
  --white: #ffffff;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--navy);
  background: var(--white);
}
.site-shell {
  width: 100%;
  overflow-x: clip;
}
.content-width {
  width: min(100% - 3rem, 1200px);
  margin-inline: auto;
}
section[id] {
  scroll-margin-top: 92px;
}
a,
button,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 4px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(63, 91, 149, 0.18);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-placeholder {
  width: 190px;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border: none;
  background: transparent;
}

.logo-placeholder img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.75rem, 2.6vw, 2.5rem);
}
.nav-links a {
  color: var(--navy);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: color 0.2s;
}
.nav-links a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--turquoise);
}
.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(2.7rem, 5.5vw, 5.4rem);
  letter-spacing: -0.055em;
  line-height: 1.06;
  font-weight: 700;
}
h2 {
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  letter-spacing: -0.045em;
  line-height: 1.13;
  font-weight: 700;
}
h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.025em;
  line-height: 1.22;
  font-weight: 700;
}
p {
  line-height: 1.7;
}
.body-copy {
  color: var(--blue);
  font-size: 1.05rem;
}
.section-pad {
  padding-block: clamp(4.5rem, 8vw, 8rem);
}
.hero {
  padding-block: clamp(4rem, 8vw, 8rem);
}
.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.hero-copy {
  max-width: 630px;
}
.hero-copy h1 {
  margin: 1.15rem 0 1.5rem;
}
.hero-copy .body-copy {
  max-width: 530px;
  margin-bottom: 2rem;
}
.photo-frame {
  overflow: hidden;
  border-radius: 4px;
  background: var(--blue);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hero-photo {
  height: clamp(340px, 39vw, 530px);
}
.hero-video-frame {
  position: relative;
}
.hero-video,
.hero-fallback,
.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video {
  z-index: 1;
}
.hero-fallback {
  z-index: 2;
}
.hero-video-overlay {
  z-index: 3;
  background: rgba(11, 45, 91, 0.42);
  pointer-events: none;
}
.hero-video-frame .hero-fallback {
  opacity: 1;
}
.hero-video-frame.video-ready .hero-fallback {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
  .hero-video-frame .hero-fallback {
    opacity: 1;
  }
}
.split-photo {
  height: clamp(320px, 36vw, 470px);
}
.photo-frame img {
  transition: transform 0.55s ease;
}
.photo-frame:hover img {
  transform: scale(1.035);
}
.primary-btn,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.82rem 1.4rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s,
    border-color 0.2s;
}
.primary-btn {
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
}
.primary-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}
.outline-btn {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--navy);
}
.outline-btn:hover {
  color: var(--white);
  background: var(--navy);
  transform: translateY(-2px);
}
.section-heading {
  max-width: 720px;
  margin-bottom: 2.4rem;
}
.section-heading h2 {
  margin: 0.8rem 0 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.solution-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(63, 91, 149, 0.2);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}
.card-photo {
  height: 205px;
  border-radius: 0;
}
.card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.65rem;
}
.card-content h3 {
  min-height: 2.5em;
  margin-bottom: 0.7rem;
}
.card-content p {
  flex: 1;
  color: var(--blue);
  font-size: 14px;
}
.text-link {
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: var(--turquoise);
  text-underline-offset: 5px;
  transition: color 0.2s;
}
.tinted {
  background: linear-gradient(
    120deg,
    rgba(63, 91, 149, 0.07),
    rgba(24, 196, 179, 0.075)
  );
}
.accent-rule {
  width: 46px;
  height: 4px;
  background: var(--turquoise);
  margin-bottom: 1.5rem;
}
.about-copy p {
  max-width: 600px;
  color: var(--blue);
  margin-bottom: 1rem;
}
.contact-band {
  background: var(--navy);
  color: var(--white);
}
.contact-band .eyebrow,
.contact-band .body-copy {
  color: var(--white);
}
.contact-band .outline-btn {
  border-color: var(--white);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-size: 13px;
  font-weight: 700;
}
.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border-radius: 4px;
  border: 1px solid var(--blue);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 15px;
}
.field textarea {
  min-height: 118px;
  resize: vertical;
}
.form-actions {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.form-note {
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}
.form-status {
  grid-column: 1/-1;
  min-height: 1.5em;
  font-size: 13px;
  font-weight: 600;
}
.contact-band .field label,
.contact-band .form-note,
.contact-band .form-status {
  color: var(--white);
}
.section-intro {
  max-width: 760px;
  margin-bottom: 3rem;
}
.section-intro h1 {
  margin: 0.8rem 0 1rem;
}
.service-row {
  padding-block: 3.25rem;
  border-top: 1px solid rgba(63, 91, 149, 0.2);
}
.service-row .split-grid {
  gap: clamp(2rem, 6vw, 6rem);
}
.service-row.reverse .photo-frame {
  order: -1;
}
.service-copy {
  max-width: 510px;
}
.service-copy h2 {
  margin-bottom: 1rem;
}
.service-copy p {
  margin-bottom: 1.7rem;
}
.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.detail-card {
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid rgba(63, 91, 149, 0.22);
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.detail-card strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--navy);
  font-size: 13px;
}
.detail-card p,
.detail-card a {
  margin: 0;
  color: var(--blue);
  font-size: 14px;
  line-height: 1.6;
}
.detail-card a:hover {
  color: var(--navy);
}
.site-footer {
  padding: 3.5rem 0 2rem;
  background: var(--navy);
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}
.footer-links a,
.footer-contact a {
  color: var(--white);
  text-decoration: none;
}
.footer-contact p {
  margin: 0 0 0.35rem;
  font-size: 14px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 12px;
}
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--navy);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 7px 24px rgba(11, 45, 91, 0.24);
  transition:
    transform 0.2s,
    background 0.2s;
}
.whatsapp-float:hover {
  transform: translateY(-4px);
  background: var(--turquoise);
}
.whatsapp-float svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}
@media (max-width: 800px) {
  .hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }
  .hero-photo,
  .split-photo {
    height: 350px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card-photo {
    height: 240px;
  }
  .card-content h3 {
    min-height: 0;
  }
  .service-row.reverse .photo-frame {
    order: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .content-width {
    width: min(100% - 2rem, 1200px);
  }
  .header-inner {
    min-height: 98px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
    padding-block: 0.7rem;
  }
  .logo-placeholder {
    width: 150px;
    min-height: 60px;
  }
  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 0.3rem;
  }
  .nav-links a {
    font-size: 10px;
    letter-spacing: 0.07em;
  }
  section[id] {
    scroll-margin-top: 110px;
  }
  .hero-photo,
  .split-photo {
    height: 280px;
  }
  .form-grid,
  .contact-details {
    grid-template-columns: 1fr;
  }
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 50px;
    height: 50px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* MERCO — HOME COM VÍDEO FULL WIDTH */

#home .hero-fullwidth {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 620px;
  padding: 80px max(24px, calc((100vw - 1200px) / 2));
  overflow: hidden;
  isolation: isolate;
  background: #0b2d5b;
}

/* Vídeo ocupa toda a largura */
#home .hero-fullwidth .hero-video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  border-radius: 0;
  z-index: 0;
}

#home .hero-fullwidth .hero-video,
#home .hero-fullwidth .hero-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Camada azul para identidade visual e leitura */
#home .hero-fullwidth .hero-video-overlay {
  background: linear-gradient(
    90deg,
    rgba(11, 45, 91, 0.78) 0%,
    rgba(11, 45, 91, 0.5) 55%,
    rgba(11, 45, 91, 0.32) 100%
  );
}

/* Texto sobre o vídeo */
#home .hero-fullwidth .hero-copy {
  position: relative;
  z-index: 4;
  max-width: 760px;
}

#home .hero-fullwidth .hero-copy h1 {
  color: #ffffff !important;
  font-size: clamp(34px, 4.4vw, 64px) !important;
  line-height: 1.08;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

#home .hero-fullwidth .hero-copy .body-copy {
  color: #ffffff !important;
  font-size: clamp(16px, 1.25vw, 18px) !important;
  max-width: 550px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

/* Responsividade */
@media (max-width: 800px) {
  #home .hero-fullwidth {
    min-height: 500px;
    padding: 70px 24px;
  }
}

@media (max-width: 560px) {
  #home .hero-fullwidth {
    min-height: 430px;
    padding: 60px 20px;
  }

  #home .hero-fullwidth .hero-copy h1 {
    font-size: clamp(30px, 9vw, 42px) !important;
  }

  #home .hero-fullwidth .hero-video-overlay {
    background: rgba(11, 45, 91, 0.66);
  }
}

/* MERCO — AJUSTE FINAL DA ALTURA DO BANNER */

#home .hero-fullwidth {
  height: clamp(624px, 44.2vw, 715px);
  min-height: 0;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Tablets */
@media (max-width: 800px) {
  #home .hero-fullwidth {
    height: 390px;
    min-height: 0;
    padding: 40px 24px;
  }
}

/* Celulares */
@media (max-width: 560px) {
  #home .hero-fullwidth {
    height: 340px;
    min-height: 0;
    padding: 35px 20px;
  }
}

/* MERCO — REFINAMENTO DOS TEXTOS DA HOME */

#home .hero-fullwidth .hero-copy {
  width: min(100%, 760px);
  max-width: 760px;
  text-align: left;
}

#home .hero-fullwidth .hero-copy h1 {
  margin: 0 0 22px;
  line-height: 1.07;
  letter-spacing: -0.035em;
}

/* Palavra de destaque */
#home .hero-fullwidth .hero-copy .hero-accent {
  color: #83e3dc;
}

/* Descrição institucional */
#home .hero-fullwidth .hero-copy .body-copy {
  max-width: 620px;
  margin: 0;
  font-size: clamp(16px, 1.25vw, 18px) !important;
  font-weight: 400;
  line-height: 1.55;
  color: #f4f8ff !important;
  text-align: left;
}

/* =====================================
   MERCO — REFINAMENTO VISUAL DA HOME
   ===================================== */

/* 1. Traço abaixo de TRANSFORMA */

#home .hero-fullwidth .hero-copy h1 {
  position: relative;
  margin-bottom: 30px;
}

#home .hero-fullwidth .hero-copy h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;

  width: 169px;
  height: 3px;

  background: #83e3dc;
  border-radius: 3px;

  box-shadow: 0 0 8px rgba(131, 227, 220, 0.2);
}

/* 2. Efeito tecnológico no menu */

.site-header .nav-links a {
  position: relative;

  transition:
    color 0.25s ease,
    text-shadow 0.25s ease;
}

/* Linha invisível antes do hover */

.site-header .nav-links a::after {
  content: "";
  position: absolute;

  left: 0;
  bottom: -8px;

  width: 100%;
  height: 2px;

  background: #18c4b3;
  border-radius: 3px;

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 0.25s ease;
}

/* Cor e brilho ao passar o mouse */

.site-header .nav-links a:hover {
  color: #0d8f8e !important;

  text-shadow: 0 0 9px rgba(24, 196, 179, 0.26);
}

/* Linha aparece suavemente */

.site-header .nav-links a:hover::after {
  transform: scaleX(1);
}

/* MERCO — links de acesso às páginas internas */
.contact-band .primary-btn {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.contact-band .primary-btn:hover {
  background: #e5f7f5;
  color: var(--navy);
  border-color: #e5f7f5;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video-frame.video-ready .hero-fallback {
    opacity: 1;
  }
}

/* O cabeçalho fixo não deve encobrir o título da solução linkada. */
.service-row[id] {
  scroll-margin-top: 105px;
}

/* =========================================
   MERCO ENERGIA
   CARDS PREMIUM — HOME V1
   ========================================= */

/* Estrutura principal dos cards */
#home .cards .solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  border-radius: 12px;
  border: 1px solid rgba(63, 91, 149, 0.16);
  background: #ffffff;

  box-shadow: 0 5px 20px rgba(11, 45, 91, 0.07);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

/* Destaque do card inteiro */
#home .cards .solution-card:hover,
#home .cards .solution-card:focus-within {
  transform: translateY(-7px);

  border-color: rgba(24, 196, 179, 0.65);

  box-shadow:
    0 18px 38px rgba(11, 45, 91, 0.15),
    0 0 0 1px rgba(24, 196, 179, 0.08);
}

/* Área das fotografias */
#home .cards .card-photo {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 0;
  flex-shrink: 0;
}

/* Fotografia */
#home .cards .card-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

/* Linha turquesa na base da imagem */
#home .cards .card-photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;

  background: linear-gradient(90deg, #3f5b95 0%, #18c4b3 55%, #83e3dc 100%);

  z-index: 2;
}

/* Zoom suave ao passar sobre qualquer parte */
#home .cards .solution-card:hover .card-photo img,
#home .cards .solution-card:focus-within .card-photo img {
  transform: scale(1.045);
}

/* Área de conteúdo */
#home .cards .card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 25px 26px 27px;

  background: linear-gradient(180deg, #ffffff 0%, #fcfeff 100%);
}

/* Títulos */
#home .cards .card-content h3 {
  min-height: 2.6em;
  margin: 0 0 12px;

  font-size: 19px !important;
  line-height: 1.3;
  font-weight: 700 !important;
  letter-spacing: -0.02em;

  color: #0b2d5b !important;
  text-align: left;
}

/* Descrição */
#home .cards .card-content p {
  flex: 1;
  margin: 0 0 25px;

  font-size: 16px !important;
  font-weight: 400;
  line-height: 1.65;

  color: #45618c !important;
  text-align: left;
}

/* Link Saiba mais */
#home .cards .card-content .text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;

  margin-top: auto;
  padding-bottom: 5px;

  font-size: 14px;
  font-weight: 700;

  color: #0b2d5b !important;
  text-decoration: none;

  border-bottom: 2px solid #18c4b3;

  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

/* Seta animada */
#home .cards .text-link span {
  display: inline-block;
  transition: transform 0.25s ease;
}

/* Hover do link */
#home .cards .solution-card:hover .text-link,
#home .cards .solution-card:focus-within .text-link {
  color: #0d8f8e !important;
}

#home .cards .solution-card:hover .text-link span,
#home .cards .solution-card:focus-within .text-link span {
  transform: translate(3px, -2px);
}

/* Acessibilidade — movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  #home .cards .solution-card,
  #home .cards .card-photo img,
  #home .cards .text-link span {
    transition: none;
  }

  #home .cards .solution-card:hover,
  #home .cards .solution-card:focus-within {
    transform: none;
  }

  #home .cards .solution-card:hover .card-photo img,
  #home .cards .solution-card:focus-within .card-photo img {
    transform: none;
  }
}

/* ==========================================
   MERCO ENERGIA — CARDS PREMIUM V2
   Identidade tecnológica e institucional
   ========================================== */

/* Estrutura com maior profundidade */

#home .cards .solution-card {
  border-radius: 16px;
  border: 1px solid rgba(63, 91, 149, 0.25);

  box-shadow:
    0 10px 28px rgba(11, 45, 91, 0.1),
    0 2px 6px rgba(11, 45, 91, 0.04);

  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease,
    border-color 0.32s ease;
}

/* Hover mais destacado */

#home .cards .solution-card:hover,
#home .cards .solution-card:focus-within {
  transform: translateY(-9px);

  border-color: rgba(24, 196, 179, 0.85);

  box-shadow:
    0 24px 52px rgba(11, 45, 91, 0.2),
    0 0 0 1px rgba(24, 196, 179, 0.14);
}

/* Fotografia e acabamento */

#home .cards .card-photo {
  position: relative;
  height: 228px;
}

#home .cards .card-photo::after {
  height: 4px;
}

/* Numeração sobre as fotografias */

#home .cards .card-photo::before {
  position: absolute;
  top: 16px;
  left: 17px;
  z-index: 3;

  padding: 7px 11px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;

  color: #ffffff;
  background: rgba(11, 45, 91, 0.78);

  border: 1px solid rgba(131, 227, 220, 0.65);
  border-radius: 7px;

  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#home .cards .solution-card:nth-child(1) .card-photo::before {
  content: "01";
}

#home .cards .solution-card:nth-child(2) .card-photo::before {
  content: "02";
}

#home .cards .solution-card:nth-child(3) .card-photo::before {
  content: "03";
}

/* Conteúdo com fundo levemente azulado */

#home .cards .card-content {
  padding: 28px 27px 26px;

  background: linear-gradient(155deg, #ffffff 20%, #f1f7fc 100%);
}

/* Título com identidade turquesa */

#home .cards .card-content h3 {
  min-height: 2.7em;
  padding-left: 15px;
  margin-bottom: 15px;

  border-left: 4px solid #18c4b3;

  font-size: 19px !important;
  line-height: 1.3;

  color: #0b2d5b !important;
}

/* Descrição */

#home .cards .card-content p {
  margin-bottom: 28px;
  line-height: 1.65;
  color: #45618c !important;
}

/* Botão Saiba mais */

#home .cards .card-content .text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  align-self: flex-start;
  margin-top: auto;
  padding: 10px 16px;

  background: #e5f5f6;
  border: 1px solid #a0dad8;
  border-radius: 9px;

  color: #0b2d5b !important;
  text-decoration: none;

  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

/* Botão ganha destaque com hover do card */

#home .cards .solution-card:hover .text-link,
#home .cards .solution-card:focus-within .text-link {
  background: #0b2d5b;
  border-color: #0b2d5b;
  color: #ffffff !important;

  box-shadow: 0 5px 15px rgba(11, 45, 91, 0.18);
}

/* Responsividade */

@media (max-width: 560px) {
  #home .cards .card-photo {
    height: 215px;
  }

  #home .cards .card-content {
    padding: 24px 22px;
  }
}

/* Acessibilidade */

@media (prefers-reduced-motion: reduce) {
  #home .cards .solution-card {
    transition: none;
  }

  #home .cards .solution-card:hover,
  #home .cards .solution-card:focus-within {
    transform: none;
  }
}

/* ==========================================
   MERCO ENERGIA — CARDS PREMIUM V3
   Ajustes finais de alinhamento e interação
   ========================================== */

/* 1. Remover numeração das fotografias */

#home .cards .solution-card .card-photo::before {
  content: none !important;
  display: none !important;
}

/* 2. Centralizar os títulos verticalmente
   em relação à borda turquesa */

#home .cards .card-content h3 {
  display: flex;
  align-items: center;
  justify-content: flex-start;

  min-height: 2.7em;
  text-align: left;
}

/* 3. Manter o botão na cor original,
   mesmo quando o mouse estiver sobre o card */

#home .cards .solution-card .card-content .text-link,
#home .cards .solution-card:hover .card-content .text-link,
#home .cards .solution-card:focus-within .card-content .text-link {
  background: #e5f5f6;
  border-color: #a0dad8;
  color: #0b2d5b !important;
  box-shadow: none;
}

/* 4. Alterar a cor somente no hover
   do próprio botão Saiba mais */

#home .cards .solution-card .card-content .text-link:hover,
#home .cards .solution-card .card-content .text-link:focus-visible {
  background: #0b2d5b;
  border-color: #0b2d5b;
  color: #ffffff !important;

  box-shadow: 0 5px 15px rgba(11, 45, 91, 0.18);
}

/* 5. Seta permanece parada no hover do card */

#home .cards .solution-card:hover .text-link span,
#home .cards .solution-card:focus-within .text-link span {
  transform: none;
}

/* 6. Seta se movimenta somente
   sobre o botão Saiba mais */

#home .cards .solution-card .text-link:hover span,
#home .cards .solution-card .text-link:focus-visible span {
  transform: translate(3px, -2px);
}

/* MERCO — ELECTRIC GLOW V3 | SUTIL */

a[href*="solucoes.html#service-"] {
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.3s ease,
    transform 0.25s ease;
}

/* Hover elegante — somente no botão */
a[href*="solucoes.html#service-"]:hover,
a[href*="solucoes.html#service-"]:focus-visible {
  background: linear-gradient(135deg, #003a5b 0%, #006b8d 100%) !important;

  color: #ffffff !important;

  /* Borda fina e delicada */
  border: 1px solid #4cdceb !important;

  /* Glow ciano discreto */
  box-shadow:
    0 0 5px rgba(56, 243, 255, 0.3),
    0 0 12px rgba(0, 207, 232, 0.18) !important;

  text-shadow: none !important;

  transform: translateY(-1px);
}

/* ==========================================
   MERCO — CONTATO E RODAPÉ HOME V1
   Identidade institucional MERCO
   ========================================== */

/* SEÇÃO DE CONTATO */

#home .merco-contact-home {
  background: linear-gradient(125deg, #f2f7fb 0%, #ecf8f7 100%);
  color: #0b2d5b;
}

#home .merco-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

/* Título à esquerda */

#home .merco-contact-copy {
  padding-top: 3.25rem;
}

#home .merco-contact-copy h2 {
  max-width: 450px;
  margin: 0;
  color: #0b2d5b;
  font-size: clamp(2.2rem, 3.45vw, 3.6rem);
  line-height: 1.14;
  letter-spacing: -0.045em;
}

/* Formulário */

#home .merco-contact-form {
  min-width: 0;
  padding: clamp(1.5rem, 2.9vw, 2.5rem);
  background: #ffffff;
  border: 1px solid rgba(63, 91, 149, 0.14);
  border-radius: 16px;
  box-shadow: 0 16px 46px rgba(11, 45, 91, 0.09);
}

#home .merco-contact-form h3 {
  margin: 0 0 1.6rem;
  font-size: 1.5rem;
  color: #0b2d5b;
}

#home .merco-contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1rem;
}

#home .merco-contact-fields .field.full {
  grid-column: 1 / -1;
}

#home .merco-contact-fields .field label {
  color: #0b2d5b;
  font-size: 13px;
  font-weight: 700;
}

#home .merco-contact-fields input,
#home .merco-contact-fields select,
#home .merco-contact-fields textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0.75rem 0.85rem;

  background: #ffffff;
  color: #0b2d5b;

  border: 1px solid #cbd9e8;
  border-radius: 7px;

  font-family: inherit;
  font-size: 14px;

  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

#home .merco-contact-fields textarea {
  min-height: 108px;
  resize: vertical;
}

#home .merco-contact-fields :is(input, select, textarea):focus {
  border-color: #18c4b3;
  box-shadow: 0 0 0 3px rgba(24, 196, 179, 0.1);
}

#home .merco-contact-fields :is(input, select, textarea):focus-visible {
  outline: 2px solid #18c4b3;
  outline-offset: 2px;
}

/* Botão de envio */

#home .merco-contact-actions {
  margin-top: 1.5rem;
}

#home .merco-contact-submit {
  background: #0b2d5b;
  color: #ffffff;
  border-color: #0b2d5b;
  border-radius: 8px;
  font-family: inherit;
}

#home .merco-contact-submit:hover,
#home .merco-contact-submit:focus-visible {
  background: #086c7a;
  border-color: #18c4b3;
  color: #ffffff;
}

#home .merco-contact-form .form-status {
  min-height: 1.3em;
  margin: 0.75rem 0 0;
  color: #3f5b95;
}

/* ==========================================
   RODAPÉ INSTITUCIONAL MERCO
   ========================================== */

.merco-footer-home {
  background: #071f40;
  color: #ffffff;
}

.merco-footer-home .merco-footer-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(0, 0.75fr)
    minmax(0, 1fr);

  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

/* Logotipo original */

.merco-footer-home .merco-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 172px;
  min-height: 76px;
  padding: 12px 18px;
  margin-bottom: 1.25rem;

  border-radius: 10px;
  background: #ffffff;
}

.merco-footer-home .merco-footer-logo img {
  display: block;
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}

.merco-footer-home .merco-footer-brand p {
  max-width: 355px;
  color: #c0d1e5;
  font-size: 14px;
  line-height: 1.6;
}

/* Navegação e contato */

.merco-footer-home .merco-footer-nav,
.merco-footer-home .merco-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.merco-footer-home .merco-footer-nav h3,
.merco-footer-home .merco-footer-contact h3 {
  margin: 0 0 0.5rem;
  color: #ffffff;
  font-size: 1.1rem;
}

.merco-footer-home .merco-footer-nav a,
.merco-footer-home .merco-footer-contact a,
.merco-footer-home .merco-footer-contact p {
  margin: 0;
  color: #c0d1e5;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.merco-footer-home .merco-footer-nav a:hover,
.merco-footer-home .merco-footer-contact a:hover {
  color: #83e3dc;
}

/* Faixa inferior */

.merco-footer-home .footer-bottom {
  border-color: rgba(255, 255, 255, 0.18);
  color: #c0d1e5;
}

/* ==========================================
   RESPONSIVIDADE
   ========================================== */

@media (max-width: 900px) {
  #home .merco-contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #home .merco-contact-copy {
    padding-top: 0;
  }

  #home .merco-contact-copy h2 {
    max-width: none;
  }

  .merco-footer-home .merco-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  #home .merco-contact-form {
    padding: 1.5rem 1.1rem;
  }

  #home .merco-contact-fields {
    grid-template-columns: 1fr;
  }

  .merco-footer-home .merco-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================
   MERCO — CONTATO + RODAPÉ HOME V2
   Layout compacto e integração azul-marinho
   ========================================== */

/* 1. Fundo azul-marinho da seção */

#home .merco-contact-home {
  background: #0b2d5b;
  color: #ffffff;
}

/* 2. Reduzir altura e espaçamentos */

#home .merco-contact-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
  padding-top: 44px;
  padding-bottom: 48px;
}

/* 3. Título menor e branco */

#home .merco-contact-copy {
  padding-top: 24px;
}

#home .merco-contact-copy h2 {
  max-width: 370px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(29px, 2.5vw, 38px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

/* MERCO — destaque da palavra energia */

#home .merco-contact-copy h2 .merco-contact-highlight {
  color: #83e3dc;
}

#home .merco-contact-copy .accent-rule {
  width: 200px;
  height: 4px;
  margin-bottom: 22px;
  border-radius: 999px;

  background: linear-gradient(
    90deg,
    rgba(24, 196, 179, 1) 0%,
    rgba(24, 196, 179, 0.95) 42%,
    rgba(131, 227, 220, 0.68) 72%,
    rgba(131, 227, 220, 0.16) 90%,
    rgba(131, 227, 220, 0) 100%
  );

  box-shadow:
    0 0 10px rgba(24, 196, 179, 0.22),
    0 0 18px rgba(24, 196, 179, 0.1);
}

/* 4. Formulário mais compacto */

#home .merco-contact-form {
  padding: 24px 26px;
  border-radius: 14px;
  border: 1px solid rgba(131, 227, 220, 0.25);
  box-shadow: 0 12px 30px rgba(0, 12, 34, 0.16);
}

#home .merco-contact-form h3 {
  margin-bottom: 16px;
  color: #0b2d5b;
  font-size: 21px;
  line-height: 1.25;
}

/* 5. Diminuir espaços entre campos */

#home .merco-contact-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

#home .merco-contact-fields .field {
  gap: 5px;
}

#home .merco-contact-fields .field label {
  color: #0b2d5b;
  font-size: 12px;
  line-height: 1.3;
}

/* 6. Diminuir altura dos campos */

#home .merco-contact-fields input,
#home .merco-contact-fields select,
#home .merco-contact-fields textarea {
  min-height: 40px;
  padding: 9px 11px;
  border-radius: 6px;
  font-size: 13px;
}

#home .merco-contact-fields textarea {
  min-height: 72px;
}

/* 7. Botão e mensagem */

#home .merco-contact-actions {
  margin-top: 14px;
}

#home .merco-contact-submit {
  min-height: 43px;
  padding: 9px 18px;
  font-size: 13px;
}

#home .merco-contact-form .form-status {
  min-height: 0;
  margin-top: 8px;
}

/* 8. Rodapé integrado em azul mais profundo */

.merco-footer-home {
  background: #071f40;
  border-top: 1px solid rgba(131, 227, 220, 0.18);
  padding-top: 36px;
  padding-bottom: 20px;
}

.merco-footer-home .merco-footer-grid {
  gap: 32px;
}

.merco-footer-home .merco-footer-logo {
  width: 155px;
  min-height: 68px;
  padding: 9px 14px;
  margin-bottom: 14px;
}

.merco-footer-home .merco-footer-brand p {
  font-size: 13px;
  line-height: 1.55;
}

.merco-footer-home .footer-bottom {
  margin-top: 24px;
  padding-top: 14px;
}

/* 9. Tablet */

@media (max-width: 900px) {
  #home .merco-contact-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  #home .merco-contact-copy {
    padding-top: 0;
  }

  #home .merco-contact-copy h2 {
    max-width: none;
  }
}

/* 10. Celular */

@media (max-width: 600px) {
  #home .merco-contact-layout {
    padding-top: 32px;
    padding-bottom: 36px;
    gap: 22px;
  }

  #home .merco-contact-copy h2 {
    font-size: 29px;
  }

  #home .merco-contact-form {
    padding: 20px 16px;
  }

  #home .merco-contact-fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .merco-footer-home {
    padding-top: 30px;
  }
}

/* ==========================================
   MERCO — CONTATO + RODAPÉ HOME V3
   Painel visual à esquerda + logo branca
   ========================================== */

/* COLUNA ESQUERDA DO CONTATO */

#home .merco-contact-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  max-width: 420px;
}

/* PAINEL VISUAL ABAIXO DO TÍTULO */

#home .merco-contact-visual {
  position: relative;
  width: min(100%, 360px);
  height: 220px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(131, 227, 220, 0.22);
  box-shadow: 0 16px 36px rgba(0, 12, 34, 0.18);
  background: #0a2347;
}

#home .merco-contact-visual-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.8);
}

#home .merco-contact-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 45, 91, 0.18) 0%,
    rgba(11, 45, 91, 0.5) 48%,
    rgba(7, 31, 64, 0.82) 100%
  );
}

#home .merco-contact-visual-content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#home .merco-contact-visual-content span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;

  border: 1px solid rgba(131, 227, 220, 0.32);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);

  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* RODAPÉ — LOGO BRANCA VAZADA */

.merco-footer-home .merco-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;

  width: auto;
  min-height: 0;
  padding: 0;
  margin-bottom: 18px;

  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.merco-footer-home .merco-footer-logo img {
  display: block;
  width: 190px;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;

  filter: brightness(0) invert(1);
}

/* AJUSTE FINO DO TEXTO DO RODAPÉ */

.merco-footer-home .merco-footer-brand p {
  max-width: 340px;
}

/* RESPONSIVO */

@media (max-width: 900px) {
  #home .merco-contact-copy {
    max-width: none;
  }

  #home .merco-contact-visual {
    width: min(100%, 420px);
    height: 210px;
  }
}

@media (max-width: 600px) {
  #home .merco-contact-visual {
    width: 100%;
    height: 180px;
    margin-top: 18px;
  }

  #home .merco-contact-visual-content {
    left: 14px;
    right: 14px;
    bottom: 14px;
    gap: 7px;
  }

  #home .merco-contact-visual-content span {
    min-height: 28px;
    padding: 5px 10px;
    font-size: 11px;
  }

  .merco-footer-home .merco-footer-logo img {
    width: 165px;
  }
}

/* ==========================================
   MERCO — CONTATO HOME V4
   Composição equilibrada e formulário compacto
   ========================================== */

/* Equilibrar verticalmente as duas colunas */

#home .merco-contact-layout {
  grid-template-columns:
    minmax(0, 0.84fr)
    minmax(0, 1.16fr);

  align-items: center;
  gap: clamp(28px, 4vw, 58px);

  padding-top: 38px;
  padding-bottom: 40px;
}

/* Centralizar verticalmente o título */

#home .merco-contact-copy {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  max-width: 420px;
  padding-top: 0;
}

/* Manter título institucional */

#home .merco-contact-copy h2 {
  max-width: 390px;
  margin: 0;
  font-size: clamp(30px, 2.5vw, 38px);
  line-height: 1.2;
  color: #ffffff;
}

/* Compactar cartão do formulário */

#home .merco-contact-form {
  width: 100%;
  max-width: 680px;
  padding: 21px 24px;
  border-radius: 14px;
}

#home .merco-contact-form h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

/* Espaçamento entre campos */

#home .merco-contact-fields {
  gap: 11px 14px;
}

#home .merco-contact-fields input,
#home .merco-contact-fields select {
  min-height: 40px;
}

#home .merco-contact-fields textarea {
  min-height: 70px;
}

/* Informações opcionais */

#home .merco-extra-fields {
  grid-column: 1 / -1;
  padding: 8px 0;
  border-top: 1px solid #e0e9f1;
  border-bottom: 1px solid #e0e9f1;
}

#home .merco-extra-fields summary {
  cursor: pointer;
  color: #3f5b95;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

#home .merco-extra-fields summary:hover {
  color: #0b2d5b;
}

#home .merco-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 14px;
  margin-top: 14px;
}

/* Ajustar botão */

#home .merco-contact-actions {
  margin-top: 12px;
}

/* Tablet */

@media (max-width: 900px) {
  #home .merco-contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #home .merco-contact-copy {
    max-width: none;
  }

  #home .merco-contact-form {
    max-width: none;
  }
}

/* Celular */

@media (max-width: 600px) {
  #home .merco-contact-layout {
    padding-top: 30px;
    padding-bottom: 32px;
  }

  #home .merco-contact-copy h2 {
    font-size: 30px;
  }

  #home .merco-contact-form {
    padding: 19px 16px;
  }

  #home .merco-extra-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   MERCO — CONTATO HOME V5
   Ilustração institucional aprovada
   ========================================== */

/* Título na parte superior da coluna */

#home .merco-contact-copy {
  align-self: stretch;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 520px;
  padding-top: 38px;
}

/* Traço turquesa maior */

#home .merco-contact-copy .accent-rule {
  width: 85px;
  height: 3px;
  margin-bottom: 20px;
}

/* Ilustração branca transparente */

#home .merco-contact-lineart {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;

  margin-top: auto;
  margin-bottom: 45px;

  opacity: 0.88;
  object-fit: contain;
  pointer-events: none;
}

/* Tablet e celular */

@media (max-width: 900px) {
  #home .merco-contact-copy {
    padding-top: 0;
    max-width: none;
  }

  #home .merco-contact-lineart {
    width: min(100%, 520px);
    margin-top: 30px;
    margin-bottom: 0;
  }
}

@media (max-width: 600px) {
  #home .merco-contact-lineart {
    margin-top: 24px;
    opacity: 0.9;
  }
}

/* ==========================================
   MERCO — CONTATO HOME V6
   Harmonização fina do título + ilustração
   ========================================== */

/* Coluna esquerda mais equilibrada */

#home .merco-contact-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  max-width: 540px;
  min-height: 100%;

  padding-top: 34px;
  padding-bottom: 24px;
}

/* Linha turquesa mais presente */

#home .merco-contact-copy .accent-rule {
  width: 96px;
  height: 4px;
  margin-bottom: 24px;
  border-radius: 999px;
}

/* Título um pouco mais firme */

#home .merco-contact-copy h2 {
  max-width: 430px;
  margin: 0;

  font-size: clamp(33px, 2.75vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

/* Ilustração mais centralizada e com mais presença */

#home .merco-contact-lineart {
  display: block;
  width: min(100%, 470px);
  max-width: 470px;
  height: auto;

  margin-top: 34px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;

  opacity: 0.92;
  object-fit: contain;
}

/* Ajuste fino do formulário para conversar melhor com o bloco esquerdo */

#home .merco-contact-form {
  max-width: 665px;
}

/* Tablet */

@media (max-width: 900px) {
  #home .merco-contact-copy {
    max-width: none;
    padding-top: 0;
    padding-bottom: 0;
  }

  #home .merco-contact-copy .accent-rule {
    width: 160px;
    height: 4px;
    margin-bottom: 18px;
  }

  #home .merco-contact-copy h2 {
    max-width: 460px;
  }

  #home .merco-contact-lineart {
    width: min(100%, 500px);
    max-width: 500px;

    margin-top: 28px;
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 0;
  }
}

/* Celular */

@media (max-width: 600px) {
  #home .merco-contact-copy .accent-rule {
    width: 120px;
    height: 3px;
    margin-bottom: 16px;
  }

  #home .merco-contact-copy h2 {
    font-size: 30px;
    max-width: 320px;
  }

  #home .merco-contact-lineart {
    width: 100%;
    max-width: 100%;
    margin-top: 22px;
  }
}

/* ==========================================
   MERCO — CONTATO HOME V8
   Paisagem energética integrada ao fundo
   ========================================== */

/* A faixa azul controla os limites da ilustração */

#home .merco-contact-home {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Preserva o grid original */

#home .merco-contact-layout {
  position: static;
  align-items: stretch;
}

/* Título na parte superior esquerda */

#home .merco-contact-copy {
  position: static;
  align-self: stretch;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;

  max-width: 540px;
  min-height: 0;

  padding-top: 36px;
  padding-bottom: 10px;
}

/* Linha turquesa */

#home .merco-contact-copy .accent-rule {
  width: 85px;
  height: 4px;
  margin-bottom: 20px;
  border-radius: 999px;
}

/* Título institucional */

#home .merco-contact-copy h2 {
  max-width: 390px;
  margin: 0;

  font-size: clamp(32px, 2.7vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: #ffffff;
}

/* ==========================================
   ILUSTRAÇÃO HORIZONTAL
   Ancorada na faixa azul inteira
   ========================================== */

#home .merco-contact-lineart {
  position: absolute;

  /* Começa na extremidade esquerda */
  left: 0;

  /* Acompanha a base da seção */
  bottom: 18px;

  /* Paisagem ampla e proporcional */
  width: min(46vw, 900px);
  max-width: none;
  height: auto;

  display: block;
  margin: 0;

  opacity: 0.92;
  object-fit: contain;

  z-index: 0;
  pointer-events: none;
}

/* Formulário fica acima da ilustração */

#home .merco-contact-form {
  position: relative;
  z-index: 2;

  max-width: 665px;
  align-self: start;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 900px) {
  #home .merco-contact-layout {
    grid-template-columns: 1fr;
  }

  #home .merco-contact-copy {
    max-width: none;
    min-height: auto;
    padding-top: 0;
    padding-bottom: 0;
  }

  #home .merco-contact-lineart {
    position: static;

    width: min(100%, 620px);
    max-width: 620px;
    height: auto;

    margin: 26px 0 0;
    opacity: 0.9;
  }
}

/* ==========================================
   CELULAR
   ========================================== */

@media (max-width: 600px) {
  #home .merco-contact-copy h2 {
    max-width: 320px;
    font-size: 30px;
  }

  #home .merco-contact-copy .accent-rule {
    width: 75px;
    height: 3px;
    margin-bottom: 18px;
  }

  #home .merco-contact-lineart {
    width: 100%;
    max-width: 100%;
    margin-top: 22px;
  }
}

/* ==========================================
   MERCO — CONTATO HOME V10
   Linha neon turquesa com glow e fade
   ========================================== */

#home .merco-contact-copy .accent-rule {
  position: relative;
  width: 300px;
  height: 2px;
  margin-bottom: 22px;

  background: transparent;
  border-radius: 999px;
  overflow: visible;

  box-shadow: none;
}

#home .merco-contact-copy .accent-rule::before {
  content: "";
  position: absolute;
  inset: 0;

  border-radius: 999px;

  background: linear-gradient(
    90deg,
    rgba(18, 255, 232, 1) 0%,
    rgba(24, 196, 179, 1) 35%,
    rgba(83, 245, 228, 0.95) 62%,
    rgba(131, 227, 220, 0.55) 82%,
    rgba(131, 227, 220, 0.12) 94%,
    rgba(131, 227, 220, 0) 100%
  );

  box-shadow:
    0 0 6px rgba(18, 255, 232, 0.95),
    0 0 12px rgba(18, 255, 232, 0.8),
    0 0 22px rgba(18, 255, 232, 0.45),
    0 0 34px rgba(18, 255, 232, 0.22);
}

/* Tablet */
@media (max-width: 900px) {
  #home .merco-contact-copy .accent-rule {
    width: 240px;
    height: 2px;
    margin-bottom: 18px;
  }
}

/* Celular */
@media (max-width: 600px) {
  #home .merco-contact-copy .accent-rule {
    width: 170px;
    height: 2px;
    margin-bottom: 16px;
  }
}

/* ==========================================
   MERCO — RODAPÉ COMPACTO V1
   Refinamento institucional
   ========================================== */

.merco-footer-home {
  padding-top: 25px;
  padding-bottom: 12px;
}

/* Distribuição horizontal */

.merco-footer-home .merco-footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr 1.35fr;
  align-items: center;
  gap: 36px;
}

/* Logo branca, sem texto abaixo */

.merco-footer-home .merco-footer-logo {
  margin-bottom: 0;
}

/* Espaçamentos dos links */

.merco-footer-home .merco-footer-nav,
.merco-footer-home .merco-footer-contact {
  gap: 6px;
}

.merco-footer-home .merco-footer-nav h3,
.merco-footer-home .merco-footer-contact h3 {
  margin-bottom: 8px;
  font-size: 15px;
}

.merco-footer-home .merco-footer-nav a,
.merco-footer-home .merco-footer-contact a,
.merco-footer-home .merco-footer-contact p {
  font-size: 13px;
  line-height: 1.5;
}

.merco-footer-home .merco-footer-address {
  margin: 4px 0;
}

/* Copyright mais próximo do conteúdo */

.merco-footer-home .footer-bottom {
  margin-top: 18px;
  padding-top: 10px;
  font-size: 11px;
}

/* Tablet */

@media (max-width: 900px) {
  .merco-footer-home .merco-footer-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 24px;
  }

  .merco-footer-home .merco-footer-brand {
    grid-column: 1 / -1;
  }
}

/* Celular */

@media (max-width: 600px) {
  .merco-footer-home .merco-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .merco-footer-home .merco-footer-brand {
    grid-column: auto;
  }
}

/* ==========================================
   MERCO — RODAPÉ COMPACTO V2
   Alinhamento e redução da altura
   ========================================== */

.merco-footer-home {
  padding-top: 20px;
  padding-bottom: 8px;
}

.merco-footer-home .merco-footer-grid {
  align-items: start;
  gap: 28px;
}

.merco-footer-home .merco-footer-nav,
.merco-footer-home .merco-footer-contact {
  gap: 4px;
}

.merco-footer-home .merco-footer-nav h3,
.merco-footer-home .merco-footer-contact h3 {
  margin-bottom: 5px;
}

.merco-footer-home .merco-footer-nav a,
.merco-footer-home .merco-footer-contact a,
.merco-footer-home .merco-footer-contact p {
  line-height: 1.4;
}

.merco-footer-home .merco-footer-address {
  margin: 0;
}

/* Copyright próximo ao conteúdo e à base */

.merco-footer-home .footer-bottom {
  width: 100%;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11px;
}

/* ==========================================
   MERCO — PÁGINA SOBRE V1
   Identidade institucional aprovada
   ========================================== */

/* Abertura da página */

#sobre .merco-about-hero {
  background: linear-gradient(120deg, #f2f7fb 0%, #edf8f7 100%);
}

#sobre .merco-about-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 0.98fr);

  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  padding-block: clamp(56px, 6vw, 88px);
}

/* Régua institucional */

#sobre .merco-about-rule {
  width: 110px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 999px;

  background: linear-gradient(90deg, #18c4b3 0%, #83e3dc 70%, transparent 100%);

  box-shadow: 0 0 9px rgba(24, 196, 179, 0.24);
}

/* Textos */

#sobre .merco-about-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: #3f5b95;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

#sobre .merco-about-copy h1 {
  max-width: 560px;
  margin: 0 0 24px;
  color: #0b2d5b;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.13;
  letter-spacing: -0.04em;
}

#sobre .merco-about-copy h1 span {
  color: #0d8f8e;
}

#sobre .merco-about-copy p {
  max-width: 565px;
  margin-bottom: 16px;
  color: #3f5b95;
  font-size: 16px;
  line-height: 1.7;
}

/* Botão */

#sobre .merco-about-cta {
  margin-top: 12px;
  border-radius: 8px;
}

#sobre .merco-about-cta:hover {
  background: #086c7a;
  border-color: #18c4b3;
}

/* Fotografia institucional */

#sobre .merco-about-photo {
  height: clamp(330px, 34vw, 450px);
  overflow: hidden;
  border-radius: 16px;

  border-bottom: 4px solid #18c4b3;

  box-shadow: 0 16px 35px rgba(11, 45, 91, 0.13);
}

#sobre .merco-about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Nossa forma de atuar */

#sobre .merco-about-principles {
  padding-block: 65px 75px;
}

#sobre .merco-about-principles-heading {
  max-width: 740px;
  margin-bottom: 30px;
}

#sobre .merco-about-principles-heading h2 {
  margin: 0;
  color: #0b2d5b;
  font-size: clamp(27px, 3vw, 39px);
  line-height: 1.2;
}

#sobre .merco-about-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* ==========================================
   MERCO — SOBRE
   CARDS INSTITUCIONAIS ELECTRIC GLOW V1
   ========================================== */

#sobre .merco-about-principles-grid article {
  position: relative;
  padding: 26px 24px;

  border-radius: 14px;
  border: 1px solid rgba(63, 91, 149, 0.16);
  border-top: 3px solid #18c4b3;

  background: linear-gradient(150deg, #ffffff, #f2f7fb);

  box-shadow: 0 6px 20px rgba(11, 45, 91, 0.05);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

/* Hover discreto e sofisticado */

@media (hover: hover) and (pointer: fine) {
  #sobre .merco-about-principles-grid article:hover {
    transform: translateY(-4px);

    border-color: rgba(24, 196, 179, 0.42);
    border-top-color: #18c4b3;

    background: linear-gradient(150deg, #ffffff 0%, #eef9fa 100%);

    box-shadow:
      0 14px 30px rgba(11, 45, 91, 0.11),
      0 0 0 1px rgba(24, 196, 179, 0.07),
      0 0 16px rgba(24, 196, 179, 0.08);
  }
}

/* Respeitar preferência por movimento reduzido */

@media (prefers-reduced-motion: reduce) {
  #sobre .merco-about-principles-grid article {
    transition: none;
  }

  #sobre .merco-about-principles-grid article:hover {
    transform: none;
  }
}

/* Faixa de acesso às soluções */

#sobre .merco-about-end {
  background: #0b2d5b;
  color: #ffffff;
}

#sobre .merco-about-end-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 30px;
}

#sobre .merco-about-end p {
  max-width: 660px;
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.5;
}

#sobre .merco-about-end a {
  flex-shrink: 0;
  color: #83e3dc;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid #18c4b3;
  padding-bottom: 5px;
}

#sobre .merco-about-end a:hover {
  color: #ffffff;
}

/* Tablet */

@media (max-width: 900px) {
  #sobre .merco-about-grid {
    grid-template-columns: 1fr;
  }

  #sobre .merco-about-photo {
    height: 350px;
  }

  #sobre .merco-about-principles-grid {
    grid-template-columns: 1fr;
  }
}

/* Celular */

@media (max-width: 600px) {
  #sobre .merco-about-grid {
    gap: 28px;
    padding-block: 42px;
  }

  #sobre .merco-about-copy h1 {
    font-size: 34px;
  }

  #sobre .merco-about-photo {
    height: 270px;
  }

  #sobre .merco-about-principles {
    padding-block: 45px;
  }

  #sobre .merco-about-end-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ==========================================
   MERCO — PADRÃO DE LINHAS INSTITUCIONAIS
   HOME V1 — MESMO ESTILO DA PÁGINA SOBRE
   ========================================== */

/* Linha compartilhada:
   O que fazemos e Quem somos */

#home .section-heading::before,
#home .tinted .about-copy .accent-rule {
  display: block;
  content: "";

  width: 110px;
  height: 3px;
  margin: 0 0 22px;

  border-radius: 999px;

  background: linear-gradient(90deg, #18c4b3 0%, #83e3dc 70%, transparent 100%);

  box-shadow: 0 0 9px rgba(24, 196, 179, 0.24);
}

/* Hero:
   preservar largura original de 169px,
   posição e composição aprovadas */

#home .hero-fullwidth .hero-copy h1::after {
  background: linear-gradient(90deg, #18c4b3 0%, #83e3dc 70%, transparent 100%);

  box-shadow: 0 0 9px rgba(24, 196, 179, 0.24);
}

/* A linha neon da seção de contato
   permanece inalterada. */

/* ==========================================
   MERCO — PÁGINA SOLUÇÕES V1
   Identidade institucional e Electric Glow
   ========================================== */

/* ABERTURA */

#solucoes .merco-solutions-intro {
  background: linear-gradient(120deg, #f2f7fb 0%, #edf8f7 100%);
}

#solucoes .merco-solutions-intro-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: clamp(30px, 5vw, 70px);
  padding-block: clamp(55px, 6vw, 85px);
}

#solucoes .merco-solutions-rule,
#solucoes .merco-service-rule {
  width: 110px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 999px;

  background: linear-gradient(90deg, #18c4b3 0%, #83e3dc 70%, transparent 100%);

  box-shadow: 0 0 9px rgba(24, 196, 179, 0.24);
}

#solucoes .merco-solutions-eyebrow,
#solucoes .merco-service-eyebrow {
  display: block;
  margin-bottom: 15px;

  color: #3f5b95;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

#solucoes .merco-solutions-lead h1 {
  max-width: 680px;
  margin: 0;

  color: #0b2d5b;
  font-size: clamp(35px, 3.6vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

#solucoes .merco-solutions-lead h1 span {
  color: #0d8f8e;
}

#solucoes .merco-solutions-description {
  max-width: 510px;
  margin: 0;

  color: #3f5b95;
  font-size: 16px;
  line-height: 1.75;
}

/* ÁREA DOS SERVIÇOS */

#solucoes .merco-solutions-content {
  padding-top: 34px;
  padding-bottom: 50px;
}

#solucoes .merco-solution-item {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;

  gap: clamp(28px, 4vw, 58px);
  padding: clamp(26px, 3vw, 42px);
  margin-bottom: 26px;

  border: 1px solid rgba(63, 91, 149, 0.16);
  border-radius: 18px;

  background: linear-gradient(145deg, #ffffff 10%, #f5f9fc 100%);

  box-shadow: 0 8px 27px rgba(11, 45, 91, 0.055);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;

  scroll-margin-top: 100px;
}

#solucoes .merco-solution-item:nth-child(2) {
  background: linear-gradient(145deg, #f1f8fa 0%, #ffffff 90%);
}

/* Comércio: fotografia à esquerda */

#solucoes .merco-solution-reverse .merco-solution-media {
  grid-column: 1;
  grid-row: 1;
}

#solucoes .merco-solution-reverse .merco-solution-text {
  grid-column: 2;
  grid-row: 1;
}

/* TEXTOS DOS SERVIÇOS */

#solucoes .merco-solution-text {
  min-width: 0;
}

#solucoes .merco-service-rule {
  width: 86px;
  margin-bottom: 17px;
}

#solucoes .merco-solution-text h2 {
  margin: 0 0 18px;

  color: #0b2d5b;
  font-size: clamp(27px, 2.4vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

#solucoes .merco-solution-text p {
  margin: 0 0 19px;

  color: #3f5b95;
  font-size: 15px;
  line-height: 1.75;
}

/* Lista objetiva de serviços */

#solucoes .merco-service-points {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

#solucoes .merco-service-points li {
  position: relative;
  padding-left: 19px;
  margin-bottom: 10px;

  color: #24456e;
  font-size: 14px;
  line-height: 1.55;
}

#solucoes .merco-service-points li::before {
  content: "";
  position: absolute;

  left: 0;
  top: 0.65em;

  width: 8px;
  height: 3px;

  background: #18c4b3;
  border-radius: 2px;
}

/* FOTOGRAFIAS */

#solucoes .merco-solution-media {
  height: clamp(290px, 29vw, 390px);
  min-width: 0;

  overflow: hidden;
  border-radius: 15px;

  border-bottom: 4px solid #18c4b3;

  box-shadow: 0 14px 30px rgba(11, 45, 91, 0.12);
}

#solucoes .merco-solution-media img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.45s ease;
}

/* BOTÃO FALE CONOSCO */

#solucoes .merco-service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 10px 17px;
  min-height: 43px;

  color: #0b2d5b;
  background: #e5f5f6;

  border: 1px solid #a0dad8;
  border-radius: 9px;

  font-size: 14px;
  font-weight: 700;
  text-decoration: none;

  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s,
    box-shadow 0.25s,
    transform 0.25s;
}

/* HOVER INSTITUCIONAL */

@media (hover: hover) and (pointer: fine) {
  #solucoes .merco-solution-item:hover {
    transform: translateY(-4px);

    border-color: rgba(24, 196, 179, 0.48);

    box-shadow:
      0 17px 38px rgba(11, 45, 91, 0.12),
      0 0 18px rgba(24, 196, 179, 0.07);
  }

  #solucoes .merco-solution-item:hover .merco-solution-media img {
    transform: scale(1.035);
  }
}

#solucoes .merco-service-cta:hover,
#solucoes .merco-service-cta:focus-visible {
  background: linear-gradient(135deg, #003a5b, #006b8d);

  color: #ffffff;

  border-color: #4cdceb;

  box-shadow:
    0 0 7px rgba(56, 243, 255, 0.25),
    0 0 14px rgba(0, 207, 232, 0.12);

  transform: translateY(-1px);
}

/* CHAMADA FINAL */

#solucoes .merco-solutions-next {
  background: #0b2d5b;
  color: #ffffff;
}

#solucoes .merco-solutions-next-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;

  padding-block: 32px;
}

#solucoes .merco-solutions-next p {
  max-width: 690px;
  margin: 0;

  color: #ffffff;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

#solucoes .merco-solutions-next a {
  flex-shrink: 0;

  padding-bottom: 5px;

  color: #83e3dc;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;

  border-bottom: 2px solid #18c4b3;
}

#solucoes .merco-solutions-next a:hover {
  color: #ffffff;
}

/* TABLET */

@media (max-width: 900px) {
  #solucoes .merco-solutions-intro-layout {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
  }

  #solucoes .merco-solution-item {
    grid-template-columns: 1fr;
  }

  #solucoes .merco-solution-reverse .merco-solution-media,
  #solucoes .merco-solution-reverse .merco-solution-text {
    grid-column: auto;
    grid-row: auto;
  }

  #solucoes .merco-solution-media {
    height: 340px;
  }
}

/* CELULAR */

@media (max-width: 600px) {
  #solucoes .merco-solutions-intro-layout {
    padding-block: 43px;
  }

  #solucoes .merco-solutions-lead h1 {
    font-size: 35px;
  }

  #solucoes .merco-solutions-content {
    padding-top: 22px;
    padding-bottom: 32px;
  }

  #solucoes .merco-solution-item {
    padding: 22px 18px;
    margin-bottom: 18px;
    gap: 24px;
  }

  #solucoes .merco-solution-media {
    height: 255px;
  }

  #solucoes .merco-solution-text h2 {
    font-size: 28px;
  }

  #solucoes .merco-solutions-next-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-block: 29px;
  }
}

/* MOVIMENTO REDUZIDO */

@media (prefers-reduced-motion: reduce) {
  #solucoes .merco-solution-item,
  #solucoes .merco-solution-media img,
  #solucoes .merco-service-cta {
    transition: none;
  }

  #solucoes .merco-solution-item:hover,
  #solucoes .merco-solution-item:hover .merco-solution-media img,
  #solucoes .merco-service-cta:hover {
    transform: none;
  }
}

/* ==========================================
   MERCO — HOME | QUEM SOMOS
   Padronização da moldura institucional
   ========================================== */

#home .tinted .split-photo {
  border-radius: 16px;

  border-bottom: 4px solid #18c4b3;

  overflow: hidden;

  box-shadow: 0 16px 35px rgba(11, 45, 91, 0.13);
}

/* ==========================================
   MERCO — PÁGINA CONTATO V1
   Identidade institucional e formulário
   ========================================== */

/* ABERTURA INSTITUCIONAL */

#contato .merco-contact-page-intro {
  background: linear-gradient(120deg, #f2f7fb 0%, #edf8f7 100%);
}

#contato .merco-contact-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 0;
  padding-block: 28px 32px;
}

/* Linha turquesa da identidade MERCO */

#contato .merco-contact-page-rule {
  width: 110px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 999px;

  background: linear-gradient(90deg, #18c4b3 0%, #83e3dc 70%, transparent 100%);

  box-shadow: 0 0 9px rgba(24, 196, 179, 0.24);
}

#contato .merco-contact-page-eyebrow {
  display: block;
  margin-bottom: 16px;

  color: #3f5b95;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

#contato .merco-contact-page-intro h1 {
  max-width: 900px;
  margin: 0;

  color: #0b2d5b;
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1.13;
  letter-spacing: -0.04em;
}

#contato .merco-contact-page-intro h1 span {
  color: #0d8f8e;
}

#contato .merco-contact-page-description {
  max-width: 680px;
  margin: 14px 0 0;

  color: #3f5b95;
  font-size: 16px;
  line-height: 1.7;
}

/* ==========================================
   ÁREA AZUL-MARINHO
   ========================================== */

#contato .merco-contact-page-body {
  background: #0b2d5b;
  color: #ffffff;
  overflow: hidden;
}

#contato .merco-contact-page-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.82fr)
    minmax(0, 1.18fr);

  gap: clamp(30px, 4vw, 58px);
  align-items: start;

  padding-block: 48px 52px;
}

/* COLUNA ESQUERDA */

#contato .merco-contact-page-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  min-width: 0;
  align-self: stretch;
}

#contato .merco-contact-page-pulse {
  position: relative;
  width: 180px;
  height: 2px;
  margin-bottom: 24px;

  background: linear-gradient(
    90deg,
    #12ffe8 0%,
    #18c4b3 42%,
    rgba(131, 227, 220, 0) 100%
  );

  box-shadow:
    0 0 7px rgba(18, 255, 232, 0.55),
    0 0 17px rgba(18, 255, 232, 0.2);
}

#contato .merco-contact-page-info h2 {
  margin: 0 0 13px;

  color: #ffffff;
  font-size: clamp(27px, 2.7vw, 36px);
  line-height: 1.2;
}

#contato .merco-contact-page-info-head p {
  max-width: 420px;
  margin: 0;

  color: #d1e2ef;
  font-size: 15px;
  line-height: 1.7;
}

/* DADOS CORPORATIVOS */

#contato .merco-contact-page-details {
  width: 100%;
  margin-top: 28px;

  display: flex;
  flex-direction: column;
  gap: 22px;
}

#contato .merco-contact-page-detail {
  padding-left: 16px;
  border-left: 3px solid #18c4b3;
}

#contato .merco-contact-page-detail h3 {
  margin: 0 0 8px;

  color: #ffffff;
  font-size: 16px;
}

#contato .merco-contact-page-detail p,
#contato .merco-contact-page-detail a {
  color: #c7d9e8;
  font-size: 14px;
  line-height: 1.65;
}

#contato .merco-contact-page-detail p {
  margin: 0 0 8px;
}

#contato .merco-contact-page-detail a {
  display: inline-block;
  text-decoration: none;

  transition: color 0.25s;
}

#contato .merco-contact-page-detail a:hover {
  color: #83e3dc;
}

/* ILUSTRAÇÃO DA HOME */

#contato .merco-contact-page-illustration {
  display: block;

  width: 100%;
  max-width: 500px;
  height: auto;

  margin-top: auto;
  padding-top: 30px;

  opacity: 0.88;
  object-fit: contain;
  pointer-events: none;
}

/* ==========================================
   FORMULÁRIO BRANCO
   ========================================== */

#contato .merco-contact-page-form {
  width: 100%;
  min-width: 0;
  padding: 24px 26px;

  background: #ffffff;
  border: 1px solid rgba(131, 227, 220, 0.25);
  border-radius: 14px;

  box-shadow: 0 12px 30px rgba(0, 12, 34, 0.16);
}

#contato .merco-contact-page-form h2 {
  margin: 0 0 16px;

  color: #0b2d5b;
  font-size: 21px;
  line-height: 1.25;
}

#contato .merco-contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

#contato .merco-contact-fields .field {
  gap: 5px;
}

#contato .merco-contact-fields .field.full {
  grid-column: 1 / -1;
}

#contato .merco-contact-fields .field label {
  color: #0b2d5b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

#contato .merco-contact-fields input,
#contato .merco-contact-fields select,
#contato .merco-contact-fields textarea {
  display: block;

  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 9px 11px;

  background: #ffffff;
  color: #0b2d5b;

  border: 1px solid #cbd9e8;
  border-radius: 6px;

  font-family: inherit;
  font-size: 13px;
}

#contato .merco-contact-fields textarea {
  min-height: 82px;
  resize: vertical;
}

#contato .merco-contact-fields :is(input, select, textarea):focus {
  border-color: #18c4b3;
  box-shadow: 0 0 0 3px rgba(24, 196, 179, 0.1);
}

/* INFORMAÇÕES ADICIONAIS */

#contato .merco-extra-fields {
  grid-column: 1 / -1;

  padding: 8px 0;

  border-top: 1px solid #e0e9f1;
  border-bottom: 1px solid #e0e9f1;
}

#contato .merco-extra-fields summary {
  cursor: pointer;

  color: #3f5b95;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

#contato .merco-extra-fields summary:hover {
  color: #0b2d5b;
}

#contato .merco-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 11px 14px;
  margin-top: 14px;
}

/* ENVIO */

#contato .merco-contact-actions {
  margin-top: 14px;
}

#contato .merco-contact-submit {
  min-height: 43px;
  padding: 9px 18px;

  background: #0b2d5b;
  color: #ffffff;
  border-color: #0b2d5b;
  border-radius: 8px;

  font-family: inherit;
  font-size: 13px;
}

#contato .merco-contact-submit:hover,
#contato .merco-contact-submit:focus-visible {
  background: #086c7a;
  border-color: #18c4b3;
  color: #ffffff;
}

#contato .merco-contact-page-note {
  max-width: 470px;
  margin: 12px 0 0;

  color: #57708e;
  font-size: 12px;
  line-height: 1.5;
}

#contato .form-status {
  min-height: 0;
  margin: 8px 0 0;

  color: #3f5b95;
  font-size: 12px;
}

/* ==========================================
   RESPONSIVIDADE
   ========================================== */

@media (max-width: 900px) {
  #contato .merco-contact-intro-grid,
  #contato .merco-contact-page-grid {
    grid-template-columns: 1fr;
  }

  #contato .merco-contact-intro-grid {
    align-items: start;
    gap: 18px;
  }

  #contato .merco-contact-page-grid {
    gap: 32px;
  }

  #contato .merco-contact-page-info {
    align-self: auto;
  }

  #contato .merco-contact-page-illustration {
    width: min(100%, 520px);
    margin-top: 0;
    padding-top: 24px;
  }
}

@media (max-width: 600px) {
  #contato .merco-contact-intro-grid {
    padding-block: 42px;
  }

  #contato .merco-contact-page-intro h1 {
    font-size: 34px;
  }

  #contato .merco-contact-page-grid {
    padding-block: 32px 38px;
    gap: 25px;
  }

  #contato .merco-contact-page-form {
    padding: 20px 16px;
  }

  #contato .merco-contact-fields,
  #contato .merco-extra-grid {
    grid-template-columns: 1fr;
  }

  #contato .merco-contact-page-illustration {
    padding-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #contato .merco-contact-submit,
  #contato .merco-contact-page-detail a {
    transition: none;
  }
}
