/*!
 * Deborah Toldot — Link Bio  v1.0.0
 * CSS puro, sem dependências.
 * Isolamento: todo seletor começa em #dtlb (especificidade de ID) e o
 * contêiner raiz usa `all: initial`, então nada do tema/Elementor vaza
 * para dentro e nada daqui vaza para fora. Fontes, keyframes e @property
 * usam o prefixo "dtlb" para não colidir com nomes do site.
 */

/* ---------- Fontes locais (empacotadas no plugin) ---------- */
@font-face {
  font-family: 'DTLB Cormorant';
  src: url('../fonts/cormorant.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DTLB Cormorant';
  src: url('../fonts/cormorant-italic.woff2') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'DTLB Poppins';
  src: url('../fonts/poppins-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DTLB Poppins';
  src: url('../fonts/poppins-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DTLB Poppins';
  src: url('../fonts/poppins-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@property --dtlb-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* ---------- Raiz: isolamento + tokens ---------- */
#dtlb.dtlb {
  all: initial;

  /* Paleta (logo Deborah Toldot + logo Maná Kids) */
  --dtlb-cream: #FAF6F0;
  --dtlb-cream-2: #F4EDE3;
  --dtlb-sand: #E8DCCD;
  --dtlb-brown: #7A5234;
  --dtlb-brown-dark: #4F3423;
  --dtlb-ink: #3D3029;
  --dtlb-muted: #6F5F54;
  --dtlb-sage: #9DB092;
  --dtlb-olive: #66782F;
  --dtlb-olive-dark: #4E5D22;
  --dtlb-gold: #D9A43A;
  --dtlb-gold-deep: #8A6420;
  --dtlb-teal: #5E97A0;
  --dtlb-coral: #E2735A;
  --dtlb-line: rgba(122, 82, 52, .14);

  --dtlb-serif: 'DTLB Cormorant', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --dtlb-sans: 'DTLB Poppins', 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --dtlb-ease: cubic-bezier(.2, .7, .2, 1);

  display: block;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  container: dtlb / inline-size;
  background: linear-gradient(165deg, #FCF9F4 0%, #F6EFE5 52%, #EEE3D5 100%);
  color: var(--dtlb-ink);
  font-family: var(--dtlb-sans);
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: normal;
  text-align: left;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

/* Largura total mesmo dentro de contêiner "boxed" (opção fullbleed).
   --dtlb-vw é medido pelo JS (largura útil, sem a barra de rolagem). */
#dtlb.dtlb.dtlb--bleed {
  width: var(--dtlb-vw, 100vw);
  max-width: none;
  margin-left: calc(50% - var(--dtlb-vw, 100vw) / 2);
  margin-right: 0;
}

/* Reset local: neutraliza estilos globais do tema/Elementor nos filhos */
#dtlb.dtlb :where(div, section, nav, figure, span, a, p, h1, h2, h3, h4, ul, li, img, svg, em, small, b) {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid transparent;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-shadow: none;
  outline: 0;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  word-spacing: normal;
  text-transform: none;
  text-decoration: none;
  text-align: inherit;
  line-height: inherit;
  float: none;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  opacity: 1;
  transform: none;
  transition: none;
  filter: none;
  list-style: none;
  vertical-align: baseline;
}
/* Elementos internos dos ícones SVG: herdam do <svg> e ignoram regras globais */
#dtlb.dtlb :where(path, circle, text, textPath, defs, g) {
  fill: inherit;
  stroke: inherit;
  stroke-width: inherit;
  stroke-linecap: inherit;
  stroke-linejoin: inherit;
  opacity: 1;
  transform: none;
  transition: none;
  filter: none;
}
#dtlb.dtlb *, #dtlb.dtlb *::before, #dtlb.dtlb *::after { box-sizing: border-box; }
#dtlb.dtlb img { display: block; max-width: none; height: auto; }
#dtlb.dtlb svg { display: block; overflow: visible; fill: none; }
#dtlb.dtlb ul { list-style: none; }

#dtlb .dtlb-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Fundo decorativo ---------- */
#dtlb .dtlb-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
#dtlb .dtlb-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  will-change: transform;
}
#dtlb .dtlb-blob--sage {
  width: 560px; height: 560px;
  top: -180px; left: -160px;
  background: radial-gradient(circle at 40% 40%, #B9C9AC, rgba(185, 201, 172, 0) 70%);
}
#dtlb .dtlb-blob--gold {
  width: 520px; height: 520px;
  bottom: -220px; right: 4%;
  background: radial-gradient(circle at 50% 50%, #F0CB82, rgba(240, 203, 130, 0) 70%);
  opacity: .5;
}
#dtlb .dtlb-blob--teal {
  width: 440px; height: 440px;
  top: 12%; right: -180px;
  background: radial-gradient(circle at 50% 50%, #A9CDD2, rgba(169, 205, 210, 0) 70%);
  opacity: .45;
}
#dtlb .dtlb-grain {
  position: absolute;
  inset: 0;
  opacity: .22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .2 0 0 0 0 .13 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Estrutura ---------- */
#dtlb .dtlb-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1180px;
  min-height: inherit;
  margin: 0 auto;
  padding: 18px 18px 22px;
}

#dtlb .dtlb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
#dtlb .dtlb-mono { width: 52px; height: auto; }
#dtlb .dtlb-motto {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--dtlb-muted);
  white-space: nowrap;
}
#dtlb .dtlb-motto svg { width: 8px; height: 8px; color: var(--dtlb-gold); fill: currentColor; }

