/*
Theme Name: Meu Filho Disse
Theme URI: https://meufilhodisse.com.br
Description: Tema-filho oficial do Astra para o aplicativo Meu Filho Disse.
Author: Meu Filho Disse
Template: astra
Version: 0.1.1
Text Domain: meu-filho-disse
*/

:root {
  --mfd-pink: #fd4283;
  --mfd-pink-dark: #e32964;
  --mfd-pink-soft: #ffeaf3;
  --mfd-blue: #065ff5;
  --mfd-blue-dark: #093fcb;
  --mfd-blue-soft: #eaf3ff;
  --mfd-bg: #fffdfc;
  --mfd-text: #252538;
  --mfd-muted: #6e6e7e;
  --mfd-white: #ffffff;
  --mfd-shadow: 0 12px 35px rgba(37, 37, 56, .10);
}

/* Reset estrutural: impede margens e faixas brancas herdadas do Astra. */
html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
  background: var(--mfd-bg);
  color: var(--mfd-text);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
button,
input,
textarea,
select {
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
h4,
.mfd-display {
  font-family: "Baloo 2", system-ui, sans-serif;
}

/* O aplicativo possui cabeçalho e navegação próprios. */
.site-header,
.site-footer,
.ast-above-header-wrap,
.ast-below-header-wrap,
.ast-primary-header-bar,
.ast-mobile-header-wrap,
.ast-title-bar-wrap,
.entry-header,
.ast-page-builder-template .entry-header,
.sidebar-main,
#secondary {
  display: none !important;
}

/* Neutraliza todos os contêineres, artigos e áreas de conteúdo do Astra. */
#page,
.site,
.site-content,
.ast-container,
.site-content > .ast-container,
.content-area,
.site-main,
#primary,
article,
.ast-article-single,
.ast-article-post,
.entry-content,
.entry-content-wrapper,
.mfd-page-root {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ast-separate-container,
.ast-separate-container #primary,
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post,
.ast-page-builder-template,
.ast-page-builder-template .site-content,
.ast-page-builder-template .site-content > .ast-container {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Evita o espaçamento superior do administrador quando a barra não é exibida. */
body:not(.admin-bar) {
  margin-top: 0 !important;
}

.mfd-page-root,
.mfd-shell {
  display: block;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Mídias nunca podem ultrapassar a viewport. */
img,
video,
svg,
canvas {
  max-width: 100%;
  height: auto;
}

@media (max-width: 921px) {
  #page,
  .site-content,
  .ast-container,
  #primary,
  .site-main,
  article,
  .entry-content {
    margin: 0 !important;
    padding: 0 !important;
  }
}
