/* Shared styles for the inheritance ads landing pages (pt-BR, pt-PT, en).
 No top nav, no outbound links except the language switch and the
 footer's required legal ones: every element either leads to the booking
 form or supports the decision to fill it in. */
body { background: var(--foam); }
.lp-topbar { background: var(--deep); padding: 10px 0; }
.lp-topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lp-topbar-brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.lp-topbar-brand img { width: 26px; height: 26px; border-radius: 50%; display: block; }
.lp-topbar-brand span { font-family: var(--serif); font-style: italic; font-size: 15px; }
.lp-topbar-call { display: flex; align-items: center; gap: 16px; }
.lp-phone { color: var(--cyan-bright); font-weight: 600; font-size: 13.5px; }
.lp-lang { display: flex; border: 1px solid rgba(205,238,255,0.3); border-radius: 999px; overflow: hidden; }
.lp-lang a { color: #cddce6; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 7px 10px; text-decoration: none; line-height: 1; }
.lp-lang a + a { border-left: 1px solid rgba(205,238,255,0.3); }
.lp-lang a[aria-current="page"] { background: var(--cyan-bright); color: #04222c; }
.lp-lang a:not([aria-current]):hover { background: rgba(205,238,255,0.12); color: #fff; }

.lp-hero { background: radial-gradient(130% 110% at 12% 0%, #1c5a76 0%, var(--deep) 65%); padding: 44px 0 56px; }
.lp-hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; column-gap: 44px; row-gap: 0; align-items: start;
  grid-template-areas: "head form" "body form";
}
.lp-hero-head { grid-area: head; }
.lp-hero-body { grid-area: body; }
.lp-form-card { grid-area: form; }
.lp-eyebrow { color: var(--cyan-bright); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12.5px; margin-bottom: 14px; }
.lp-hero h1 { color: #fff; font-style: italic; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.15; margin-bottom: 14px; }
.lp-hero .sub { color: #e4eef4; font-size: 17px; line-height: 1.55; margin-bottom: 22px; max-width: 540px; }
.lp-trust { display: flex; flex-direction: column; gap: 9px; margin: 0 0 24px; padding: 0; list-style: none; }
.lp-trust li { display: flex; align-items: center; gap: 9px; color: #cddce6; font-size: 14px; }
.lp-trust li::before { content: "\2713"; width: 20px; height: 20px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: rgba(139,212,250,0.18); color: var(--cyan-bright); border-radius: 50%; font-weight: 700; font-size: 11px; }

/* Multi-step form */
.lp-form-card { background: var(--white); border-radius: 18px; padding: 26px 24px 22px; box-shadow: var(--shadow-deep); }
.lp-progress { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--ink-soft); margin: 0 0 16px; }
.lp-stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.lp-stepper-seg .bar { display: block; height: 6px; border-radius: 999px; background: #e3ebf1; transition: background .3s ease; }
.lp-stepper-seg .lbl { display: block; margin-top: 6px; font-size: 11px; font-weight: 600; color: #566a74; letter-spacing: .02em; }
.lp-stepper-seg.is-done .bar { background: var(--cyan-ink); }
.lp-stepper-seg.is-done .lbl { color: var(--cyan-ink); }
.lp-stepper-seg.is-done .lbl::before { content: "\2713  "; }
.lp-stepper-seg.is-current .bar { background: linear-gradient(90deg, var(--deep) 50%, #e3ebf1 50%); }
.lp-stepper-seg.is-current .lbl { color: var(--deep); }
.lp-fit-note { font-size: 13px; line-height: 1.5; color: #6b4d00; background: #fdf3dc; border: 1px solid #f1dfae; border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; }
.lp-step { display: none; }
.lp-step.is-active { display: block; }
.lp-step h2 { font-size: 19px; font-style: italic; margin-bottom: 4px; }
.lp-step .hint { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 16px; }
.lp-options { display: flex; flex-direction: column; gap: 9px; }
.lp-option {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  background: #f7fbfd; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px;
  font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--deep); text-align: left; cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
}
.lp-option::after { content: "\2192"; color: var(--cyan); font-weight: 700; }
.lp-option:hover, .lp-option:focus-visible { border-color: var(--cyan); background: #eef7fb; outline: none; }
.lp-option:active { transform: scale(.99); }
.lp-back { background: none; border: none; color: var(--ink-soft); font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; margin-top: 14px; }
.lp-back:hover { color: var(--deep); }
.lp-form-card .field { margin-bottom: 12px; }
.lp-form-card label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.lp-form-card label .opt, .lp-form-card .field-label .opt { font-weight: 500; color: var(--ink-soft); }
.lp-form-card .field-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.lp-chips { display: flex; gap: 8px; }
.lp-chip { flex: 1; background: #f7fbfd; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 6px; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--deep); cursor: pointer; }
.lp-chip.is-selected { background: var(--deep); border-color: var(--deep); color: #fff; }
.lp-form-card input, .lp-form-card textarea {
  width: 100%; font-family: var(--sans); font-size: 16px; padding: 12px 13px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fbfeff; color: var(--ink);
}
.lp-form-card input:focus, .lp-form-card textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }
.lp-form-note { font-size: 12px; color: var(--ink-soft); margin-top: 10px; text-align: center; }
.lp-form-note a { color: inherit; text-decoration: underline; }
.lp-form-msg { font-size: 13.5px; margin-top: 10px; min-height: 18px; text-align: center; }
.lp-success { display: none; text-align: center; padding: 6px 0; }
.lp-success.is-active { display: block; }
.lp-success .check { width: 52px; height: 52px; border-radius: 50%; background: #dff0ee; color: #0d8f7f; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; margin: 0 auto 12px; }
.lp-success h2 { font-size: 21px; font-style: italic; margin-bottom: 8px; }
.lp-success p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 18px; }
.lp-success .btn-wa { margin-bottom: 18px; display: inline-flex; align-items: center; gap: 9px; background: #25d366; color: #fff; font-weight: 700; padding: 13px 22px; border-radius: 999px; font-size: 14.5px; }
.lp-success .btn-wa svg { width: 20px; height: 20px; fill: #fff; }
.lp-code { display: flex; flex-direction: column; align-items: center; gap: 6px; background: #f3f8fb; border: 1.5px dashed var(--cyan); border-radius: 14px; padding: 14px 12px; margin: 0 0 18px; }
.lp-code-label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.lp-code-value { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 26px; font-weight: 700; letter-spacing: .08em; color: var(--deep); }
.lp-code-copy { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: 12.5px; font-weight: 600; color: var(--deep); cursor: pointer; }
.lp-code-hint { font-size: 12px; color: var(--ink-soft); }
.lp-intake-cta { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); text-align: left; }
.lp-intake-cta p { font-size: 14px; color: var(--ink); margin-bottom: 12px; }
.lp-intake { display: none; text-align: left; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.lp-intake.is-active { display: block; }
.lp-intake-head { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--deep); margin-bottom: 2px; }
.lp-intake-head span { font-family: ui-monospace, Menlo, Consolas, monospace; font-style: normal; font-size: 14px; }
.lp-intake-sub { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.lp-intake select { width: 100%; font-family: var(--sans); font-size: 15px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfeff; color: var(--ink); }
.lp-intake fieldset { border: 0; padding: 0; min-width: 0; }
.lp-intake legend { font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; padding: 0; }
.lp-intake .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.lp-checks label { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--ink); margin: 0; }
.lp-checks input { width: auto; }
.lp-intake-done { display: none; margin-top: 22px; padding: 14px 16px; background: #dff0ee; border-radius: 12px; text-align: left; font-size: 14px; color: #0b5e54; }
.lp-intake-done.is-active { display: block; }
@media (max-width: 420px) { .lp-intake .field-row, .lp-checks { grid-template-columns: 1fr; } }

.lp-section { padding: 56px 0; }
.lp-section.alt { background: #dce7f0; }
.lp-section-title { font-size: clamp(22px, 3vw, 30px); font-style: italic; text-align: center; margin-bottom: 10px; }
.lp-section-sub { color: var(--ink-soft); text-align: center; max-width: 580px; margin: 0 auto 36px; }

.lp-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: next; }
.lp-next-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.lp-next-item .when { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-ink); margin-bottom: 6px; }
.lp-next-item h3 { font-size: 16.5px; margin-bottom: 6px; }
.lp-next-item p { font-size: 14px; color: var(--ink-soft); margin: 0; }


.lp-why { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; }
.lp-why img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-deep); aspect-ratio: 1/1; object-fit: cover; }
.lp-why-creds { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.lp-why-creds li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink); align-items: flex-start; }
.lp-why-creds li strong { color: var(--deep); }
.lp-why-creds li::before { content: "\2713"; color: var(--cyan-ink); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

.lp-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-testimonial-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.lp-testimonial-card p { font-size: 14.5px; color: var(--ink); font-style: italic; line-height: 1.6; margin-bottom: 14px; }
.lp-testimonial-who { display: flex; align-items: center; gap: 10px; }
.lp-testimonial-who .initial { width: 36px; height: 36px; border-radius: 50%; background: var(--deep); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.lp-testimonial-who .name { font-weight: 700; font-size: 13.5px; color: var(--deep); }
.lp-testimonial-who .case { font-size: 12px; color: var(--ink-soft); }

.lp-cta-band { background: var(--deep); padding: 52px 0; text-align: center; }
.lp-cta-band .lp-eyebrow { display: block; }
.lp-cta-band h2 { color: #fff; font-style: italic; font-size: clamp(22px, 3.2vw, 30px); margin-bottom: 12px; }
.lp-cta-band p { color: #cddce6; max-width: 480px; margin: 0 auto 26px; }
.lp-cta-band .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.lp-footer { padding: 26px 0 36px; border-top: 1px solid var(--line); }
.lp-footer p { font-size: 12px; color: var(--ink-soft); text-align: center; max-width: 640px; margin: 0 auto 6px; }
.lp-footer .lp-footer-links { text-align: center; }
.lp-footer .lp-footer-links a { color: var(--ink-soft); font-size: 12px; }

/* Contrast (WCAG AA): the sitewide slate button with dark text is ~3.9:1.
   On light surfaces the CTA is navy/white; on dark bands it's light/dark. */
.lp-form-card .btn-primary, .lp-sticky-cta .btn-primary { background: var(--deep); color: #fff; box-shadow: 0 14px 28px -12px rgba(23,50,74,0.55); }
.lp-form-card .btn-primary:hover, .lp-sticky-cta .btn-primary:hover { background: #10263a; }
.lp-cta-band .btn-primary { background: var(--cyan-bright); color: #04222c; }
.lp-section.alt .lp-section-sub, .lp-section.alt .lp-why p, .lp-section.alt .faq-item p, .lp-section.alt .step p { color: #3b5560 !important; }
.lp-footer p, .lp-footer .lp-footer-links a { color: #3b5560; }
.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lp-sticky-cta { display: none; }

@media (max-width: 860px) {
  .lp-hero { padding: 28px 0 40px; }
  .lp-hero-inner { grid-template-columns: 1fr; grid-template-areas: "head" "form" "body"; row-gap: 22px; }
  .lp-hero .sub { margin-bottom: 0; }
  .lp-next, .lp-testimonial-grid { grid-template-columns: 1fr; }
  .lp-why { grid-template-columns: 1fr; }
  .lp-why img { max-width: 160px; margin: 0 0 8px; }
}
@media (max-width: 640px) {
  .lp-phone { font-size: 12px; }
  .lp-phone-lbl { display: none; }
  .lp-sticky-cta {
    display: flex; gap: 10px; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
    padding: 10px 14px; background: var(--white); box-shadow: 0 -8px 24px rgba(3,21,33,0.18);
  }
  .lp-sticky-cta .btn { flex: 1; text-align: center; padding: 12px 10px; }
  body { padding-bottom: 68px; }
  html.show--consent .lp-sticky-cta, body.lp-form-in-view .lp-sticky-cta { display: none; }
}

.af-cookie-link-wrap { text-align: center; margin: 14px 0 0; font-size: 13px; }
.af-cookie-link { color: inherit; text-decoration: underline; }
#cc-main { --cc-font-family: inherit; }

.lp-cred { margin: 10px 0 0; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--cyan-bright); }

/* Anchor links: there is no fixed header on these pages, so keep the target close to the top. */
html { scroll-padding-top: 8px; }
.lp-form-card { position: relative; }
#consulta { position: absolute; top: -8px; left: 0; width: 1px; height: 1px; }
.lp-section[id] { scroll-margin-top: 8px; }

/* Progress stays in view while the form scrolls */
.lp-progress-sticky { position: sticky; top: 0; z-index: 5; background: var(--white); margin: -26px -24px 12px; padding: 16px 24px 6px; border-radius: 18px 18px 0 0; }
.lp-progress-sticky .lp-stepper { margin-bottom: 6px; }
.lp-progress-sticky .lp-progress { margin-bottom: 4px; }

/* Loading / redirecting overlay and button spinner */
.lp-busy { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(10,34,45,.72); padding: 24px; }
.lp-busy.is-on { display: flex; }
.lp-busy-box { background: #fff; border-radius: 16px; padding: 26px 24px; max-width: 320px; width: 100%; text-align: center; box-shadow: 0 24px 60px -20px rgba(0,0,0,.5); }
.lp-spinner { display: block; width: 38px; height: 38px; margin: 0 auto 14px; border-radius: 50%; border: 4px solid #e3ebf1; border-top-color: var(--deep); animation: lpspin .8s linear infinite; }
.lp-busy-text { font-weight: 700; color: var(--deep); margin: 0 0 4px; font-size: 16px; }
.lp-busy-sub { margin: 0; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.lp-busy-sub:empty { display: none; }
button.is-loading { position: relative; color: transparent !important; pointer-events: none; }
button.is-loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; animation: lpspin .8s linear infinite; }
@keyframes lpspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .lp-spinner, button.is-loading::after { animation-duration: 2.4s; } }

/* Credit: website by Anchors Advisory */
.lp-footer .lp-footer-credit { margin: 14px auto 0; font-size: 12px; }
.lp-footer-credit a { display: inline-flex; align-items: center; gap: 10px; color: #3b5560; text-decoration: none; opacity: .9; }
.lp-footer-credit a:hover, .lp-footer-credit a:focus-visible { opacity: 1; }
.lp-footer-credit img { display: block; height: 44px; width: auto; }
