/* WESTCA LP — CSS das landing pages de tráfego pago (não editar via admin) */

  :root {
    --bg: #0a0a0b;
    --bg-2: #111113;
    --surface: #161618;
    --surface-2: #1d1d20;
    --border: rgba(207, 158, 85, 0.18);
    --gold: #cf9e55;
    --gold-light: #e6c486;
    --gold-dim: #a87d3c;
    --text: #f4f2ee;
    --muted: #a3a29e;
    --muted-2: #77766f;
    --radius: 14px;
    --maxw: 1180px;
    --shadow: 0 20px 60px rgba(0,0,0,0.5);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; overflow-x: clip; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
  }

  h1, h2, h3, .display {
    font-family: 'Bebas Neue', 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 0.98;
    text-transform: uppercase;
  }

  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }

  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

  .gold { color: var(--gold); }

  /* A/B variant text swapping — default shows version A (with price) */
  .ab-b { display: none; }
  html.v-b .ab-a { display: none; }
  html.v-b .ab-b { display: revert; }

  .eyebrow {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    display: inline-block;
  }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.4px;
    padding: 15px 30px;
    border-radius: 999px;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-transform: uppercase;
    max-width: 100%;
  }
  .btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #1a1206;
    box-shadow: 0 8px 24px rgba(207,158,85,0.28);
  }
  .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(207,158,85,0.42); }
  .btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
  }
  .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
  .btn-lg { padding: 18px 40px; font-size: 16px; }

  /* ---------- Top bar ---------- */
  .topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,10,11,0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.25s ease, border-color 0.25s ease;
  }
  .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 22px;
    max-width: var(--maxw);
    margin: 0 auto;
    transition: padding 0.28s ease;
  }
  .topbar img { height: 44px; width: auto; display: block; transition: height 0.28s ease; }
  .topbar .btn { padding: 11px 22px; font-size: 13px; }
  /* Shrinks smoothly once the page is scrolled */
  .topbar.scrolled { background: rgba(10,10,11,0.92); }
  .topbar.scrolled .topbar-inner { padding: 12px 22px; }
  .topbar.scrolled img { height: 34px; }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 88px 0;
    overflow: hidden;
    background: #000;
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: url('/wp-content/themes/westca/assets/img/lp/fac-1.jpg') center/cover no-repeat;
  }
  /* Mobile hero photo slideshow (crossfade) — shown only where the video is hidden */
  .hero-slides { position: absolute; inset: 0; display: none; }
  .hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroCross 30s infinite;
  }
  .hero-slide:nth-child(1) { animation-delay: 0s; }
  .hero-slide:nth-child(2) { animation-delay: 5s; }
  .hero-slide:nth-child(3) { animation-delay: 10s; }
  .hero-slide:nth-child(4) { animation-delay: 15s; }
  .hero-slide:nth-child(5) { animation-delay: 20s; }
  .hero-slide:nth-child(6) { animation-delay: 25s; }
  @keyframes heroCross {
    0%     { opacity: 0; }
    4%     { opacity: 1; }
    16.66% { opacity: 1; }
    20.66% { opacity: 0; }
    100%   { opacity: 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-slide { animation: none; opacity: 0; }
    .hero-slide:nth-child(1) { opacity: 1; }
  }
  .hero-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw;      /* 16:9 — cover by width */
    min-height: 100%;
    min-width: 177.78vh;  /* 16:9 — cover by height */
    border: 0;
    pointer-events: none;
  }
  .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(10,10,11,0.74) 0%, rgba(10,10,11,0.90) 55%, var(--bg) 100%);
  }
  .hero .wrap { position: relative; z-index: 2; width: 100%; }
  .hero-content { max-width: 680px; }
  .hero h1 {
    font-size: clamp(48px, 7vw, 86px);
    margin: 16px 0 18px;
    letter-spacing: 1px;
  }
  .hero h1 .gold { display: block; }
  .hero p.lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 26px;
  }
  .hero p.lead strong { color: var(--text); font-weight: 600; }

  .trust-row {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 30px;
  }
  .stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }
  .trust-item { display: flex; flex-direction: column; }
  .trust-item b { font-size: 15px; font-weight: 700; }
  .trust-item span { font-size: 12.5px; color: var(--muted-2); }
  .trust-divider { width: 1px; height: 34px; background: var(--border); }

  /* ---------- Lead form modal ---------- */
  .modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(5,5,6,0.86);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .modal-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .modal-box {
    position: relative;
    width: min(540px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    background: #f7f6f2;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    padding: 30px 26px 24px;
    box-shadow: var(--shadow);
    transform: translateY(14px) scale(0.98);
    transition: transform 0.25s ease;
  }
  .modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
  .modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0,0,0,0.06);
    color: #1a1712;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
  }
  .modal-close:hover { background: rgba(0,0,0,0.14); }
  .modal-head h3 {
    font-size: 34px;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
    color: #17140e;
  }
  .modal-head .badge {
    display: inline-block;
    background: rgba(207,158,85,0.18);
    color: #8a6414;
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
  }
  .modal-head .sub { font-size: 14px; color: #5c584f; margin-bottom: 16px; }
  .modal-iframe {
    width: 100%;
    border: none;
    border-radius: 10px;
    min-height: 660px;
    background: transparent;
  }
  .form-reassure {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 12.5px; color: #6e6a60; margin-top: 12px;
  }

  /* ---------- Offer band ---------- */
  .offer-band {
    background: linear-gradient(135deg, rgba(207,158,85,0.10), rgba(207,158,85,0.04));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 30px 0;
  }
  .offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
  }
  .offer-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }
  .offer-step .num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 40px;
    color: var(--gold);
    line-height: 1;
    min-width: 34px;
  }
  .offer-step h4 { font-family: 'Inter'; font-size: 16px; font-weight: 700; margin-bottom: 3px; text-transform: none; }
  .offer-step p { font-size: 13.5px; color: var(--muted); }

  /* ---------- Sections ---------- */
  section.block { padding: 78px 0; }
  .section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
  .section-head h2 { font-size: clamp(40px, 5.5vw, 64px); margin: 12px 0 14px; }
  .section-head p { color: var(--muted); font-size: 17px; }

  /* ---------- Transformations ---------- */
  .transform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  .transform-card {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
  }
  .transform-card:hover { transform: translateY(-4px); border-color: var(--border); }
  .transform-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
  .transform-card .cap { padding: 16px 18px 20px; }
  .transform-card .cap .name { font-weight: 700; font-size: 15px; margin-bottom: 5px; }
  .transform-card .cap .name .tag { color: var(--gold); font-weight: 600; }
  .transform-card .cap p { font-size: 13.5px; color: var(--muted); }

  /* ---------- Testimonials ---------- */
  .testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .testi {
    background: linear-gradient(180deg, var(--surface), var(--bg-2));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
  }
  .testi .q { font-size: 15px; color: var(--text); margin-bottom: 16px; flex: 1; }
  .testi .stars { font-size: 14px; margin-bottom: 12px; }
  .testi .who { font-weight: 700; font-size: 14px; }
  .testi .role { font-size: 12.5px; color: var(--muted-2); }

  /* ---------- Why / Features ---------- */
  .why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .why-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .why-card img { width: 100%; height: 230px; object-fit: cover; }
  .why-card .body { padding: 26px 26px 30px; }
  .why-card h3 { font-size: 30px; letter-spacing: 0.6px; margin-bottom: 6px; }
  .why-card .body > p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
  .feat-list { list-style: none; display: grid; gap: 10px; }
  .feat-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
  .feat-list li::before {
    content: "✓";
    color: var(--gold);
    font-weight: 800;
    flex-shrink: 0;
  }

  /* ---------- Steps ---------- */
  .steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
  .step {
    text-align: center;
    padding: 34px 24px;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    position: relative;
  }
  .step .n {
    font-family: 'Bebas Neue';
    font-size: 54px;
    color: var(--gold);
    line-height: 1;
  }
  .step h4 { font-family: 'Inter'; font-size: 18px; font-weight: 700; margin: 8px 0 8px; text-transform: none; }
  .step p { font-size: 14px; color: var(--muted); }

  /* ---------- FAQ ---------- */
  .faq { max-width: 780px; margin: 0 auto; }
  .faq details {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    margin-bottom: 12px;
    background: var(--surface);
    overflow: hidden;
  }
  .faq summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 22px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; color: var(--gold); font-size: 24px; font-weight: 400; transition: transform 0.2s; }
  .faq details[open] summary::after { transform: rotate(45deg); }
  .faq .a { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }

  /* ---------- Final CTA ---------- */
  .final-cta {
    position: relative;
    padding: 90px 0;
    text-align: center;
    overflow: hidden;
  }
  .final-cta::before {
    content: "";
    position: absolute; inset: 0;
    background:
      linear-gradient(180deg, rgba(10,10,11,0.86), rgba(10,10,11,0.94)),
      url('/wp-content/themes/westca/assets/img/lp/fac-2.jpg') center/cover;
    z-index: 0;
  }
  .final-cta .wrap { position: relative; z-index: 1; }
  .final-cta h2 { font-size: clamp(44px, 6vw, 76px); margin-bottom: 16px; }
  .final-cta p { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto 30px; }
  .final-cta p .gold { font-weight: 600; }

  /* ---------- Footer ---------- */
  footer {
    background: var(--bg-2);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 44px 0 40px;
  }
  .footer-grid { display: flex; flex-wrap: wrap; gap: 34px; justify-content: space-between; align-items: flex-start; }
  footer img.flogo { height: 40px; margin-bottom: 14px; }
  .footer-col h5 { font-family: 'Inter'; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-weight: 700; }
  .footer-col p, .footer-col a { font-size: 14px; color: var(--muted); display: block; margin-bottom: 6px; }
  .footer-col a:hover { color: var(--gold); }
  .foot-bottom { text-align: center; margin-top: 36px; font-size: 12.5px; color: var(--muted-2); }

  /* ---------- Sticky mobile CTA ---------- */
  .mobile-cta {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 90;
    padding: 12px 16px;
    background: rgba(10,10,11,0.92);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
  }
  .mobile-cta .btn { width: 100%; }

  /* ---------- Responsive ---------- */
  @media (max-width: 900px) {
    .offer-grid { grid-template-columns: 1fr; gap: 18px; }
    .transform-grid, .testi-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 620px) {
    section.block { padding: 56px 0; }
    .hero { min-height: 82vh; padding: 40px 0 52px; }
    .transform-grid, .testi-grid, .steps-grid { grid-template-columns: 1fr; }
    /* Modal fills the screen on mobile */
    .modal-overlay { padding: 0; }
    .modal-box { width: 100%; max-height: 100%; height: 100%; border-radius: 0; border: none; padding: 24px 18px; }
    /* Header: logo only, centered — the CTA lives in the sticky footer bar */
    .topbar-inner { justify-content: center; padding: 20px 16px; }
    .topbar .btn { display: none; }
    .topbar img { height: 36px; }
    .topbar.scrolled .topbar-inner { padding: 11px 16px; }
    .topbar.scrolled img { height: 28px; }
    .trust-row { gap: 14px; }
    /* Mobile: no video (autoplay is unreliable) — show the crossfading photo slideshow instead */
    .hero-bg iframe { display: none; }
    .hero-slides { display: block; }
    /* The persistent footer CTA replaces every inline section button on mobile */
    .btn-lg { display: none; }
    .mobile-cta { display: block; padding: 10px 12px; overflow: hidden; }
    .mobile-cta .btn { font-size: 14px; padding: 16px 14px; letter-spacing: 0.2px; }
    body { padding-bottom: 72px; }
    .final-cta { padding: 56px 0; }
  }

