/* Escala de tipografia e espaço para tablet (768) e mobile (390), conforme os tokens do Figma.
   Desktop: H1 58/68, H2 46/58, H3 28/38, corpo 22/36 e 19/31.
   Tablet:  H1 44/52, H2 36/44, H3 24/32, corpo 20/32 e 18/29, margem 40.
   Mobile:  H1 32/40, H2 28/36, H3 22/30, corpo 18/28 e 17/27, margem 20. */

@media (max-width: 1100px) {
	main h1, .lil-post__head h1, .lil-ty h1, .lil-empty h1, .lil-404__txt h1 { font-size: 44px !important; line-height: 52px !important; letter-spacing: -.5px; }
	main h2, .lil-featpost__txt h2, .lil-detail__txt h2, .lil-post__author h2 { font-size: 36px; line-height: 44px; }
	main h3, .lil-post__news h3, .lil-whocard h3 { font-size: 24px; line-height: 32px; }
	.lil-lead, .lil-phero__lead, .lil-post__lead, .lil-featpost__lead, .lil-detail__syn p, .lil-call__list li, .lil-timeline p { font-size: 20px; line-height: 32px; }
	.lil-prose p, .lil-prose li { font-size: 20px; line-height: 32px; }
	.lil-prose h2 { font-size: 24px; line-height: 32px; }
	.lil-prose .wp-block-quote p { font-size: 36px; line-height: 44px; }
	.lil-bio, .lil-bio p, .lil-callout p, .lil-facts > div, .lil-whocard p:not(.eyebrow), .lil-post__author p:not(.eyebrow), .lil-call__info li { font-size: 18px; line-height: 29px; }
	.lil-section { padding-left: 40px; padding-right: 40px; }
}

@media (max-width: 600px) {
	main h1, .lil-post__head h1, .lil-ty h1, .lil-empty h1, .lil-404__txt h1 { font-size: 32px !important; line-height: 40px !important; letter-spacing: -.5px; }
	main h2, .lil-featpost__txt h2, .lil-detail__txt h2, .lil-post__author h2 { font-size: 28px; line-height: 36px; letter-spacing: -.25px; }
	main h3, .lil-post__news h3, .lil-whocard h3 { font-size: 22px; line-height: 30px; }
	.lil-lead, .lil-phero__lead, .lil-post__lead, .lil-featpost__lead, .lil-detail__syn p, .lil-call__list li, .lil-timeline p { font-size: 18px; line-height: 28px; }
	.lil-prose p, .lil-prose li { font-size: 18px; line-height: 28px; }
	.lil-prose h2 { font-size: 22px; line-height: 30px; }
	.lil-prose .wp-block-quote p { font-size: 28px; line-height: 36px; }
	.lil-bio, .lil-bio p, .lil-callout p, .lil-facts > div, .lil-whocard p:not(.eyebrow), .lil-post__author p:not(.eyebrow), .lil-call__info li { font-size: 17px; line-height: 27px; }
	.lil-section { padding-left: 20px; padding-right: 20px; padding-top: 48px; padding-bottom: 48px; }
	.lil-btn, .lil-btn-outline { padding: 12px 24px; }
	.lil-slide__cta .lil-btn, .lil-detail .lil-btn, .lil-call__side .lil-btn { width: 100%; justify-content: center; box-sizing: border-box; }
	/* Filtros em linha rolavel, como no Figma */
	.lil-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; gap: 10px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.lil-filters::-webkit-scrollbar { display: none; }
	.lil-filters button { flex: none; padding: 10px 20px; }
	.lil-toolbar { flex-direction: column; align-items: stretch; gap: 16px; }
	.lil-search { width: 100%; box-sizing: border-box; }
	.lil-post__head, .lil-post__crumb, .lil-post__cover, .lil-post__grid { padding-left: 20px; padding-right: 20px; }
	.lil-post__head { padding-top: 24px; padding-bottom: 40px; gap: 16px; }
	.lil-post__cover { padding-bottom: 40px; }
	.lil-post__grid { padding-top: 24px; padding-bottom: 48px; gap: 32px; }
	.lil-post__cover-img { border-radius: 16px; aspect-ratio: 350/250; }
	.lil-detail__cover { padding: 32px 24px; border-radius: 24px; }
	.lil-detail__cover img { width: 220px; }
	.lil-whocard, .lil-call__side { border-radius: 24px; padding: 24px; }
	.lil-featpost__img { border-radius: 24px; aspect-ratio: 350/260; }
	.lil-ty__box { border-radius: 24px; }
}
@media (max-width: 1100px) { .lil-card h3, .lil-card .wp-block-post-title { font-size: 24px !important; line-height: 32px !important; } .lil-phero { padding-bottom: 64px; } }
@media (max-width: 600px) { .lil-card h3, .lil-card .wp-block-post-title { font-size: 22px !important; line-height: 30px !important; } .lil-phero { padding-bottom: 48px; } }

/* Grades de cards: listagens empilham; "Leia tambem / Obras / Posts" viram carrossel, como no Figma */
@media (max-width: 1100px) {
	.wp-block-post-template.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px; }
	.lil-grid4, .lil-grid3 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; margin-inline: -40px; padding: 0 40px 12px; scrollbar-width: none; }
	.lil-grid4::-webkit-scrollbar, .lil-grid3::-webkit-scrollbar { display: none; }
	.lil-grid4 > *, .lil-grid3 > * { flex: 0 0 340px; scroll-snap-align: start; min-width: 0; }
	.lil-carousel .wp-block-post-template > li { flex: 0 0 340px; }
}
@media (max-width: 600px) {
	.wp-block-post-template.is-layout-grid { grid-template-columns: 1fr !important; gap: 16px; }
	.lil-grid4, .lil-grid3 { gap: 16px; margin-inline: -20px; padding: 0 20px 12px; }
	.lil-grid4 > *, .lil-grid3 > * { flex: 0 0 290px; }
	.lil-carousel .wp-block-post-template > li { flex: 0 0 290px; }
}

