@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/azeen/instrument-serif-400-italic.ttf) format('truetype');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/azeen/instrument-serif-400-normal.ttf) format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/azeen/plus-jakarta-sans-400-normal.ttf) format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/azeen/plus-jakarta-sans-600-normal.ttf) format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/azeen/plus-jakarta-sans-700-normal.ttf) format('truetype');
}

/* Identidade Azeen. Estilos compartilhados pelas páginas públicas de login e cadastro. */
.azeen-login {
    --azeen-nuvem: #E5E4E2;
    --azeen-institucional: #024C7B;
    --azeen-petroleo: #081A1E;
    --azeen-claro: #93D2E5;
    --azeen-brisa: #C7DDEA;
    margin: 0;
    background: var(--azeen-nuvem);
    color: var(--azeen-petroleo);
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}
.azeen-login *, .azeen-login *::before, .azeen-login *::after { box-sizing: border-box; }
.azeen-login button, .azeen-login input { font: inherit; }
.azeen-login a { color: var(--azeen-institucional); text-underline-offset: 4px; }
.azeen-login a:hover { color: var(--azeen-petroleo); }
.azeen-login :focus-visible { outline: 3px solid var(--azeen-institucional); outline-offset: 4px; }
.azeen-login-skip { position: absolute; left: 24px; top: -100px; padding: 12px 20px; background: white; z-index: 5; }
.azeen-login-skip:focus { top: 16px; }
.azeen-login-layout { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; padding: 20px; gap: 20px; }
.azeen-login-brand {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 720px;
    padding: 48px clamp(32px, 4.5vw, 80px);
    border-radius: 14px;
    background: var(--azeen-institucional);
    color: white;
}
.azeen-login-logo { display: block; width: 178px; height: auto; position: relative; z-index: 1; }
.azeen-login-message { position: relative; z-index: 1; padding: 64px 0 76px; }
.azeen-login-eyebrow { margin: 0 0 24px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.azeen-login-brand .azeen-login-eyebrow { color: var(--azeen-brisa); }
.azeen-login-message h2 { margin: 0; font-family: "Instrument Serif", Georgia, serif; font-size: clamp(56px, 5.7vw, 88px); font-weight: 400; line-height: 1.04; letter-spacing: -.02em; }
.azeen-login-message em { color: var(--azeen-brisa); font-weight: 400; }
.azeen-login-description { margin: 28px 0 0; color: var(--azeen-brisa); font-size: 13px; line-height: 1.8; }
.azeen-login-graphic { position: absolute; width: 310px; right: -155px; bottom: 78px; opacity: .13; pointer-events: none; z-index: 0; }
.azeen-login-brand-footer { position: relative; z-index: 1; margin: 0; max-width: 310px; font-size: 11px; color: var(--azeen-brisa); }
.azeen-login-access { display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; padding: 64px 32px 80px; min-width: 0; }
.azeen-login-card { width: 100%; max-width: 410px; }
.azeen-login-heading .azeen-login-eyebrow { color: var(--azeen-institucional); margin-bottom: 16px; }
.azeen-login-heading h1 { margin: 0 0 16px; font-size: 36px; line-height: 1.25; letter-spacing: -.045em; font-weight: 600; }
.azeen-login-heading > p:last-child { margin: 0; color: #42565B; }
.azeen-login-form { margin-top: 36px; }
.azeen-login-field { margin-bottom: 24px; }
.azeen-login-field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.azeen-login-field input {
    width: 100%; min-width: 0; height: 54px; padding: 14px 16px;
    border: 1px solid #75868B; border-radius: 12px;
    background: #FFFFFF; color: var(--azeen-petroleo); font-size: 16px;
}
.azeen-login-field input::placeholder { color: #647479; opacity: 1; }
.azeen-login-field input:focus { border-color: var(--azeen-institucional); }
.azeen-login-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.azeen-login-label-row label { margin: 0; }
.azeen-login-label-row a { font-size: 12px; }
.azeen-login-password { position: relative; }
.azeen-login-password input { padding-right: 88px; }
.azeen-login-toggle { position: absolute; right: 7px; top: 5px; height: 44px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--azeen-institucional); font-size: 12px !important; font-weight: 600 !important; cursor: pointer; }
.azeen-login-toggle:hover { background: var(--azeen-brisa); }
.azeen-login-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; padding: 14px 20px; border: 0; border-radius: 12px; background: var(--azeen-institucional); color: white; font-weight: 600 !important; cursor: pointer; }
.azeen-login-submit:hover { background: var(--azeen-petroleo); }
.azeen-login-submit span { font-size: 22px; line-height: 1; }
.azeen-login-register { margin: 28px 0 0; padding-top: 24px; border-top: 1px solid #C4CCCD; font-size: 12px; text-align: center; }
.azeen-login-register a { display: inline-block; font-weight: 600; }
.azeen-login-access-footer { position: absolute; bottom: 24px; margin: 0; color: #42565B; font-size: 11px; }
.azeen-login-alert { margin: 0 0 24px; padding: 16px; border: 1px solid #AD3434; border-radius: 12px; background: #FFF4F2; color: #8A2323; font-size: 13px; overflow-wrap: anywhere; }
.azeen-login-alert p { margin: 8px 0 0; }
@media (max-width: 991px) {
    .azeen-login-layout { padding: 12px; gap: 12px; grid-template-columns: .9fr 1fr; }
    .azeen-login-brand { padding: 36px 28px; }
    .azeen-login-message h2 { font-size: 60px; }
    .azeen-login-access { padding-right: 24px; padding-left: 24px; }
    .azeen-login-heading h1 { font-size: 30px; }
}
@media (max-width: 767px) {
    .azeen-login-layout { display: flex; flex-direction: column; padding: 0; gap: 0; }
    .azeen-login-brand { min-height: 0; border-radius: 0 0 14px 14px; padding: 24px; flex-direction: row; align-items: center; gap: 16px; }
    .azeen-login-logo { width: 140px; }
    .azeen-login-message, .azeen-login-graphic { display: none; }
    .azeen-login-brand-footer { max-width: 140px; font-size: 10px; text-align: right; }
    .azeen-login-access { flex: 1; padding: 40px 24px 24px; }
    .azeen-login-heading h1 { font-size: 28px; }
    .azeen-login-heading h1 br { display: none; }
    .azeen-login-form { margin-top: 28px; }
    .azeen-login-access-footer { position: static; margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .azeen-login *, .azeen-login *::before, .azeen-login *::after { scroll-behavior: auto; }
}

/* Cadastro: mantém o mesmo shell, com espaço para os campos e o consentimento. */
.azeen-signup .azeen-login-access { padding-top: 40px; padding-bottom: 24px; }
.azeen-signup .azeen-login-access-footer { position: static; margin-top: 32px; }
.azeen-signup .azeen-login-heading h1 { font-size: 32px; }
.azeen-signup .azeen-login-form { margin-top: 28px; }
.azeen-signup .azeen-login-field { margin-bottom: 18px; }
.azeen-signup-consent { display: flex; align-items: flex-start; gap: 12px; margin: 24px 0; font-size: 12px; }
.azeen-signup-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--azeen-institucional); cursor: pointer; }
.azeen-signup-consent label { cursor: pointer; }
.azeen-signup .azeen-signup-terms-open { display: block; padding: 4px 0; border: 0; background: transparent; color: var(--azeen-institucional); text-decoration: underline; text-underline-offset: 4px; font-size: 12px; cursor: pointer; }
.azeen-signup-terms-visible { overflow: hidden; }
.azeen-signup-terms { width: min(760px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 48px); max-height: calc(100svh - 48px); padding: 0; border: 1px solid var(--azeen-brisa); border-radius: 14px; background: white; color: var(--azeen-petroleo); box-shadow: 0 16px 60px rgba(8, 26, 30, .24); }
.azeen-signup-terms[open] { display: flex; flex-direction: column; }
.azeen-signup-terms::backdrop { background: rgba(8, 26, 30, .65); }
.azeen-signup-terms-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--azeen-brisa); flex-shrink: 0; }
.azeen-signup-terms-heading h2 { margin: 0; font-size: 20px; line-height: 1.4; }
.azeen-signup .azeen-signup-terms-close { width: 44px; height: 44px; flex-shrink: 0; padding: 0; border: 0; border-radius: 8px; background: var(--azeen-brisa); color: var(--azeen-institucional); font-size: 28px; cursor: pointer; }
.azeen-signup-terms-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px 24px; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.azeen-signup-terms-body:focus-visible { outline-offset: -4px; }
.azeen-signup-terms-footer { padding: 16px 24px; border-top: 1px solid var(--azeen-brisa); flex-shrink: 0; }
.azeen-signup-terms-done { width: auto; margin-left: auto; }
@media (max-width: 767px) {
    .azeen-signup .azeen-login-access { padding-top: 32px; }
    .azeen-signup .azeen-login-heading h1 { font-size: 28px; }
    .azeen-signup-terms-heading, .azeen-signup-terms-footer { padding: 12px 16px; }
    .azeen-signup-terms-body { padding: 8px 16px 16px; }
    .azeen-signup-terms-heading h2 { font-size: 18px; }
}