/* ---- Página de form (try-form) ---- */
/* Form page */
  .form-page {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px 60px;
  }
  .form-panel { width: 100%; max-width: 540px; text-align: center; }
  .eyebrow {
    display: inline-block;
    background: rgba(207,158,85,0.14);
    color: var(--gold-light);
    font-size: 12.5px; font-weight: 700;
    padding: 5px 14px; border-radius: 999px;
    letter-spacing: 0.4px; margin-bottom: 18px;
  }
  .form-panel h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400; text-transform: uppercase;
    font-size: clamp(40px, 8vw, 58px);
    line-height: 0.98; letter-spacing: 1px;
    margin-bottom: 10px;
  }
  .form-panel h1 .gold { color: var(--gold); }
  .form-panel .sub { font-size: 15.5px; color: var(--muted); margin-bottom: 22px; max-width: 440px; margin-left: auto; margin-right: auto; }

  .form-card {
    background: #f7f6f2;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    padding: 22px 20px 18px;
    box-shadow: var(--shadow);
    text-align: left;
  }
  .form-frame {
    width: 100%; border: none; border-radius: 10px;
    min-height: 660px; background: transparent;
  }
  .reassure {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 12.5px; color: #6e6a60; margin-top: 12px;
  }
  .trust-note {
    margin-top: 22px; font-size: 13px; color: var(--muted);
    display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  }
  .trust-note b { color: var(--text); }

  .back-link { font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; letter-spacing: 0.3px; }
.back-link:hover { color: var(--gold); }
@media (max-width: 620px) { .form-page { padding: 26px 14px 48px; } }

/* WP: anula o padding do bottom-nav do tema (LP não tem bottom-nav) */
@media (max-width: 782px) { body { padding-bottom: 0; } }
@media (max-width: 620px) { body { padding-bottom: 72px; } }
