/* ============================================================
   DIVINO FOGÃO — SHARED COMPONENTS
   nav, footer, video placeholder, illustrations
   ============================================================ */

/* ——— Top utility strip ——— */
.df-topbar {
  background: #FF0015;
  color: var(--df-cream);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.df-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  gap: 24px;
}
.df-topbar__msg {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0.9;
}
.df-topbar__msg::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--df-yellow);
  border-radius: 50%;
  display: inline-block;
}
.df-topbar__links {
  display: flex;
  gap: 28px;
}
.df-topbar__links a:hover { color: var(--df-yellow); }

/* ——— Nav ——— */
.df-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--df-cream);
  border-bottom: 1px solid var(--df-line);
  backdrop-filter: blur(8px);
}
.df-nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 18px var(--container-x);
  gap: 20px;
}
.df-nav__logo {
  display: flex;
  align-items: center;
  justify-self: start;
}
.df-nav__logo img {
  height: 34px;
  width: auto;
  max-width: none;
  flex: none;
}
.df-nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 26px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.df-nav__menu > li { display: flex; align-items: center; }
.df-nav__menu a {
  font-family: var(--font-body);
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--df-brown);
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px 0;
  line-height: 1.2;
  transition: color .2s;
}
.df-nav__menu a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--df-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.df-nav__menu a:hover { color: var(--df-red); }
.df-nav__menu a:hover::after,
.df-nav__menu a[aria-current]::after { transform: scaleX(1); }

/* submenu Invista Conosco */
.df-nav__has-sub { position: relative; }
.df-nav__subtoggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--df-brown);
  padding: 8px 0;
  line-height: 1.2;
  position: relative;
  transition: color .2s;
}
.df-nav__subtoggle::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--df-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.df-nav__subtoggle:hover { color: var(--df-red); }
.df-nav__subtoggle:hover::after,
.df-nav__subtoggle[aria-current]::after,
.df-nav__has-sub.is-open .df-nav__subtoggle::after { transform: scaleX(1); }
.df-nav__caret {
  width: 0; height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform .25s ease;
}
.df-nav__has-sub.is-open .df-nav__caret { transform: rotate(180deg); }
.df-nav__sub {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  min-width: 208px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: var(--df-cream);
  border: 1px solid var(--df-line);
  box-shadow: 0 18px 40px -22px rgba(86,10,2,.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 70;
}
.df-nav__has-sub.is-open .df-nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.df-nav__sub a {
  display: block;
  padding: 11px 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.df-nav__sub a::after { display: none; }
.df-nav__sub a:hover { background: var(--df-cream-2); }

.df-nav__cta {
  justify-self: end;
  display: flex;
  gap: 12px;
  align-items: center;
}
.df-nav__cta .df-btn--primary {
  padding: 10px 16px;
  font-size: 10px;
  letter-spacing: 0.06em;
}
.df-nav__cta .df-btn--primary .df-btn__arrow { margin-left: 6px; }
.df-nav__search {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--df-cream-2);
  color: var(--df-brown);
  transition: background .2s;
}
.df-nav__search:hover { background: var(--df-yellow); }

/* ——— Hero ——— */
.df-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 0 56px;
  overflow: hidden;
  background: var(--df-brown);
  color: var(--df-cream);
}

.df-hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.df-hero__video svg.df-hero__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* slow parallax pan on the whole scene */
.df-hero__video svg.df-hero__scene {
  animation: df-hero-pan 32s ease-in-out infinite alternate;
  transform-origin: center bottom;
}
@keyframes df-hero-pan {
  from { transform: scale(1.04) translateY(0); }
  to   { transform: scale(1.10) translateY(-1.5%); }
}

/* drifting smoke from chimney */
.df-hero__smoke {
  position: absolute;
  left: 32%;
  bottom: 22%;
  width: 240px;
  height: 320px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
  mix-blend-mode: screen;
}
.df-hero__smoke svg { width: 100%; height: 100%; }

.df-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 52%;
  animation: df-hero-pan 32s ease-in-out infinite alternate;
  transform-origin: center center;
}
.df-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(102deg, rgba(28,4,1,0.90) 0%, rgba(28,4,1,0.78) 34%, rgba(28,4,1,0.52) 62%, rgba(28,4,1,0.62) 100%),
    linear-gradient(180deg, rgba(28,4,1,0.52) 0%, rgba(28,4,1,0.22) 42%, rgba(28,4,1,0.6) 100%);
}

.df-hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.6  0 0 0 0 0.4  0 0 0 0 0.2  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
}