#dtlb .dtlb-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 34px;
  padding: 14px 0 10px;
}

/* ---------- Coluna perfil ---------- */
#dtlb .dtlb-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#dtlb .dtlb-portrait {
  position: relative;
  width: min(56cqi, 216px);
  aspect-ratio: 4 / 5;
  margin: 24px auto 28px;
}
#dtlb .dtlb-float {
  position: absolute;
  inset: 0;
  transform: translate3d(calc(var(--dtlb-px, 0) * 7px), calc(var(--dtlb-py, 0) * 7px), 0);
  transition: transform .7s var(--dtlb-ease);
}
#dtlb .dtlb-arch {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 50% 50% 24px 24px / 40% 40% 24px 24px;
  background: #E6E0D5;
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, .6),
    0 34px 60px -30px rgba(79, 52, 35, .55),
    0 12px 24px -16px rgba(79, 52, 35, .35);
}
#dtlb .dtlb-arch img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
}
#dtlb .dtlb-arch img + img { opacity: 0; }
#dtlb .dtlb-arch::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(79, 52, 35, .22), rgba(79, 52, 35, 0) 38%);
  pointer-events: none;
}
#dtlb .dtlb-ring {
  position: absolute;
  inset: -12px;
  border: 1.5px solid rgba(201, 150, 58, .7);
  border-radius: 50% 50% 34px 34px / 40.7% 40.7% 34px 34px;
  pointer-events: none;
}
#dtlb .dtlb-ring--outer {
  inset: -25px;
  border: 1px dashed rgba(201, 150, 58, .42);
  border-radius: 50% 50% 46px 46px / 41.2% 41.2% 46px 46px;
}

#dtlb .dtlb-spark {
  position: absolute;
  width: 14px;
  height: 14px;
  color: var(--dtlb-gold);
  pointer-events: none;
}
#dtlb .dtlb-spark svg { width: 100%; height: 100%; fill: currentColor; }
#dtlb .dtlb-spark--1 { top: 6%; left: -22%; width: 16px; height: 16px; }
#dtlb .dtlb-spark--2 { top: -9%; right: 6%; width: 10px; height: 10px; }
#dtlb .dtlb-spark--3 { bottom: 34%; left: -17%; width: 9px; height: 9px; color: var(--dtlb-sage); }
#dtlb .dtlb-spark--4 { top: 30%; right: -20%; width: 12px; height: 12px; }
#dtlb .dtlb-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dtlb-gold);
  opacity: .75;
  pointer-events: none;
}
#dtlb .dtlb-dot--1 { top: 18%; left: -10%; }
#dtlb .dtlb-dot--2 { top: 4%; right: -12%; width: 5px; height: 5px; }
#dtlb .dtlb-dot--3 { bottom: 16%; left: -14%; width: 4px; height: 4px; background: var(--dtlb-teal); }

