    :root {
      --red: #900;
      --dark-red: #600;
      --light-red: #d33;
      --parchment: #f5f0e8;
      --parchment-dark: #e8e3d0;
    }
    
    * {
      box-sizing: border-box;
    }
    
    body {
      margin: 0;
      padding: 20px;
      background: #333 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="%23444" width="100" height="100"/><path fill="%23333" d="M0 0h100v100H0z"/><path fill="%23222" d="M10 10h80v80H10z"/></svg>') repeat;
      color: #222;
      font-family: "Special Elite", "Courier New", monospace;
      line-height: 1.6;
      background-attachment: fixed;
      position: relative;
      min-height: 100vh;
    }
    
    body::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
                  linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
      background-size: 20px 20px;
      pointer-events: none;
      z-index: -1;
    }

    .container {
      max-width: 100%;
      width: 100%;
      margin: 0 auto;
      padding: 20px;
      background: var(--parchment);
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.4), 0 0 100px rgba(150, 0, 0, 0.2) inset;
      border: 1px solid #aaa;
      position: relative;
      overflow: hidden;
    }
    
    @media (min-width: 768px) {
      body {
        padding: 40px;
      }
      .container {
        max-width: 900px;
        padding: 40px;
      }
    }
    
    .container::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><rect fill="%23f5f0e8" width="200" height="200"/><path fill="%23e8e3d0" d="M0 0h200v200H0z"/><path fill="%23d8d0b0" d="M20 20h160v160H20z"/></svg>') repeat;
      opacity: 0.3;
      pointer-events: none;
    }

    header {
      text-align: center;
      padding: 20px 0;
      border-bottom: 3px solid var(--red);
      margin-bottom: 30px;
      background: rgba(150, 0, 0, 0.05);
      position: relative;
    }
    
    header::after {
      content: "✧";
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--parchment);
      padding: 0 15px;
      color: var(--red);
      font-size: 20px;
    }

    h1 {
      margin: 0;
      color: var(--red);
      font-size: 2.2em;
      text-transform: uppercase;
      letter-spacing: 2px;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
      font-family: "Playfair Display", serif;
      position: relative;
      display: inline-block;
      line-height: 1.2;
    }
    
    @media (min-width: 768px) {
      h1 {
        font-size: 2.8em;
        letter-spacing: 3px;
      }
    }
    
    h1::before, h1::after {
      content: "♦";
      position: relative;
      margin: 0 10px;
      color: var(--dark-red);
      font-size: 0.7em;
    }

    .subtitle {
      font-style: italic;
      color: var(--dark-red);
      margin: 10px 0 0 0;
      font-size: 1em;
      letter-spacing: 0.5px;
    }
    
    @media (min-width: 768px) {
      .subtitle {
        font-size: 1.1em;
        letter-spacing: 1px;
      }
    }

    .stamp {
      width: 100px;
      height: 100px;
      border: 4px double var(--red);
      border-radius: 50%;
      color: var(--red);
      font-weight: bold;
      text-align: center;
      line-height: 92px;
      font-size: 12px;
      margin: 20px auto;
      background: rgba(255,255,255,0.1);
      transform: rotate(15deg);
      box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
      position: relative;
      overflow: hidden;
      transition: transform 0.5s;
    }
    
    @media (min-width: 768px) {
      .stamp {
        width: 120px;
        height: 120px;
        line-height: 110px;
        font-size: 14px;
      }
    }
    
    .stamp:hover {
      transform: rotate(5deg) scale(1.05);
    }
    
    .stamp::before {
      content: "";
      position: absolute;
      top: 5px;
      left: 5px;
      right: 5px;
      bottom: 5px;
      border: 1px dashed var(--red);
      border-radius: 50%;
    }

    h2 {
      color: var(--dark-red);
      border-bottom: 2px solid var(--red);
      padding-bottom: 5px;
      margin-top: 40px;
      font-family: "Playfair Display", serif;
      text-align: center;
      font-size: 1.5em;
      text-transform: uppercase;
      letter-spacing: 1px;
    }
    
    @media (min-width: 768px) {
      h2 {
        font-size: 1.8em;
        letter-spacing: 2px;
      }
    }

    h3 {
      color: var(--dark-red);
      font-size: 1.2em;
      margin-top: 30px;
      border-left: 3px solid var(--red);
      padding-left: 10px;
      font-family: "Playfair Display", serif;
    }
    
    @media (min-width: 768px) {
      h3 {
        font-size: 1.3em;
      }
    }

    blockquote {
      background: #ffe;
      border-left: 5px solid #cc0;
      padding: 15px;
      margin: 20px 0;
      font-style: italic;
      color: #555;
      position: relative;
      box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
      font-size: 0.95em;
    }
    
    @media (min-width: 768px) {
      blockquote {
        padding: 15px 20px;
        font-size: 1em;
      }
    }
    
    blockquote::before {
      content: """;
      position: absolute;
      top: -15px;
      left: 5px;
      font-size: 60px;
      color: rgba(204, 204, 0, 0.2);
      font-family: Arial;
    }

    .article {
      margin: 30px 0;
      position: relative;
    }
    
    .article::before {
      content: "§";
      position: absolute;
      left: -20px;
      top: 0;
      color: var(--red);
      font-size: 18px;
    }
    
    @media (min-width: 768px) {
      .article {
        margin: 40px 0;
      }
      .article::before {
        left: -25px;
        font-size: 20px;
      }
    }

    .propaganda {
      background: #222;
      color: #fff;
      padding: 20px;
      margin: 30px 0;
      text-align: center;
      border: 2px solid var(--red);
      position: relative;
      box-shadow: 0 0 15px rgba(0,0,0,0.3);
    }
    
    .propaganda::before {
      content: "";
      position: absolute;
      top: 5px;
      left: 5px;
      right: 5px;
      bottom: 5px;
      border: 1px dashed rgba(255,255,255,0.3);
      pointer-events: none;
    }

    .propaganda h3 {
      color: #f55;
      margin: 0 0 15px 0;
      text-transform: uppercase;
      font-size: 1.3em;
      letter-spacing: 1px;
      border: none;
      padding: 0;
    }
    
    @media (min-width: 768px) {
      .propaganda h3 {
        font-size: 1.4em;
        letter-spacing: 2px;
      }
    }

    .propaganda p {
      margin: 10px 0;
      font-weight: bold;
      letter-spacing: 0.5px;
      position: relative;
      display: inline-block;
      padding: 0 10px;
      font-size: 0.95em;
    }
    
    @media (min-width: 768px) {
      .propaganda p {
        font-size: 1em;
      }
    }
    
    .propaganda p::before {
      content: "◆";
      margin-right: 8px;
      color: var(--light-red);
    }

    .news {
      background: #f9f9f9;
      border: 1px solid #ccc;
      padding: 15px;
      margin: 20px 0;
      font-size: 0.9em;
      position: relative;
      box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
      border-left: 4px solid var(--red);
    }
    
    @media (min-width: 768px) {
      .news {
        padding: 20px;
        font-size: 0.95em;
        margin: 25px 0;
      }
    }
    
    .news::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 5px;
      background: linear-gradient(to bottom, transparent 0%, var(--red) 50%, transparent 100%);
      opacity: 0.2;
    }

    .news h4 {
      margin: 0 0 10px 0;
      color: #700;
      font-size: 1.1em;
    }

    .signature {
      text-align: right;
      font-style: italic;
      margin: 30px 0;
      padding-right: 15px;
      position: relative;
      font-size: 0.95em;
    }
    
    @media (min-width: 768px) {
      .signature {
        margin: 40px 0;
        padding-right: 20px;
        font-size: 1em;
      }
    }
    
    .signature::before {
      content: "";
      position: absolute;
      right: 0;
      top: 50%;
      width: 120px;
      height: 2px;
      background: linear-gradient(to right, transparent, var(--red));
      transform: translateY(-50%);
    }
    
    @media (min-width: 768px) {
      .signature::before {
        width: 150px;
      }
    }

    footer {
      text-align: center;
      margin-top: 50px;
      padding: 20px;
      color: var(--dark-red);
      font-size: 0.85em;
      border-top: 1px dashed #999;
      position: relative;
    }
    
    @media (min-width: 768px) {
      footer {
        margin-top: 60px;
        font-size: 0.9em;
      }
    }
    
    footer::before {
      content: "✧";
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--parchment);
      padding: 0 15px;
      color: var(--red);
      font-size: 20px;
    }
    
    .watermark {
      position: absolute;
      opacity: 0.03;
      font-size: 120px;
      transform: rotate(-45deg);
      pointer-events: none;
      z-index: 0;
      white-space: nowrap;
      font-weight: bold;
      color: var(--red);
      top: 30%;
      left: -100px;
      right: -100px;
      text-align: center;
      font-family: "Playfair Display", serif;
      display: none;
    }
    
    @media (min-width: 768px) {
      .watermark {
        display: block;
        font-size: 180px;
      }
    }
    
    .document-number {
      position: absolute;
      top: 10px;
      right: 10px;
      font-size: 0.65em;
      color: #999;
      opacity: 0.7;
    }
    
    @media (min-width: 768px) {
      .document-number {
        font-size: 0.7em;
      }
    }
    
    p {
      margin: 15px 0;
      font-size: 0.95em;
    }
    
    @media (min-width: 768px) {
      p {
        font-size: 1em;
      }
    }
    
    /* Novos estilos para as imagens */
    .emblema {
      max-width: 300px;
      margin: 20px auto;
      border: 3px double var(--red);
      padding: 10px;
      background: rgba(255, 255, 255, 0.9);
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    }
    
    .emblema img {
      width: 100%;
      display: block;
      filter: sepia(30%) contrast(110%);
    }
    
    .crianca-container {
      margin: 25px 0;
      text-align: center;
      position: relative;
      padding: 15px;
      background: rgba(0, 0, 0, 0.05);
      border: 1px dashed #999;
    }
    
    .crianca-img {
      max-width: 250px;
      margin: 0 auto;
      border: 2px solid var(--dark-red);
      padding: 5px;
      background: #fff;
    }
    
    .crianca-img img {
      width: 100%;
      display: block;
      filter: grayscale(30%) contrast(120%);
    }
    
    .legenda {
      font-style: italic;
      color: #666;
      margin-top: 8px;
      font-size: 0.9em;
    }

/* Container do retrato */
.retrato-cidadao {
  max-width: 100%  /* largura máxima */
  text-align: center; /* centraliza texto e imagem */
  padding: 20px;
  background-color: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  border-radius: 10px;
}


	.retrato-cidadao img {
	  max-width: 100%; /* nunca ultrapassa a largura do container */
	  height: auto;    /* mantém proporção */
	  border-radius: 5px;
	  margin-bottom: 15px;
	} 
