﻿ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      /* Paleta raiz: dourado */
      --cream:      #FAF7F2;       /* fundo geral */
      --cream-2:    #F2EDE3;       /* superfície secundária */
      --cream-3:    #E8E0D0;       /* bordas suaves */
      --gold:       #C4933A;       /* dourado principal */
      --gold-light: #D9A441;       /* dourado vivo */
      --gold-pale:  #F5E8C8;       /* dourado pálido — fill de campos */
      --gold-muted: rgba(196,154,42,.12); /* transparência */
      --amber-deep: #7A5C18;       /* texto âmbar escuro */
      --text-dark:  #2E2418;       /* texto principal quente */
      --text-mid:   #6B5C40;       /* texto secundário */
      --text-light: #A89070;       /* placeholder */
      --warm-white: #FFFDF9;       /* painel login */
      --border:     #DDD5C0;       /* bordas */
      --blue-hint:  #4A6FA5;       /* azul só no link do rodapé */
      --radius:     12px;
      --radius-sm:  8px;
    }

    html, body {
      height: 100%;
      font-family: 'Inter', sans-serif;
      background: var(--cream);
      color: var(--text-dark);
      -webkit-font-smoothing: antialiased;
    }

    .page {
      display: flex;
      min-height: 100vh;
    }

    /* ── HERO ── */
    .hero {
      flex: 1;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 60px 56px;
      overflow: hidden;
      background: var(--cream);
    }

    /* Textura de pontos finos */
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: radial-gradient(circle, rgba(196,154,42,.18) 1px, transparent 1px);
      background-size: 28px 28px;
      pointer-events: none;
    }

    /* Mancha de luz dourada suave */
    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 65% 55% at 30% 25%, rgba(217,164,65,.14) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 75% 80%, rgba(196,154,42,.08) 0%, transparent 70%);
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 440px;
    }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 22px;
    }

    .hero-eyebrow::before {
      content: '';
      display: block;
      width: 24px;
      height: 1.5px;
      background: var(--gold);
      border-radius: 2px;
    }

    .hero-greeting {
      font-size: 15px;
      font-weight: 300;
      color: var(--text-mid);
      margin-bottom: 12px;
    }

    .hero-quote {
      font-family: 'Lora', Georgia, serif;
      font-size: clamp(28px, 3.2vw, 40px);
      font-weight: 400;
      line-height: 1.3;
      color: var(--text-dark);
      margin-bottom: 32px;
    }

    .hero-quote em {
      font-style: italic;
      color: var(--gold-light);
    }

    /* Ornamento dourado */
    .hero-ornament {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .ornament-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--gold);
      opacity: .5;
    }
    .ornament-line {
      width: 48px; height: 1.5px;
      background: linear-gradient(90deg, var(--gold), transparent);
      border-radius: 2px;
    }

    .hero-footer {
      position: relative;
      z-index: 1;
      margin-top: auto;
      padding-top: 48px;
      font-size: 12px;
      color: var(--text-light);
      letter-spacing: .02em;
    }

    /* ── PAINEL LOGIN ── */
    .panel {
      width: 440px;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 52px 44px 80px;
      background: var(--warm-white);
      border-left: 1px solid var(--cream-3);
      position: relative;
    }

    .panel-inner {
      width: 100%;
      max-width: 320px;
      animation: fadeUp .45s cubic-bezier(.4,0,.2,1) both;
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(16px); }
      to   { opacity: 1; transform: translateY(0); }
    }
 
    /* Logo */
    .logo-wrap {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 40px;
    }

    .logo-mark {
      width: 100px; height: 70px;
      border-radius: 10px;
      /*background: var(--gold-pale);*/
	background:url('/plataforma/templates/images/logo-mep.png') no-repeat center;
	background-size:90%; 
     /* border: 1px solid var(--cream-3);*/
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 17px;
      font-weight: 600;
      color: var(--gold);
      letter-spacing: -.02em;
    }

    .logo-name {
      font-size: 15px;
      font-weight: 600;
      color: var(--text-dark);
      line-height: 1.2;
    }
    .logo-sub {
      font-size: 11px;
      color: var(--text-light);
      letter-spacing: .03em;
    }

    .panel-title {
      font-size: 21px;
      font-weight: 500;
      color: var(--text-dark);
      margin-bottom: 5px;
    }
    .panel-subtitle {
      font-size: 14px;
      color: var(--text-mid);
      margin-bottom: 28px;
    }

    /* Campos */
    .field { margin-bottom: 14px; }

    .field label {
      display: block;
      font-size: 12px;
      font-weight: 500;
      color: var(--text-mid);
      margin-bottom: 6px;
      letter-spacing: .03em;
    }

    .field input {
      width: 100%;
      padding: 12px 15px;
      background: var(--cream);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      font-family: inherit;
      font-size: 14px;
      color: var(--text-dark);
      outline: none;
      transition: border-color .2s, box-shadow .2s, background .2s;
    }

    .field input::placeholder { color: var(--text-light); }

    .field input:focus {
      border-color: var(--gold);
      background: var(--warm-white);
      box-shadow: 0 0 0 3px rgba(196,154,42,.12);
    }

    /* Campo senha */
   /* .field-pw { position: relative; }
    .field-pw input { padding-right: 44px; }
    .eye-btn {
      position: absolute;
      right: 13px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      color: var(--text-light);
      padding: 2px;
      display: flex;
      transition: color .2s;
    }
    .eye-btn:hover { color: var(--gold); }*/

    /* Campo senha */
    .field-pw { position: static; }
    .input-wrap { position: relative; }
    .field-pw input { padding-right: 44px; }
    .eye-btn {
      position: absolute;
      right: 13px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      color: var(--text-light);
      padding: 2px;
      display: flex;
      transition: color .2s;
    }
    .eye-btn:hover { color: var(--gold); }

    /* Mensagem erro */
    .msg {
      font-size: 13px;
      color: #B04040;
      min-height: 18px;
      margin-bottom: 6px;
      display: none;
    }
    .msg.show { display: block; }

    /* Esqueceu */
    .forgot-row {
      text-align: right;
      margin-bottom: 22px;
    }

    .link {
      font-size: 13px;
      color: var(--text-light);
      cursor: pointer;
      text-decoration: none;
      transition: color .2s;
    }
    .link:hover { color: var(--gold); }

    /* Botão */
    .btn-entrar {
      width: 100%;
      padding: 13px;
      background: var(--gold-light);
      border: none;
      border-radius: var(--radius-sm);
      font-family: inherit;
      font-size: 14px;
      font-weight: 600;
      color: var(--warm-white);
      cursor: pointer;
      letter-spacing: .04em;
      transition: background .2s, transform .15s, box-shadow .2s;
      margin-bottom: 18px;
    }
    .btn-entrar:hover {
      background: var(--gold);
      box-shadow: 0 4px 16px rgba(196,154,42,.28);
      transform: translateY(-1px);
    }
    .btn-entrar:active { transform: translateY(0); box-shadow: none; }
    .btn-entrar.loading { opacity: .65; pointer-events: none; }

    /* Divisor */
    .divider {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 18px;
    }
    .div-line { flex: 1; height: 1px; background: var(--border); }
    .div-txt { font-size: 12px; color: var(--text-light); }

    .cadastro-row {
      text-align: center;
      font-size: 13px;
      color: var(--text-mid);
    }

    /* Rodapé */
    .panel-footer {
      position: absolute;
      bottom: 22px;
      left: 0; right: 0;
      text-align: center;
      font-size: 11px;
      color: var(--text-light);
      line-height: 1.8;
    }
    .panel-footer a {
      color: var(--blue-hint);
      text-decoration: none;
      transition: opacity .2s;
    }
    .panel-footer a:hover { opacity: .7; }

    /* ── RESPONSIVO ── */
    @media (max-width: 800px) {
      .hero { display: none; }
      .panel {
        width: 100%;
        min-height: 100vh;
        border-left: none;
        padding: 44px 28px 80px;
      }
    }
    @media (max-width: 400px) {
      .panel { padding: 36px 20px 72px; }
    }