.df-hero__playbadge {
  position: absolute;
  top: 32px;
  right: var(--container-x);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--df-cream);
  opacity: 0.8;
}
.df-hero__playbadge::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--df-red);
  animation: df-pulse 1.6s infinite;
}
@keyframes df-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(1.3); }
}

.df-hero__inner {
  position: relative;
  z-index: 4;
}

.df-hero__chrono {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 32px;
}
.df-hero__chrono-item {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

.df-hero__headline {
  color: var(--df-cream);
  margin: 0;
  display: grid;
}
.df-hero__headline span { display: block; }
.df-hero__headline .accent { color: var(--df-yellow); }

/* Brazil flag gradient on the word "Brasil" */
.df-brasil {
  background: linear-gradient(100deg,
    #009C3B 0%,
    #009C3B 22%,
    #FFDF00 42%,
    #FFDF00 58%,
    #002776 80%,
    #002776 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 100%;
  animation: df-brasil-shift 8s ease-in-out infinite alternate;
}
@keyframes df-brasil-shift {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

.df-hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 56px;
  gap: 48px;
  flex-wrap: wrap;
}
.df-hero__subtitle {
  max-width: 38ch;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.55;
  color: rgba(253, 251, 239, 0.85);
}
.df-hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ——— Counters block ——— */
.df-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--df-line);
  border-bottom: 1px solid var(--df-line);
}
.df-counter {
  padding: 56px 40px;
  border-right: 1px solid var(--df-line);
  position: relative;
}
.df-counter:last-child { border-right: 0; }
.df-counter__selo { width: 100%; max-width: 260px; height: auto; margin: 0 0 12px; }
.df-counter__num {
  font-family: var(--font-display);
  font-size: clamp(72px, 11vw, 180px);
  line-height: 0.9;
  color: var(--df-brown);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.df-counter__num sup {
  font-size: 0.36em;
  color: var(--df-red);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0;
  margin-top: 0.4em;
}
.df-counter__label {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--df-terra);
  font-weight: 500;
  margin-top: 16px;
  max-width: 22ch;
}

/* ——— Footer ——— */
.df-footer {
  background: var(--df-brown-ink);
  color: var(--df-cream);
  padding: 96px 0 32px;
  margin-top: 0;
}
.df-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(253, 251, 239, 0.12);
}
.df-footer__brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(253,251,239,0.65);
  max-width: 28ch;
  margin: 24px 0;
}
.df-footer__brand img {
  height: 44px;
  width: auto;
  width: auto;
}
.df-footer__col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--df-yellow);
  margin: 0 0 24px;
  font-weight: 500;
}
.df-footer__col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.df-footer__col a {
  font-size: 14px;
  color: rgba(253,251,239,0.75);
  transition: color .2s;
}
.df-footer__col a:hover { color: var(--df-yellow); }

.df-footer__news {
  display: flex;
  border-bottom: 1.5px solid rgba(253,251,239,0.3);
  padding-bottom: 6px;
  gap: 12px;
}
.df-footer__news input {
  background: transparent;
  border: 0;
  flex: 1;
  font-family: var(--font-body);
  color: var(--df-cream);
  font-size: 14px;
  padding: 8px 0;
  outline: none;
}
.df-footer__news input::placeholder { color: rgba(253,251,239,0.4); }
.df-footer__news button {
  color: var(--df-yellow);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}

