/* International Law ads landing page (direito-internacional.html).
   Loaded after styles.css and lp-heranca.css: the form card, steps, options,
   success screen, loading overlay, footer and CTA band come from those.
   This file adds the language buttons, the two-column hero with the animated
   illustration, and the sections this page has that the other landing pages
   do not. */

/* ---------- top bar: language buttons ---------- */
.lp-phone a { color: inherit; text-decoration: none; }
.lp-phone a:hover, .lp-phone a:focus-visible { text-decoration: underline; }
.lp-lang .lang-btn { background: none; border: 0; color: #cddce6; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 8px 10px; line-height: 1; min-height: 32px; cursor: pointer; }
.lp-lang .lang-btn + .lang-btn { border-left: 1px solid rgba(205,238,255,0.3); }
.lp-lang .lang-btn.is-active { background: var(--cyan-bright); color: #04222c; }
.lp-lang .lang-btn:not(.is-active):hover { background: rgba(205,238,255,0.12); color: #fff; }
.lp-lang .lang-btn:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }

/* ---------- hero: copy and illustration on the left, the form on the right ---------- */
.lp-hero-inner.lpi-hero-inner {
  grid-template-columns: 1.08fr .92fr; grid-template-rows: auto auto auto 1fr; align-items: start;
  grid-template-areas: "head form" "sub form" "art form" "body form";
}
.lpi-sub { grid-area: sub; margin: 0 0 6px; }
.lpi-art { grid-area: art; margin: 0 0 8px; max-width: 430px; }
.lpi-hero .lp-form-card { grid-row: 1 / span 4; }
.lpi-hero .lp-hero-body { align-self: start; }
.lpi-hero .lp-hero-head h1 { font-size: clamp(26px, 3.3vw, 40px); }
.lpi-hero .lp-cred { margin: 0 0 14px; }
.lpi-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.lpi-art-cap { margin: 4px 0 0; font-family: var(--serif); font-style: italic; font-size: 15px; color: #cddce6; }
.lpi-noscript { margin: 0 0 12px; font-weight: 600; }

/* animated illustration: globe, route between Brazil and another country, four badges */
.lpi-link { fill: none; stroke: rgba(205,238,255,.32); stroke-width: 1.4; stroke-dasharray: 5 7; animation: lpiFlow 5s linear infinite; }
.lpi-l2 { animation-duration: 6.4s; animation-direction: reverse; } .lpi-l3 { animation-duration: 5.6s; } .lpi-l4 { animation-duration: 6s; animation-direction: reverse; }
.lpi-halo { fill: none; stroke: rgba(139,212,250,.28); stroke-width: 1; stroke-dasharray: 3 8; transform-origin: 260px 176px; animation: lpiSpin 40s linear infinite; }
.lpi-rim { fill: none; stroke: rgba(205,238,255,.55); stroke-width: 1.5; }
.lpi-parallels line { stroke: rgba(205,238,255,.22); stroke-width: 1; }
.lpi-mer { fill: none; stroke: rgba(205,238,255,.3); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: lpiMer 9s ease-in-out infinite; }
.lpi-m2 { animation-delay: -3s; } .lpi-m3 { animation-delay: -6s; }
.lpi-route { fill: none; stroke: #8bd4fa; stroke-width: 2; stroke-dasharray: 4 8; stroke-linecap: round; animation: lpiFlow 3s linear infinite; }
.lpi-dot { fill: #fff; offset-path: path('M62,214 C128,38 392,38 458,150'); offset-rotate: 0deg; animation: lpiTravel 4.8s ease-in-out infinite; filter: drop-shadow(0 0 6px #8bd4fa); }
@supports not (offset-path: path('M0,0')) { .lpi-dot { display: none; } }
.lpi-pin circle:first-child { fill: #0d3a52; stroke: #8bd4fa; stroke-width: 2; }
.lpi-pin text { fill: #cdeeff; font: 700 12px var(--sans, sans-serif); letter-spacing: .04em; }
.lpi-pin path { fill: none; stroke: #8bd4fa; stroke-width: 1.6; stroke-linecap: round; }
.lpi-pin-ring { fill: none; stroke: rgba(139,212,250,.7); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: lpiPulse 2.8s ease-out infinite; }
.lpi-disc { fill: rgba(7,38,58,.84); stroke: rgba(205,238,255,.45); stroke-width: 1.4; }
.lpi-st { fill: none; stroke: #cdeeff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lpi-thin { stroke-width: 1.4; }
.lpi-fill { fill: #cdeeff; }
.lpi-seal { fill: #8bd4fa; }
.lpi-badge { transform-box: fill-box; transform-origin: center; animation: lpiBob 5.5s ease-in-out infinite; }
.lpi-b2 { animation-delay: -1.4s; } .lpi-b3 { animation-delay: -2.8s; } .lpi-b4 { animation-delay: -4.1s; }
@keyframes lpiFlow { to { stroke-dashoffset: -48; } }
@keyframes lpiSpin { to { transform: rotate(360deg); } }
@keyframes lpiMer { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.08); } }
@keyframes lpiTravel { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes lpiPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes lpiBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) {
  .lpi-link, .lpi-halo, .lpi-mer, .lpi-route, .lpi-pin-ring, .lpi-badge { animation: none; }
  .lpi-dot { animation: none; offset-distance: 50%; }
}

/* ---------- step indicator: real step, real count; answered steps can be revisited ---------- */
.lpi-nav { position: relative; margin: 0 0 8px; }
.lpi-track { position: absolute; left: 12.5%; right: 12.5%; top: 13px; height: 3px; border-radius: 3px; background: #e3ebf1; }
.lpi-fill { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--cyan-ink); transition: width .35s ease; }
.lpi-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.lpi-stp { min-width: 0; }
.lpi-stp-btn { width: 100%; min-width: 0; min-height: 56px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0 2px 4px; background: none; border: 0; border-radius: 10px; font: inherit; color: #566a74; cursor: default; }
.lpi-stp-btn:not(:disabled) { cursor: pointer; }
.lpi-stp-btn:not(:disabled):hover .lpi-num { border-color: var(--deep); }
.lpi-stp-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }
.lpi-num { width: 28px; height: 28px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--white); border: 2px solid #cddae6; font-size: 13px; font-weight: 700; color: #566a74; transition: background .25s ease, border-color .25s ease, color .25s ease; }
.lpi-stp .lbl { display: block; max-width: 100%; text-align: center; line-height: 1.2; overflow-wrap: anywhere; font-size: 12px; font-weight: 600; }
.lpi-stp.is-done .lpi-num { background: var(--cyan-ink); border-color: var(--cyan-ink); color: #fff; }
.lpi-stp.is-done .lbl { color: var(--cyan-ink); }
.lpi-stp.is-current .lpi-num { background: var(--deep); border-color: var(--deep); color: #fff; }
.lpi-stp.is-current .lbl { color: var(--deep); }
.lpi-nav + .lp-progress { justify-content: flex-start; }

/* the step changes with a short fade and slide */
.lp-step.is-active { animation: lpiStepIn .26s ease both; }
@keyframes lpiStepIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.lp-option.is-picked { border-color: var(--cyan-ink); background: #eef7fb; }
.lp-option.is-picked::after { content: "\2713"; color: var(--cyan-ink); }
@media (prefers-reduced-motion: reduce) {
  .lp-step.is-active { animation: none; }
  .lpi-fill, .lpi-num { transition: none; }
}

/* ---------- phone: country picker left of the national number ---------- */
.lpi-phone { display: flex; gap: 8px; align-items: stretch; }
.lpi-phone input { flex: 1 1 auto; min-width: 0; min-height: 48px; }
.lpi-cc { position: relative; flex: 0 0 auto; }
.lpi-cc-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 48px; min-width: 44px; padding: 0 10px; background: #fbfeff; border: 1.5px solid var(--line); border-radius: 10px; font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--deep); cursor: pointer; }
.lpi-cc-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }
.lpi-cc-btn[aria-expanded="true"] { border-color: var(--cyan-ink); }
.lpi-chev { width: 7px; height: 7px; margin-left: 1px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lpi-flag { display: inline-flex; flex-shrink: 0; width: 24px; height: 16px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(23,50,74,.18); }
.lpi-flag svg { display: block; width: 24px; height: 16px; }
.lpi-cc-list { position: absolute; z-index: 12; left: 0; top: calc(100% + 6px); min-width: 230px; max-width: calc(100vw - 48px); margin: 0; padding: 4px; list-style: none; background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; box-shadow: 0 14px 30px -12px rgba(23,50,74,.35); }
.lpi-cc-list[hidden] { display: none; }
.lpi-cc-list:focus { outline: none; }
.lpi-cc-list:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.lpi-cc-list [role="option"] { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--deep); cursor: pointer; }
.lpi-cc-list [role="option"] .nm { flex: 1 1 auto; }
.lpi-cc-list [role="option"] .cd { color: var(--ink-soft); font-weight: 500; }
.lpi-cc-list [role="option"].is-active, .lpi-cc-list [role="option"]:hover { background: #eef7fb; }
.lpi-cc-list [role="option"][aria-selected="true"] { box-shadow: inset 3px 0 0 var(--cyan-ink); }

/* ---------- sections ---------- */
.lp-eyebrow.lpi-eyebrow-dark { display: block; text-align: center; color: var(--cyan-ink); margin-bottom: 8px; }

.lpi-for { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 12px; }
.lpi-for li { display: flex; align-items: flex-start; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.lpi-for li::before { content: "\2713"; flex-shrink: 0; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; border-radius: 50%; background: #dff0ee; color: #0b5e54; font-weight: 700; font-size: 13px; }

.lpi-stack, .lpi-method { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lpi-stack-item, .lpi-method-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.lpi-stack-item .step-num, .lpi-method-item .step-num { width: 38px; height: 38px; font-size: 17px; margin-bottom: 12px; }
.lpi-stack-item h3, .lpi-method-item h3 { font-size: 16.5px; margin: 0 0 6px; }
.lpi-stack-item p, .lpi-method-item p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.lp-section.alt .lpi-stack-item p, .lp-section.alt .lpi-method-item p { color: #3b5560 !important; }
.lpi-center { text-align: center; margin: 30px 0 0; }
.lpi-center .btn-primary { background: var(--deep); color: #fff; box-shadow: 0 14px 28px -12px rgba(23,50,74,0.55); }
.lpi-center .btn-primary:hover { background: #10263a; }
#como-funciona .lp-next-item .step-num { width: 38px; height: 38px; font-size: 17px; margin-bottom: 12px; }
@media (min-width: 861px) { #como-funciona .lp-next { grid-template-columns: repeat(4, 1fr); } }

.lpi-tools-intro { padding-bottom: 8px; }
.lpi-tools-intro .lp-section-sub { margin-bottom: 8px; }
#leadMagnet:empty { min-height: 360px; }

.lpi-related { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 28px; }
.lpi-related a { font-weight: 700; font-size: 14.5px; color: var(--cyan-ink); }

.faq-item[hidden] { display: none; }

/* Floating WhatsApp button (base style in styles.css): clear of the safe areas,
   above the mobile sticky bar, and hidden whenever it could cover the consent
   banner, the form or the success screen. */
.wa-float { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
.wa-float:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--deep); }
html.show--consent .wa-float, body.lp-form-in-view .wa-float, body:has(#lpSuccess.is-active) .wa-float { display: none; }

@media (max-width: 1000px) {
  .lpi-stack, .lpi-method { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- phone: the form comes first, the illustration and details below it ---------- */
@media (max-width: 860px) {
  .lp-hero-inner.lpi-hero-inner { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "head" "form" "sub" "art" "body"; row-gap: 18px; }
  .lpi-hero .lp-form-card { grid-row: auto; }
  .lpi-hero .lp-eyebrow { display: none; }
  .lpi-hero .lp-hero-head h1 { font-size: 23px; line-height: 1.22; margin-bottom: 8px; }
  .lpi-hero .lp-cred { margin: 0; font-size: 13px; }
  .lpi-sub { margin: 0; }
  .lpi-art { margin: 4px auto 0; }
}
@media (max-width: 640px) {
  .wa-float { right: max(14px, env(safe-area-inset-right)); bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
  .lpi-stack, .lpi-method { grid-template-columns: 1fr; }
  .lpi-for li { padding: 14px 15px; font-size: 15px; }
  .lp-topbar .wrap { gap: 8px 12px; }
}

/* the heading line sits right above the lawyer section */
#para-quem { padding-bottom: 6px; }
#para-quem + #sobre-a-sarah { padding-top: 22px; }
