:root {
      --blue: #084a70;
      --deep-blue: #063b5a;
      --yellow: #ffdf00;
      --green: #1fac67;
      --ink: #113f5c;
      --muted: #a9adb5;
      --paper: #f7f7f5;
      --line: #e5e7eb;
      --shadow: 0 20px 45px rgba(20, 43, 62, 0.12);
    }

    * { box-sizing: border-box; }

    html { min-width: 320px; }

    body {
      margin: 0;
      color: var(--ink);
      background: #ffffff;
      font-family: "Trebuchet MS", "Segoe UI", sans-serif;
      -webkit-font-smoothing: antialiased;
    }

    button, input { font: inherit; }

    .site-header {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 132px;
      padding: 20px 24px;
      background: #fbfbfa;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 17px;
      color: var(--blue);
      font-size: clamp(2.5rem, 5vw, 4.3rem);
      font-weight: 700;
      letter-spacing: -3px;
      line-height: 1;
    }

    .brand-mark { width: 235px; height: auto; flex: 0 0 auto; object-fit: contain; }

    .security-strip {
      position: relative;
      overflow: hidden;
      width: 100%;
      background: var(--yellow);
      min-height: 67px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 12px 20px;
      color: var(--blue);
      font-size: clamp(1rem, 2vw, 1.42rem);
      font-weight: 700;
    }

    .security-strip::after {
      content: "";
      position: absolute;
      right: -30px;
      top: 0;
      width: 42%;
      height: 100%;
      background: linear-gradient(155deg, transparent 41%, rgba(247, 177, 0, .35) 42%, rgba(247, 177, 0, .35) 59%, transparent 60%);
      pointer-events: none;
    }

    .security-content { display: flex; align-items: center; gap: 14px; z-index: 1; }
    .security-content strong { font-weight: 700; }
    .security-content .dot { font-size: 1.4em; line-height: 0; }
    .security-content .check { font-size: 1.9em; line-height: .6; margin-left: 9px; }

    main {
      max-width: 1180px;
      margin: 0 auto;
      padding: 38px 28px 60px;
    }

    .fiscal-banner {
      min-height: 154px;
      border-radius: 17px;
      padding: 28px 42px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      color: white;
      background: linear-gradient(104deg, #073d5d 0%, #075077 100%);
      box-shadow: 0 9px 18px rgba(6, 59, 90, .12);
    }

    .federal-lockup { display: flex; align-items: center; gap: 20px; font-size: clamp(1.2rem, 2.4vw, 1.75rem); font-weight: 700; }
    .federal-seal { width: 66px; height: 54px; color: #fff; }
    .fiscal-status { text-align: right; font-size: clamp(1rem, 2vw, 1.35rem); }
    .fiscal-status strong { display: block; margin-bottom: 8px; font-size: 1.18em; }
    .online { color: #52e38c; }
    .online::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 8px; border-radius: 50%; background: #51df88; vertical-align: -1px; }

    .intro { text-align: center; padding: 48px 0 50px; }
    .intro h1 { margin: 0 0 23px; color: var(--blue); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -1.6px; line-height: 1.08; }
    .intro p { margin: 0; font-size: clamp(1.25rem, 2.5vw, 1.7rem); }

    .tracking-shell { padding: 40px; border: 1px solid #e1e2e4; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
    .tracking-panel { padding: 32px 42px 33px; border: 3px solid #e8e9eb; border-radius: 17px; background: #f1f1f2; }
    .prompt { display: flex; align-items: center; justify-content: center; gap: 13px; margin-bottom: 42px; font-size: 1.25rem; }
    .prompt svg { flex: 0 0 auto; }
    .tracking-form label { display: block; margin-bottom: 25px; font-size: clamp(1.2rem, 2.3vw, 1.55rem); font-weight: 700; }
    .tracking-form input { width: 100%; height: 94px; padding: 0 28px; border: 4px solid #d6d8df; border-radius: 17px; outline: none; color: var(--ink); background: #fff; font-size: clamp(1.15rem, 2.4vw, 1.48rem); text-align: center; }
    .tracking-form input::placeholder { color: #afb2b8; opacity: 1; }
    .tracking-form input:focus { border-color: #4a86a7; box-shadow: 0 0 0 4px rgba(74, 134, 167, .16); }
    .tracking-form input[aria-invalid="true"] { border-color: #c75454; }
    .submit-button { width: 100%; min-height: 84px; margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 16px; border: 0; border-radius: 17px; color: white; background: linear-gradient(100deg, #a9afbc, #6e7686); cursor: pointer; font-size: 1.36rem; font-weight: 700; transition: transform .2s ease, filter .2s ease; }
    .submit-button:hover { filter: brightness(.95); transform: translateY(-2px); }
    .submit-button:active { transform: translateY(0); }
    .submit-button:focus-visible { outline: 4px solid rgba(8, 74, 112, .28); outline-offset: 3px; }
    .submit-button svg { width: 31px; height: 31px; }
    .form-message { min-height: 25px; margin: 12px 0 0; color: #a43e3e; font-size: .98rem; text-align: center; }
    .trust-list { display: grid; justify-content: center; gap: 13px; margin: 27px 0 0; padding: 0; list-style: none; font-size: 1.2rem; }
    .trust-list li::before { content: "✓"; margin-right: 9px; font-size: 1.25em; font-weight: 700; }

    .benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
    .benefit { min-height: 228px; padding: 23px 25px 26px; display: flex; flex-direction: column; align-items: center; border: 1px solid #e3e4e6; border-left: 7px solid var(--blue); border-radius: 17px; background: #fff; box-shadow: 0 6px 13px rgba(0, 0, 0, .08); text-align: center; }
    .benefit:nth-child(2) { border-left-color: var(--green); }
    .benefit:nth-child(3) { border-left-color: var(--yellow); }
    .benefit-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 50%; color: var(--blue); background: #eef3f6; }
    .benefit:nth-child(2) .benefit-icon { color: var(--green); background: #e9faef; }
    .benefit:nth-child(3) .benefit-icon { color: #e2bc18; background: #fff9dd; }
    .benefit h2 { margin: 0 0 17px; font-size: 1.22rem; }
    .benefit p { max-width: 240px; margin: 0; font-size: 1.08rem; line-height: 1.45; }

    .site-footer {
      width: 100%;
      min-height: 95px;
      display: grid;
      place-items: center;
      padding: 24px;
      color: white;
      background: linear-gradient(105deg, #ffdf00, #f4c500);
    }
    .site-footer p { margin: 0; color: var(--blue); font-weight: 700; }

    /* Layout da demonstracao visual baseada na referencia enviada. */
    body { background: #f3f2ef; }
    .site-header { min-height: 102px; }
    .brand { color: #477893; font-size: clamp(2.8rem, 5vw, 4.2rem); }
    .brand-mark { width: 68px; height: 68px; }
    .security-strip { min-height: 62px; }
    main { max-width: 1075px; padding-top: 27px; }
    .fiscal-banner { min-height: 116px; padding: 22px 38px; border-radius: 14px; background: linear-gradient(105deg, #073d5c, #075078); }
    .federal-lockup { font-size: clamp(1.15rem, 2.3vw, 1.6rem); }
    .fiscal-status { font-size: clamp(.95rem, 2vw, 1.25rem); }
    .intro { padding: 35px 0 43px; }
    .intro h1 { margin-bottom: 23px; font-size: clamp(2rem, 4vw, 2.75rem); }
    .intro p { font-size: clamp(1.2rem, 2.3vw, 1.5rem); }
    .tracking-shell { padding: 27px; border-radius: 14px; }
    .tracking-panel { padding: 0; border: 0; background: #fff; }
    .prompt { display: block; margin: 0 0 27px; padding: 22px 25px; border-left: 7px solid #e84b4b; color: #a9272b; background: #fff0f0; font-size: 1.22rem; line-height: 1.45; }
    .prompt::before { content: "i"; display: inline-grid; width: 31px; height: 31px; place-items: center; margin-right: 17px; border-radius: 50%; color: #fff; background: #ed4a4e; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 700; vertical-align: -4px; }
    .prompt span { display: inline; }
    .prompt span::before { content: "AVISO IMPORTANTE\A"; white-space: pre; display: inline; font-weight: 700; }
    .tracking-form { text-align: center; }
    .tracking-form label, .tracking-copy { display: block; margin: 0 auto 28px; max-width: 820px; font-size: clamp(1.15rem, 2.3vw, 1.45rem); font-weight: 400; line-height: 1.45; }
    .tracking-form label::after { content: ""; }
    .tracking-form input { display: none; }
    .submit-button { min-height: 74px; margin-top: 0; border-radius: 14px; background: #063b5a; font-size: clamp(1rem, 2vw, 1.3rem); }
    .submit-button:hover { background: #075078; }
    .form-message { min-height: 0; margin: 11px 0 0; font-size: .95rem; }
    .trust-list { display: none; }
    .benefits { margin-top: 42px; gap: 19px; }
    .benefit { min-height: 214px; padding: 20px 18px; border-radius: 15px; }
    .benefit h2 { margin-bottom: 16px; font-size: 1.22rem; }
    .benefit p { font-size: 1rem; }
    .site-footer { position: relative; overflow: hidden; min-height: 290px; margin-top: 0; padding: 48px 24px 30px; background: #ffe000; }
    .site-footer::after { content: ""; position: absolute; right: -100px; bottom: -100px; width: 420px; height: 250px; background: rgba(247, 170, 0, .22); transform: rotate(-25deg); }
    .footer-content { position: relative; z-index: 1; width: min(100%, 680px); display: grid; gap: 44px; margin: 0 auto; }
    .footer-brands { display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #07527d; }
    .footer-correios { display: flex; align-items: center; gap: 12px; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -2px; }
    .footer-correios .brand-mark { width: 235px; height: auto; }
    .footer-brazil { display: flex; align-items: center; justify-content: flex-end; gap: 14px; text-align: right; line-height: .9; font-size: 1rem; font-weight: 900; }
    .footer-brazil .government-mark { width: 170px; height: 110px; object-fit: contain; display: block; flex-shrink: 0; }
    .footer-brazil strong { display: block; font-size: 3.2rem; letter-spacing: -.09em; }
    .footer-brazil small { display: block; margin-top: 6px; font-size: .55em; letter-spacing: .05em; text-align: center; }
    .footer-legal { margin: 0; color: #07527d; font-size: .95rem; text-align: center; line-height: 1.55; }

    @media (min-width: 900px) {
      .site-header { min-height: 82px; padding: 10px 24px 8px; }
      .brand { font-size: 3rem; gap: 12px; }
      .brand-mark { width: 180px; height: auto; }
      .security-strip { min-height: 48px; padding: 8px 20px; font-size: 1rem; }
      main { max-width: 960px; padding: 22px 24px 34px; }
      .fiscal-banner { min-height: 92px; padding: 17px 28px; border-radius: 13px; }
      .federal-lockup { gap: 14px; font-size: 1.2rem; }
      .federal-seal { width: 52px; height: 43px; }
      .fiscal-status { font-size: 1rem; }
      .intro { padding: 24px 0 26px; }
      .intro h1 { margin-bottom: 12px; font-size: 2.2rem; }
      .intro p { font-size: 1.15rem; }
      .tracking-shell { padding: 18px; border-radius: 14px; }
      .tracking-panel { padding: 20px 28px 22px; border-radius: 13px; }
      .prompt { margin-bottom: 18px; padding: 14px 18px; font-size: 1rem; }
      .tracking-form label { margin-bottom: 14px; font-size: 1.1rem; }
      .tracking-form input { height: 62px; border-width: 3px; border-radius: 12px; font-size: 1.1rem; }
      .submit-button { min-height: 58px; margin-top: 16px; border-radius: 12px; font-size: 1.05rem; }
      .benefits { gap: 14px; margin-top: 28px; }
      .benefit { min-height: 156px; padding: 16px 14px; border-radius: 13px; }
      .benefit-icon { width: 38px; height: 38px; margin-bottom: 10px; }
      .benefit h2 { margin-bottom: 8px; font-size: 1rem; }
      .benefit p { font-size: .88rem; }
    }

    @media (max-width: 720px) {
      .site-header { min-height: 105px; padding: 17px; }
      .brand { gap: 11px; font-size: 2.75rem; letter-spacing: -2px; }
      .brand-mark { width: 53px; height: 53px; }
      .security-strip { min-height: 63px; }
      .security-content { gap: 8px; font-size: .94rem; }
      .security-content .check { margin-left: 2px; }
      main { padding: 24px 14px 44px; }
      .fiscal-banner { min-height: 116px; padding: 22px 20px; gap: 12px; border-radius: 14px; }
      .federal-lockup { gap: 10px; font-size: 1.05rem; }
      .federal-seal { width: 47px; height: 40px; }
      .fiscal-status { font-size: .9rem; }
      .online::before { width: 11px; height: 11px; margin-right: 4px; }
      .intro { padding: 34px 4px 33px; }
      .intro h1 { font-size: 2rem; }
      .intro p { font-size: 1.16rem; }
      .tracking-shell { padding: 15px; border-radius: 14px; }
      .prompt { margin-bottom: 22px; padding: 17px 14px; font-size: .97rem; }
      .prompt::before { width: 27px; height: 27px; margin-right: 9px; font-size: 1.3rem; }
      .prompt span::before { content: "AVISO IMPORTANTE\A"; }
      .tracking-form label { margin-bottom: 22px; font-size: 1.03rem; line-height: 1.45; }
      .submit-button { min-height: 67px; font-size: 1rem; }
      .benefits { grid-template-columns: 1fr; gap: 14px; margin-top: 44px; }
      .benefit { min-height: 0; padding: 19px 18px 22px; }
      .benefit-icon { margin-bottom: 12px; }
      .benefit h2 { margin-bottom: 10px; }
      .benefit p { max-width: 280px; }
      .site-footer { min-height: 270px; padding: 48px 28px 30px; }
      .footer-content { gap: 36px; }
      .footer-brands { align-items: flex-start; flex-direction: column; gap: 18px; }
      .footer-correios .brand-mark { width: 210px; }
      .footer-brazil { align-self: flex-end; }
    }

    @media (max-width: 400px) {
      .brand { font-size: 2.22rem; }
      .security-content { font-size: .77rem; }
      .security-content .dot { font-size: 1.1em; }
      .fiscal-banner { align-items: flex-start; flex-direction: column; }
      .fiscal-status { width: 100%; text-align: left; }
    }
