/* ==========================================================================
   Componentes compartilhados pelas duas LPs
   ========================================================================== */

@layer ui {
  /* ------------------------------------------------------------------
     Botões · "button-in-button": o glifo vive dentro de um círculo
     ------------------------------------------------------------------ */
  .btn {
    --btn-bg: var(--accent);
    --btn-fg: var(--accent-ink);
    --btn-dot-bg: var(--accent-ink);
    --btn-dot-fg: var(--accent);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    min-block-size: 3.5rem;
    padding: 0.4rem 0.4rem 0.4rem 1.6rem;
    border-radius: var(--r-pill);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.012em;
    line-height: 1.15;
    text-align: start;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.38), 0 14px 30px -14px rgb(232 186 34 / 0.65);
    transition: transform 0.22s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.25s var(--ease-out);
  }
  .btn__dot {
    flex: none;
    display: grid;
    place-items: center;
    inline-size: 2.7rem;
    block-size: 2.7rem;
    border-radius: 50%;
    background: var(--btn-dot-bg);
    color: var(--btn-dot-fg);
    transition: transform 0.45s var(--ease-spring);
  }
  .btn__dot svg {
    inline-size: 1.4rem;
    block-size: 1.4rem;
    fill: currentColor;
  }
  /* brilho que atravessa o botão (só hover) */
  .btn::after {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: -60%;
    inline-size: 45%;
    z-index: -1;
    background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.5), transparent);
    transform: skewX(-18deg) translateX(0);
    opacity: 0;
  }
  .btn:active {
    transform: scale(0.97);
  }
  .btn--forest {
    --btn-bg: var(--forest-800);
    --btn-fg: #f4f7f1;
    --btn-dot-bg: var(--gold-500);
    --btn-dot-fg: var(--forest-900);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14), 0 16px 30px -14px rgb(12 34 18 / 0.7);
  }
  .btn--line {
    --btn-bg: transparent;
    --btn-fg: var(--text);
    --btn-dot-bg: var(--gold-500);
    --btn-dot-fg: var(--forest-900);
    box-shadow: inset 0 0 0 1.5px var(--line-strong);
  }
  .btn--sm {
    min-block-size: 2.75rem;
    padding: 0.28rem 0.28rem 0.28rem 1.15rem;
    gap: 0.6rem;
    font-size: 0.9rem;
  }
  .btn--sm .btn__dot {
    inline-size: 2.2rem;
    block-size: 2.2rem;
  }
  .btn--sm .btn__dot svg {
    inline-size: 1.2rem;
    block-size: 1.2rem;
  }
  .btn--block {
    inline-size: 100%;
    justify-content: space-between;
  }

  @media (hover: hover) and (pointer: fine) {
    .btn:hover {
      transform: translateY(-2px);
      box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.4), 0 20px 36px -14px rgb(232 186 34 / 0.75);
    }
    .btn--forest:hover {
      box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 22px 36px -14px rgb(12 34 18 / 0.8);
    }
    .btn:hover .btn__dot {
      transform: translate(2px, -1px) rotate(-10deg) scale(1.07);
    }
    .btn:hover::after {
      opacity: 1;
      transform: skewX(-18deg) translateX(520%);
      transition: transform 0.9s var(--ease-out), opacity 0.2s;
    }
    .btn--line:hover {
      --btn-bg: var(--surface-2);
    }
  }

  /* ------------------------------------------------------------------
     Header · ilha flutuante em vidro
     ------------------------------------------------------------------ */
  .nav {
    position: fixed;
    inset-block-start: 0.75rem;
    inset-inline: 0;
    z-index: var(--z-nav);
    display: flex;
    justify-content: center;
    padding-inline: 0.75rem;
    pointer-events: none;
  }
  .nav__pill {
    pointer-events: auto;
    position: relative;
    inline-size: min(100%, 68rem);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.45rem 0.45rem 0.45rem 1.15rem;
    border-radius: var(--r-pill);
    color: #f4f7f1;
    background: rgb(12 34 18 / 0.52);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    backdrop-filter: blur(18px) saturate(1.5);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.13), inset 0 1px 0 rgb(255 255 255 / 0.16), 0 18px 40px -22px rgb(7 23 12 / 0.7);
    transition: background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  }
  .nav.is-scrolled .nav__pill {
    background: rgb(12 34 18 / 0.93);
  }
  .nav__logo {
    flex: none;
    display: block;
  }
  .nav__logo img {
    block-size: 2.1rem;
    inline-size: auto;
  }
  .nav__cta {
    margin-inline-start: auto;
  }
  .nav__links {
    display: none;
    margin-inline: auto;
    gap: 0.25rem;
    padding: 0.25rem;
    border-radius: var(--r-pill);
    background: rgb(255 255 255 / 0.05);
  }
  .nav__link {
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--r-pill);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgb(244 247 241 / 0.78);
    transition: color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
  }
  .nav__link[aria-current="true"] {
    color: var(--forest-900);
    background: var(--gold-500);
  }
  @media (hover: hover) and (pointer: fine) {
    .nav__link:not([aria-current="true"]):hover {
      color: #fff;
      background: rgb(255 255 255 / 0.1);
    }
  }
  .nav__toggle {
    flex: none;
    display: grid;
    place-items: center;
    inline-size: 2.75rem;
    block-size: 2.75rem;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.1);
    color: #fff;
  }
  .nav__toggle i {
    grid-area: 1 / 1;
    inline-size: 1.15rem;
    block-size: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.45s var(--ease-drawer), opacity 0.2s;
  }
  .nav__toggle i:nth-child(1) {
    transform: translateY(-5px);
  }
  .nav__toggle i:nth-child(3) {
    transform: translateY(5px);
  }
  .nav__toggle[aria-expanded="true"] i:nth-child(1) {
    transform: rotate(45deg);
  }
  .nav__toggle[aria-expanded="true"] i:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle[aria-expanded="true"] i:nth-child(3) {
    transform: rotate(-45deg);
  }
  .nav__menu {
    position: absolute;
    inset-block-start: calc(100% + 0.5rem);
    inset-inline: 0;
    display: grid;
    gap: 0.25rem;
    padding: 0.75rem;
    border-radius: var(--r-lg);
    background: rgb(10 28 15 / 0.985);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), 0 30px 60px -24px rgb(7 23 12 / 0.8);
    transform-origin: top center;
    transition: opacity 0.3s var(--ease-out), translate 0.45s var(--ease-drawer), scale 0.45s var(--ease-drawer), display 0.45s allow-discrete;
  }
  .nav__menu[hidden] {
    display: none;
    opacity: 0;
    translate: 0 -0.5rem;
    scale: 0.97;
  }
  @starting-style {
    .nav__menu:not([hidden]) {
      opacity: 0;
      translate: 0 -0.5rem;
      scale: 0.97;
    }
  }
  .nav__menu a {
    padding: 0.9rem 1.1rem;
    border-radius: var(--r-md);
    font-weight: 600;
    color: #f4f7f1;
  }
  .nav__menu a[aria-current="true"] {
    background: rgb(232 186 34 / 0.16);
    color: var(--gold-300);
  }
  @media (min-width: 56rem) {
    .nav__links {
      display: flex;
    }
    .nav__toggle,
    .nav__menu {
      display: none;
    }
    .nav__links + .nav__cta {
      margin-inline-start: 0;
    }
  }
  @media (max-width: 30rem) {
    .nav__cta .btn__label {
      display: none;
    }
    .nav__cta {
      padding: 0.2rem;
      gap: 0;
    }
  }

  /* ------------------------------------------------------------------
     Cards · casca + núcleo (double-bezel)
     ------------------------------------------------------------------ */
  .card {
    --card-shell: rgb(13 32 19 / 0.045);
    --card-ring: rgb(13 32 19 / 0.09);
    --card-core: #fff;
    --card-core-edge: rgb(255 255 255 / 0.9);
    position: relative;
    padding: var(--bezel);
    border-radius: var(--r-lg);
    background: var(--card-shell);
    box-shadow: inset 0 0 0 1px var(--card-ring);
  }
  .card__core {
    position: relative;
    isolation: isolate;
    block-size: 100%;
    border-radius: calc(var(--r-lg) - var(--bezel));
    background: var(--card-core);
    box-shadow: inset 0 1px 0 var(--card-core-edge), var(--shadow-1);
  }
  [data-tone="dark"] .card,
  [data-tone="night"] .card {
    --card-shell: rgb(255 255 255 / 0.05);
    --card-ring: rgb(255 255 255 / 0.1);
    --card-core: linear-gradient(180deg, rgb(255 255 255 / 0.095), rgb(255 255 255 / 0.04));
    --card-core-edge: rgb(255 255 255 / 0.16);
  }
  [data-tone="dark"] .card__core,
  [data-tone="night"] .card__core {
    box-shadow: inset 0 1px 0 var(--card-core-edge), 0 24px 40px -28px rgb(0 0 0 / 0.6);
  }
  [data-tone="gold"] .card {
    --card-shell: rgb(255 255 255 / 0.3);
    --card-ring: rgb(12 34 18 / 0.14);
    --card-core: #fffdf3;
  }

  /* Holofote que segue o ponteiro (só quando há hover real) */
  .spot::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--glow) / 0.2), transparent 62%);
    transition: opacity 0.45s var(--ease-out);
  }
  @media (hover: hover) and (pointer: fine) {
    .spot:hover::before {
      opacity: 1;
    }
    .card--lift {
      transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
    }
    .card--lift:hover {
      transform: translateY(-5px);
      box-shadow: inset 0 0 0 1px var(--card-ring), 0 34px 50px -32px rgb(7 23 12 / 0.45);
    }
  }

  /* ------------------------------------------------------------------
     Selos de prova (Porto · Google)
     ------------------------------------------------------------------ */
  .seals {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .seal {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.4rem 1rem 0.4rem 0.45rem;
    border-radius: var(--r-pill);
    background: rgb(255 255 255 / 0.07);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14);
    font-size: var(--fs-sm);
    line-height: 1.25;
    color: rgb(244 247 241 / 0.88);
  }
  .seal strong {
    color: #fff;
  }
  .seal__logo {
    display: grid;
    place-items: center;
    block-size: 2.1rem;
    padding-inline: 0.7rem;
    border-radius: var(--r-pill);
    background: #fff;
  }
  .seal__logo img {
    block-size: 1.15rem;
    inline-size: auto;
  }
  .seal__stars {
    display: grid;
    place-items: center;
    block-size: 2.1rem;
    padding-inline: 0.65rem;
    border-radius: var(--r-pill);
    background: rgb(255 255 255 / 0.1);
  }
  .stars {
    position: relative;
    display: inline-flex;
    color: rgb(255 255 255 / 0.28);
  }
  .stars svg {
    inline-size: 1rem;
    block-size: 1rem;
    fill: currentColor;
  }
  .stars__fill {
    position: absolute;
    inset: 0;
    display: inline-flex;
    overflow: hidden;
    inline-size: var(--rate, 92%);
    color: #ffc928;
  }
  .stars__fill svg {
    flex: none;
  }

  /* ------------------------------------------------------------------
     Sheet de qualificação · <dialog>
     ------------------------------------------------------------------ */
  .sheet {
    --card-shell: rgb(255 255 255 / 0.4);
    margin: auto;
    padding: var(--bezel);
    inline-size: min(100% - 1.5rem, 31rem);
    max-block-size: calc(100dvh - 1.5rem);
    border: 0;
    border-radius: var(--r-lg);
    background: rgb(255 255 255 / 0.5);
    color: var(--ink-900);
    box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.6), inset 0 0 0 1px rgb(255 255 255 / 0.5);
    overflow: visible;
    opacity: 0;
    translate: 0 1.5rem;
    scale: 0.97;
    transition: opacity 0.3s var(--ease-out), translate 0.5s var(--ease-drawer), scale 0.5s var(--ease-drawer), overlay 0.5s allow-discrete, display 0.5s allow-discrete;
  }
  .sheet[open] {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
  @starting-style {
    .sheet[open] {
      opacity: 0;
      translate: 0 1.5rem;
      scale: 0.97;
    }
  }
  .sheet[data-closing] {
    opacity: 0;
    translate: 0 1rem;
    scale: 0.98;
  }
  .sheet::backdrop {
    background: rgb(7 23 12 / 0.62);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: opacity 0.35s var(--ease-out), overlay 0.35s allow-discrete, display 0.35s allow-discrete;
    opacity: 0;
  }
  .sheet[open]::backdrop {
    opacity: 1;
  }
  @starting-style {
    .sheet[open]::backdrop {
      opacity: 0;
    }
  }
  .sheet[data-closing]::backdrop {
    opacity: 0;
  }
  .sheet__core {
    position: relative;
    display: grid;
    gap: 1.25rem;
    padding: clamp(1.4rem, 1rem + 2vw, 2rem);
    border-radius: calc(var(--r-lg) - var(--bezel));
    background: #fff;
    box-shadow: inset 0 1px 0 #fff;
  }
  .sheet__close {
    position: absolute;
    inset-block-start: 0.9rem;
    inset-inline-end: 0.9rem;
    display: grid;
    place-items: center;
    inline-size: 2.5rem;
    block-size: 2.5rem;
    border-radius: 50%;
    background: var(--mist-100);
    color: var(--ink-900);
    transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  }
  .sheet__close:active {
    transform: scale(0.94);
  }
  .sheet__close svg {
    inline-size: 1.15rem;
    block-size: 1.15rem;
    fill: currentColor;
  }
  .sheet__goal {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    inline-size: fit-content;
    padding: 0.35rem 0.9rem 0.35rem 0.4rem;
    border-radius: var(--r-pill);
    background: var(--gold-100);
    box-shadow: inset 0 0 0 1px rgb(232 186 34 / 0.45);
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--forest-900);
  }
  .sheet__goal .ico {
    --ico-size: 1.9rem;
    --ico: var(--forest-800);
    --ico-accent: var(--gold-600);
  }
  .sheet__title {
    font-size: var(--fs-2xl);
    max-inline-size: 16ch;
  }
  .sheet__chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .chip-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    inline-size: 100%;
    min-block-size: 3.4rem;
    padding: 0.6rem 0.9rem;
    border-radius: var(--r-md);
    background: var(--mist-100);
    box-shadow: inset 0 0 0 1.5px var(--mist-200);
    color: var(--ink-900);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    text-align: center;
    transition: background-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  }
  .chip-btn:active {
    transform: scale(0.97);
  }
  @media (hover: hover) and (pointer: fine) {
    .chip-btn:hover {
      background: var(--gold-100);
      box-shadow: inset 0 0 0 1.5px var(--gold-500);
    }
    .sheet__close:hover {
      background: var(--mist-200);
    }
  }
  .sheet__skip {
    justify-self: center;
    padding: 0.5rem 0.75rem;
    border-radius: var(--r-sm);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--ink-600);
    text-decoration: underline;
    text-underline-offset: 0.25em;
  }
  @media (hover: hover) {
    .sheet__skip:hover {
      color: var(--ink-900);
    }
  }
  @media (max-width: 40rem) {
    .sheet {
      margin-block-end: 0;
      margin-inline: auto;
      inline-size: 100%;
      max-inline-size: none;
      border-end-start-radius: 0;
      border-end-end-radius: 0;
      translate: 0 100%;
      scale: 1;
      padding-block-end: max(var(--bezel), env(safe-area-inset-bottom));
    }
    .sheet[open] {
      translate: 0 0;
    }
    @starting-style {
      .sheet[open] {
        translate: 0 100%;
        scale: 1;
      }
    }
    .sheet[data-closing] {
      translate: 0 100%;
      scale: 1;
    }
    .sheet__core {
      border-end-start-radius: 0;
      border-end-end-radius: 0;
    }
  }

  /* ------------------------------------------------------------------
     FAQ · <details name> exclusivo
     ------------------------------------------------------------------ */
  .faq {
    display: grid;
    gap: 0.75rem;
  }
  .faq details {
    --card-shell: var(--surface-2);
    border-radius: var(--r-lg);
    background: rgb(13 32 19 / 0.04);
    box-shadow: inset 0 0 0 1px var(--line);
    padding: var(--bezel);
    transition: background-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  }
  .faq details[open] {
    background: rgb(232 186 34 / 0.14);
    box-shadow: inset 0 0 0 1px rgb(232 186 34 / 0.55);
  }
  .faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-block-size: 3.75rem;
    padding: 0.9rem 1rem 0.9rem 1.4rem;
    border-radius: calc(var(--r-lg) - var(--bezel));
    background: var(--surface);
    font-size: var(--fs-lg);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
    list-style: none;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.8), var(--shadow-1);
  }
  .faq summary::-webkit-details-marker {
    display: none;
  }
  .faq__plus {
    flex: none;
    position: relative;
    inline-size: 2.5rem;
    block-size: 2.5rem;
    border-radius: 50%;
    background: var(--forest-800);
    color: var(--gold-400);
    transition: transform 0.5s var(--ease-spring), background-color 0.3s;
  }
  .faq__plus::before,
  .faq__plus::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    inline-size: 0.95rem;
    block-size: 2px;
    margin: -1px 0 0 -0.475rem;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.45s var(--ease-drawer);
  }
  .faq__plus::after {
    transform: rotate(90deg);
  }
  .faq details[open] .faq__plus {
    background: var(--gold-500);
    color: var(--forest-900);
    transform: rotate(180deg);
  }
  .faq details[open] .faq__plus::after {
    transform: rotate(0deg);
  }
  .faq__body {
    padding: 1.15rem 1.5rem 1.4rem 1.4rem;
    color: var(--text-2);
    font-size: var(--fs-lg);
    line-height: 1.65;
    max-inline-size: 62ch;
  }
  .faq details::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 0.45s var(--ease-drawer), content-visibility 0.45s allow-discrete;
  }
  .faq details[open]::details-content {
    block-size: auto;
  }
  @media (hover: hover) and (pointer: fine) {
    .faq summary:hover .faq__plus {
      transform: scale(1.08);
    }
    .faq details[open] summary:hover .faq__plus {
      transform: rotate(180deg) scale(1.08);
    }
  }

  /* ------------------------------------------------------------------
     Dock · CTA fixo no mobile
     ------------------------------------------------------------------ */
  .dock {
    position: fixed;
    inset-inline: 0;
    inset-block-end: 0;
    z-index: var(--z-dock);
    padding: 0.75rem 0.75rem max(0.75rem, env(safe-area-inset-bottom));
    pointer-events: none;
    translate: 0 130%;
    transition: translate 0.55s var(--ease-drawer);
  }
  .dock.is-on {
    translate: 0 0;
  }
  .dock .btn {
    pointer-events: auto;
  }
  @media (min-width: 48rem) {
    .dock {
      display: none;
    }
  }

  /* ------------------------------------------------------------------
     Consentimento (LGPD) · aceitar e recusar com o mesmo peso
     ------------------------------------------------------------------ */
  .consent {
    position: fixed;
    inset-inline: 0.75rem;
    inset-block-end: 0.75rem;
    z-index: var(--z-consent);
    inline-size: auto;
    max-inline-size: 34rem;
    padding: 1.1rem 1.2rem;
    border-radius: var(--r-lg);
    background: rgb(12 34 18 / 0.96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    color: #f4f7f1;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14), 0 30px 60px -24px rgb(0 0 0 / 0.7);
    display: grid;
    gap: 0.9rem;
    transition: opacity 0.35s var(--ease-out), translate 0.5s var(--ease-drawer), display 0.5s allow-discrete;
  }
  .consent[hidden] {
    display: none;
    opacity: 0;
    translate: 0 1.5rem;
  }
  @starting-style {
    .consent:not([hidden]) {
      opacity: 0;
      translate: 0 1.5rem;
    }
  }
  .consent p {
    font-size: var(--fs-sm);
    line-height: 1.55;
    color: rgb(244 247 241 / 0.86);
  }
  .consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  .consent__btn {
    min-block-size: 2.75rem;
    padding: 0.55rem 1rem;
    border-radius: var(--r-pill);
    background: rgb(255 255 255 / 0.1);
    box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.28);
    font-weight: 700;
    font-size: 0.92rem;
    color: #fff;
    transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  }
  .consent__btn:active {
    transform: scale(0.97);
  }
  @media (hover: hover) {
    .consent__btn:hover {
      background: rgb(255 255 255 / 0.2);
    }
  }
  @media (min-width: 48rem) {
    .consent {
      inset-inline: auto auto;
      inset-inline-start: 1.25rem;
      inset-block-end: 1.25rem;
      inline-size: 30rem;
    }
  }

  /* ------------------------------------------------------------------
     Rodapé
     ------------------------------------------------------------------ */
  .footer {
    padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) calc(2.5rem + env(safe-area-inset-bottom));
    background: var(--forest-950);
    color: rgb(244 247 241 / 0.72);
  }
  .footer__logo img {
    block-size: 2.6rem;
    inline-size: auto;
    margin-block-end: 1.5rem;
  }
  .footer__legal {
    max-inline-size: 64rem;
    font-size: var(--fs-xs);
    line-height: 1.7;
    color: rgb(244 247 241 / 0.62);
  }
  .footer__copy {
    margin-block-start: 1.5rem;
    padding-block-start: 1.25rem;
    border-block-start: 1px solid rgb(255 255 255 / 0.1);
    font-size: var(--fs-xs);
    color: rgb(244 247 241 / 0.7);
  }
  @media (max-width: 47.99rem) {
    .footer {
      padding-block-end: calc(6.5rem + env(safe-area-inset-bottom));
    }
  }

  /* ------------------------------------------------------------------
     Progresso de leitura (fino, decorativo)
     ------------------------------------------------------------------ */
  .progress {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    block-size: 3px;
    z-index: calc(var(--z-nav) + 1);
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    transform-origin: 0 50%;
    transform: scaleX(0);
    pointer-events: none;
  }
}
