:root {
    --brand-navy: #2d3f52;
    --brand-navy-dark: #1f2f40;
    --brand-teal: #007a8e;
    --brand-teal-dark: #005f6d;
    --brand-green: #2f9d44;
    --brand-green-dark: #237334;
    --brand-light: #f2f7f8;
    --brand-slate: #5b6673;
}

body {
    background-color: var(--brand-light) !important;
    color: var(--brand-slate);
    font-family: 'Inter', sans-serif;
}

a {
    color: var(--brand-teal);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--brand-teal-dark);
}

a.text-white,
a.text-white:hover {
  color: #fff !important;
}

button.text-white,
button.text-white svg {
  color: #fff !important;
  stroke: currentColor !important;
}

/* Garante que SVG use a mesma cor do texto */
button svg {
  color: inherit;
  stroke: currentColor;
  fill: none;
}

/* Força a cor branca quando o botão usa text-white */
button.text-white,
button.text-white svg,
.bg-blue-600 svg {
  color: #fff !important;
  stroke: #fff !important;
}

.brand-header {
    background: #ffffff;
    color: var(--brand-navy);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-header .brand-nav-link {
    color: var(--brand-navy);
    font-weight: 600;
    transition: color 0.2s ease;
}

.brand-header .brand-nav-link:hover {
    color: var(--brand-teal-dark);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--brand-navy);
    text-decoration: none;
}

.brand-logo img {
    height: 48px;
    width: auto;
    display: block;
}

.brand-logo span {
    display: block;
    line-height: 1.15;
}

.brand-logo .brand-title {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.brand-logo .brand-subtitle {
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.7;
    letter-spacing: 0.12em;
}

.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background-color: var(--brand-green);
    color: #fff;
    font-weight: 600;
    border-radius: 0.75rem;
    padding: 0.6rem 1.4rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 12px 25px -14px rgba(36, 125, 53, 0.65);
}

.btn-brand:hover {
    background-color: var(--brand-green-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-brand {
    border: 1px solid var(--brand-teal);
    color: var(--brand-teal);
    border-radius: 9999px;
    padding: 0.55rem 1.5rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-outline-brand:hover {
    background-color: var(--brand-teal);
    color: #fff;
    border-color: var(--brand-teal-dark);
}

.footer-brand {
    background-color: var(--brand-navy-dark);
    color: #dbe3ea;
}

.footer-brand a {
    color: #fff;
}

.shadow-brand {
    box-shadow: 0 22px 45px -26px rgba(14, 49, 69, 0.5);
}

.badge-brand {
    background-color: rgba(0, 122, 142, 0.12);
    color: var(--brand-teal);
}

.card-brand {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 16px 38px -30px rgba(24, 64, 78, 0.6);
}

.hero-brand {
    background: linear-gradient(125deg, rgba(31, 57, 80, 0.95) 0%, rgba(0, 122, 142, 0.9) 60%, rgba(47, 157, 68, 0.85) 100%);
    color: #fff;
}

.hero-brand a {
    color: #fff;
}

.hero-brand .btn-brand {
    background-color: #fff;
    color: var(--brand-teal);
    box-shadow: 0 10px 28px -22px rgba(255, 255, 255, 0.8);
}

.hero-brand .btn-brand:hover {
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--brand-teal-dark);
}

.quill-container .ql-toolbar {
    border-color: rgba(15, 65, 88, 0.12);
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    background-color: #f8fbfc;
}

.quill-container .ql-toolbar .ql-formats button,
.quill-container .ql-toolbar .ql-formats .ql-picker {
    color: var(--brand-navy);
}

.quill-container .ql-toolbar .ql-picker-options {
    background-color: #fff;
    border-radius: 0.5rem;
    border-color: rgba(15, 65, 88, 0.12);
}

.quill-container .ql-container {
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    border-color: rgba(15, 65, 88, 0.12);
}

.quill-container .ql-editor {
    min-height: 200px;
    font-family: 'Inter', sans-serif;
    color: var(--brand-slate);
}

.quill-container .ql-editor.ql-blank::before {
    color: rgba(91, 102, 115, 0.6);
}

.quill-container .ql-font-inter { font-family: 'Inter', sans-serif; }
.quill-container .ql-font-sans-serif { font-family: 'Helvetica Neue', Arial, sans-serif; }
.quill-container .ql-font-serif { font-family: 'Georgia', serif; }
.quill-container .ql-font-monospace { font-family: 'Courier New', monospace; }

.quill-container .ql-size-10px { font-size: 10px; }
.quill-container .ql-size-12px { font-size: 12px; }
.quill-container .ql-size-14px { font-size: 14px; }
.quill-container .ql-size-16px { font-size: 16px; }
.quill-container .ql-size-18px { font-size: 18px; }
.quill-container .ql-size-24px { font-size: 24px; }
.quill-container .ql-size-32px { font-size: 32px; }

@media print {
    body {
        background: #ffffff !important;
        color: #111827 !important;
    }

    .brand-header,
    .brand-header * {
        display: none !important;
    }

    main {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

.quill-container .ql-toolbar .ql-picker.ql-size .ql-picker-label::before,
.quill-container .ql-toolbar .ql-picker.ql-size .ql-picker-item::before {
    content: attr(data-label);
}


.bg-blue-600 {
    background-color: var(--brand-teal) !important;
}

.hover\:bg-blue-700:hover {
    background-color: var(--brand-teal-dark) !important;
}

.text-blue-700 {
    color: var(--brand-navy) !important;
}

.text-blue-600 {
    color: var(--brand-teal) !important;
}

.hover\:text-blue-700:hover {
    color: var(--brand-teal-dark) !important;
}

.bg-blue-100 {
    background-color: rgba(0, 122, 142, 0.12) !important;
}
