/* ═══════════════════════════════════════════════
       FEBRAZ — IDENTIDADE VISUAL
       Cores: roxo/azul (#4c55c4), verde (#0c9c3a),
              vermelho/coral (#ff4b34), navy (#101c44)
       Fonte: Inter (regular/medium/semibold/bold)
    ═══════════════════════════════════════════════ */
:root {
    --bg: #ffffff;
    --bg-soft: #f7f8fc;
    --bg-cream: #fffaf2;
    --primary: #4c55c4;
    --primary-dark: #3b43a8;
    --primary-soft: #eef0fb;
    --navy: #101c44;
    --navy-soft: #1a2554;
    --green: #55c882;
    --green-dark: #237B48;
    --green-soft: #e6f5ec;
    --green-leaf: #8eb359;
    --coral: #ff4b34;
    --coral-soft: #ffe6e1;
    --magenta: #77175c;
    --text-dark: #101c44;
    --text-mid: #4b5563;
    --text-light: #9ca0af;
    --border: #e5e7eb;
    --border-soft: #eef0f4;
    --shadow: rgba(16, 28, 68, .08);
    --shadow-lg: rgba(16, 28, 68, .14);

    --map-fill: #c4c8ec;
    --map-stroke: #ffffff;
    --map-hover: #0F1A5A;
    --map-active: #0F1A5A;
    --map-zero: #eef0f4;

    --sage: #7A9E5F;
    --sage-light: #B8D4A0;
    --sage-pale: #EBF3E4;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-soft);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 500px at 5% 0%, rgba(76, 85, 196, .07) 0%, transparent 60%),
        radial-gradient(ellipse 700px 400px at 100% 30%, rgba(12, 156, 58, .05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ═══════════════════════════════════════════════
       HEADER
    ═══════════════════════════════════════════════ */
.site-header {
    position: relative;
    z-index: 10;
    background: var(--navy);
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    box-shadow: 0 2px 18px rgba(16, 28, 68, .18);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.header-brand svg {
    color: var(--green);
    opacity: 1;
}

.header-nav a {
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-left: 32px;
    transition: color .2s;
    position: relative;
}

.header-nav a:hover {
    color: #fff;
}

.header-nav a.active {
    color: #fff;
}

.header-nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -22px;
    height: 3px;
    background: var(--green);
    border-radius: 3px 3px 0 0;
}

@media (max-width: 640px) {
    .site-header {
        padding: 0 20px;
        height: 60px;
    }

    .header-nav {
        display: none;
    }
}

/* ═══════════════════════════════════════════════
       HERO
    ═══════════════════════════════════════════════ */
.hero {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 40px 48px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-badge svg {
    color: var(--green);
}

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(38px, 5.5vw, 60px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--navy);
    margin-bottom: 20px;
}

.hero h1 em {
    color: var(--primary);
    font-style: normal;
    position: relative;
    white-space: nowrap;
}

.hero h1 em::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 10px;
    background: rgba(0, 200, 0, .22);
    z-index: -1;
    border-radius: 4px;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-mid);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 8px;
    box-shadow: 0 4px 24px var(--shadow);
}

.hero-heros {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-heros strong {
    display: block;
    margin-bottom: 15px;
}

.hero-heros .lilly-logo {
    fill: rgb(213, 43, 30)
}

footer {
    margin: 40px 0 0;
    background-image: url(https://febraz.org.br/wp-content/uploads/2022/05/footer.jpg);
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
    color: #fff;
}

footer .hero-heros {
    max-width: 900px;
}

footer p {
    margin: 0 0 30px;
}

footer p a {
    color: var(--green);
}

@media (max-width: 560px) {
    .page-wrap {
        padding: 24px 16px 60px;
    }

    .step-connector {
        width: 20px;
    }

    .field-group {
        grid-template-columns: 1fr;
    }

    .card-body {
        padding: 18px 18px;
    }

    .hero-heros {
        flex-direction: column;
        gap: 20px;
    }
}

.stat-item {
    padding: 0 32px;
    text-align: center;
}

.stat-num {
    font-family: 'Inter', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-item:nth-child(3) .stat-num {
    color: var(--green);
}

.stat-item:nth-child(5) .stat-num {
    color: var(--navy);
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 6px;
}

.stat-divider {
    width: 1px;
    height: 38px;
    background: var(--border);
}

@media (max-width: 640px) {
    .hero {
        padding: 48px 20px 32px;
    }

    .hero-stats {
        padding: 14px 4px;
        flex-wrap: wrap;
    }

    .stat-item {
        padding: 0 18px;
    }
}

/* ═══════════════════════════════════════════════
       MAIN LAYOUT
    ═══════════════════════════════════════════════ */
.main-wrap {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 640px) {
    .main-wrap {
        padding: 0 20px 60px;
    }
}

/* ═══════════════════════════════════════════════
       MAP SECTION
    ═══════════════════════════════════════════════ */
.map-section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
    box-shadow: 0 4px 24px var(--shadow);
    margin-bottom: 32px;
}

@media (max-width: 900px) {
    .map-section {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}

.map-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.map-header p {
    font-size: 14px;
    color: var(--text-mid);
    margin-bottom: 20px;
}

#brazil-map {
    width: 100%;
    height: auto;
    max-height: 480px;
    display: block;
}

#brazil-map .state {
    fill: var(--map-fill);
    stroke: var(--map-stroke);
    stroke-width: 1.2;
    cursor: pointer;
    transition: fill .2s ease, transform .2s ease;
    transform-origin: center;
}

#brazil-map .state.zero {
    fill: var(--map-zero);
    cursor: default;
}

#brazil-map .state.has-data:hover {
    fill: var(--map-hover);
}

