/* ============================================================
   ESC Landing Page — Reset & Theme Override
   ESTRATÉGIA: Full-bleed via viewport units.
   A landing se estica para 100vw mesmo dentro de containers
   estreitos (max-width: 600px, etc.) do tema.
   ============================================================ */

/* Container principal — Técnica full-bleed:
   - position: relative com left:50% + transform translateX(-50%)
     faz o elemento se centralizar viewport, ignorando qualquer
     largura do container pai
   - width: 100vw força a largura total da janela
   - margin-left negativo previne scroll horizontal de canto */
.esc-lp {
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  font-family: 'Avenir', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 400 !important;
  background: var(--cream) !important;
  color: var(--ink) !important;
  line-height: 1.6 !important;
  -webkit-font-smoothing: antialiased !important;
  box-sizing: border-box !important;
}

/* Previne scroll horizontal causado pelo 100vw + scrollbar */
body.esc-landing-page {
  overflow-x: hidden !important;
}

/* Reseta qualquer ancestral comum do WordPress que possa ter
   max-width estreito. Use *:has() onde suportado (Chrome 105+,
   Safari 15.4+, Firefox 121+) — cobre 95%+ dos navegadores modernos */
/* Reseta APENAS containers do tema (que envolvem a .esc-lp por fora).
   IMPORTANTE: usamos :not(.esc-lp *) para NÃO afetar nossas próprias
   <main>, <section>, <article> que estão DENTRO da landing — essas
   precisam manter seu padding/margin originais.
   O :has() é suportado em Chrome 105+, Safari 15.4+, Firefox 121+ */
