/* Versão F: estilos exclusivos do novo rodapé; a página copiada da E não muda. */
.ef-shell { padding: 32px 0; background: #fcf6ee; }
.ef-footer {
  --ivory: #fffdf9; --nude: #ddc4b3; --ease: cubic-bezier(.16, 1, .3, 1);
  width: min(1180px, calc(100% - 80px)); color: var(--ivory);
  font: 400 16px/1.6 'DM Sans', Arial, sans-serif;
  position: relative; overflow: hidden; isolation: isolate; background: #211812;
}
.ef-footer h2, .ef-footer h3, .ef-footer p { margin: 0; color: inherit; }
.ef-footer h2 { font-family: Newsreader, Georgia, serif; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.ef-footer h3 { letter-spacing: 0; }
.ef-footer a { color: inherit; text-decoration: none; }
.ef-footer button { color: inherit; font: inherit; border: 0; border-radius: 0; background: none; padding: 0; text-align: inherit; }
.ef-footer a:focus-visible, .ef-footer button:focus-visible { outline: 2px solid var(--nude); outline-offset: 6px; }
.ef-photograph { position: absolute; inset: 0; z-index: -2; }
.ef-photograph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ef-footer::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* O retrato acompanha o rodapé. Assinatura e navegação formam uma única composição. */
.ef-footer { margin: 0 auto; padding: 28px 44px 24px; }
.ef-footer .ef-photograph img { object-position: 50% 25%; filter: saturate(.6) sepia(.12); }
.ef-footer::after { background: rgb(24 20 17 / 48%); }
.ef-introduction { text-align: center; }
.ef-introduction h2 { font-size: clamp(34px, 3.4vw, 44px); line-height: 1.1; }
.ef-introduction p { margin-top: 12px; font-size: 14px; }
.ef-directory { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 32px; align-items: center; margin-top: 160px; }
.ef-column { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.ef-column h3 { font: 400 15px/1.4 'DM Sans', Arial, sans-serif; margin-bottom: 16px; }
.ef-column a, .ef-column button { display: inline-flex; min-height: 36px; align-items: center; color: #efe4dc; font-size: 14px; }
.ef-column a:hover, .ef-addresses a:hover, .ef-signature a:hover { color: #fff; }
.ef-column a:hover { text-decoration: underline; text-underline-offset: 5px; }
.ef-contact-links { justify-self: end; }
.ef-signature { text-align: center; width: min(100%, 320px); margin-inline: auto; }
.ef-signature a { display: block; }
.ef-atelier { display: block; font-family: Newsreader, Georgia, serif; font-size: 24px; letter-spacing: .1em; margin-bottom: 7px; }
.ef-signature .ef-logo { display: block; width: 100%; height: auto; }
.ef-location { display: block; font-size: 12px; margin-top: 20px; color: #efe4dc; }
.ef-addresses { display: flex; justify-content: center; gap: 64px; margin-top: 20px; text-align: center; }
.ef-addresses a { display: flex; flex-direction: column; gap: 5px; min-height: 54px; }
.ef-addresses span:first-child { font-size: 15px; }
.ef-addresses span:last-child { font-size: 12px; color: #ded3ca; }
.ef-bottom { display: flex; justify-content: space-between; gap: 24px; align-items: center; border-top: 1px solid rgb(255 253 249 / 20%); padding-top: 20px; margin-top: 12px; font-size: 11px; color: #ded3ca; }
.ef-bottom nav { display: flex; flex-wrap: wrap; gap: 24px; }
.ef-footer button:disabled { cursor: default; }

/* Entrada curta em distância e longa na acomodação. Sem movimento contínuo. */
/* Comprimentos reais evitam depender da normalização pathLength em máscaras. */
.ef-ink-name { --ef-ink-length: 600; }
.ef-ink-signature { --ef-ink-length: 506; }
@keyframes ef-signature-write { from { stroke-dashoffset: var(--ef-ink-length); } to { stroke-dashoffset: 0; } }
@keyframes ef-signature-caption { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .ef-footer.ef-motion-ready [data-ef-arrive] { opacity: 0; transform: translateY(14px); transition: opacity 1.2s var(--ease), transform 1.6s var(--ease); transition-delay: var(--delay, 0ms); }
  .ef-footer.ef-motion-ready [data-ef-arrive="left"] { transform: translateX(-18px); }
  .ef-footer.ef-motion-ready [data-ef-arrive="right"] { transform: translateX(18px); }
  .ef-footer.ef-motion-ready [data-ef-arrive="brand"] { transform: none; }
  .ef-footer.ef-motion-ready [data-ef-arrive].is-visible { opacity: 1; transform: translate(0, 0); }
  .ef-footer.ef-motion-ready [data-ef-arrive="brand"] .ef-ink { stroke-dasharray: var(--ef-ink-length); stroke-dashoffset: var(--ef-ink-length); }
  .ef-footer.ef-motion-ready [data-ef-arrive="brand"] .ef-atelier,
  .ef-footer.ef-motion-ready [data-ef-arrive="brand"] .ef-location { opacity: 0; }
  .ef-footer.ef-motion-ready [data-ef-arrive="brand"].is-visible .ef-ink-name { animation: ef-signature-write 1.1s var(--ease) calc(var(--delay, 0ms) + 100ms) both; }
  .ef-footer.ef-motion-ready [data-ef-arrive="brand"].is-visible .ef-ink-signature { animation: ef-signature-write 1.6s var(--ease) calc(var(--delay, 0ms) + 600ms) both; }
  .ef-footer.ef-motion-ready [data-ef-arrive="brand"].is-visible .ef-atelier { animation: ef-signature-caption .9s var(--ease) calc(var(--delay, 0ms) + 1500ms) both; }
  .ef-footer.ef-motion-ready [data-ef-arrive="brand"].is-visible .ef-location { animation: ef-signature-caption 1s var(--ease) calc(var(--delay, 0ms) + 1700ms) both; }
}
@media (max-width: 1000px) {
  .ef-footer { padding: 40px 28px 24px; }
  .ef-directory { gap: 24px; grid-template-columns: 1fr 1.6fr 1fr; margin-top: 100px; }
  .ef-addresses { gap: 36px; }
}
@media (max-width: 600px) {
  .ef-footer { margin-top: 16px; padding: 32px 24px 24px; }
  .ef-footer .ef-photograph img { object-position: 54% 0%; }
  .ef-introduction h2 { font-size: 32px; }
  .ef-introduction p { font-size: 13px; max-width: 220px; margin: 14px auto 0; }
  .ef-directory { grid-template-columns: 1fr 1fr; gap: 28px 24px; margin-top: 180px; }
  .ef-signature { grid-column: 1 / -1; grid-row: 1; width: 260px; max-width: 100%; }
  .ef-atelier { font-size: 21px; }
  .ef-location { margin-top: 17px; }
  .ef-column { gap: 2px; align-self: start; }
  .ef-column h3 { margin-bottom: 10px; }
  .ef-column a, .ef-column button { min-height: 42px; }
  .ef-contact-links { justify-self: start; }
  .ef-addresses { flex-direction: column; text-align: left; margin-top: 28px; gap: 20px; }
  .ef-addresses span:last-child { max-width: 220px; }
  .ef-bottom { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 30px; padding-top: 22px; }
  .ef-bottom nav { gap: 20px; }
}
@media (max-width: 1000px) { .ef-shell { padding-block: 24px; } .ef-footer { width: calc(100% - 48px); } }
@media (max-width: 600px) { .ef-shell { padding-block: 16px; } .ef-footer { width: calc(100% - 28px); margin-block: 0; } }
@media (prefers-reduced-motion: reduce) { .ef-footer *, .ef-footer *::before, .ef-footer *::after { transition: none !important; animation: none !important; } }