#brazil-map .state.active {
    fill: var(--map-active);
}

#map-tooltip {
    position: fixed;
    pointer-events: none;
    background: var(--navy);
    color: #fff;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    transition: opacity .15s;
    z-index: 100;
    box-shadow: 0 6px 20px rgba(16, 28, 68, .3);
}

.map-legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--text-mid);
    font-weight: 500;
}

.legend-swatch {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, .06);
}

/* Ranking */
.map-ranking h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 460px;
    overflow-y: auto;
    padding-right: 6px;
}

.ranking-list::-webkit-scrollbar {
    width: 6px;
}

.ranking-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 6px;
}

.rank-item {
    display: grid;
    grid-template-columns: 28px 36px 1fr 90px 36px;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
    transition: background .18s;
}

.rank-item:hover {
    background: var(--primary-soft);
}

.rank-item.active {
    background: var(--primary-soft);
    box-shadow: inset 0 0 0 1px var(--primary);
}

.rank-pos {
    font-weight: 700;
    color: var(--text-light);
    font-size: 12px;
    text-align: center;
}

.rank-uf {
    font-weight: 700;
    color: var(--primary);
    font-size: 12px;
}

.rank-name {
    color: var(--text-dark);
    font-weight: 500;
}

.rank-bar-wrap {
    height: 6px;
    background: var(--bg-soft);
    border-radius: 100px;
    overflow: hidden;
}

.rank-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--green));
    border-radius: 100px;
}

.rank-count {
    font-weight: 700;
    color: var(--navy);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════════════
       FILTERS
    ═══════════════════════════════════════════════ */
.filters-section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px var(--shadow);
}

.filters-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 12px;
}

.filters-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
}

.filters-title svg {
    color: var(--primary);
}

.filters-clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-mid);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all .18s;
}

.filters-clear:hover {
    background: var(--coral-soft);
    border-color: var(--coral);
    color: var(--coral);
}

.filters-clear[hidden] {
    display: none;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-field label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.filter-field select {
    width: 100%;
    padding: 11px 36px 11px 14px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='https://static.vecteezy.com/system/resources/previews/072/174/195/non_2x/blue-pixelated-arrow-pointing-down-illustration-ideal-for-digital-interfaces-gaming-graphics-and-navigation-icons-vector.jpg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234c55c4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: border-color .18s, box-shadow .18s;
}

.filter-field select:hover {
    border-color: var(--primary);
}

.filter-field select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(76, 85, 196, .15);
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.active-filters:empty {
    display: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 6px 10px 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.chip button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    font-size: 14px;
    line-height: 1;
    padding: 0 2px;
    opacity: .7;
}

.chip button:hover {
    opacity: 1;
}

/* ═══════════════════════════════════════════════
       RESULTS HEADER
    ═══════════════════════════════════════════════ */
.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.results-count {
    font-size: 14px;
    color: var(--text-mid);
    font-weight: 500;
}

.results-count strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.view-toggle {
    display: flex;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 4px;
}

.view-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 7px 11px;
    border-radius: 7px;
    color: var(--text-light);
    transition: background .18s, color .18s;
    display: flex;
    align-items: center;
}

.view-btn:hover {
    color: var(--primary);
}

.view-btn.active {
    background: var(--primary);
    color: #fff;
}

/* ═══════════════════════════════════════════════
       CARDS GRID
    ═══════════════════════════════════════════════ */
#cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 22px;
    animation: fadeUp .4s ease both;
}

#cards-grid.list-view {
    grid-template-columns: 1fr;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.org-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px var(--shadow);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform .22s, box-shadow .22s, border-color .22s;
    cursor: pointer;
    animation: cardIn .35s ease both;
    position: relative;
    overflow: hidden;
}

.org-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    opacity: 0;
    transition: opacity .22s;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.org-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--shadow-lg);
    border-color: var(--primary);
}

.org-card:hover::before {
    opacity: 1;
}

.card-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.card-avatar {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.card-title-block {
    flex: 1;
    min-width: 0;
}

.card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 4px;
    letter-spacing: -0.005em;
}

.card-natureza {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .07em;
}

/* Tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: .01em;
}

.tag-servico {
    background: var(--primary-soft);
    color: var(--primary);
}

.tag-modalidade {
    background: #fdecdc;
    color: #b8541f;
}

.tag-gratuito {
    background: var(--green-soft);
    color: var(--green-dark);
    border: 1px solid rgba(12, 156, 58, .25);
}

.tag-mais {
    background: var(--bg-soft);
    color: var(--text-light);
    border: 1px solid var(--border);
}

/* Card info */
.card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.45;
}

.info-row svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}

.info-row strong {
    color: var(--text-dark);
    font-weight: 600;
}

.card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
    margin-top: 4px;
}

.card-atendidos {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.card-atendidos strong {
    color: var(--green);
    font-size: 14px;
    font-weight: 800;
}

.card-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 9px 16px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .18s, transform .18s;
}

.card-btn:hover {
    background: var(--primary-dark);
    transform: translateX(2px);
}

/* List view */
#cards-grid.list-view .org-card {
    flex-direction: row;
    align-items: center;
    gap: 22px;
}

#cards-grid.list-view .card-top {
    flex: 1.3;
}

#cards-grid.list-view .card-tags {
    flex: 1;
}

#cards-grid.list-view .card-info {
    display: none;
}

#cards-grid.list-view .card-footer-row {
    border: none;
    padding: 0;
    margin: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

@media (max-width: 720px) {
    #cards-grid.list-view .org-card {
        flex-direction: column;
        align-items: stretch;
    }

    #cards-grid.list-view .card-info {
        display: flex;
    }

    #cards-grid.list-view .card-footer-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 14px;
        border-top: 1px solid var(--border-soft);
    }
}

/* Empty state */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border: 1px dashed var(--border);
    border-radius: 18px;
}