#dtlb .dtlb-badge {
  position: absolute;
  right: -17%;
  bottom: 9%;
  width: 33%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 252, 247, .94);
  box-shadow: 0 0 0 1px rgba(201, 150, 58, .35), 0 16px 30px -16px rgba(79, 52, 35, .55);
}
#dtlb .dtlb-badge-ring {
  position: absolute;
  inset: 5%;
  width: 90%;
  height: 90%;
  color: var(--dtlb-brown);
}
#dtlb .dtlb-badge-ring text {
  fill: currentColor;
  font-family: var(--dtlb-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
}
#dtlb .dtlb-badge-ico {
  width: 36%;
  height: 36%;
  color: var(--dtlb-olive);
}
#dtlb .dtlb-badge-ico svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#dtlb .dtlb-hello {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--dtlb-gold-deep);
}
#dtlb .dtlb-name {
  margin-top: 8px;
  font-family: var(--dtlb-serif);
  font-weight: 600;
  font-size: clamp(42px, 12.5cqi, 54px);
  line-height: .98;
  letter-spacing: -.01em;
  color: var(--dtlb-brown-dark);
}
#dtlb .dtlb-role {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--dtlb-muted);
}
#dtlb .dtlb-role b { font-weight: 500; color: var(--dtlb-gold); padding: 0 4px; }
#dtlb .dtlb-tagline {
  margin-top: 16px;
  max-width: 21em;
  font-family: var(--dtlb-serif);
  font-weight: 500;
  font-size: clamp(21px, 6cqi, 25px);
  line-height: 1.22;
  color: var(--dtlb-ink);
}
#dtlb .dtlb-tagline em {
  font-style: italic;
  color: var(--dtlb-olive-dark);
  background: linear-gradient(100deg, #8A6420 0%, #66782F 55%, #4C8189 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#dtlb .dtlb-orn {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  color: var(--dtlb-gold);
}
#dtlb .dtlb-orn::before,
#dtlb .dtlb-orn::after {
  content: '';
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, rgba(217, 164, 58, 0), rgba(217, 164, 58, .9));
}
#dtlb .dtlb-orn::after { transform: scaleX(-1); }
#dtlb .dtlb-orn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linejoin: round;
}

/* ---------- Coluna links ---------- */
#dtlb .dtlb-links { width: 100%; max-width: 520px; margin: 0 auto; }
#dtlb .dtlb-links-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--dtlb-muted);
}
#dtlb .dtlb-links-title::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--dtlb-line), rgba(122, 82, 52, 0));
}
#dtlb .dtlb-list { display: grid; gap: 14px; }

/* Card base */
#dtlb .dtlb-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 78px;
  padding: 16px 16px 16px 16px;
  border: 1px solid var(--dtlb-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .66);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  backdrop-filter: blur(12px) saturate(1.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    0 14px 30px -20px rgba(79, 52, 35, .4);
  color: var(--dtlb-ink);
  cursor: pointer;
  transition:
    transform .4s var(--dtlb-ease),
    box-shadow .4s var(--dtlb-ease),
    border-color .4s var(--dtlb-ease),
    background-color .4s var(--dtlb-ease);
}
#dtlb .dtlb-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(260px circle at var(--dtlb-mx, 50%) var(--dtlb-my, 50%), rgba(217, 164, 58, .2), rgba(217, 164, 58, 0) 65%);
  transition: opacity .4s var(--dtlb-ease);
}
#dtlb .dtlb-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 150, 58, .5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 24px 44px -22px rgba(79, 52, 35, .5);
}
#dtlb .dtlb-card:hover::before { opacity: 1; }
#dtlb .dtlb-card:active { transform: translateY(-1px) scale(.995); }
#dtlb .dtlb-card:focus-visible {
  outline: 3px solid var(--dtlb-teal);
  outline-offset: 3px;
}