body.esc-landing-page :is(
  .entry-content, .post-content, .page-content,
  .site-content, .content-area,
  .container, .wrapper, .row, .col
):has(.esc-lp) {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Para tags semânticas (main, article, section), neutraliza apenas
   se elas envolvem a .esc-lp (são ancestrais) - nunca se são
   descendentes dela */
body.esc-landing-page main:has(> .esc-lp),
body.esc-landing-page article:has(> .esc-lp),
body.esc-landing-page section:has(> .esc-lp),
body.esc-landing-page main:has(.esc-lp):not(.esc-lp *),
body.esc-landing-page article:has(.esc-lp):not(.esc-lp *),
body.esc-landing-page section:has(.esc-lp):not(.esc-lp *) {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}



/* ============================================================
     Avenir — fontes oficiais do site escsolutions.ai
     ============================================================ */
  @font-face {
    font-family: 'Avenir';
    src: url('https://www.escsolutions.ai/wp-content/themes/esc-solutions-vite/dist/fonts/Avenir-Book.woff2') format('woff2'),
         url('https://www.escsolutions.ai/wp-content/themes/esc-solutions-vite/dist/fonts/Avenir-Book.woff') format('woff');
    font-weight: 400; font-style: normal; font-display: swap;
  }
  @font-face {
    font-family: 'Avenir';
    src: url('https://www.escsolutions.ai/wp-content/themes/esc-solutions-vite/dist/fonts/Avenir-Medium.woff2') format('woff2'),
         url('https://www.escsolutions.ai/wp-content/themes/esc-solutions-vite/dist/fonts/Avenir-Medium.woff') format('woff');
    font-weight: 500; font-style: normal; font-display: swap;
  }
  @font-face {
    font-family: 'Avenir';
    src: url('https://www.escsolutions.ai/wp-content/themes/esc-solutions-vite/dist/fonts/Avenir-Heavy.woff2') format('woff2'),
         url('https://www.escsolutions.ai/wp-content/themes/esc-solutions-vite/dist/fonts/Avenir-Heavy.woff') format('woff');
    font-weight: 700; font-style: normal; font-display: swap;
  }
  @font-face {
    font-family: 'Avenir';
    src: url('https://www.escsolutions.ai/wp-content/themes/esc-solutions-vite/dist/fonts/Avenir-Black.woff2') format('woff2'),
         url('https://www.escsolutions.ai/wp-content/themes/esc-solutions-vite/dist/fonts/Avenir-Black.woff') format('woff');
    font-weight: 900; font-style: normal; font-display: swap;
  }

  /* ============================================================
     PALETA OFICIAL DE BRANDING — ESC Solutions
     #d9b287  →  bege/areia (claro)
     #c26d36  →  laranja queimado
     #a83925  →  terracota (CTA principal)
     #5f1c13  →  vinho escuro (títulos)
     #3c241d  →  marrom profundo (fundo escuro)
     ============================================================ */
  :root {
    --sand:        #d9b287;
    --orange:      #c26d36;
    --terracotta:  #a83925;
    --wine:        #5f1c13;
    --espresso:    #3c241d;

    /* derivados para superfícies e textos (calibrados pela paleta) */
    --cream:       #f5ece2;   /* fundo principal — tom areia bem lavado, em harmonia com #d9b287 */
    --cream-soft:  #faf4eb;   /* superfícies internas */
    --paper:       #ffffff;
    --ink:         #2a1812;   /* texto principal — variação escura de #3c241d */
    --ink-soft:    #5a463d;   /* texto secundário */
    --line:        #e6d4bd;   /* linhas suaves derivadas de #d9b287 */
    --field-line:  #d4bea3;   /* bordas de inputs */

    --shadow-sm: 0 1px 2px rgba(60, 36, 29, .06);
    --shadow-md: 0 8px 24px -8px rgba(60, 36, 29, .15);
    --shadow-lg: 0 24px 60px -20px rgba(60, 36, 29, .22);
  }
.esc-lp, .esc-lp *, .esc-lp *::before, .esc-lp *::after { box-sizing: border-box; margin: 0; padding: 0; }

  /* ---------- DECORATIVE BACKGROUND ---------- */
  .esc-lp__bg-decor {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }
  .esc-lp__bg-decor::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 57, 37, .08), transparent 70%);
    border-radius: 50%;
  }
  .esc-lp__bg-decor::after {
    content: '';
    position: absolute;
    bottom: -300px;
    left: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(60, 36, 29, .07), transparent 70%);
    border-radius: 50%;
  }

  /* ---------- TOP STRIP ---------- */
  .esc-lp__top-strip {
    background: var(--espresso);
    color: var(--cream);
    padding: 10px 16px;
    font-size: 13px;
    text-align: center;
    letter-spacing: .2px;
    position: relative;
    z-index: 10;
    font-weight: 500;
  }
  .esc-lp__top-strip strong { color: var(--sand); font-weight: 700; }

  /* ---------- MAIN LAYOUT ---------- */
  .esc-lp__page {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 32px 80px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: start;
  }

  /* ---------- LEFT: NARRATIVE ---------- */
  .esc-lp__narrative { padding-top: 20px; }

  .esc-lp__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--terracotta);
    font-weight: 700;
    margin-bottom: 28px;
  }
  .esc-lp__eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--terracotta);
  }

  h1.esc-lp__headline {
    font-family: 'Avenir', sans-serif;
    font-weight: 900;
    font-size: clamp(40px, 5.5vw, 64px);
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: var(--wine);
    margin-bottom: 28px;
  }
  h1.esc-lp__headline em {
    font-style: normal;
    font-weight: 900;
    color: var(--terracotta);
  }

  .esc-lp__lede {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 480px;
    margin-bottom: 44px;
    font-weight: 400;
  }

  /* ---------- TRUST POINTS ---------- */
  .esc-lp__trust {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 44px;
    max-width: 480px;
  }
  .esc-lp__trust-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }
  .esc-lp__trust-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--terracotta);
    box-shadow: var(--shadow-sm);
  }
  .esc-lp__trust-icon svg { width: 22px; height: 22px; }
  .esc-lp__trust-text h3 {
    font-family: 'Avenir', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--wine);
    margin-bottom: 4px;
    letter-spacing: -.2px;
  }
  .esc-lp__trust-text p {
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.5;
  }

  /* ---------- DIRECT CONTACT SECTION (full-width, abaixo do form) ---------- */
  .esc-lp__direct-section {
    position: relative;
    z-index: 1;
    padding: 0 32px 80px;
  }
  .esc-lp__direct-inner {
    max-width: 1280px;
    margin: 0 auto;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 48px 56px;
    box-shadow: var(--shadow-md);
  }
  .esc-lp__direct-header {
    text-align: center;
    margin-bottom: 36px;
  }
  .esc-lp__direct-title {
    font-family: 'Avenir', sans-serif;
    font-size: 26px;
    font-weight: 900;
    color: var(--wine);
    letter-spacing: -.5px;
    margin-bottom: 8px;
  }
  .esc-lp__direct-sub {
    font-size: 15px;
    color: var(--ink-soft);
    max-width: 520px;
    margin: 0 auto;
  }
  .esc-lp__direct-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .esc-lp__direct-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 24px;
    background: var(--cream-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    text-decoration: none;
    color: var(--ink);
    transition: all .25s cubic-bezier(.2, .8, .2, 1);
  }
  .esc-lp__direct-card:not(.direct-card--static):hover {
    background: var(--paper);
    border-color: var(--terracotta);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -12px rgba(168, 57, 37, .25);
  }
  .esc-lp__direct-card--static { cursor: default; }
  .esc-lp__direct-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--terracotta);
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    transition: all .25s;
  }
  .esc-lp__direct-card:not(.direct-card--static):hover .esc-lp__direct-card-icon {
    background: var(--terracotta);
    color: var(--paper);
    border-color: var(--terracotta);
  }
  .esc-lp__direct-card-icon svg { width: 22px; height: 22px; }
  .esc-lp__direct-card-label {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 700;
    margin-bottom: 6px;
  }
  .esc-lp__direct-card-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--wine);
    letter-spacing: -.2px;
  }

  /* ---------- RIGHT: FORM CARD ---------- */
  .esc-lp__form-wrap {
    position: sticky;
    top: 40px;
  }

  .esc-lp__form-card {
    background: var(--cream-soft);
    border-radius: 18px;
    padding: 48px 44px 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid var(--line);
  }

  /* listra superior decorativa — usa toda a paleta */
  .esc-lp__form-card::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 4px;
    background: linear-gradient(90deg,
      var(--sand) 0%,
      var(--orange) 30%,
      var(--terracotta) 55%,
      var(--wine) 80%,
      var(--espresso) 100%);
    border-radius: 18px 18px 0 0;
  }

  .esc-lp__form-header {
    text-align: center;
    margin-bottom: 32px;
  }
  .esc-lp__form-header h2 {
    font-family: 'Avenir', sans-serif;
    font-size: 26px;
    font-weight: 900;
    color: var(--wine);
    margin-bottom: 10px;
    letter-spacing: -.5px;
  }
  .esc-lp__form-header p {
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.5;
  }

  .esc-lp__form-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .esc-lp__field { position: relative; }
  .esc-lp__field label.esc-lp__sr {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .esc-lp__field input {
    width: 100%;
    padding: 16px 18px;
    background: var(--paper);
    border: 1px solid var(--field-line);
    border-radius: 10px;
    font-family: 'Avenir', inherit;
    font-size: 15px;
    font-weight: 400;
    color: var(--ink);
    transition: all .2s;
  }
  .esc-lp__field input::placeholder { color: #a8917e; }
  .esc-lp__field input:hover { border-color: var(--orange); }
  .esc-lp__field input:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(168, 57, 37, .12);
    background: var(--paper);
  }
  .esc-lp__field input.esc-lp__error {
    border-color: var(--terracotta);
    background: #fdf4f1;
  }
  .esc-lp__field-error {
    display: none;
    font-size: 12.5px;
    color: var(--terracotta);
    margin-top: 6px;
    padding-left: 4px;
    font-weight: 500;
  }
  .esc-lp__field.esc-lp__show-error .esc-lp__field-error { display: block; }

  .esc-lp__checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 8px;
  }
  .esc-lp__check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.5;
    cursor: pointer;
  }
  .esc-lp__check input {
    appearance: none;
    flex-shrink: 0;
    width: 18px; height: 18px;
    border: 1.5px solid var(--orange);
    border-radius: 4px;
    background: var(--paper);
    cursor: pointer;
    margin-top: 1px;
    position: relative;
    transition: all .2s;
  }
  .esc-lp__check input:checked {
    background: var(--terracotta);
    border-color: var(--terracotta);
  }
  .esc-lp__check input:checked::after {
    content: '';
    position: absolute;
    left: 5px; top: 1px;
    width: 5px; height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  .esc-lp__check a {
    color: var(--wine);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
  }
  .esc-lp__check a:hover { color: var(--terracotta); }
  .esc-lp__info-icon {
    display: inline-flex;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--espresso);
    color: var(--cream);
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    cursor: help;
    vertical-align: middle;
    margin-left: 4px;
  }

  .esc-lp__submit-btn {
    width: 100%;
    margin-top: 16px;
    padding: 18px 24px;
    background: var(--terracotta);
    color: var(--paper);
    border: none;
    border-radius: 10px;
    font-family: 'Avenir', inherit;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all .25s cubic-bezier(.2, .8, .2, 1);
    box-shadow: 0 6px 16px -4px rgba(168, 57, 37, .4);
  }
  .esc-lp__submit-btn:hover {
    background: var(--wine);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px -4px rgba(95, 28, 19, .5);
  }
  .esc-lp__submit-btn:active { transform: translateY(0); }
  .esc-lp__submit-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
  }
  .esc-lp__submit-btn svg { width: 20px; height: 20px; }

  .esc-lp__legal {
    text-align: center;
    font-size: 12px;
    color: var(--ink-soft);
    margin-top: 18px;
    line-height: 1.5;
  }

  .esc-lp__success {
    display: none;
    text-align: center;
    padding: 20px 0;
  }
  .esc-lp__success.esc-lp__is-active { display: block; animation: fadeUp .5s ease-out; }
  .esc-lp__success-icon {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--terracotta), var(--wine));
    display: grid;
    place-items: center;
    color: var(--paper);
  }
  .esc-lp__success-icon svg { width: 32px; height: 32px; }
  .esc-lp__success h3 {
    font-family: 'Avenir', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--wine);
    margin-bottom: 10px;
  }
  .esc-lp__success p { color: var(--ink-soft); font-size: 15px; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ---------- FOOTER NOTE ---------- */
  .esc-lp__footer-note {
    position: relative;
    z-index: 1;
    background: var(--espresso);
    color: var(--cream);
    padding: 36px 32px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
  }
  .esc-lp__footer-note strong { color: var(--sand); font-weight: 700; }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 960px) {
    .esc-lp__page {
      grid-template-columns: 1fr;
      gap: 48px;
      padding: 40px 24px 60px;
    }
    .esc-lp__form-wrap { position: static; }
    h1.esc-lp__headline { font-size: clamp(34px, 9vw, 50px); }
    .esc-lp__form-card { padding: 36px 28px 32px; }
    .esc-lp__direct-section { padding: 0 24px 60px; }
    .esc-lp__direct-inner { padding: 36px 28px; }
    .esc-lp__direct-grid { grid-template-columns: 1fr; gap: 14px; }
    .esc-lp__direct-card { flex-direction: row; text-align: left; padding: 20px 22px; gap: 16px; }
    .esc-lp__direct-card-icon { margin-bottom: 0; flex-shrink: 0; }
  }
  @media (max-width: 480px) {
    .esc-lp__form-card { padding: 28px 20px 24px; }
    .esc-lp__form-header h2 { font-size: 22px; }
    .esc-lp__top-strip { font-size: 12px; padding: 8px 16px; }
    .esc-lp__direct-title { font-size: 22px; }
  }
  /* ============================================================
     INTEGRAÇÃO COM WPFORMS
     Faz o form do WPForms herdar a aparência da landing
     (mesmas cores, fonte, espaçamentos) sem mexer no plugin.
     ============================================================ */
  .esc-lp .wpforms-container {
    margin: 0 !important;
    padding: 0 !important;
  }
  .esc-lp .wpforms-form,
  .esc-lp .wpforms-form * {
    font-family: 'Avenir', -apple-system, sans-serif !important;
  }
  /* Labels — herdam a tipografia da landing */
  .esc-lp .wpforms-field-label {
    color: var(--wine) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    margin-bottom: 6px !important;
  }
  /* Inputs — herdam o estilo dos campos da landing */
  .esc-lp .wpforms-field input[type="text"],
  .esc-lp .wpforms-field input[type="email"],
  .esc-lp .wpforms-field input[type="tel"],
  .esc-lp .wpforms-field input[type="number"],
  .esc-lp .wpforms-field input[type="url"],
  .esc-lp .wpforms-field select,
  .esc-lp .wpforms-field textarea {
    width: 100% !important;
    padding: 16px 18px !important;
    height: auto !important;
    background: var(--paper) !important;
    border: 1px solid var(--field-line) !important;
    border-radius: 10px !important;
    font-family: 'Avenir', inherit !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: var(--ink) !important;
    transition: all .2s !important;
    box-shadow: none !important;
  }
  .esc-lp .wpforms-field input::placeholder,
  .esc-lp .wpforms-field textarea::placeholder {
    color: #a8917e !important;
    opacity: 1 !important;
  }
  .esc-lp .wpforms-field input:hover,
  .esc-lp .wpforms-field select:hover,
  .esc-lp .wpforms-field textarea:hover {
    border-color: var(--orange) !important;
  }
  .esc-lp .wpforms-field input:focus,
  .esc-lp .wpforms-field select:focus,
  .esc-lp .wpforms-field textarea:focus {
    outline: none !important;
    border-color: var(--terracotta) !important;
    box-shadow: 0 0 0 3px rgba(168, 57, 37, .12) !important;
    background: var(--paper) !important;
  }
  /* Checkboxes (GDPR/termos) */
  .esc-lp .wpforms-field-checkbox ul,
  .esc-lp .wpforms-field-gdpr-checkbox ul {
    padding: 0 !important;
    list-style: none !important;
    margin: 0 !important;
  }
  .esc-lp .wpforms-field-checkbox ul li label,
  .esc-lp .wpforms-field-gdpr-checkbox ul li label {
    font-size: 13.5px !important;
    color: var(--ink-soft) !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
  }
  .esc-lp .wpforms-field-checkbox input[type="checkbox"],
  .esc-lp .wpforms-field-gdpr-checkbox input[type="checkbox"] {
    accent-color: var(--terracotta) !important;
  }
  .esc-lp .wpforms-field-checkbox a,
  .esc-lp .wpforms-field-gdpr-checkbox a {
    color: var(--wine) !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
  }
  .esc-lp .wpforms-field-checkbox a:hover,
  .esc-lp .wpforms-field-gdpr-checkbox a:hover {
    color: var(--terracotta) !important;
  }
  /* Botão de submit — herda o CTA da landing */
  .esc-lp .wpforms-submit-container {
    margin-top: 16px !important;
  }
  .esc-lp button.wpforms-submit,
  .esc-lp input.wpforms-submit,
  .esc-lp .wpforms-submit {
    width: 100% !important;
    padding: 18px 24px !important;
    height: auto !important;
    background: var(--terracotta) !important;
    color: var(--paper) !important;
    border: none !important;
    border-radius: 10px !important;
    font-family: 'Avenir', inherit !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: .3px !important;
    cursor: pointer !important;
    transition: all .25s cubic-bezier(.2, .8, .2, 1) !important;
    box-shadow: 0 6px 16px -4px rgba(168, 57, 37, .4) !important;
  }
  .esc-lp button.wpforms-submit:hover,
  .esc-lp input.wpforms-submit:hover,
  .esc-lp .wpforms-submit:hover {
    background: var(--wine) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 10px 22px -4px rgba(95, 28, 19, .5) !important;
  }
  /* Mensagem de sucesso após envio */
  .esc-lp .wpforms-confirmation-container,
  .esc-lp .wpforms-confirmation-container-full {
    background: var(--cream-soft) !important;
    border: 1px solid var(--orange) !important;
    border-radius: 12px !important;
    padding: 24px !important;
    color: var(--wine) !important;
    font-size: 15px !important;
    margin: 0 !important;
  }
  /* Mensagens de erro */
  .esc-lp .wpforms-error,
  .esc-lp label.wpforms-error {
    color: var(--terracotta) !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    margin-top: 6px !important;
  }
  .esc-lp .wpforms-field input.wpforms-error,
  .esc-lp .wpforms-field select.wpforms-error,
  .esc-lp .wpforms-field textarea.wpforms-error {
    border-color: var(--terracotta) !important;
    background: #fdf4f1 !important;
  }

  /* ============================================================
     HEADER (logo + nav)
     Barra superior limpa entre o top-strip e o main da landing.
     ============================================================ */
  .esc-lp__header {
    position: relative;
    z-index: 5;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
  }
  .esc-lp__header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .esc-lp__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity .2s;
  }
  .esc-lp__logo:hover { opacity: .75; }
  .esc-lp__logo img {
    height: 36px;
    width: auto;
    display: block;
  }
  .esc-lp__nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }
  .esc-lp__nav-link {
    font-family: 'Avenir', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--wine);
    text-decoration: none;
    letter-spacing: .2px;
    padding: 6px 2px;
    border-bottom: 1px solid transparent;
    transition: color .2s, border-color .2s;
  }
  .esc-lp__nav-link:hover {
    color: var(--terracotta);
    border-bottom-color: var(--terracotta);
  }

  @media (max-width: 640px) {
    .esc-lp__header-inner { padding: 14px 20px; gap: 12px; }
    .esc-lp__logo img { height: 28px; }
    .esc-lp__nav { gap: 16px; }
    .esc-lp__nav-link { font-size: 13px; }
  }
  @media (max-width: 420px) {
    /* Em telas muito estreitas, mostra só "FAQ" e "Site" */
    .esc-lp__nav { gap: 14px; }
    .esc-lp__nav-link { font-size: 12.5px; }
  }

  /* ============================================================
     BOTÃO "FALAR NO WHATSAPP" (integração com JS do tema)
     O JS principal do tema detecta .js-whatsapp-link automaticamente
     e gerencia validação + envio do form + redirect WhatsApp.
     ============================================================ */
  .esc-lp__wa-submit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 18px 24px !important;
    margin-top: 16px !important;
    background: var(--terracotta) !important;
    color: var(--paper) !important;
    border: none !important;
    border-radius: 10px !important;
    font-family: 'Avenir', inherit !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: .3px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all .25s cubic-bezier(.2, .8, .2, 1) !important;
    box-shadow: 0 6px 16px -4px rgba(168, 57, 37, .4) !important;
  }
  .esc-lp__wa-submit:hover {
    background: var(--wine) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 10px 22px -4px rgba(95, 28, 19, .5) !important;
    color: var(--paper) !important;
  }
  .esc-lp__wa-submit .text-btn {
    color: var(--paper) !important;
    font-weight: 700 !important;
  }
  .esc-lp__wa-submit svg {
    width: 20px !important;
    height: 20px !important;
    fill: var(--paper) !important;
  }