/* ===== Ajustes tela a tela (comparacao com o Figma tablet 768 e mobile 390) ===== */
@media (max-width: 1100px) {
	/* Sobre: Missao/Visao/Valores em carrossel */
	.lil-mvv__cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; margin-inline: -40px; padding: 0 40px 12px; scrollbar-width: none; }
	.lil-mvv__cards::-webkit-scrollbar { display: none; }
	.lil-mvv__cards > * { flex: 0 0 340px; scroll-snap-align: start; }
	/* Atalhos do 404 e da busca vazia em carrossel */
	.lil-svc--links { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; margin-inline: -40px; padding: 0 40px 12px; scrollbar-width: none; }
	.lil-svc--links::-webkit-scrollbar { display: none; }
	.lil-svc--links > * { flex: 0 0 300px; scroll-snap-align: start; }
	/* Catalogo: 3 colunas no tablet */
	.wp-block-post-template.is-layout-grid:has(.lil-card--book) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	/* Blog: duas fileiras de carrossel */
	.lil-carousel--rows .wp-block-post-template { display: grid !important; grid-auto-flow: column; grid-template-rows: auto auto; grid-auto-columns: 340px; overflow-x: auto; gap: 20px; scroll-snap-type: x mandatory; }
	.lil-carousel--rows .wp-block-post-template > li { flex: none; min-width: 0; }
	/* Busca: filtros do lado viram chips rolaveis; some o cartao de ajuda */
	.lil-results__side .lil-newscard { display: none; }
	.lil-results__side .lil-agenda { display: flex; flex-direction: row; align-items: center; gap: 8px; overflow-x: auto; padding: 12px 16px; border-radius: 999px; box-shadow: none; background: transparent; scrollbar-width: none; }
	.lil-results__side .lil-agenda h3 { display: none; }
	.lil-results__side .lil-agenda p { margin: 0; flex: none; }
	/* Politica e Termos: indice vira linha de chips rolavel */
	.lil-toc { position: static; flex: none; width: 100%; box-sizing: border-box; padding: 16px; }
	.lil-toc .eyebrow, .lil-toc__help { display: none; }
	.lil-toc ol { display: flex; gap: 8px; overflow-x: auto; margin: 0; padding: 0 0 4px; list-style: none; scrollbar-width: none; }
	.lil-toc li { flex: none; }
	.lil-toc li a { display: inline-flex; gap: 8px; white-space: nowrap; padding: 8px 14px; border: 1.5px solid var(--wp--preset--color--green-300); border-radius: 999px; }
	.lil-policy { flex-direction: column; gap: 24px; }
	.lil-hero2 { min-height: 840px; }
}
@media (max-width: 600px) {
	.lil-mvv__cards, .lil-svc--links { gap: 16px; margin-inline: -20px; padding: 0 20px 12px; }
	.lil-mvv__cards > * { flex-basis: 290px; }
	.lil-svc--links > * { flex-basis: 270px; }
	.lil-carousel--rows .wp-block-post-template { grid-auto-columns: 290px; gap: 16px; }
	.lil-header { padding-top: 10px !important; padding-bottom: 10px !important; }
	.lil-header .wp-block-site-logo img { width: 52px; height: auto; }
	.lil-phero { padding-top: 32px; padding-bottom: 40px; }
	.lil-hero2 { min-height: 920px; }
}

/* ===== Rodada 2: catalogo, topicos da revista, rodape e feed no mobile ===== */
@media (max-width: 600px) {
	.wp-block-post-template.is-layout-grid:has(.lil-card--book), .wp-block-post-template.is-layout-grid:has(.lil-card--writer) { grid-template-columns: 1fr !important; }
	.lil-topics__list { margin-top: 24px; gap: 8px; }
	.lil-topics__list li { font-size: 17px; line-height: 27px; padding: 10px 18px; }
	.lil-footer { padding-top: 48px !important; }
	.lil-footer__news { gap: 24px; }
	.lil-footer__news h3 { font-size: 28px; line-height: 36px; margin-bottom: 12px; }
	.lil-footer__news p { font-size: 18px; line-height: 28px; }
	.lil-footer__form { flex-direction: column; align-items: stretch; }
	.lil-footer__input { width: 100%; box-sizing: border-box; }
	.lil-footer__submit { width: 100%; }
	.lil-footer__rule { margin: 32px 0; }
	.lil-footer__cols { gap: 32px; }
	.lil-footer__col { gap: 12px; }
	.lil-footer__col a, .lil-footer__line, .lil-footer__brand p { font-size: 17px; line-height: 27px; }
	.lil-footer__bar { margin-top: 32px; flex-direction: column; align-items: flex-start; gap: 12px; }
	.lil-footer__legal { flex-wrap: wrap; gap: 8px 20px; }
	.lil-news { padding: 16px; gap: 16px; }
	.lil-news h3 { font-size: 22px; line-height: 30px; }
	.lil-news__date { flex: none; }
}

/* Rodada 3 */
@media (max-width: 1100px) {
	.lil-carousel--rows .wp-block-post-template.is-layout-grid { grid-template-columns: none !important; grid-auto-columns: 340px; grid-template-rows: auto auto; grid-auto-flow: column; }
}
@media (max-width: 600px) {
	.lil-carousel--rows .wp-block-post-template.is-layout-grid { grid-auto-columns: 290px; }
	.lil-footer__rule { margin: 48px 0; }
	.lil-footer__cols { gap: 48px; }
	.lil-footer__col { gap: 16px; }
	.lil-footer__bar { margin-top: 48px; }
	.lil-svc article { padding: 20px; }
	.lil-svc, .lil-steps { gap: 16px; }
}

