/* Ajustes da versão Valor: marca original e primeira seção centralizada. */
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { min-width: 320px; }
section { scroll-margin-top: 100px; }
/* 1.2.1: compensa os 64px transparentes de cada lado da imagem 460px.
   A parte visível alinha com o conteúdo, sem alterar o arquivo da marca. */
body.valor-tecnologia-landing .brand-logo {
  --valor-logo-width: 172px;
  display: block;
  flex: none;
  width: var(--valor-logo-width);
  max-width: none;
  height: auto;
  padding: 8px 0;
  margin-inline: calc(var(--valor-logo-width) * -0.139130435);
  background: transparent;
}
body.valor-tecnologia-landing header a:has(> .brand-logo),
body.valor-tecnologia-landing footer a:has(> .brand-logo) { width: fit-content; flex-shrink: 0; }
header > .container-x { height: 84px; gap: 20px; }
#top {
  position: relative;
  isolation: isolate;
  color: #fff;
  background-color: #0d2d27;

}
/* Mesma imagem e gradiente, sem participação no fluxo do layout. */
.valor-hero-media { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.valor-hero-media img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
#top::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(110deg, rgba(7,26,52,.93) 0%, rgba(13,45,39,.88) 45%, rgba(2,132,107,.85) 100%); }
.hero-content { position: relative; z-index: 1; padding-block: clamp(64px, 8vw, 112px); text-align: center; }
.hero-content > div { max-width: 980px; margin-inline: auto; }
.hero-content h1 { font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.hero-content p { max-width: 720px; margin-inline: auto; text-wrap: pretty; }
.hero-content .mt-9 { justify-content: center; }
.hero-content .btn-primary { align-items: center !important; }
.hero-content .eyebrow { max-width: 100%; font-size: .875rem; }
input { font-size: 1rem !important; }
a, button, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #48deac; outline-offset: 5px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 12px 20px; color: #0d2d27; background: #48deac; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid #48deac66; border-radius: 8px; }
.menu-toggle span { display: block; height: 2px; background: #fff; margin: 4px 0; }
@media (max-width: 900px) {
  header nav { gap: 18px !important; }
  header > .container-x > .btn-primary { display: none; }
}
@media (max-width: 767px) {
  header > .container-x { height: 76px; }
  body.valor-tecnologia-landing .brand-logo { --valor-logo-width: 157px; }
  .menu-toggle { display: block; }
  header nav.is-open { display: flex; position: absolute; top: 76px; left: 0; right: 0; padding: 24px; flex-direction: column; align-items: stretch; background: #0d2d27; border-bottom: 1px solid #48deac44; box-shadow: 0 12px 24px #0004; }
  header nav a { padding: 8px; font-size: 1rem; }
  .hero-content { padding-block: 60px 72px; }
  .hero-content h1 { font-size: clamp(2rem, 7.8vw, 3rem); }
  .hero-content p { font-size: 1.0625rem; }
  .hero-content .mt-9 { flex-direction: column; align-items: center; }
  .hero-content .mt-9 a { width: min(100%, 360px); justify-content: center; }
  .hero-content .eyebrow { font-size: .75rem; letter-spacing: .04em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Integração com a barra administrativa do WordPress. */
body.valor-tecnologia-landing { margin: 0; padding: 0; }
body.admin-bar header.sticky { top: 32px; }
@media(max-width:782px) { body.admin-bar header.sticky { top: 46px; } }
@media(max-width:600px) { body.admin-bar header.sticky { top: 0; } }
#contact-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
#contact-form fieldset > * + * { margin-top: 1rem; }
#contact-form button:disabled { cursor: not-allowed; opacity: .5; }

/* Controles exclusivos das páginas Valor; evita o botão sem estilo do Astra. */
body.valor-tecnologia-landing #ast-scroll-top { display: none !important; }
#valor-back-to-top { position: fixed; right: 24px; bottom: 96px; z-index: 999; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 1px solid #48deac; border-radius: 50%; background: #48deac; color: #0d2d27; cursor: pointer; box-shadow: 0 5px 18px #0005; }
#valor-back-to-top[hidden] { display: none !important; }
#valor-back-to-top:hover { background: #fff; }
.valor-footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 16px; font-size: 13px; color: #a9c5be; text-align: center; }
.valor-footer-legal a:hover { color: #48deac; text-decoration: underline; }
.valor-form-panel { padding: clamp(24px,3vw,32px) !important; transform: none !important; }
.valor-form-panel .wpforms-container { margin: 0 !important; --wpforms-field-background-color: #0f3630; --wpforms-field-border-color: #52867a; --wpforms-field-text-color: #fff; --wpforms-label-color: #fff; --wpforms-label-sublabel-color: #c2d6d0; --wpforms-button-background-color: #48deac; --wpforms-button-text-color: #0d2d27; --wpforms-field-border-radius: 8px; --wpforms-button-border-radius: 8px; }
.valor-form-panel #wpforms-30 { color: #fff; font-family: Roboto, sans-serif; }
.valor-form-panel #wpforms-30 .wpforms-field-label { color: #fff !important; font-size: 16px; }
.valor-form-panel #wpforms-30 .wpforms-field-description,
.valor-form-panel #wpforms-30 .wpforms-field-sublabel,
.valor-form-panel #wpforms-30 .wpforms-field-label-inline { color: #c2d6d0 !important; font-size: 14px; }
.valor-form-panel #wpforms-30 input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=range]),
.valor-form-panel #wpforms-30 textarea,
.valor-form-panel #wpforms-30 select { background-color: #0f3630 !important; color: #fff !important; border: 1px solid #52867a !important; border-radius: 8px !important; font-family: inherit; font-size: 16px !important; min-height: 48px; box-shadow: none; }
.valor-form-panel #wpforms-30 input::placeholder, .valor-form-panel #wpforms-30 textarea::placeholder { color: #a9c5be !important; opacity: 1; }
.valor-form-panel #wpforms-30 input:focus, .valor-form-panel #wpforms-30 textarea:focus, .valor-form-panel #wpforms-30 select:focus { border-color: #48deac !important; outline: 2px solid #48deac !important; outline-offset: 2px; }
.valor-form-panel #wpforms-30 input[type=checkbox], .valor-form-panel #wpforms-30 input[type=radio] { accent-color: #48deac; }
.valor-form-panel #wpforms-30 button.wpforms-submit { background: #48deac !important; color: #0d2d27 !important; border: 1px solid #48deac !important; border-radius: 8px !important; font-family: inherit; font-size: 16px !important; font-weight: 700; min-height: 48px; padding: 12px 24px; width: 100%; }
.valor-form-panel #wpforms-30 button.wpforms-submit:hover { background: #79edc5 !important; }
.valor-form-panel #wpforms-30 .wpforms-error, .valor-form-panel #wpforms-30 .wpforms-required-label { color: #ffb6b6 !important; }
.valor-form-panel #wpforms-confirmation-30 { background: #0f3630 !important; border: 1px solid #48deac !important; border-radius: 8px; color: #fff !important; padding: 24px; }
.valor-form-privacy { font-size: 14px; color: #c2d6d0; margin-top: 20px; }
.valor-form-privacy a { color: #48deac; text-decoration: underline; }
.valor-legal-content { max-width: 900px; padding-top: 64px; padding-bottom: 80px; }
.valor-legal-content h1 { font: 700 clamp(2rem,5vw,3.3rem)/1.15 'Space Grotesk',sans-serif; margin-bottom: 28px; color: #fff; }
.valor-legal-content h2 { font: 600 1.4rem/1.35 'Space Grotesk',sans-serif; color: #48deac; margin: 32px 0 12px; }
.valor-legal-content p, .valor-legal-content li { font-size: 16px; line-height: 1.8; color: #d8e6e2; }
.valor-legal-content p { margin: 14px 0; }
.valor-legal-content ul { padding-left: 24px; list-style: disc; }
.valor-legal-content a { color: #48deac; text-decoration: underline; overflow-wrap: anywhere; }

/* 1.1.1: rótulos mais compactos e altura de linha explícita, sem cortar textos. */
.valor-form-panel #wpforms-30 .wpforms-field-label {
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}
.valor-form-panel #wpforms-30 .wpforms-field-label-inline,
.valor-form-panel #wpforms-30 .wpforms-field-description,
.valor-form-panel #wpforms-30 .wpforms-field-sublabel {
  font-size: 14px !important;
  line-height: 1.45 !important;
  height: auto !important;
}
.valor-form-panel #wpforms-30 .wpforms-field-sublabel,
.valor-form-panel #wpforms-30 .wpforms-field-description { margin-top: 6px !important; }
.valor-form-panel #wpforms-30 .wpforms-field { padding-top: 8px; padding-bottom: 8px; }
.valor-form-panel #wpforms-30 .wpforms-required-label { font-size: inherit !important; line-height: inherit !important; }
.valor-form-panel #wpforms-30 input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]),
.valor-form-panel #wpforms-30 select { font-size: 16px !important; line-height: 1.4 !important; }
.valor-form-panel #wpforms-30 label.wpforms-error { font-size: 14px !important; line-height: 1.45 !important; margin-top: 6px; }
.valor-form-panel .valor-form-privacy { font-size: 14px; line-height: 1.5; margin-top: 16px; }

/* 1.1.3: faixa contínua também em navegadores móveis, sem depender de cascade layers. */
body.valor-tecnologia-landing .marquee {
  width: 100%; max-width: 100%; overflow: hidden; white-space: nowrap;
}
body.valor-tecnologia-landing .valor-marquee-track {
  display: flex; flex-wrap: nowrap; align-items: center;
  width: max-content; max-width: none; direction: ltr;
  animation: valor-marquee-left 40s linear infinite !important;
  -webkit-animation: valor-marquee-left 40s linear infinite !important;
}
body.valor-tecnologia-landing .valor-marquee-track > span { flex: 0 0 auto; white-space: nowrap; }
@keyframes valor-marquee-left { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@-webkit-keyframes valor-marquee-left { from { -webkit-transform: translate3d(0,0,0); } to { -webkit-transform: translate3d(-50%,0,0); } }
@media (prefers-reduced-motion: reduce) {
  body.valor-tecnologia-landing .valor-marquee-track { animation: none !important; -webkit-animation: none !important; will-change: auto; transform: none; }
}

/* 1.1.4: a cor precisa alcançar também os parágrafos internos do WPForms. */
body.valor-tecnologia-landing .valor-form-panel #wpforms-confirmation-30,
body.valor-tecnologia-landing .valor-form-panel [id="wpforms-confirmation-30-full"] {
  background: #0f3630 !important;
  color: #ffffff !important;
  border: 1px solid #48deac !important;
  border-radius: 8px;
  padding: 24px;
  font-size: 16px !important;
  line-height: 1.6 !important;
  opacity: 1 !important;
}
body.valor-tecnologia-landing .valor-form-panel #wpforms-confirmation-30 *,
body.valor-tecnologia-landing .valor-form-panel [id="wpforms-confirmation-30-full"] * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}
body.valor-tecnologia-landing .valor-form-panel #wpforms-confirmation-30 p,
body.valor-tecnologia-landing .valor-form-panel [id="wpforms-confirmation-30-full"] p {
  background: transparent !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  margin: 0 0 12px !important;
}
body.valor-tecnologia-landing .valor-form-panel #wpforms-confirmation-30 p:last-child,
body.valor-tecnologia-landing .valor-form-panel [id="wpforms-confirmation-30-full"] p:last-child { margin-bottom: 0 !important; }
body.valor-tecnologia-landing .valor-form-panel #wpforms-confirmation-30 a,
body.valor-tecnologia-landing .valor-form-panel #wpforms-confirmation-30 a *,
body.valor-tecnologia-landing .valor-form-panel [id="wpforms-confirmation-30-full"] a,
body.valor-tecnologia-landing .valor-form-panel [id="wpforms-confirmation-30-full"] a * {
  color: #48deac !important;
  -webkit-text-fill-color: #48deac !important;
  text-decoration: underline;
}

/* 1.2.2: animação CSS independente do JavaScript e opção acessível de movimento. */
body.valor-tecnologia-landing .valor-marquee-track { animation-play-state: running !important; }
.valor-motion-toggle { display: none; }
@media (prefers-reduced-motion: reduce) {
  .valor-motion-toggle { display: block; margin: 8px auto 0; padding: 6px 12px; color: #48deac; background: #0d2d27; border: 1px solid #48deac; border-radius: 6px; font-size: 13px; }
  body.valor-tecnologia-landing .marquee.valor-motion-enabled .valor-marquee-track { animation: valor-marquee-left 40s linear infinite !important; -webkit-animation: valor-marquee-left 40s linear infinite !important; }
}
.valor-video-section { background: #0d2d27; }
.valor-video-heading { max-width: 800px; margin: 0 auto 32px; text-align: center; }
.valor-video-heading h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.75rem,4vw,3rem); font-weight: 700; line-height: 1.15; margin: 20px 0 16px; color: #fff; }
.valor-video-heading p { color: #c2d6d0; font-size: 17px; line-height: 1.6; }
.valor-video-player { position: relative; width: 100%; max-width: 960px; aspect-ratio: 16 / 9; margin: auto; overflow: hidden; border: 1px solid #52867a; border-radius: 20px; background: linear-gradient(125deg,#071a34,#0d2d27 55%,#02846b); }
.valor-video-trigger { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; width: 100%; height: 100%; padding: 20px; text-align: center; color: #fff; font-family: 'Space Grotesk',sans-serif; font-size: clamp(16px,3vw,24px); font-weight: 600; }
.valor-video-play { display: grid; place-items: center; width: clamp(48px,8vw,80px); height: clamp(48px,8vw,80px); border-radius: 50%; color: #0d2d27; background: #48deac; }
.valor-video-caption { color: #c2d6d0; font: 400 14px/1.5 Roboto,sans-serif; }
.valor-video-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.valor-video-note { margin: 16px auto 0; max-width: 960px; color: #c2d6d0; text-align: center; font-size: 13px; line-height: 1.5; }
.valor-video-note a { color: #48deac; text-decoration: underline; }