.empty-icon {
    font-size: 44px;
    margin-bottom: 14px;
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.empty-state p {
    font-size: 14px;
    color: var(--text-mid);
}

/* ═══════════════════════════════════════════════
       MODAL
    ═══════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(16, 28, 68, .55);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
    animation: overlayIn .2s ease;
}

.modal-overlay.open {
    display: flex;
}

@keyframes overlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal {
    background: #fff;
    border-radius: 22px;
    max-width: 680px;
    width: 100%;
    box-shadow: 0 24px 70px rgba(16, 28, 68, .35);
    animation: modalIn .28s cubic-bezier(.2, .8, .3, 1.1);
    overflow: hidden;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 28px 20px;
    background: linear-gradient(135deg, var(--primary-soft) 0%, #fff 100%);
    border-bottom: 1px solid var(--border-soft);
    position: relative;
}

.modal-avatar {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
    box-shadow: 0 2px 10px var(--shadow);
}

.modal-title-block {
    flex: 1;
    padding-top: 4px;
}

.modal-name,
.modal-name a {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin-bottom: 4px;
}

.modal-name a{
    cursor: pointer;
}

.modal-natureza {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .07em;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #fff;
    border: 1px solid var(--border);
    width: 34px;
    height: 34px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .18s;
}

.modal-close:hover {
    background: var(--coral);
    color: #fff;
    border-color: var(--coral);
}

.modal-body {
    padding: 24px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.modal-section-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .09em;
    margin-bottom: 10px;
}

.modal-info-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.55;
    margin-bottom: 8px;
}

.modal-contact .modal-info-row {
    justify-content: space-between;
    align-items: center;
}

.modal-contact .modal-section-title {
    color: var(--text-dark)
}

.modal-contact .modal-info-row .modal-contatos a {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
}

.modal-contact .modal-info-row .modal-contatos .fa-phone {
    color: #4c55c4;
}

.modal-contact .modal-info-row .modal-contatos .fa-whatsapp {
    color: #237B48;
}

.modal-contact .modal-info-row .modal-contatos .fa-envelope {
    color: #000;
}

.modal-contact .modal-info-row .modal-contatos .fa-instagram {
    color: #77175c;
}

.modal-contact .modal-info-row .modal-contatos .fa-facebook {
    color: #0F1A5A;
}

.modal-contact .modal-info-row .modal-contatos .fa-hand-pointer {
    color: #4b5563;
}

.modal-info-row:last-child {
    margin-bottom: 0;
}

.modal-info-row svg {
    color: var(--sage);
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.modal-contact {
    background: var(--sage-pale);
    border-radius: 12px;
    padding: 16px 18px;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.modal-info-block {
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 14px 16px;
}

.modal-info-block .label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 4px;
}

.modal-info-block .value {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.45;
}

.modal-criterios,
.modal-contato {
    background: var(--primary-soft);
    border-left: 3px solid var(--primary);
    padding: 14px 18px;
    border-radius: 0 12px 12px 0;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.55;
}

.modal-contato {
    background: var(--green-soft);
    border-left-color: var(--green);
}

/* ═══════════════════════════════════════════════
     TOKENS LOCAIS (com fallback, isolados por escopo)
     Evita depender de :root global da página host.
  ═══════════════════════════════════════════════ */
.mdc-banner,
.mdc-cta {
    --mdc-forest: #101c44;
    --mdc-forest-mid: #1a2554;
    --mdc-sage: #3b43a8;
    --mdc-sage-light: #4c55c4;
    --mdc-sage-pale: #eef0fb;
    --mdc-terra: #7A9E5F;
    --mdc-terra-light: #B8D4A0;
    --mdc-terra-pale: #F5EEBF3E45DC;
    --mdc-cream: #FAF7F2;
    --mdc-warm-white: #FFFDF9;
    --mdc-text-dark: #1C1A17;
    --mdc-text-mid: #4A4540;
    --mdc-text-light: #7A7470;
    --mdc-border: #DDD5C8;
    --mdc-shadow: rgba(16, 28, 68, .14);
/*
    --bg: #ffffff;
    --bg-soft: #f7f8fc;
    --bg-cream: #fffaf2;
    --primary: #4c55c4;
    --primary-dark: #3b43a8;
    --primary-soft: #eef0fb;
    --navy: #101c44;
    --navy-soft: #1a2554;
    --green: #55c882;
    --green-dark: #237B48;
    --green-soft: #e6f5ec;
    --green-leaf: #8eb359;
    --coral: #ff4b34;
    --coral-soft: #ffe6e1;
    --magenta: #77175c;
    --text-dark: #101c44;
    --text-mid: #4b5563;
    --text-light: #9ca0af;
    --border: #e5e7eb;
    --border-soft: #eef0f4;
    --shadow: rgba(16, 28, 68, .08);
    --shadow-lg: rgba(16, 28, 68, .14);

    --map-fill: #c4c8ec;
    --map-stroke: #ffffff;
    --map-hover: #0F1A5A;
    --map-active: #0F1A5A;
    --map-zero: #eef0f4;

    --sage: #7A9E5F;
    --sage-light: #B8D4A0;
    --sage-pale: #EBF3E4;
*/



    font-family: 'DM Sans', sans-serif;
    box-sizing: border-box;
}

.mdc-banner *,
.mdc-cta * {
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════════════
     1. BANNER PRINCIPAL (DESTAQUE)
  ═══════════════════════════════════════════════════════════════════ */
.mdc-banner {
    position: relative;
    max-width: 1280px;
    margin: 40px auto 0;
    padding: 0 24px;
}

.mdc-banner-inner {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 12% 20%, rgba(255, 255, 255, .10) 0%, transparent 55%),
        radial-gradient(ellipse at 88% 85%, rgba(0, 0, 0, .12) 0%, transparent 55%),
        linear-gradient(120deg, var(--mdc-forest) 0%, var(--mdc-forest-mid) 55%, #3b43a8 100%);
    box-shadow: 0 12px 48px var(--mdc-shadow), 0 2px 8px rgba(44, 30, 10, .06);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Textura orgânica decorativa de fundo (puro CSS, sem imagem externa) */
.mdc-banner-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, .06) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    opacity: .5;
    pointer-events: none;
}

.mdc-banner-inner::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: -160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 212, 160, .18) 0%, transparent 70%);
    pointer-events: none;
}

.mdc-banner-content {
    position: relative;
    z-index: 1;
}

.mdc-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(2px);
    color: var(--mdc-sage-pale);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.mdc-banner-badge svg {
    flex-shrink: 0;
}