#dtlb .dtlb-ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 18px -10px rgba(0, 0, 0, .45);
}
#dtlb .dtlb-ico svg { width: 24px; height: 24px; }
#dtlb .dtlb-ico--site { background: linear-gradient(140deg, #79ADB4 0%, #4C8189 100%); }
#dtlb .dtlb-ico--site svg { stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#dtlb .dtlb-ico--yt { background: linear-gradient(140deg, #EE8467 0%, #C9473A 100%); }
#dtlb .dtlb-ico--yt svg { fill: currentColor; }

#dtlb .dtlb-card-text { display: flex; flex-direction: column; gap: 2px; }
#dtlb .dtlb-card-title {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dtlb-brown-dark);
}
#dtlb .dtlb-card-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--dtlb-muted);
}
#dtlb .dtlb-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--dtlb-line);
  color: var(--dtlb-brown);
  transition: transform .4s var(--dtlb-ease), background-color .4s var(--dtlb-ease), color .4s var(--dtlb-ease), border-color .4s var(--dtlb-ease);
}
#dtlb .dtlb-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#dtlb .dtlb-card:hover .dtlb-arrow {
  transform: translateX(3px);
  background-color: var(--dtlb-brown);
  border-color: var(--dtlb-brown);
  color: #fff;
}

/* Card em destaque — Maná Kids */
#dtlb .dtlb-card--feat {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 16px;
  padding: 16px;
  border: 2px solid transparent;
  border-radius: 26px;
  background:
    linear-gradient(rgba(255, 252, 246, .95), rgba(255, 249, 240, .95)) padding-box,
    conic-gradient(from var(--dtlb-angle), #D9A43A, #66782F, #5E97A0, #E2735A, #D9A43A) border-box;
  box-shadow:
    0 28px 54px -28px rgba(102, 120, 47, .6),
    0 10px 22px -18px rgba(79, 52, 35, .4);
}
#dtlb .dtlb-card--feat:hover {
  border-color: transparent;
  box-shadow:
    0 34px 60px -28px rgba(102, 120, 47, .7),
    0 12px 24px -18px rgba(79, 52, 35, .45);
}
#dtlb .dtlb-card--feat::before {
  background: radial-gradient(300px circle at var(--dtlb-mx, 50%) var(--dtlb-my, 50%), rgba(102, 120, 47, .12), rgba(102, 120, 47, 0) 65%);
}
#dtlb .dtlb-feat-logo {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  overflow: hidden;
  background: #FCF5ED;
  box-shadow: 0 0 0 1px rgba(217, 164, 58, .3), 0 12px 22px -14px rgba(79, 52, 35, .5);
  align-self: start;
}
#dtlb .dtlb-feat-logo img { width: 100%; height: 100%; object-fit: cover; }
#dtlb .dtlb-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-bottom: 4px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  background: rgba(217, 164, 58, .17);
  color: #6E5212;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.6;
}
#dtlb .dtlb-chip svg { width: 10px; height: 10px; fill: currentColor; }
#dtlb .dtlb-feat-title {
  font-family: var(--dtlb-serif);
  font-size: 31px;
  font-weight: 600;
  line-height: 1;
  color: var(--dtlb-olive-dark);
}
#dtlb .dtlb-card--feat .dtlb-card-desc { margin-top: 4px; }
#dtlb .dtlb-pill {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #71853A 0%, #55662A 100%);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 14px 26px -14px rgba(78, 93, 34, .9);
  transition: filter .3s var(--dtlb-ease);
}
#dtlb .dtlb-pill svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
#dtlb .dtlb-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .42), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  pointer-events: none;
}
#dtlb .dtlb-card--feat:hover .dtlb-pill { filter: brightness(1.08) saturate(1.05); }

/* ---------- Rodapé ---------- */
#dtlb .dtlb-foot {
  padding-top: 14px;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--dtlb-muted);
}

/* ---------- Tablet e desktop: lado a lado ---------- */
@container dtlb (min-width: 420px) {
  #dtlb .dtlb-feat-logo { width: 96px; height: 96px; }
  #dtlb .dtlb-card { padding: 18px 20px 18px 18px; }
  #dtlb .dtlb-card--feat { padding: 18px; }
}