/* ============================================================
   MOBILE FIXES V2 — Trabalha com estrutura HTML real:
   <a.esc-lp__direct-card>
     <div.esc-lp__direct-card-icon>SVG</div>
     <div.esc-lp__direct-card-label>WHATSAPP</div>
     <div.esc-lp__direct-card-value>(61) 99378-1017</div>
   </a>
   Em mobile precisamos: ICONE | (LABEL em cima / VALUE embaixo)
   Para isso usamos display:grid com 2 colunas e 2 linhas, icon ocupa as 2 linhas.
   ============================================================ */

/* Garante que NADA dentro da landing ultrapasse a largura da tela */
.esc-lp,
.esc-lp * {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Botão "Falar no WhatsApp" — icon controlado */
.esc-lp__wa-submit {
  width: 100% !important;
  max-width: 100% !important;
}
.esc-lp__wa-submit svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

/* ============================================================
   MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  
  .esc-lp__page {
    padding: 28px 16px 50px !important;
    gap: 36px !important;
  }
  
  .esc-lp__top-strip {
    font-size: 11px !important;
    padding: 8px 14px !important;
    line-height: 1.4 !important;
  }
  
  .esc-lp__header-inner {
    padding: 12px 16px !important;
    gap: 10px !important;
  }
  .esc-lp__logo img { height: 26px !important; }
  .esc-lp__nav { gap: 14px !important; }
  .esc-lp__nav-link {
    font-size: 12.5px !important;
    white-space: nowrap !important;
  }
  
  h1.esc-lp__headline {
    font-size: clamp(28px, 8vw, 38px) !important;
    line-height: 1.1 !important;
    letter-spacing: -.8px !important;
    margin-bottom: 18px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  .esc-lp__lede {
    font-size: 16px !important;
    line-height: 1.55 !important;
    margin-bottom: 28px !important;
  }
  
  .esc-lp__trust-item { gap: 12px !important; }
  .esc-lp__trust-icon { width: 38px !important; height: 38px !important; }
  .esc-lp__trust-icon svg { width: 18px !important; height: 18px !important; }
  .esc-lp__trust-title { font-size: 15px !important; }
  .esc-lp__trust-text { font-size: 14px !important; line-height: 1.5 !important; }
  
  .esc-lp__form-card {
    padding: 28px 18px 24px !important;
    border-radius: 14px !important;
  }
  .esc-lp__form-header h2 { font-size: 20px !important; }
  .esc-lp__form-header p { font-size: 14px !important; }
  
  .esc-lp .wpforms-field input[type="text"],
  .esc-lp .wpforms-field input[type="email"],
  .esc-lp .wpforms-field input[type="tel"],
  .esc-lp .wpforms-field input[type="number"],
  .esc-lp .wpforms-field select,
  .esc-lp .wpforms-field textarea {
    font-size: 16px !important;
    padding: 12px 14px !important;
  }
  .esc-lp .wpforms-field-label { font-size: 13px !important; }
  
  /* ===== Direct contact section ===== */
  .esc-lp__direct-section {
    padding: 0 16px 50px !important;
  }
  .esc-lp__direct-inner {
    padding: 28px 18px !important;
    border-radius: 14px !important;
  }
  .esc-lp__direct-title { font-size: 22px !important; line-height: 1.2 !important; }
  .esc-lp__direct-subtitle { font-size: 14px !important; line-height: 1.5 !important; }
  
  /* Cards em coluna única */
  .esc-lp__direct-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  
  /* CARD: grid 2 colunas (icon | conteúdo), 2 linhas (label / value)
     Sem wrapper "content" no HTML, então usamos grid no card. */
  .esc-lp__direct-card {
    display: grid !important;
    grid-template-columns: 44px 1fr !important;
    grid-template-rows: auto auto !important;
    grid-template-areas: 
      "icon label"
      "icon value" !important;
    column-gap: 14px !important;
    row-gap: 0 !important;
    align-items: center !important;
    text-align: left !important;
    padding: 12px 14px !important;
    overflow: hidden !important;
    min-width: 0 !important;
  }
  
  /* Ícone fixo na primeira coluna ocupando as 2 linhas */
  .esc-lp__direct-card-icon {
    grid-area: icon !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    flex: none !important;
    align-self: center !important;
  }
  .esc-lp__direct-card-icon svg {
    width: 20px !important;
    height: 20px !important;
  }
  
  .esc-lp__direct-card-label {
    grid-area: label !important;
    font-size: 10px !important;
    letter-spacing: 1px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  
  .esc-lp__direct-card-value {
    grid-area: value !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 0 !important;
  }
  
  /* Email: deixa quebrar/encolher para caber */
  .esc-lp__direct-card[href^="mailto:"] .esc-lp__direct-card-value {
    font-size: 13px !important;
    word-break: break-all !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }
  
  /* Remove highlight do card WhatsApp em mobile */
  .esc-lp__direct-card--highlight {
    border-color: var(--line) !important;
    box-shadow: none !important;
  }
}

/* ============================================================
   MOBILE STRICT (≤ 400px)
   ============================================================ */
@media (max-width: 400px) {
  .esc-lp__page { padding: 24px 12px 40px !important; }
  .esc-lp__direct-section { padding: 0 12px 40px !important; }
  .esc-lp__direct-inner { padding: 24px 14px !important; }
  
  .esc-lp__direct-card {
    grid-template-columns: 40px 1fr !important;
    column-gap: 12px !important;
    padding: 10px 12px !important;
  }
  .esc-lp__direct-card-icon {
    width: 40px !important;
    height: 40px !important;
  }
  
  h1.esc-lp__headline {
    font-size: clamp(24px, 7.5vw, 32px) !important;
  }
  
  .esc-lp__form-card {
    padding: 24px 14px 20px !important;
  }
}


  /* ============================================================
     ESCONDER ELEMENTOS DO FORM 25 IMEDIATAMENTE (estado inicial)
     - UTM field (#10): hidden field, mas plugin esconde via JS (delay).
       Forçamos esconder via CSS desde o início.
     - Botão "Enviar" original do WPForms: substituído pelo botão
       customizado "Falar no WhatsApp". O JS do tema esconde via JS,
       mas tem delay. Forçamos esconder via CSS desde o início.
     ============================================================ */
  
  /* UTM field (label "Número UTM E-mail") sempre escondido */
  .esc-lp #wpforms-25-field_10-container,
  .esc-lp .wpforms-field[data-field-id="10"] {
    position: absolute !important;
    overflow: hidden !important;
    height: 1px !important;
    width: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    z-index: -1000 !important;
    pointer-events: none !important;
  }
  
  /* Submit button original do WPForms — escondido APENAS no form 25 (Fale Conosco),
     porque foi substituído pelo .esc-lp__wa-submit. No form 789 (ESC System) o
     submit deve aparecer normalmente. */
  .esc-lp #wpforms-submit-25 {
    display: none !important;
  }