.mdc-banner-title {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: clamp(24px, 3.4vw, 36px);
    line-height: 1.28;
    color: #FFFDF9;
    margin: 0 0 20px;
    text-wrap: balance;
}

.mdc-banner-text {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 253, 249, .86);
    margin: 0 0 30px;
    max-width: 480px;
}

/* ── Botão CTA principal ── */
.mdc-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--mdc-terra);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(16, 28, 68, .14);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.mdc-banner-btn:hover {
    background: var(--mdc-terra);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(27, 37, 70, 0.14);
}

.mdc-banner-btn:active {
    transform: translateY(0);
}

.mdc-banner-btn:focus-visible {
    outline: 3px solid #FFFDF9;
    outline-offset: 3px;
}

.mdc-banner-btn svg {
    flex-shrink: 0;
    transition: transform .2s ease;
}

.mdc-banner-btn:hover svg {
    transform: translateX(3px);
}

/* ── Ilustração lateral (puro CSS / emoji, sem imagem externa) ── */
.mdc-banner-visual {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 168px;
    height: 168px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    backdrop-filter: blur(2px);
}

.mdc-banner-visual img{
    max-height: 120px;
}

/* ── Responsivo: tablet ── */
@media (max-width: 900px) {
    .mdc-banner-inner {
        padding: 44px 36px;
        gap: 28px;
    }

    .mdc-banner-visual {
        width: 130px;
        height: 130px;
        font-size: 54px;
    }

    .mdc-banner-visual img{
        max-height: 80px;
    }
}

/* ── Responsivo: mobile ── */
@media (max-width: 640px) {
    .mdc-banner {
        text-align: center;
        padding: 0 16px;
    }

    .mdc-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px 26px;
        border-radius: 20px;
    }

    .mdc-banner-content {
        max-width: 100%;
    }

    .mdc-banner-title {
        font-size: clamp(22px, 7vw, 28px);
    }

    .mdc-banner-text {
        font-size: 14.5px;
    }

    .mdc-banner-visual {
        width: 96px;
        height: 96px;
        font-size: 40px;
        align-self: center;
        order: -1;
        margin-bottom: 4px;
    }

    .mdc-banner-visual img{
        max-height: 60px;
    }

    .mdc-banner-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 24px;
    }
}

@media (max-width: 360px) {
    .mdc-banner-inner {
        padding: 30px 20px;
    }
}

/* Acessibilidade: respeita preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {

    .mdc-banner-btn,
    .mdc-banner-btn svg,
    .mdc-cta-btn {
        transition: none;
    }
}


/* ═══════════════════════════════════════════════════════════════════
     2. CHAMADA SECUNDÁRIA (DISCRETA)
     Formato: faixa horizontal / callout — leve, convidativa,
     reaproveitável em qualquer ponto da página.
  ═══════════════════════════════════════════════════════════════════ */
.mdc-cta {
    max-width: 1280px;
    margin: 80px auto 0;
    padding: 0 24px;
}

.mdc-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: var(--mdc-warm-white);
    border: 1.5px dashed var(--mdc-sage-light);
    border-radius: 16px;
    padding: 20px 28px;
}

.mdc-cta-text-block {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.mdc-cta-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--mdc-sage-pale);
    color: var(--mdc-forest);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mdc-cta-text {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--mdc-text-mid);
    line-height: 1.45;
}

.mdc-cta-text strong {
    display: block;
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--mdc-forest);
    margin-bottom: 2px;
}

/* ── Botão CTA secundário ── */
.mdc-cta-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mdc-sage-pale);
    color: var(--mdc-forest);
    font-family: 'DM Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    padding: 11px 22px;
    border-radius: 100px;
    border: 1.5px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.mdc-cta-btn:hover {
    background: var(--mdc-forest);
    color: #fff;
    transform: translateY(-1px);
}

.mdc-cta-btn:active {
    transform: translateY(0);
}

.mdc-cta-btn:focus-visible {
    outline: 3px solid var(--mdc-terra);
    outline-offset: 2px;
}

.mdc-cta-btn svg {
    flex-shrink: 0;
    transition: transform .2s ease;
}

.mdc-cta-btn:hover svg {
    transform: translateX(2px);
}

/* ── Responsivo: mobile ── */
@media (max-width: 560px) {
    .mdc-cta {
        padding: 0 16px;
    }

    .mdc-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 20px;
        border-radius: 14px;
    }

    .mdc-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

#logo{
    max-height: 60px;
}