.df-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  font-size: 12px;
  color: rgba(253,251,239,0.55);
  gap: 32px;
  flex-wrap: wrap;
}
.df-footer__socials {
  display: flex;
  gap: 16px;
}
.df-footer__socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(253,251,239,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.df-footer__socials a:hover { background: var(--df-red); }

/* ——— Modal ——— */
/* z-index 1000: o modal e a camada mais alta da pagina, acima de qualquer
   mobiliario. O sintoma que expos isto foi a legenda do mapa passando por
   cima do modal e do menu — mas a causa era outra: `.df-lojas-map` nao criava
   contexto de empilhamento, entao o z-index de dentro do mapa competia com a
   pagina toda. Corrigido la com `isolation: isolate`. Este 1000 fica porque a
   afirmacao "modal e a camada mais alta" vale por si, para qualquer modal
   futuro. Escala em uso: nav 60 · barra de cookies 80 · modal 1000. */
.df-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.df-modal[hidden] { display: none; }
.df-modal__backdrop { position: absolute; inset: 0; background: rgba(26,7,2,0.72); opacity: 0; transition: opacity .26s ease; }
.df-modal.is-open .df-modal__backdrop { opacity: 1; }
.df-modal__panel { position: relative; width: min(760px, 100%); max-height: min(84vh, 820px); overflow-y: auto; background: var(--df-cream); border: 1px solid var(--df-line); box-shadow: 0 40px 90px -40px rgba(86,10,2,.6); padding: 56px clamp(28px, 5vw, 64px) 48px; opacity: 0; transform: translateY(16px); transition: opacity .26s ease, transform .26s ease; }
.df-modal.is-open .df-modal__panel { opacity: 1; transform: translateY(0); }
.df-modal__close { position: absolute; top: 18px; right: 20px; width: 40px; height: 40px; border: 1px solid var(--df-line); background: transparent; color: var(--df-brown); font-size: 22px; line-height: 1; cursor: pointer; border-radius: 50%; transition: background .2s, color .2s, border-color .2s; }
.df-modal__close:hover { background: var(--df-red); color: var(--df-cream); border-color: var(--df-red); }
.df-modal__head { border-bottom: 1px solid var(--df-line); padding-bottom: 28px; margin-bottom: 32px; }
.df-modal__head h2 { margin-top: 14px; }
.df-modal__body { display: flex; flex-direction: column; gap: 18px; }
.df-modal__body h3 { font-family: var(--font-body); font-size: 14px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--df-terra); margin-top: 14px; }
.df-modal__body > p:not(.df-caption) { font-size: 15px; line-height: 1.75; color: var(--df-terra); text-wrap: pretty; }
.df-modal__body a { color: var(--df-red); text-decoration: underline; text-underline-offset: 3px; }
.df-modal__body a:hover { color: var(--df-brown); }
.df-modal__body .df-caption { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--df-line); }
@media (max-width: 600px) {
  .df-modal { padding: 0; }
  .df-modal__panel { max-height: 100vh; height: 100%; width: 100%; padding: 64px 22px 40px; border: 0; }
}

/* ——— Cookie banner ——— */
.df-cookies {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--df-brown-ink);
  color: var(--df-cream);
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  /* Sem isto o texto e os dois botoes disputam uma linha so e o layout
     arrebenta no celular — nao havia NENHUMA media query para este
     componente. */
  flex-wrap: wrap;
  gap: 24px;
  z-index: 80;
  box-shadow: var(--shadow-pop);
  font-size: 13px;
  line-height: 1.55;
  transition: transform .4s ease, opacity .4s ease;
}
.df-cookies.is-hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.df-cookies button {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 999px;
  white-space: nowrap;
}
.df-cookies__accept {
  background: var(--df-yellow);
  color: var(--df-brown-ink);
}
.df-cookies__manage {
  border: 1px solid rgba(253,251,239,0.3);
  color: var(--df-cream);
}

/* ——— Image-block placeholder (for "video" or photo placeholder, editorial style) ——— */
.df-photo-ph {
  position: relative;
  width: 100%;
  background: var(--df-brown);
  overflow: hidden;
  color: var(--df-cream);
}
.df-photo-ph::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,199,96,0.3), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255,14,34,0.35), transparent 50%);
  mix-blend-mode: screen;
}
.df-photo-ph__label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253,251,239,0.7);
  background: rgba(0,0,0,0.4);
  padding: 6px 10px;
  border-radius: 4px;
}

/* ——— Menu compacto (hamburger) ——— */
.df-nav__toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--df-line-strong);
  color: var(--df-brown);
}
.df-nav__toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s, opacity .25s; }
.df-nav__toggle span::before,
.df-nav__toggle span::after { content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; transition: transform .25s; }
.df-nav__toggle span::before { top: -6px; }
.df-nav__toggle span::after { top: 6px; }
.df-nav.is-open .df-nav__toggle span { background: transparent; }
.df-nav.is-open .df-nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.df-nav.is-open .df-nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .df-nav { position: relative; }
  .df-nav__toggle { display: inline-flex; }
  .df-nav__menu { display: none; }
  .df-nav.is-open .df-nav__menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--df-cream);
    border-bottom: 1px solid var(--df-line);
    box-shadow: 0 18px 40px -24px rgba(86,10,2,.4);
    padding: 8px var(--container-x) 20px;
  }
  .df-nav.is-open .df-nav__menu a {
    display: block;
    width: 100%;
    font-size: 13px;
    letter-spacing: 0.1em;
    padding: 14px 0;
    border-bottom: 1px solid var(--df-line);
  }
  .df-nav.is-open .df-nav__menu li:last-child a { border-bottom: 0; }
  .df-nav.is-open .df-nav__menu a::after { display: none; }
  .df-nav.is-open .df-nav__subtoggle {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 13px;
    letter-spacing: 0.1em;
    padding: 14px 0;
    border-bottom: 1px solid var(--df-line);
  }
  .df-nav.is-open .df-nav__subtoggle::after { display: none; }
  .df-nav.is-open .df-nav__sub {
    position: static;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: none;
    padding: 0;
    display: none;
    transform: none;
  }
  .df-nav.is-open .df-nav__has-sub.is-open .df-nav__sub { display: block; opacity: 1; visibility: visible; }
  .df-nav.is-open .df-nav__sub a {
    padding: 12px 0 12px 20px;
    font-size: 12px;
    color: var(--df-terra);
  }
}