@container dtlb (min-width: 740px) {
  #dtlb .dtlb-shell { padding: 20px 32px 16px; }
  #dtlb .dtlb-mono { width: 58px; }
  #dtlb .dtlb-motto { font-size: 10.5px; }
  #dtlb .dtlb-grid {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(28px, 6cqi, 96px);
    padding: 0;
  }
  #dtlb .dtlb-portrait {
    width: clamp(200px, min(26cqi, 32vh), 312px);
    margin: 26px auto 28px;
  }
  #dtlb .dtlb-name { font-size: clamp(44px, 5.6cqi, 66px); }
  #dtlb .dtlb-tagline { font-size: clamp(21px, 2.4cqi, 28px); }
  #dtlb .dtlb-links { max-width: 540px; margin: 0; }
  #dtlb .dtlb-list { gap: 16px; }
  #dtlb .dtlb-feat-title { font-size: 34px; }
}

@container dtlb (min-width: 1000px) {
  #dtlb .dtlb-shell { padding: 22px 48px 18px; }
  #dtlb .dtlb-card--feat {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: 'logo text text' 'logo pill pill';
  }
  #dtlb .dtlb-card--feat .dtlb-feat-logo { grid-area: logo; width: 112px; height: 112px; align-self: center; }
  #dtlb .dtlb-card--feat .dtlb-card-text { grid-area: text; }
  #dtlb .dtlb-card--feat .dtlb-pill { grid-area: pill; justify-self: start; padding: 12px 26px; }
}

/* ---------- Movimento (somente se o usuário não pediu redução) ---------- */
@media (prefers-reduced-motion: no-preference) {
  #dtlb .dtlb-blob--sage { animation: dtlb-drift-a 26s ease-in-out infinite alternate; }
  #dtlb .dtlb-blob--gold { animation: dtlb-drift-b 30s ease-in-out infinite alternate; }
  #dtlb .dtlb-blob--teal { animation: dtlb-drift-a 34s ease-in-out -8s infinite alternate-reverse; }

  #dtlb .dtlb-in {
    animation: dtlb-up .9s var(--dtlb-ease) both;
    animation-delay: calc(var(--dtlb-i, 0) * 110ms + 120ms);
  }
  #dtlb .dtlb-arch img { animation: dtlb-zoom 16s ease-in-out infinite alternate; }
  #dtlb .dtlb-arch img + img {
    animation: dtlb-zoom 16s ease-in-out infinite alternate, dtlb-xfade 14s ease-in-out 3s infinite;
  }
  #dtlb .dtlb-badge-ring { animation: dtlb-rot 26s linear infinite; }
  #dtlb .dtlb-spark { animation: dtlb-twinkle 3.2s ease-in-out infinite; }
  #dtlb .dtlb-spark--2 { animation-delay: -.8s; }
  #dtlb .dtlb-spark--3 { animation-delay: -1.6s; }
  #dtlb .dtlb-spark--4 { animation-delay: -2.4s; }
  #dtlb .dtlb-dot { animation: dtlb-bob 5s ease-in-out infinite; }
  #dtlb .dtlb-dot--2 { animation-delay: -1.7s; }
  #dtlb .dtlb-dot--3 { animation-delay: -3.1s; }
  #dtlb .dtlb-card--feat { animation: dtlb-spin 7s linear infinite; }
  #dtlb .dtlb-pill::after { animation: dtlb-shine 3.8s ease-in-out 1.2s infinite; }
}

@keyframes dtlb-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes dtlb-drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, 40px, 0) scale(1.12); }
}
@keyframes dtlb-drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.05); }
  to   { transform: translate3d(-70px, -50px, 0) scale(.95); }
}
@keyframes dtlb-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
@keyframes dtlb-xfade {
  0%, 40%   { opacity: 0; }
  50%, 90%  { opacity: 1; }
  100%      { opacity: 0; }
}
@keyframes dtlb-rot { to { transform: rotate(360deg); } }
@keyframes dtlb-twinkle {
  0%, 100% { opacity: .35; transform: scale(.7) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.1) rotate(25deg); }
}
@keyframes dtlb-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes dtlb-spin { to { --dtlb-angle: 360deg; } }
@keyframes dtlb-shine {
  0%       { left: -70%; }
  55%, 100% { left: 130%; }
}
