/* 06-rodape.css
   Rodapé vermelho e a faixa de aviso do protótipo.
*/

/* rodapé */
.footer {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--hero); color: var(--cream);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: clamp(40px, 5vw, 64px) 18px;
}
.ft { max-width: 1240px; margin-inline: auto; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 80px); }
.ft-logo { display: inline-flex; align-items: center; gap: 8px; background: var(--cream); color: var(--hero); font: 800 22px/1 var(--display); padding: .45em .8em; border-radius: 999px; letter-spacing: -.02em; }
.ft-logo svg { width: 22px; height: 22px; }
.ft-brand p { margin: 16px 0 0; max-width: 26ch; font: 700 clamp(20px, 2vw, 26px)/1.1 var(--display); letter-spacing: -.02em; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.store {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--ink); color: var(--cream); border-radius: 14px; padding: 9px 14px;
  font: 600 11px/1.1 var(--body); transition: translate .2s, box-shadow .2s; box-shadow: 3px 3px 0 var(--brown);
}
.store b { display: block; font: 800 15px/1 var(--display); }
.store svg { width: 22px; height: 22px; }
.store:hover { translate: -2px -2px; box-shadow: 5px 5px 0 var(--brown); }
.ft-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ft-cols h3 { margin: 0 0 12px; font: 800 13px/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.ft-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ft-cols a { color: var(--cream); text-decoration: none; font-size: 15px; opacity: .92; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.ft-cols a:hover { background-size: 100% 2px; opacity: 1; }
.store:focus-visible, .ft-cols a:focus-visible, .social a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.ft-word {
  position: relative; margin: clamp(28px, 4vw, 48px) 0 0; text-align: center; user-select: none;
  font: 800 clamp(96px, 24vw, 360px)/.86 var(--display); letter-spacing: -.035em; color: var(--cream); padding-bottom: .12em;
}
.ft-word .dot { color: var(--gold); }
.ft-tag {
  position: absolute; font: 600 clamp(12px, 1.2vw, 15px)/1 var(--body); letter-spacing: 0;
  padding: .6em 1.05em; border-radius: 999px; box-shadow: 0 6px 14px rgba(84, 45, 43, .3);
  animation: bob 5s ease-in-out infinite; rotate: var(--r); animation-delay: var(--d);
}
.ft-tag.a { --r: -7deg; --d: -1s; background: var(--gold); color: var(--brown); left: 8%; top: 8%; }
.ft-tag.b { --r: 5deg; --d: -2.4s; background: var(--violet); color: var(--cream); right: 9%; top: 0; }
.ft-tag.c { --r: -3deg; --d: -3.6s; background: var(--brown); color: var(--cream); right: 4%; bottom: 34%; }
.ft-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  border-top: 1.5px solid rgba(255, 249, 242, .3); margin-top: 18px; padding-top: 16px; font-size: 13px;
}
.ft-bottom nav { display: flex; gap: 18px; }
.ft-bottom nav a { color: var(--cream); text-decoration: none; }
.ft-bottom nav a:hover { text-decoration: underline; }
.social { display: flex; gap: 8px; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--hero); transition: background .2s, color .2s, rotate .3s; }
.social a:hover { background: var(--gold); color: var(--brown); rotate: -10deg; }
.social svg { width: 18px; height: 18px; }
.footer .proto { margin-top: 14px; padding: 10px 14px; border-radius: 16px; background: rgba(84, 45, 43, .22); color: var(--cream); font-size: 12px; }
.footer .swap { background: var(--gold); color: var(--brown); }

/* nota do protótipo */

.proto {
  max-width: 1240px; margin: 0 auto; width: 100%;
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--ink);
}
.proto strong { font-weight: 600; }
.swap {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brown); color: var(--cream);
  padding: 8px 14px; border-radius: 999px; cursor: pointer; font-weight: 600;
}
.swap:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.swap input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hero.drag { box-shadow: 0 0 0 4px var(--gold) inset; }