/* ——— Responsive ——— */
@media (max-width: 1024px) {
  .df-nav__inner { grid-template-columns: auto 1fr auto; }
  .df-footer__top { grid-template-columns: 1fr 1fr; }
  .df-counters { grid-template-columns: 1fr 1fr; }
  .df-counter { border-bottom: 1px solid var(--df-line); }
}
@media (max-width: 640px) {
  .df-counters { grid-template-columns: 1fr; }
  .df-counter { border-right: 0; }
}
@media (max-width: 720px) {
  .df-footer__top { grid-template-columns: 1fr; gap: 40px; }
  .df-topbar__msg span:last-child { display: none; }
}

/* —— Retorno dos formulários (substitui os alert do protótipo) —— */
.df-form-status {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
}
.df-form-status.is-aguardando { background: #F1EEE7; color: #4A4C50; }
.df-form-status.is-ok         { background: #E9F2EC; color: #2F6B4F; border: 1px solid #C7E0D2; }
.df-form-status.is-erro       { background: #FAEDE9; color: #8C2A15; border: 1px solid #EBCFC6; }
.df-form-status[hidden]       { display: none; }

/* ——— Banner de cookies: telas estreitas ———
   Abaixo de 720px o texto e as acoes empilham, o banner cola nas bordas e os
   botoes dividem a largura. Antes, com `nowrap` nos botoes e sem quebra de
   linha, tudo transbordava. */
.df-cookies__texto { margin: 0; flex: 1 1 320px; }
.df-cookies__acoes { display: flex; gap: 10px; flex: 0 0 auto; }

@media (max-width: 720px) {
  .df-cookies {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px 18px 16px;
    gap: 14px;
  }
  .df-cookies__texto { flex: 1 1 100%; font-size: 13px; line-height: 1.6; }
  .df-cookies__acoes { flex: 1 1 100%; }
  .df-cookies__acoes button { flex: 1 1 0; padding: 12px 10px; }
}

/* ——— Painel de preferencias de cookies ——— */
.df-modal--prefs .df-modal__panel { width: min(520px, 100%); padding: 44px 34px 32px; }
.df-prefs__titulo { margin: 0 0 6px; font-size: 20px; font-weight: 600; color: var(--df-brown); }
.df-prefs__intro  { margin: 0 0 24px; font-size: 14px; line-height: 1.6; color: var(--df-terra); }

.df-prefs__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--df-line);
}
.df-prefs__item strong { display: block; font-size: 14px; margin-bottom: 3px; color: var(--df-brown); }
.df-prefs__item span   { display: block; font-size: 12.5px; line-height: 1.55; color: var(--df-terra); }

.df-prefs__acoes { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.df-prefs__acoes button {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  padding: 12px 20px; border-radius: 999px; cursor: pointer; flex: 1 1 auto;
  transition: background .2s, color .2s, border-color .2s;
}
.df-prefs__salvar { border: 1px solid var(--df-line-strong); background: transparent; color: var(--df-brown); }
.df-prefs__salvar:hover { background: var(--df-brown); color: var(--df-cream); border-color: var(--df-brown); }
.df-prefs__tudo { border: 1px solid var(--df-brown); background: var(--df-brown); color: var(--df-cream); }
.df-prefs__tudo:hover { background: var(--df-brown-ink); border-color: var(--df-brown-ink); }

/* Chave. O <input> real fica escondido mas OPERANTE: teclado e leitor de tela
   continuam funcionando, e o visual e so a pintura por cima. */
.df-switch { position: relative; flex: 0 0 auto; width: 46px; height: 26px; }
.df-switch input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.df-switch span {
  position: absolute; inset: 0; border-radius: 999px;
  background: var(--df-line-strong); transition: background .2s;
}
.df-switch span::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--df-cream); transition: transform .2s;
}
.df-switch input:checked + span { background: var(--df-brown); }
.df-switch input:checked + span::after { transform: translateX(20px); }
.df-switch input:focus-visible + span { outline: 2px solid var(--df-terra); outline-offset: 2px; }
.df-switch.is-travado { opacity: .55; }
.df-switch.is-travado input { cursor: not-allowed; }
