:root {
    --azul-marinho: #071A2E;
    --azul-escuro: #0B2545;
    --azul-claro: #EEF4F8;
    --laranja: #F15A24;
    --laranja-hover: #E04E1B;
    --branco: #FFFFFF;
    --texto: #4A5460;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    background: 
        radial-gradient(circle at 10% 10%, rgba(241,90,36,.06), transparent 40%),
        #FAF9F6;
    color: var(--azul-marinho);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================
   HEADER / NAV
========================= */
header {
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 18px 0;
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--azul-marinho);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-box picture {
    display: block;
    width: 100px;
}

.logo-box img {
    width: 100px;
    aspect-ratio: 3 / 2;
    height: auto;
    object-fit: contain;
    display: block;
}

.logo-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.logo-texto small {
    font-size: .7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--laranja);
    margin-bottom: 3px;
}

.logo-texto h1 {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--azul-marinho);
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--azul-marinho);
    font-size: .95rem;
    font-weight: 600;
    transition: color .25s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--laranja);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* User menu */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    font: inherit;
}

.user-avatar {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--laranja);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 8px;
}

.user-name {
    font-weight: 600;
    color: var(--azul-marinho);
    line-height: 1;
}

.user-role {
    font-size: 10px;
    background: #ff6b00;
    color: #fff;
    padding: 2px 6px;
    border-radius: 10px;
    margin-top: 2px;
    text-transform: uppercase;
    font-weight: bold;
}

.user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    min-width: 140px;
    border-radius: 6px;
    z-index: 40;
}

.user-dropdown li a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
}

.user-dropdown li a:hover {
    background: #f6f6f6;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav-login {
    text-decoration: none;
    color: var(--azul-marinho);
    font-size: .95rem;
    font-weight: 700;
    transition: color .2s ease;
}

.btn-nav-login:hover {
    color: var(--laranja);
}

.btn-nav-cadastro {
    text-decoration: none;
    background: transparent;
    color: var(--azul-marinho);
    padding: 9px 20px;
    border: 2px solid var(--azul-marinho);
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 800;
    transition: all .25s ease;
}

.btn-nav-cadastro:hover {
    background: var(--azul-marinho);
    color: var(--branco);
}

.btn-doar-nav {
    padding: 8px 15px;
    border: 2px solid var(--laranja);
    border-radius: 20px;
    transition: 0.3s;
}

.btn-doar-nav:hover {
    background: var(--laranja);
    color: #fff !important;
}

/* =========================
   BOTÃO TÁTIL (COMPARTILHADO)
========================= */
.btn-laranja {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--laranja);
    color: var(--branco);
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 8px;
    border: 2px solid var(--azul-marinho);
    box-shadow: 4px 4px 0px var(--azul-marinho);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
}

.btn-laranja .seta {
    transition: transform .2s ease;
}

.btn-laranja:hover {
    background-color: var(--laranja-hover);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--azul-marinho);
}

.btn-laranja:hover .seta {
    transform: translateX(4px);
}

/* RESPONSIVIDADE GLOBAL */
@media(max-width:768px) {
    .nav-menu, .nav-actions {
        display: none;
    }
    .logo-texto h1 {
        font-size: 1.6rem;
    }
}