/* Módulo do Guia na home — escopado em .otb-home-guia. */
.otb-home-guia {
    --og-navy: #19355d;
    --og-blue: #376fec;
    --og-ink: #14213d;
    --og-muted: #4a5a73;
    --og-line: #dfe6f1;
    --og-soft: #f4f7fb;
    --og-mint: #55f0ac;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid var(--og-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(20, 33, 61, .08);
}
.otb-home-guia *,
.otb-home-guia *::before,
.otb-home-guia *::after { box-sizing: border-box; }

/* Cabeçalho compacto do Guia: uma linha, fundo branco e logo solto. */
.otb-home-guia__head {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 64px;
    padding: 12px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-bottom: 1px solid #dfe6f1;
}
.otb-home-guia__head::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2b83fb 0%, #35c5fd 45%, #92ce20 100%);
    pointer-events: none;
}
.otb-home-guia__brandline {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
}
.otb-home-guia__brand {
    flex: none;
    display: inline-flex;
    align-items: center;
}
.otb-home-guia__logo {
    display: block;
    width: auto;
    height: 22px;
    max-width: 100%;
}
.otb-home-guia__logo-fallback {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    font-size: 13.5px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #13326f;
    white-space: nowrap;
}
.otb-home-guia__sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.otb-home-guia__all {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 9px 8px 18px;
    border: 1px solid #7cb518;
    border-radius: 999px;
    background: linear-gradient(135deg, #c6f16e 0%, #92ce20 55%, #7cb518 100%);
    color: #0f2a52;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(124, 181, 24, .30), inset 0 1px 0 rgba(255, 255, 255, .55);
    transition: color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.otb-home-guia__all:hover {
    background: #13326f;
    border-color: #13326f;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(19, 50, 111, .22);
}
.otb-home-guia__all:focus-visible {
    outline: 3px solid #13326f;
    outline-offset: 3px;
}
.otb-home-guia__all-arrow {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(15, 42, 82, .14);
    color: #0f2a52;
    font-size: 15px;
    line-height: 1;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.otb-home-guia__all:hover .otb-home-guia__all-arrow {
    background: rgba(255, 255, 255, .18);
    color: #fff;
    transform: translateX(3px);
}

/* Lead curto acima do grid, fora do header. */
.otb-home-guia__lead {
    margin: 0 0 16px;
    max-width: 70ch;
    font-size: 13px;
    line-height: 1.5;
    color: #4a5a73;
}

/* Busca do Guia: barra branca, input flexível e botão azul. */
.otb-home-guia__search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0 0 18px;
    padding: 6px;
    border: 1px solid #dfe6f1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(20, 33, 61, .06);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.otb-home-guia__search:focus-within {
    border-color: #256fdd;
    box-shadow: 0 0 0 3px rgba(37, 111, 221, .18), 0 4px 14px rgba(20, 33, 61, .08);
}
.otb-home-guia__search .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.otb-home-guia__search input[type="search"] {
    flex: 1 1 0;
    min-width: 0;
    height: 40px;
    padding: 0 12px 0 37px;
    border: 0;
    border-radius: 8px;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23256fdd' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") 12px center / 17px 17px no-repeat;
    color: #14213d;
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.otb-home-guia__search input[type="search"]::placeholder { color: #64748b; opacity: 1; }
.otb-home-guia__search button {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: #256fdd;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease;
}
.otb-home-guia__search button:hover { background: #13326f; }
.otb-home-guia__search button:focus-visible { outline: 3px solid #13326f; outline-offset: 2px; }
.otb-home-guia__search-btn-short { display: none; }
@media (max-width: 600px) {
    .otb-home-guia__search { gap: 6px; padding: 5px; }
    .otb-home-guia__search input[type="search"] {
        height: 38px;
        padding-left: 34px;
        background-position: 11px center;
        background-size: 16px 16px;
        font-size: 13.5px;
    }
    .otb-home-guia__search button { min-height: 38px; padding: 0 14px; font-size: 12.5px; }
    .otb-home-guia__search-btn-full { display: none; }
    .otb-home-guia__search-btn-short { display: inline; }
}
@media (max-width: 360px) {
    .otb-home-guia__search { gap: 5px; padding: 4px; }
    .otb-home-guia__search input[type="search"] {
        height: 36px;
        padding-left: 31px;
        background-position: 10px center;
        background-size: 15px 15px;
        font-size: 13px;
    }
    .otb-home-guia__search button { min-height: 36px; padding: 0 11px; font-size: 12px; }
}

/* Corpo claro com os cartões. */
.otb-home-guia__body {
    padding: 22px 20px 20px;
    background:
        radial-gradient(60% 90% at 100% 100%, rgba(55, 111, 236, .06), transparent 70%),
        var(--og-soft);
}
.otb-home-guia__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.otb-home-guia__item { min-width: 0; }
.otb-home-guia__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--og-line);
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(20, 33, 61, .04);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.otb-home-guia__card:hover {
    border-color: #c8d6ea;
    box-shadow: 0 14px 32px rgba(20, 33, 61, .12);
    transform: translateY(-3px);
}
.otb-home-guia__card:focus-visible {
    outline: 3px solid var(--og-blue);
    outline-offset: 3px;
}
.otb-home-guia__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--og-navy);
}
.otb-home-guia__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.otb-home-guia__card:hover .otb-home-guia__media img { transform: scale(1.035); }
.otb-home-guia__mono {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 75% 20%, rgba(85, 240, 172, .16), transparent 45%),
        linear-gradient(135deg, #102d55 0%, #19355d 55%, #2b5aa0 100%);
}
.otb-home-guia__mono > span {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: .04em;
}
.otb-home-guia__cat {
    position: absolute;
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    overflow: hidden;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--og-navy);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(16, 45, 85, .16);
}
.otb-home-guia__card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    padding: 15px 16px 16px;
}
.otb-home-guia__name {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--og-ink);
}
.otb-home-guia__local {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--og-muted);
}
.otb-home-guia__more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 10px;
    font-size: 13px;
    font-weight: 800;
    color: var(--og-blue);
}
.otb-home-guia__arrow {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e9f0ff;
    color: var(--og-blue);
    font-size: 12px;
    line-height: 1;
    transition: background-color .2s ease, color .2s ease;
}
.otb-home-guia__card:hover .otb-home-guia__arrow { background: var(--og-blue); color: #fff; }

@media (min-width: 640px) {
    .otb-home-guia__head { padding: 12px 26px; gap: 10px; }
    .otb-home-guia__brandline { gap: 10px; }
    .otb-home-guia__logo { height: 26px; }
    .otb-home-guia__logo-fallback { min-height: 26px; font-size: 15px; }
    .otb-home-guia__body { padding: 24px 26px 22px; }
    .otb-home-guia__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
    .otb-home-guia__head { min-height: 68px; padding: 12px 26px; gap: 16px; }
    .otb-home-guia__brandline { gap: 14px; }
    .otb-home-guia__logo { height: 28px; }
    .otb-home-guia__logo-fallback { min-height: 28px; font-size: 16px; }
}
@media (min-width: 1100px) {
    .otb-home-guia__head { padding: 12px 30px; }
    .otb-home-guia__body { padding: 26px 30px 24px; }
    .otb-home-guia__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 600px) {
    .otb-home-guia__all { width: 42px; height: 42px; min-height: 42px; padding: 0; gap: 0; }
    .otb-home-guia__all-text { display: none; }
    .otb-home-guia__all-arrow {
        width: auto;
        height: auto;
        border-radius: 0;
        background: transparent;
        font-size: 20px;
    }
    .otb-home-guia__all:hover .otb-home-guia__all-arrow { transform: none; }
}

@media (max-width: 360px) {
    .otb-home-guia__head { min-height: 60px; padding: 10px 12px; gap: 6px; }
    .otb-home-guia__brandline { gap: 6px; }
    .otb-home-guia__logo { height: 18px; }
    .otb-home-guia__logo-fallback { min-height: 19px; font-size: 12.5px; }
    .otb-home-guia__all-arrow { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .otb-home-guia__card,
    .otb-home-guia__all,
    .otb-home-guia__media img,
    .otb-home-guia__arrow { transition: none; }
    .otb-home-guia__card:hover { transform: none; }
    .otb-home-guia__card:hover .otb-home-guia__media img { transform: none; }
}

/* CTA institucional: convida empresas a fazerem parte do Guia. */
.otb-home-guia__join {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid #d7e2f7;
    border-left: 4px solid #2b83fb;
    border-radius: 12px;
    background: #fff;
}
.otb-home-guia__join-copy { min-width: 0; }
.otb-home-guia__join-t {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
    color: #13326f;
}
.otb-home-guia__join-s {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #4a5a73;
}
.otb-home-guia__join-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #13326f;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, transform .2s ease;
}
.otb-home-guia__join-btn:hover { background: #2b83fb; transform: translateY(-1px); }
@media (min-width: 640px) {
    .otb-home-guia__join { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
    .otb-home-guia__join-btn { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
    .otb-home-guia__join-btn { transition: none; }
    .otb-home-guia__join-btn:hover { transform: none; }
}