/* ===== 404 e Sobre no tablet/mobile (Figma 160:23033 e 168:28479) ===== */
@media (max-width: 1100px) {
	.lil-404__in { flex-direction: column-reverse; align-items: stretch; min-height: 0; gap: 32px; }
	.lil-404__media { display: block !important; width: 100%; max-width: 360px; height: 340px; margin: 0 auto; }
	.lil-404__ring { left: 50%; top: 10px; width: 300px; height: 300px; transform: translateX(-50%); }
	.lil-404__dot { left: calc(50% + 120px); top: 0; width: 56px; height: 56px; }
	.lil-404__media video { height: 100%; bottom: 0; }
	.lil-404__txt { width: 100%; }
	.lil-404__txt .eyebrow { order: 1; }
	.lil-404__n { order: 2; font-size: 8rem; }
	.lil-404__txt h1 { order: 3; }
	.lil-404__txt form.lil-search { order: 4; }
	.lil-404__txt .lil-lead { order: 5; }
	.lil-404__txt .lil-slide__cta { order: 6; flex-direction: column; }
	.lil-404__txt .lil-slide__cta .lil-btn { width: 100%; box-sizing: border-box; justify-content: center; }
}
@media (max-width: 600px) {
	.lil-404__n { font-size: 7.5rem; }
	/* Galeria do Sobre: so a foto central com os pontos, sem titulo nem filtros */
	.lil-gallery .lil-gal__filters, .lil-gallery .lil-gal__tag, .lil-gallery .lil-gal__tile figcaption, .lil-gallery .lil-gal__zoom { display: none !important; }
	.lil-gallery .lil-gal__tile:not(.is-c) { display: none; }
	.lil-gallery .lil-gal__view { justify-content: center; }
}
@media (max-width: 1100px) {
	.lil-404__media video { display: none; }
	.lil-404__face { display: block; position: absolute; left: 50%; top: 52px; width: 240px; height: auto; transform: translateX(-50%); }
	.lil-404__txt .eyebrow { background: #fff; padding: 6px 14px; border-radius: 999px; width: fit-content; }
}

/* Politica/Termos e busca no mobile: espacos e textos do Figma */
@media (max-width: 1100px) {
	.lil-policy__body { gap: 40px; }
	.lil-policy__body p:not(.eyebrow) { font-size: 20px; line-height: 32px; }
	.lil-res, .lil-news.lil-res { padding: 20px; }
}
@media (max-width: 600px) {
	.lil-policy__body { gap: 32px; }
	.lil-policy__body h2 { margin-bottom: 12px; }
	.lil-policy__body p:not(.eyebrow) { font-size: 17px; line-height: 27px; margin-bottom: 8px; }
	.lil-results .lil-news { gap: 12px; padding: 16px; }
	.lil-results .lil-news p { font-size: 17px; line-height: 27px; }
}

/* Mobile: cabeçalho não fica fixo; rola junto com a página (na Home continua sobre o destaque). */
@media (max-width: 600px) {
  body:not(.home) .lil-header, body:not(.home) .lil-header.is-scrolled { position: relative; top: 0; box-shadow: none; }
  .admin-bar .lil-header.is-scrolled { top: 0; }
}

/* ===== Home mobile (Figma 160:22142) ===== */
@media (max-width: 600px) {
  /* Livro em destaque: mídia 350x386, texto logo abaixo, botões empilhados em largura total */
  .lil-section.lil-book { padding-top: 48px; padding-bottom: 48px; }
  .lil-book .wp-block-columns { gap: 0; }
  .lil-book .lil-book__art { position: relative; width: 100%; max-width: 350px; height: 386px; aspect-ratio: auto; padding: 0; margin: 0; display: block; }
  .lil-book .lil-book__ring { position: absolute; inset: auto; left: 24px; top: 42px; width: 326px; height: 326px; }
  .lil-book .lil-book__dot { right: 0; top: 24px; width: 66px; height: 66px; }
  .lil-book .lil-book__art img { position: absolute; left: 48.6px; top: 9.5px; width: 277px; height: 355px; max-width: none; aspect-ratio: auto; object-fit: cover; margin: 0; }
  .lil-book .wp-block-column:last-child { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
  .lil-book .wp-block-column:last-child > * { margin: 0 !important; }
  .lil-book .lil-chip { align-self: flex-start; padding: 6px 12px; line-height: 20px; height: 32px; box-sizing: border-box; }
  .lil-book h2 { line-height: 68px; }
  .lil-book h2 .lil-accent { font-size: 1.8em; line-height: 1; }
  .lil-book .wp-block-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
  .lil-book .wp-block-button, .lil-book .wp-block-button__link { width: 100%; box-sizing: border-box; }
  .lil-book .wp-block-button__link { display: flex; justify-content: center; align-items: center; min-height: 48px; text-align: center; }
  .lil-book .wp-block-button.is-style-outline .wp-block-button__link { min-height: 52px; }

  /* Nosso símbolo: título, texto, símbolo e botão (na ordem do Figma) */
  .lil-brand .wp-block-columns { flex-direction: column; gap: 0; }
  .lil-brand .wp-block-columns > .wp-block-column:first-child { display: contents; }
  .lil-brand .eyebrow { order: 1; line-height: 20px; margin: 0 0 12px !important; }
  .lil-brand h2 { order: 2; margin: 0 0 12px !important; }
  .lil-brand .lil-lead { order: 3; margin: 0 0 64px !important; }
  .lil-brand .wp-block-columns > .wp-block-column:last-child { order: 4; width: 100%; flex-basis: auto; margin-bottom: 64px; }
  .lil-brand .lil-bloom-wrap { height: 400px; }
  .lil-brand .lil-bloom-wrap svg { width: 100%; height: 100%; }
  .lil-brand .wp-block-buttons { order: 5; width: 100%; }
  .lil-brand .wp-block-button, .lil-brand .wp-block-button__link { width: 100%; box-sizing: border-box; }
  .lil-brand .wp-block-button__link { display: flex; justify-content: center; align-items: center; min-height: 48px; }

  /* Contato: mídia primeiro (350x491), depois texto e canais */
  .lil-cta .wp-block-columns { flex-direction: column-reverse; gap: 64px; }
  .lil-cta .lil-stage { aspect-ratio: 350/491; max-width: 350px; width: 100%; }
  .lil-cta .lil-stage__circle { inset: 19.7% 0.4% 11.8% 3.7%; }
  .lil-cta .lil-stage video { height: 91.2%; bottom: 4%; }
  .lil-cta .eyebrow { line-height: 20px; margin: 0 0 12px !important; }
  .lil-cta h2 { margin: 0 0 12px !important; }
  .lil-cta .lil-lead { margin: 0 0 24px !important; }
  .lil-cta .lil-channels { gap: 12px; }
  .lil-cta .lil-channels a { min-height: 76px; box-sizing: border-box; }
  .lil-cta .wp-block-buttons { margin-top: 24px !important; width: 100%; }
  .lil-cta .wp-block-button, .lil-cta .wp-block-button__link { width: 100%; box-sizing: border-box; }
  .lil-cta .wp-block-button__link { display: flex; justify-content: center; align-items: center; min-height: 48px; }
}
@media (max-width: 600px) {
  .lil-book .wp-block-button__link, .lil-brand .wp-block-button__link, .lil-cta .wp-block-button__link { padding-top: 12px; padding-bottom: 12px; }
  .lil-brand .wp-block-buttons { margin: 0 !important; }
  .lil-cta .lil-channels { margin: 0 !important; }
}

/* ===== Hero mobile (Figma 160:22143 e 158:1851) ===== */
@media (max-width: 600px) {
  .lil-hero2 { height: 920px; min-height: 920px; }
  .lil-hero2 .lil-slide__in { top: 112px; left: 20px; right: 20px; width: auto; max-width: none; transform: none; gap: 16px; }
  .lil-hero2 .lil-slide__in .lil-chip { padding: 6px 12px; line-height: 20px; height: 32px; box-sizing: border-box; display: inline-flex; align-items: center; }
  .lil-hero2 .lil-slide__in h1 { font-size: 40px; line-height: 48px; letter-spacing: -1px; }
  .lil-hero2 .lil-slide__in h1 .lil-accent { font-size: 76px; line-height: 86px; letter-spacing: -1.5px; }
  .lil-hero2 .lil-slide__h { font-size: 40px; line-height: 48px; letter-spacing: -.75px; }
  .lil-hero2 .lil-slide__h .lil-accent { font-size: 58px; line-height: 68px; letter-spacing: -1px; }
  .lil-hero2 .lil-slide__lead, .lil-hero2 .lil-slide__sub { font-size: 18px; line-height: 28px; margin: 0; }
  .lil-hero2 .lil-slide:nth-child(2) .lil-slide__lead { font-size: 17px; line-height: 27px; }
  .lil-hero2 .lil-slide__cta { flex-direction: column; align-items: stretch; width: fit-content; max-width: 100%; gap: 12px; }
  .lil-hero2 .lil-slide__cta .lil-btn { width: auto; padding: 12px 24px; justify-content: center; box-sizing: border-box; white-space: nowrap; }
  .lil-hero2 .lil-slide__cta .lil-btn--ghost { padding: 10px 24px; }

  /* Lile (slide 1) */
  .lil-hero2 .lil-slide .lil-hero__lile { display: block !important; left: 159px; top: 481px; right: auto; bottom: auto; width: 225px; height: 375px; }
  .lil-hero2 .lil-slide .lil-hero__lile img { width: 100%; height: 100%; object-fit: contain; }

  /* Capas (slide 2) */
  .lil-hero2 .lil-fan { display: block !important; left: 0; top: 480px; width: 390px; height: 290px; }
  .lil-hero2 .lil-fan img { width: 150px; height: 212px; aspect-ratio: auto; }
  .lil-hero2 .lil-fan__l { left: 57.7px; top: 45.8px; transform: rotate(-9deg); }
  .lil-hero2 .lil-fan__r { left: 183px; top: 51px; transform: rotate(8deg); }
  .lil-hero2 .lil-fan__c { left: 120px; top: 15px; width: 150px !important; }
  .lil-hero2 .lil-fan__new { left: 245px; top: 0; width: 54px; height: 54px; font-size: 9.4px; line-height: 54px; }

  /* Citação (slide 3) */
  .lil-hero2 .lil-quote-card { display: block !important; left: 20px; right: 20px; width: auto; bottom: auto; top: 584px; height: 232px; box-sizing: border-box; padding: 24px; border-radius: 16px; }
  .lil-hero2 .lil-quote-card span { font-size: 32px; }
  .lil-hero2 .lil-quote-card blockquote { font-size: 22px; line-height: 30px; margin: 8px 0; }
  .lil-hero2 .lil-quote-card figcaption { font-size: 15px; line-height: 22px; }

  /* Controles */
  .lil-hero2 .lil-hero__controls2 { left: 20px; top: 840px; bottom: auto; gap: 12px; }
}
@media (max-width: 600px) {
  .lil-hero2 .lil-slide__cta .lil-btn { height: 48px; padding-top: 0; padding-bottom: 0; display: inline-flex; align-items: center; }
  .lil-hero2 .lil-slide__cta .lil-btn--ghost { height: 52px; }
}
@media (max-width: 600px) {
  .lil-hero2 .lil-slide__in > * { max-width: 100%; box-sizing: border-box; }
  .lil-hero2 .lil-slide__lead, .lil-hero2 .lil-slide__lead--sm, .lil-hero2 .lil-slide__sub { width: 100%; max-width: 100%; }
}

/* ===== Home tablet (Figma 160:22012) ===== */
@media (min-width: 601px) and (max-width: 1100px) {
  /* Números 2 x 2 */
  .lil-stats { padding: 48px 40px; }
  .lil-stats .wp-block-columns { display: grid !important; grid-template-columns: 1fr 1fr; gap: 20px !important; }
  .lil-stats .wp-block-column { flex: none !important; width: auto; }
  .lil-stats .wp-block-column + .wp-block-column::before { display: none; }

  /* Seções: espaçamento 2xl (64) */
  .lil-section { padding-top: 64px; padding-bottom: 64px; }
  .lil-section.lil-book, .lil-section.lil-brand { padding-top: 64px; padding-bottom: 64px; }

  /* Conheça a Liliales */
  .lil-about .wp-block-columns { gap: 48px; }
  .lil-about .lil-arch { max-width: 500px; width: 500px; margin: 6px auto 0; }
  .lil-pillars { gap: 20px; }
  .lil-pillars li { gap: 12px; }
  .lil-pillars__i { width: 56px; height: 56px; }
  .lil-pillars h3 { font-size: 24px; line-height: 32px; margin: 0 0 8px; }
  .lil-pillars p { font-size: 18px; line-height: 29px; }

  /* Nosso símbolo: símbolo primeiro, depois título e botão */
  .lil-brand .wp-block-columns { flex-direction: column-reverse; gap: 64px; }
  .lil-brand .lil-bloom-wrap { width: 502px; max-width: 100%; height: 520px; margin: 0; }
  .lil-brand .wp-block-column { flex-basis: auto !important; width: 100%; }
  .lil-brand .wp-block-buttons { margin-top: 24px !important; }

  /* Livro em destaque */
  .lil-book .wp-block-columns { gap: 0; }
  .lil-book .lil-book__art { position: relative; width: 620px; max-width: 100%; height: 640px; aspect-ratio: auto; padding: 0; margin: 0; display: block; }
  .lil-book .lil-book__ring { position: absolute; inset: auto; left: 40px; top: 70px; width: 540px; height: 540px; }
  .lil-book .lil-book__dot { right: 40px; top: 40px; width: 110px; height: 110px; }
  .lil-book .lil-book__art img { position: absolute; left: 80.5px; top: 15.7px; width: 459px; height: 589px; max-width: none; aspect-ratio: auto; object-fit: cover; margin: 0; }
  .lil-book .wp-block-column:last-child { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; flex-basis: auto !important; width: 100%; }
  .lil-book .wp-block-column:last-child > * { margin: 0 !important; }
  .lil-book .lil-chip { padding: 6px 12px; line-height: 20px; height: 32px; box-sizing: border-box; }
  .lil-book h2 { line-height: 68px; }
  .lil-book h2 .lil-accent { font-size: 1.8em; line-height: 1; }
  .lil-book .wp-block-buttons { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .lil-book .wp-block-button__link { padding: 12px 40px; min-height: 48px; }
  .lil-book .wp-block-button.is-style-outline .wp-block-button__link { min-height: 52px; }

  /* Botões de seção: texto 18, 12 x 40 */
  .lil-brand .wp-block-button__link, .lil-cta .wp-block-button__link { padding: 12px 40px; min-height: 48px; }

  /* Publicações, Escritoras, Blog e Instagram: título e carrossel; o botão vai para baixo, centralizado */
  .lil-section:has(> .lil-head) { display: flex; flex-direction: column; }
  .lil-section:has(> .lil-head) > * { margin-left: 0 !important; margin-right: 0 !important; width: 100%; max-width: none; }
  .lil-section > .lil-head { display: contents; }
  .lil-section > .lil-head > :first-child { order: 1; margin-bottom: 48px; }
  .lil-section > .lil-head > :last-child:not(:first-child) { order: 3; align-self: center; width: auto; margin-top: 48px; }
  .lil-section:has(> .lil-head) > :not(.lil-head) { order: 2; }
  .lil-instagram .lil-insta { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .lil-instagram .lil-insta a img { aspect-ratio: 334/342; }

  /* Parceiro e Contato: mídia primeiro */
  .lil-partner .wp-block-columns { flex-direction: column-reverse; gap: 0; }
  .lil-cta .wp-block-columns { flex-direction: column-reverse; gap: 64px; }
  .lil-cta .lil-stage { aspect-ratio: 560/760; max-width: 560px; width: 100%; margin: 0; }
  .lil-cta .lil-stage__circle { inset: 19.7% 3.6% 11.8% 3.6%; }
  .lil-cta .lil-stage video { height: 91.3%; bottom: 4%; }
  .lil-cta .lil-channels { gap: 12px; margin: 0 !important; }
  .lil-cta .lil-channels a { min-height: 76px; box-sizing: border-box; }
  .lil-cta .wp-block-buttons { margin-top: 32px !important; justify-content: center; }
}
@media (min-width: 601px) and (max-width: 1100px) {
  .lil-section > .lil-head > :first-child { margin-bottom: 0; }
  .lil-section > .lil-head + .lil-carousel, .lil-section > .lil-head + .lil-insta { margin-top: 48px !important; }
  .lil-section > .lil-lead + .lil-carousel { margin-top: 40px !important; }
  .lil-partner .lil-frame { width: 640px; max-width: 100%; height: 560px; margin: 0; }
  .lil-cta .lil-channels { width: 100%; margin-top: 32px !important; }
}

/* Pontos dos carrosséis (Figma: 10 px, ativo 28 x 10 rosa, intervalo 8) */
.lil-dots { display: none; }
@media (max-width: 1100px) {
  .lil-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; height: 10px; }
  .lil-dots[hidden] { display: none; }
  .lil-dots i { display: block; width: 10px; height: 10px; border-radius: 999px; background: var(--wp--preset--color--green-300); cursor: pointer; transition: width .2s ease, background-color .2s ease; }
  .lil-dots i.on { width: 28px; background: var(--wp--preset--color--pink-600); }
}
@media (min-width: 601px) and (max-width: 1100px) {
  .lil-section .lil-grid4, .lil-section .lil-grid3 { margin-inline: 0; padding: 0; }
  .lil-section .lil-grid4 > *, .lil-section .lil-grid3 > * { flex: 0 0 calc((100% - 20px) / 2); }
  .lil-section .lil-carousel .wp-block-post-template > li { flex: 0 0 calc((100% - 20px) / 2); }
  .lil-carousel--rows .wp-block-post-template { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (min-width: 601px) and (max-width: 1100px) {
  .lil-section .lil-carousel .lil-card, .lil-section .lil-grid4 .lil-card { min-height: 657px; }
  .lil-section .lil-card .lil-bio { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ===== Rodapé tablet (Figma 178:5926) ===== */
@media (min-width: 601px) and (max-width: 1100px) {
  .lil-footer { padding-top: 64px !important; padding-bottom: 32px !important; }
  .lil-footer__news { display: block; }
  .lil-footer__news-text { width: 100%; }
  .lil-footer__news h3 { font-size: 36px; line-height: 44px; margin: 0 0 14px; }
  .lil-footer__news p { font-size: 20px; line-height: 32px; }
  .lil-footer__form { gap: 8px; align-items: center; }
  .lil-footer__form .lil-footer__input { flex: 1 1 auto; width: auto; height: 65px; box-sizing: border-box; }
  .lil-footer__submit { padding: 12px 24px; height: 48px; }
  .lil-footer__rule { margin: 56px 0; }
  .lil-footer__cols { display: grid; grid-template-columns: repeat(3, max-content); justify-content: start; column-gap: 48px; row-gap: 48px; }
  .lil-footer__brand { grid-column: 1 / -1; width: 100%; gap: 22px; }
  .lil-footer__badge { padding: 12px 20px; }
  .lil-footer__brand p { font-size: 18px; line-height: 29px; }
  .lil-footer__col { gap: 12px; }
  .lil-footer__col a { padding: 3px 0; line-height: 31px; }
  .lil-footer__col .lil-footer__line { line-height: 29px; }
  .lil-footer__bar { flex-direction: column; align-items: flex-start; gap: 0; margin-top: 56px; }
  .lil-footer__legal { gap: 20px; }
  .lil-footer__credit { margin-top: 0; }
}

/* ===== Mobile: carrosséis de 1 cartão por vez (Figma: 350 x 617), Instagram em carrossel quadrado, rodapé ===== */
@media (max-width: 600px) {
  .lil-section .lil-grid4, .lil-section .lil-grid3 { margin-inline: 0; padding: 0; gap: 16px; }
  .lil-section .lil-grid4 > *, .lil-section .lil-grid3 > *, .lil-section .lil-carousel .wp-block-post-template > li { flex: 0 0 100%; }
  .lil-section .lil-carousel .lil-card, .lil-section .lil-grid4 .lil-card { min-height: 617px; }
  .lil-section .lil-card .lil-bio { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .lil-instagram .lil-insta { display: flex; grid-template-columns: none; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .lil-instagram .lil-insta::-webkit-scrollbar { display: none; }
  .lil-instagram .lil-insta a { flex: 0 0 100%; scroll-snap-align: start; }
  .lil-instagram .lil-insta a img { aspect-ratio: 1; }

  /* Rodapé (Figma 178:14345) */
  .lil-footer { padding-top: 48px !important; padding-bottom: 24px !important; }
  .lil-footer__news { display: block; }
  .lil-footer__news-text { width: 100%; }
  .lil-footer__news h3 { font-size: 28px; line-height: 36px; margin: 0 0 14px; }
  .lil-footer__news p { font-size: 18px; line-height: 28px; }
  .lil-footer__form { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 0; }
  .lil-footer__form .lil-footer__input { width: 100%; height: 63px; box-sizing: border-box; }
  .lil-footer__submit { width: 100%; height: 48px; padding: 12px 24px; }
  .lil-footer__rule { margin: 48px 0; }
  .lil-footer__cols { display: flex; flex-direction: column; gap: 24px; }
  .lil-footer__brand { width: 100%; gap: 22px; }
  .lil-footer__badge { padding: 12px 16px; }
  .lil-footer__brand p { font-size: 17px; line-height: 27px; }
  .lil-footer__col { gap: 8px; }
  .lil-footer__col a { padding: 4px 0; line-height: 27px; font-size: 17px; }
  .lil-footer__col .lil-footer__line { line-height: 27px; font-size: 17px; }
  .lil-footer__bar { flex-direction: column; align-items: flex-start; gap: 0; margin-top: 48px; }
  .lil-footer__legal { gap: 16px; }
}
@media (max-width: 600px) {
  /* Escritoras, Blog e Instagram: título, carrossel e botão (centralizado, em largura do conteúdo) */
  .lil-section:has(> .lil-head) { display: flex; flex-direction: column; }
  .lil-section:has(> .lil-head) > * { margin-left: 0 !important; margin-right: 0 !important; width: 100%; max-width: none; }
  .lil-section > .lil-head { display: contents; }
  .lil-section > .lil-head > :first-child { order: 1; margin-bottom: 0; }
  .lil-section > .lil-head > :last-child:not(:first-child) { order: 3; align-self: stretch; width: 100%; margin-top: 32px; text-align: center; }
  .lil-section > .lil-head > :last-child:not(:first-child) .wp-block-button__link, .lil-section > .lil-head > :last-child:not(:first-child) a { display: flex; justify-content: center; width: 100%; box-sizing: border-box; }
  .lil-section:has(> .lil-head) > :not(.lil-head) { order: 2; }
  .lil-section > .lil-head + .lil-carousel, .lil-section > .lil-head + .lil-insta { margin-top: 32px !important; }
  .lil-section > .lil-lead + .lil-carousel { margin-top: 40px !important; }
  .lil-stats { padding: 32px 20px; }
}
@media (max-width: 600px) {
  /* Números (Figma 160:22145): 2 colunas de 167 px, número 32/40 e rótulo 17/27 */
  .lil-stats .wp-block-columns { display: grid !important; grid-template-columns: 1fr 1fr; gap: 16px !important; align-items: start; }
  .lil-stats .wp-block-column { flex: none !important; width: auto; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .lil-stats .wp-block-column + .wp-block-column::before { display: none; }
  .lil-stats .lil-stat__n { font-size: 32px; line-height: 40px; letter-spacing: -.75px; margin: 0 !important; }
  .lil-stats .lil-stat__l { font-size: 17px; line-height: 27px; margin: 0 !important; white-space: normal; }
}
@media (max-width: 600px) {
  .lil-footer__news h3 { font-size: 26px; letter-spacing: -.5px; }
  .lil-partner .wp-block-columns { flex-direction: column-reverse; gap: 0; }
  .lil-partner .lil-frame { width: 100%; max-width: 350px; height: 297px; margin: 0; }
  .lil-section .lil-carousel .lil-card h3, .lil-section .lil-carousel .lil-card .wp-block-post-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (min-width: 601px) and (max-width: 1100px) {
  .lil-partner .lil-frame { box-sizing: border-box; padding: 10px 20px 40px 20px; height: 560px; }
  .lil-partner .lil-frame__photo img { aspect-ratio: 600/520; }
}
@media (max-width: 600px) {
  .lil-partner .lil-frame { box-sizing: border-box; width: 100%; max-width: 350px; height: 297px; padding: 5px 21px 16px 11px; }
  .lil-partner .lil-frame__photo img { aspect-ratio: 318/276; }
}

/* Listagem do blog: 4 por linha no desktop, 3 no tablet e 1 no mobile (sem carrossel) */
@media (min-width: 601px) and (max-width: 1100px) {
  .lil-feedlist .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 20px; }
}
@media (max-width: 600px) {
  .lil-feedlist .wp-block-post-template.is-layout-grid { grid-template-columns: 1fr !important; gap: 16px; }
}

/* ===== Política e Termos no tablet (Figma 160:24169 e 160:24350) ===== */
@media (min-width: 601px) and (max-width: 1100px) {
  .lil-policy { gap: 48px; }
  .lil-toc { padding: 20px; }
  .lil-toc .eyebrow { display: block; margin: 0 0 8px; }
  .lil-toc ol { display: flex; flex-direction: column; gap: 8px; overflow: visible; padding: 0; }
  .lil-toc li { flex: none; }
  .lil-toc li a { display: flex; align-items: center; gap: 10px; white-space: normal; padding: 6px 0; border: 0; border-radius: 0; font-size: 18px; line-height: 29px; }
  .lil-toc li a b { font: 800 14px/20px var(--wp--preset--font-family--sans); letter-spacing: 2px; }
  .lil-toc__help { display: flex; margin-top: 0; padding-top: 16px; border-top: 0; gap: 10px; }
  .lil-toc__help p { font-size: 18px; line-height: 29px; }
  .lil-toc__help .lil-btn { padding: 12px 32px; height: 52px; box-sizing: border-box; display: inline-flex; align-items: center; }
  .lil-policy__body { gap: 48px; }
  .lil-policy__body section { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 12px; align-items: center; border-top: 1px solid var(--wp--preset--color--green-300); padding-top: 32px; }
  .lil-policy__body section > .eyebrow { margin: 0; line-height: 20px; }
  .lil-policy__body section > h2 { margin: 0; font-size: 36px; line-height: 44px; letter-spacing: -.25px; }
  .lil-policy__body section > p:not(.eyebrow) { grid-column: 1 / -1; margin: 0; font-size: 20px; line-height: 32px; }
}
@media (min-width: 601px) and (max-width: 1100px) {
  .lil-section:has(> .lil-policy) { padding-top: 80px; padding-bottom: 80px; }
  .lil-policy__body section { row-gap: 0; }
  .lil-policy__body section > h2 + p:not(.eyebrow) { margin-top: 12px; }
}

/* ===== Conheça a Liliales no mobile (Figma 168:28451) ===== */
@media (max-width: 600px) {
  .eyebrow { line-height: 20px; }

  /* Símbolo: o botão (quando houver) vem depois, 64 px abaixo; sem botão a seção termina no símbolo */
  .lil-brand .wp-block-columns > .wp-block-column:last-child { margin-bottom: 0; }
  .lil-brand .wp-block-buttons { margin-top: 64px !important; }

  /* Missão, Visão e Valores: um cartão por vez + pontos */
  .lil-mvv__cards { margin-inline: 0; padding: 0; gap: 16px; }
  .lil-mvv__cards > * { flex: 0 0 100%; }
  .lil-mvv .lil-lead + .lil-mvv__cards, .lil-mvv__cards { margin-top: 32px; }

  /* Galeria: só as fotos, 350 x 300, uma por vez, com pontos e troca automática */
  .lil-gallery .lil-gal { display: flex; flex-direction: column; }
  .lil-gallery .lil-gal__filters, .lil-gallery .lil-gal__head > :not(.lil-gal__ctrl), .lil-gallery .lil-gal__btn { display: none; }
  .lil-gallery .lil-gal__head { order: 2; margin-top: 16px; justify-content: center; }
  .lil-gallery .lil-gal__ctrl { justify-content: center; width: 100%; }
  .lil-gallery .lil-gal__dots { gap: 8px; }
  .lil-gallery .lil-gal__dots i { width: 10px; height: 10px; }
  .lil-gallery .lil-gal__dots i.on { width: 28px; }
  .lil-gallery .lil-gal__view { order: 1; height: 300px; overflow: hidden; border-radius: 16px; }
  .lil-gallery .lil-gal__tile { top: 0; width: 350px; height: 300px; left: 50%; opacity: 0; pointer-events: none; transform: translateX(-50%); box-shadow: none; }
  .lil-gallery .lil-gal__tile.is-c { width: 350px; height: 300px; top: 0; opacity: 1; box-shadow: none; pointer-events: auto; }
  .lil-gallery .lil-gal__tile.is-l, .lil-gallery .lil-gal__tile.is-r { opacity: 0; pointer-events: none; transform: translateX(-50%); }
  .lil-gallery .lil-gal__tile::before, .lil-gallery .lil-gal__tile .lil-gal__tag, .lil-gallery .lil-gal__tile figcaption, .lil-gallery .lil-gal__tile .lil-gal__zoom { display: none; }
}

/* ===== Botões padronizados no mobile: 48 px de altura, 12 x 24, texto 18/24 ===== */
@media (max-width: 600px) {
  .lil-btn, .lil-btn--ghost, .lil-btn--out, .lil-btn-outline, .wp-block-button__link, .lil-footer__submit, .lil-quote__form button[type=submit], .lil-call__side .lil-btn {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
    height: 48px !important; min-height: 48px !important; padding: 0 24px !important; box-sizing: border-box;
    font-size: 18px !important; line-height: 24px !important; font-weight: 700; letter-spacing: .3px; white-space: nowrap;
  }
  .wp-block-button.is-style-outline .wp-block-button__link, .lil-btn--ghost, .lil-btn--out, .lil-btn-outline { border-width: 2px; }
}

/* ===== Floração no mobile (Figma 160:22622) ===== */
@media (max-width: 600px) {
  /* Destaque: imagem 350 x 420, depois status, título e botões */
  .lil-fl-feat .wp-block-columns { gap: 32px; }
  .lil-fl-feat img { height: 420px; object-fit: cover; }
  .lil-fl-feat .wp-block-column:last-child { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
  .lil-fl-feat .wp-block-column:last-child > * { margin: 0 !important; }
  .lil-fl-feat .lil-status { align-self: flex-start; }
  .lil-fl-feat .wp-block-buttons { gap: 12px; }

  /* Cartão de notícia: data + tipo/status em cima, texto embaixo */
  .lil-feed__list { gap: 16px; }
  .lil-feed__list .lil-news { display: grid; grid-template-columns: 84px 1fr; column-gap: 16px; row-gap: 0; padding: 16px; align-items: center; box-shadow: 0 8px 12px rgba(35,77,53,.12); }
  .lil-feed__list .lil-news__body { display: contents; }
  .lil-feed__list .lil-news__date { grid-column: 1; grid-row: 1; margin-bottom: 14px; padding: 10px 0; box-sizing: border-box; align-self: start; }
  .lil-feed__list .lil-news__date b { font-size: 28px; line-height: 36px; }
  .lil-feed__list .lil-news__meta { grid-column: 2; grid-row: 1; margin-bottom: 14px; flex-direction: column; align-items: flex-start; gap: 8px; align-self: center; }
  .lil-feed__list .lil-news h3 { grid-column: 1 / -1; margin: 0 0 10px; }
  .lil-feed__list .lil-news__body > p { grid-column: 1 / -1; margin: 0 0 10px; font-size: 17px; line-height: 27px; }
  .lil-feed__list .lil-news__more { grid-column: 1 / -1; justify-self: start; }
  .lil-status { padding: 6px 14px; font-size: 15px; line-height: 22px; }

  /* Agenda e newsletter */
  .lil-feed__side { gap: 16px; }
  .lil-agenda { padding: 16px; gap: 12px; box-shadow: 0 8px 24px rgba(35,77,53,.12); }
  .lil-agenda h3 { font-size: 22px; line-height: 30px; }
  .lil-agenda p { flex-direction: column; justify-content: flex-start; gap: 12px; padding: 8px 0; align-items: flex-start; }
  .lil-agenda p b { font: 700 18px/24px var(--wp--preset--font-family--sans); letter-spacing: .3px; }
  .lil-agenda p span { font-size: 17px; line-height: 27px; min-height: 54px; }
  .lil-newscard { padding: 16px; gap: 12px; }
  .lil-newscard h3 { font-size: 22px; line-height: 30px; }
  .lil-newscard .lil-footer__input { height: 63px; }
}

@media (max-width: 600px) {
  .lil-call__relhead { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .lil-call__relhead > * { margin: 0 !important; }
  .lil-call__related { gap: 16px; }
  .lil-call__related .lil-news { padding: 16px; gap: 16px; box-shadow: 0 8px 12px rgba(35,77,53,.12); }
  .lil-call__related .lil-news__date b { font-size: 28px; line-height: 36px; }
  .lil-call__related .lil-news__body > p { font-size: 17px; line-height: 27px; }
}
@media (max-width: 600px) {
  /* Detalhe da Floração (Figma 160:23958): 24 px entre blocos e 48 px até o cartão lateral */
  .lil-call__main { gap: 24px; }
  .lil-call { gap: 48px; }
}

/* Retrato da autora no mobile (Figma 160:23651): 350 x 425, arco no topo, cantos de baixo 24 px, leve zoom no recorte */
@media (max-width: 600px) {
  .lil-bio__photo { flex: none; width: 100%; max-width: 350px; aspect-ratio: 350 / 425; border-radius: 175px 175px 24px 24px; overflow: hidden; box-shadow: 0 8px 24px rgba(35,77,53,.12); }
  .lil-bio__photo img { width: 100%; height: 100% !important; aspect-ratio: auto; border-radius: 0; box-shadow: none; object-fit: cover; object-position: 50% 40%; transform: scale(1.1); transform-origin: 50% 45%; }
}

/* ===== Cultivo Editorial no mobile (Figma 160:22746) ===== */
@media (max-width: 600px) {
  /* Serviços: cartões 16/12, título 22/30, texto 17/27; 32 px abaixo do cabeçalho */
  .lil-svc { margin-top: 32px !important; gap: 16px; }
  .lil-svc > * { padding: 16px !important; gap: 12px !important; box-shadow: 0 8px 12px rgba(35,77,53,.12); }
  .lil-svc h3 { font-size: 22px; line-height: 30px; margin: 0; }
  .lil-svc p { font-size: 17px; line-height: 27px; margin: 0; }

  /* Processo: número 32/40, título 22/30, texto 17/27, 24 px entre passos */
  .lil-steps { margin-top: 32px !important; gap: 24px; }
  .lil-steps > * { gap: 12px; }
  .lil-steps > * > b { font-size: 32px; line-height: 40px; letter-spacing: -.75px; }
  .lil-steps h3 { font-size: 22px; line-height: 30px; margin: 0; }
  .lil-steps p { font-size: 17px; line-height: 27px; margin: 0; }

  /* Portfólio: capas 350 x 384, 32 px entre elas */
  .lil-covers { margin-top: 32px !important; gap: 32px; }
  .lil-covers > * { height: 384px; border-radius: 6px; overflow: hidden; box-shadow: 0 8px 24px rgba(35,77,53,.12); }
  .lil-covers > * img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 6px; }

  /* Perguntas frequentes: 12 px entre itens, título 22/30 */
  .lil-faq { margin-top: 32px !important; gap: 12px; }
  .lil-faq details { padding: 16px; }
  .lil-faq details[open] { padding: 15.5px; }
  .lil-faq summary { font-size: 22px; line-height: 30px; }
  .lil-faq summary::after { font-size: 28px; line-height: 36px; }
  .lil-faq details p { font-size: 17px; line-height: 27px; margin-top: 12px; }
}
@media (max-width: 600px) {
  .lil-quote { gap: 32px; }
  .lil-quote__txt ul { margin-top: 16px; gap: 16px; }
  .lil-quote__txt li { gap: 16px; }
  .lil-quote__txt li b { font: 700 18px/28px var(--wp--preset--font-family--sans); letter-spacing: .3px; }
  .lil-quote__txt li span:not(.lil-quote__i) { font-size: 17px; line-height: 27px; }
  .lil-quote__form { width: 100%; min-width: 0; box-sizing: border-box; padding: 24px; gap: 12px; }
  .lil-quote__form textarea { height: 150px; }
  .lil-quote__form .lil-quote__ok { font-size: 17px; line-height: 27px; }
  .lil-quote__form .lil-footer__submit { width: auto; align-self: flex-start; }
  .lil-process, .lil-steps { }
}

/* ===== Blog (destaque), Revista (última edição e seções) e carrossel automático das seções (Figma 160:22862, 160:22540, 160:22547) ===== */
@media (max-width: 600px) {
  /* Destaque do blog: imagem 350 x 470, texto 16 px entre itens, botão em largura total */
  .lil-featpost { flex-direction: column; align-items: stretch; gap: 32px; }
  .lil-featpost__img { flex: none; max-width: none; width: 100%; height: 470px; border-radius: 24px; }
  .lil-featpost__txt { max-width: none; width: 100%; gap: 16px; align-items: stretch; }
  .lil-featpost__txt .lil-post__cat { align-self: flex-start; }
  .lil-featpost__txt h2 { font-size: 32px; line-height: 40px; }
  .lil-featpost__lead { font-size: 18px; line-height: 28px; }
  .lil-featpost__txt .lil-btn { width: 100%; }

  /* Última edição: capa 350 x 518, texto 32 px abaixo */
  .lil-latest .wp-block-columns { gap: 32px; }
  .lil-latest .lil-cover { max-width: none; width: 100%; }
  .lil-latest .lil-cover img { aspect-ratio: 350 / 518.4; }
  .lil-latest .wp-block-column:last-child > * { margin-top: 0 !important; }
  .lil-latest .wp-block-buttons { gap: 12px; }

  /* Seções da revista: uma fileira de tópicos que rola sozinha */
  .lil-topics__list { flex-wrap: nowrap; gap: 12px; margin-top: 32px; overflow: hidden; max-width: none; }
  .lil-topics__list li { flex: none; white-space: nowrap; padding: 12px 22px; font-size: 18px; line-height: 28px; box-sizing: border-box; }
  .lil-topics__track { display: flex; gap: 12px; width: max-content; animation: lilMarquee 32s linear infinite; }
  .lil-topics__track.is-paused { animation-play-state: paused; }
}
@keyframes lilMarquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
@media (prefers-reduced-motion: reduce) { .lil-topics__track { animation: none; } .lil-topics__list { overflow-x: auto; } }
@media (max-width: 600px) {
  /* Filtros em pílula: mesma altura dos botões (48 px) */
  .lil-filters button, .lil-gal__filters button { height: 48px; padding: 0 24px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; line-height: 24px; white-space: nowrap; }
}
@media (max-width: 1100px) {
  .lil-hero2 .lil-slide__in .lil-chip { font: 800 14px/20px var(--wp--preset--font-family--sans); letter-spacing: 2px; }
}

/* Mobile: botões de ação sempre com a largura total do bloco (350 × 48), como no Figma */
@media (max-width: 600px) {
  main .wp-block-buttons { flex-direction: column; align-items: stretch; width: 100%; }
  main .wp-block-buttons > .wp-block-button { width: 100%; margin: 0; }
  main .wp-block-button__link { width: 100%; box-sizing: border-box; justify-content: center; text-align: center; }
  main .lil-btn { width: 100%; box-sizing: border-box; justify-content: center; text-align: center; }
}

@media (max-width: 600px) {
  .lil-footer__submit, main button[type="submit"] { width: 100%; box-sizing: border-box; justify-content: center; text-align: center; }
}
@media (max-width: 600px) {
  .lil-footer__submit, main button[type="submit"] { width: 100% !important; flex: 1 1 100% !important; max-width: none !important; }
}

/* Mobile: legenda com digitação da foto do Parceiro cabe dentro da foto (Figma: pílula pequena no canto inferior esquerdo) */
@media (max-width: 600px) {
  .lil-partner .lil-chip--float { left: 12px !important; right: auto !important; bottom: 12px !important; width: auto; max-width: calc(100% - 24px); box-sizing: border-box; font-size: 13px !important; line-height: 18px !important; letter-spacing: .2px !important; padding: 6px 12px !important; border-radius: 12px; overflow: hidden; }
}

/* Mobile CTA (Figma 160:22241): balão pequeno no canto e a personagem dentro do círculo */
@media (max-width: 600px) {
  .lil-cta .lil-bubble { left: 1.7%; top: 11.8%; font-size: 13px; line-height: 14px; letter-spacing: .2px; padding: 6px 12px; border-radius: 12px; z-index: 3; }
  .lil-cta .lil-stage video { height: 80%; bottom: 12%; }
}

/* Mobile: botões do hero com a mesma altura (48) e largura */
@media (max-width: 600px) {
  .lil-hero2 .lil-slide__cta { width: 100%; }
  .lil-hero2 .lil-slide__cta .lil-btn, .lil-hero2 .lil-slide__cta .lil-btn--ghost { width: 100%; height: 48px; padding: 0 24px; }
}
@media (max-width: 600px) { .lil-slide__cta, .lil-404__txt .lil-slide__cta { width: 100% !important; max-width: none; } }

/* Mobile · História (Figma 168:28454): foto em arco 307×378 com contorno deslocado 16 px, sem sair da tela */
@media (max-width: 600px) {
  .lil-about .lil-arch--story, .lil-arch--story { width: 307px; max-width: calc(100% - 24px); margin: 0 0 0 24px; }
  .lil-arch--story::after { inset: 16px -16px -16px 16px; border-radius: 154px 154px 0 0; }
}
