/* =============================================================================
   GESTOR DE ATRATIVOS TURÍSTICOS — Estilos Públicos
   Prefixo: gat- (evita conflito com outros plugins/temas)
============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --gat-verde:       #1a6b3a;
    --gat-verde-dark:  #0f4525;
    --gat-verde-light: #e8f5ee;
    --gat-dourado:     #c9972a;
    --gat-dourado-lt:  #fef7e8;
    --gat-ceu:         #1e8bc3;
    --gat-terra:       #8b5e3c;
    --gat-cinza:       #f4f6f7;
    --gat-txt:         #1c2b1e;
    --gat-txt-2:       #5a6e5d;
    --gat-borda:       #dde8e0;
    --gat-sombra:      rgba(10,50,20,.10);
    --gat-radius:      12px;
    --gat-radius-sm:   8px;
}

/* ============================================================
   BASE
============================================================ */
.gat-portal-wrapper {
    font-family: 'DM Sans', sans-serif;
    color: var(--gat-txt);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* ============================================================
   HERO
============================================================ */
.gat-hero {
    position: relative;
    background: linear-gradient(140deg, var(--gat-verde-dark) 0%, var(--gat-verde) 55%, #2d9c5c 100%);
    border-radius: var(--gat-radius);
    padding: 60px 40px 50px;
    margin: 20px 0 32px;
    overflow: hidden;
    text-align: center;
}

.gat-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 80%, rgba(201,151,42,.25) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(30,139,195,.2) 0%, transparent 50%);
    pointer-events: none;
}

.gat-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 40px;
    background: white;
    clip-path: ellipse(55% 100% at 50% 100%);
}

.gat-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.gat-hero-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,.15);
    color: rgba(255,255,255,.9);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.2);
    margin-bottom: 18px;
}

.gat-hero-content {
    position: relative;
    z-index: 1;
}

.gat-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0,0,0,.2);
}

.gat-hero-sub {
    color: rgba(255,255,255,.85);
    font-size: 1.05rem;
    margin: 0 auto 30px;
    max-width: 520px;
    font-weight: 300;
    line-height: 1.7;
}

/* ============================================================
   BUSCA
============================================================ */
.gat-search-form {
    display: flex;
    justify-content: center;
}

.gat-search-wrap {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    max-width: 560px;
    width: 100%;
    box-shadow: 0 4px 24px rgba(0,0,0,.2);
    gap: 8px;
}

.gat-search-sm {
    max-width: 340px;
    border-radius: var(--gat-radius-sm);
    padding: 4px 4px 4px 14px;
    box-shadow: 0 2px 8px var(--gat-sombra);
}

.gat-search-icon {
    color: #aaa;
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
}

.gat-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'DM Sans', sans-serif;
    font-size: .95rem;
    background: transparent;
    color: var(--gat-txt);
    min-width: 0;
}

.gat-search-btn {
    background: var(--gat-verde);
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 9px 22px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'DM Sans', sans-serif;
    transition: background .2s;
    flex-shrink: 0;
}

.gat-search-btn:hover { background: var(--gat-verde-dark); }

/* ============================================================
   BARRA DE FILTROS POR TIPO
============================================================ */
.gat-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 16px 0 4px;
}

.gat-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #fff;
    border: 1.5px solid var(--gat-borda);
    border-radius: 40px;
    color: var(--gat-txt-2);
    font-size: .85rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s;
    font-family: 'DM Sans', sans-serif;
}

.gat-filter-btn .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
    color: var(--gat-verde);
}

.gat-filter-btn:hover,
.gat-filter-btn.active-all {
    background: var(--gat-verde);
    border-color: var(--gat-verde);
    color: #fff;
}

.gat-filter-btn:hover .dashicons,
.gat-filter-btn.active-all .dashicons { color: #fff; }

.gat-filter-count {
    background: rgba(0,0,0,.1);
    border-radius: 10px;
    padding: 0 7px;
    font-size: 11px;
    font-weight: 700;
}

.gat-filter-btn.active-all .gat-filter-count,
.gat-filter-btn:hover .gat-filter-count {
    background: rgba(255,255,255,.2);
}

/* ============================================================
   CABEÇALHO DE SEÇÃO FILTRADA
============================================================ */
.gat-section-header {
    margin-bottom: 24px;
}

.gat-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gat-txt);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.gat-section-title .dashicons {
    color: var(--gat-verde);
    font-size: 26px;
    width: 26px;
    height: 26px;
}

.gat-section-desc {
    color: var(--gat-txt-2);
    margin-bottom: 16px;
}

.gat-section-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

/* ============================================================
   GRID DE CARDS COM FOTO
============================================================ */
.gat-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* ---- CARD ---- */
.gat-card {
    background: #fff;
    border-radius: var(--gat-radius);
    overflow: hidden;
    box-shadow: 0 2px 12px var(--gat-sombra);
    border: 1px solid var(--gat-borda);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}

.gat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(10,50,20,.14);
}

/* Foto */
.gat-card-photo-link { display: block; text-decoration: none; }

.gat-card-photo {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gat-verde-light), #d0ead8);
}

.gat-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.gat-card:hover .gat-card-photo img {
    transform: scale(1.05);
}

/* Placeholder sem foto */
.gat-card-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d0ead8 0%, #b8d8c4 100%);
}

.gat-card-photo-placeholder .dashicons {
    font-size: 52px;
    width: 52px;
    height: 52px;
    color: var(--gat-verde);
    opacity: .5;
}

/* Badges sobre a foto */
.gat-card-photo-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.gat-card-tipo {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: .3px;
}

.gat-card-tipo .dashicons {
    font-size: 13px;
    width: 13px;
    height: 13px;
}

.gat-card-dif {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: .3px;
}

.gat-dif-facil   { background: rgba(39,174,96,.8); color:#fff; }
.gat-dif-medio   { background: rgba(230,126,34,.85); color:#fff; }
.gat-dif-dificil { background: rgba(192,57,43,.85); color:#fff; }

.gat-card-entrada-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

/* Corpo do card */
.gat-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gat-card-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
}

.gat-rating-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--gat-txt);
}

.gat-rating-count {
    font-size: 12px;
    color: #aaa;
}

.gat-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gat-txt);
    margin: 0 0 10px;
    line-height: 1.35;
}

.gat-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}

.gat-card-title a:hover { color: var(--gat-verde); }

.gat-card-local,
.gat-card-horario {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-size: .83rem;
    color: var(--gat-txt-2);
    line-height: 1.4;
    margin-bottom: 5px;
}

.gat-card-local .dashicons,
.gat-card-horario .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: var(--gat-verde);
    flex-shrink: 0;
    margin-top: 1px;
}

.gat-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--gat-verde);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    padding-top: 14px;
    transition: gap .2s;
}

.gat-card-cta .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    transition: transform .2s;
}

.gat-card-cta:hover { color: var(--gat-verde-dark); }
.gat-card-cta:hover .dashicons { transform: translateX(3px); }

/* ============================================================
   BREADCRUMB
============================================================ */
.gat-breadcrumb {
    padding: 10px 0;
    margin-bottom: 8px;
    font-size: .85rem;
    color: #999;
    text-align: left;
}

.gat-breadcrumb a {
    color: var(--gat-verde);
    text-decoration: none;
    font-weight: 500;
}

.gat-breadcrumb a:hover { text-decoration: underline; }
.gat-breadcrumb .sep { margin: 0 8px; color: #ddd; }
.gat-breadcrumb span { color: #444; font-weight: 600; }

/* ============================================================
   BOTÕES
============================================================ */
.gat-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    background: var(--gat-cinza);
    color: var(--gat-txt-2);
    text-decoration: none;
    border-radius: var(--gat-radius-sm);
    font-size: .88rem;
    font-weight: 600;
    transition: .2s;
    border: 1.5px solid var(--gat-borda);
}

.gat-btn-back:hover {
    background: var(--gat-verde);
    color: #fff;
    border-color: var(--gat-verde);
}

.gat-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 24px;
    background: var(--gat-verde);
    color: #fff;
    border: none;
    border-radius: var(--gat-radius-sm);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    transition: background .2s;
    justify-content: center;
}

.gat-btn-primary:hover { background: var(--gat-verde-dark); color: #fff; }

.gat-btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: #1e8bc3;
    color: #fff;
    border-radius: var(--gat-radius-sm);
    font-weight: 600;
    text-decoration: none;
    font-size: .9rem;
    transition: background .2s;
    margin-top: 14px;
}

.gat-btn-maps:hover { background: #156a98; color: #fff; }

/* ============================================================
   BADGES
============================================================ */
.gat-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    white-space: nowrap;
}

.gat-badge-success {
    background: #eafaf0;
    color: #1a6b3a;
    border: 1px solid #a0ddb8;
}

.gat-badge-warning {
    background: #fef8ec;
    color: #7a5200;
    border: 1px solid #f0c870;
}

.gat-badge-info {
    background: #e8f4fd;
    color: #1a5f8a;
    border: 1px solid #b0d8f0;
}

.gat-badge-neutral {
    background: #f4f6f7;
    color: #444;
    border: 1px solid #ccc;
}

.gat-badge-dif {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

/* ============================================================
   PAGINAÇÃO
============================================================ */
.gat-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 40px;
    flex-wrap: wrap;
}

.gat-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--gat-borda);
    border-radius: 8px;
    color: var(--gat-verde);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    transition: .2s;
    background: #fff;
}

.gat-page-btn:hover,
.gat-page-btn.active {
    background: var(--gat-verde);
    border-color: var(--gat-verde);
    color: #fff;
}

.gat-page-nav { color: var(--gat-txt-2); }

/* ============================================================
   EMPTY STATE
============================================================ */
.gat-empty {
    text-align: center;
    padding: 60px 20px;
    color: #aaa;
}

.gat-empty-icon {
    font-size: 56px !important;
    width: 56px !important;
    height: 56px !important;
    display: block;
    margin: 0 auto 16px;
    color: #d0e4d4;
}

.gat-empty p {
    font-size: 1.05rem;
    margin: 0;
}

/* ============================================================
   SINGLE — GALERIA
============================================================ */
.gat-single-wrapper { padding-bottom: 60px; }

.gat-single-galeria {
    border-radius: var(--gat-radius);
    overflow: hidden;
    margin: 12px 0 28px;
    background: #000;
}

.gat-galeria-main {
    position: relative;
    aspect-ratio: 16/7;
    overflow: hidden;
    background: #111;
}

.gat-galeria-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .25s;
}

.gat-galeria-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.gat-galeria-counter {
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.gat-galeria-counter .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.gat-galeria-fullscreen {
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.gat-galeria-fullscreen:hover { background: rgba(0,0,0,.85); }

.gat-galeria-fullscreen .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.gat-galeria-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 2;
}

.gat-galeria-nav:hover { background: rgba(255,255,255,.35); }

.gat-nav-prev { left: 14px; }
.gat-nav-next { right: 14px; }

.gat-galeria-nav .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.gat-galeria-thumbs {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: #111;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #444 #111;
}

.gat-galeria-thumb {
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    opacity: .55;
    transition: opacity .2s;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.gat-galeria-thumb:hover { opacity: .8; }
.gat-galeria-thumb.active { opacity: 1; outline-color: var(--gat-verde); }

.gat-galeria-thumb img {
    width: 72px;
    height: 52px;
    object-fit: cover;
    display: block;
}

/* Header sem foto */
.gat-single-header-noimg {
    background: linear-gradient(135deg, var(--gat-verde-light), #d0ead8);
    border-radius: var(--gat-radius);
    padding: 50px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.gat-single-tipo-icon .dashicons {
    font-size: 72px;
    width: 72px;
    height: 72px;
    color: var(--gat-verde);
    opacity: .35;
}

/* ============================================================
   SINGLE — LAYOUT 2 COLUNAS
============================================================ */
.gat-single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}

/* Coluna principal */
.gat-single-main {}

.gat-single-header {
    margin-bottom: 24px;
}

.gat-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gat-verde);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 10px;
}

.gat-cat-tag .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
}

.gat-single-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--gat-txt);
    margin: 0 0 14px;
    line-height: 1.25;
}

.gat-single-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* ============================================================
   ABAS
============================================================ */
.gat-tabs {
    display: flex;
    background: var(--gat-cinza);
    border: 1px solid var(--gat-borda);
    border-bottom: none;
    border-radius: var(--gat-radius) var(--gat-radius) 0 0;
    overflow: hidden;
    flex-wrap: wrap;
    margin-top: 24px;
}

.gat-tab-link {
    flex: 1;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 14px 12px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    color: var(--gat-txt-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: .2s;
    min-width: 80px;
}

.gat-tab-link .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.gat-tab-link:hover { background: #e8f0e8; color: var(--gat-verde); }

.gat-tab-link.active {
    background: var(--gat-verde);
    color: #fff;
}

.gat-tab-link.active .dashicons { color: #fff; }

.gat-tab-count {
    font-size: 10px;
    font-weight: 700;
    background: rgba(0,0,0,.12);
    border-radius: 10px;
    padding: 1px 7px;
    line-height: 1.5;
}

.gat-tab-link.active .gat-tab-count { background: rgba(255,255,255,.2); }

.gat-tab-container {
    background: #fff;
    border: 1px solid var(--gat-borda);
    padding: 28px 26px;
    border-radius: 0 0 var(--gat-radius) var(--gat-radius);
    margin-bottom: 20px;
    text-align: left;
}

.gat-tab-content {
    display: none;
    animation: gatFade .3s ease;
}

.gat-tab-content.active { display: block !important; }

@keyframes gatFade {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.gat-tab-intro {
    color: var(--gat-txt-2);
    margin-bottom: 20px;
    font-size: .95rem;
}

/* ============================================================
   DESCRIÇÃO
============================================================ */
.gat-descricao-content {
    font-size: .95rem;
    line-height: 1.85;
    color: #333;
    margin-bottom: 20px;
}

.gat-obs-box {
    display: flex;
    gap: 14px;
    background: #fffbf0;
    border: 1px solid #f0c040;
    border-left: 4px solid #f0a000;
    border-radius: 8px;
    padding: 14px 18px;
    margin-top: 20px;
}

.gat-obs-box .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
    color: #c07800;
    flex-shrink: 0;
    margin-top: 2px;
}

.gat-obs-box strong { color: #7a4f00; display: block; margin-bottom: 4px; }
.gat-obs-box p { margin: 0; font-size: .9rem; color: #5a3a00; line-height: 1.6; }

/* ============================================================
   DICAS
============================================================ */
.gat-dicas-lista {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gat-dica-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: var(--gat-verde-light);
    border-radius: var(--gat-radius-sm);
    border-left: 3px solid var(--gat-verde);
}

.gat-dica-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--gat-verde);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gat-dica-num .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #fff;
}

.gat-dica-texto {
    font-size: .92rem;
    color: var(--gat-txt);
    line-height: 1.6;
    padding-top: 5px;
}

/* ============================================================
   MAPA
============================================================ */
.gat-mapa-endereco {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .95rem;
    color: var(--gat-txt);
    background: var(--gat-cinza);
    padding: 12px 16px;
    border-radius: var(--gat-radius-sm);
    margin-bottom: 8px;
}

.gat-mapa-endereco .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: var(--gat-verde);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================================
   SIDEBAR
============================================================ */
.gat-single-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gat-sidebar-card {
    background: #fff;
    border: 1.5px solid var(--gat-borda);
    border-radius: var(--gat-radius);
    overflow: hidden;
}

.gat-sidebar-card-title {
    background: var(--gat-verde);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 10px 16px;
}

.gat-sidebar-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--gat-cinza);
}

.gat-sidebar-item:last-child { border-bottom: none; }

.gat-sidebar-item > .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: var(--gat-verde);
    flex-shrink: 0;
    margin-top: 2px;
}

.gat-sidebar-item > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gat-sidebar-label {
    font-size: 10px;
    color: #aaa;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.gat-sidebar-valor {
    font-size: 13px;
    color: var(--gat-txt);
    font-weight: 500;
    line-height: 1.45;
}

.gat-val-success { color: var(--gat-verde); font-weight: 700; }
.gat-val-warning { color: #c07800; font-weight: 700; }

/* Ações sidebar */
.gat-sidebar-acoes .gat-acao-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--gat-cinza);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 600;
    color: var(--gat-txt);
    transition: background .15s;
}

.gat-sidebar-acoes .gat-acao-btn:last-child { border-bottom: none; }
.gat-sidebar-acoes .gat-acao-btn:hover { background: var(--gat-cinza); }

.gat-acao-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.gat-acao-tel   { color: var(--gat-verde); }
.gat-acao-wa    { color: #25d366; }
.gat-acao-maps  { color: #1e8bc3; }
.gat-acao-site  { color: #666; }
.gat-acao-ig    { color: #c13584; }

.gat-acao-btn svg { flex-shrink: 0; }

/* ============================================================
   AVALIAÇÕES
============================================================ */
.gat-av-resumo {
    display: flex;
    gap: 28px;
    align-items: center;
    background: var(--gat-cinza);
    border: 1px solid var(--gat-borda);
    border-radius: var(--gat-radius);
    padding: 20px 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.gat-av-score {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.gat-av-num {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    color: var(--gat-verde);
    line-height: 1;
}

.gat-av-total { font-size: 12px; color: #aaa; margin-top: 4px; }

.gat-av-barras { flex: 1; min-width: 160px; }

.gat-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 12px;
    color: #777;
}

.gat-bar-label { min-width: 28px; text-align: right; font-weight: 600; color: var(--gat-verde); }

.gat-bar-track {
    flex: 1;
    height: 6px;
    background: #d8e8d8;
    border-radius: 4px;
    overflow: hidden;
}

.gat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gat-verde) 0%, var(--gat-dourado) 100%);
    border-radius: 4px;
    transition: width .4s ease;
}

.gat-bar-count { min-width: 20px; text-align: right; }

/* Estrelas display */
.gat-stars-display { display: inline-flex; gap: 2px; line-height: 1; }
.gat-star { font-size: 15px; color: #ddd; }
.gat-star.filled { color: var(--gat-dourado); }
.gat-star.half   { color: var(--gat-dourado); opacity: .5; }
.gat-stars-lg .gat-star { font-size: 22px; }

.gat-av-vazio { text-align: center; color: #aaa; padding: 20px 0; }

/* Formulário avaliação */
.gat-av-form {
    background: var(--gat-verde-light);
    border: 1px solid #b8d8c4;
    border-radius: var(--gat-radius);
    padding: 24px;
    margin-bottom: 24px;
}

.gat-av-form-title { font-size: 1rem; font-weight: 700; color: var(--gat-verde-dark); margin: 0 0 4px; }
.gat-av-form-sub   { font-size: .85rem; color: var(--gat-txt-2); margin-bottom: 18px; }

.gat-star-select { display: flex; gap: 8px; margin-bottom: 10px; }

.gat-star-btn {
    font-size: 32px;
    color: #ccc;
    cursor: pointer;
    transition: color .1s, transform .1s;
    user-select: none;
    line-height: 1;
}

.gat-star-btn.hover,
.gat-star-btn.selected { color: var(--gat-dourado); }
.gat-star-btn:hover    { transform: scale(1.15); }

.gat-star-label {
    font-size: .85rem;
    color: var(--gat-txt-2);
    margin-bottom: 16px;
    font-style: italic;
    min-height: 20px;
}

.gat-av-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #b8d8c4;
    border-radius: var(--gat-radius-sm);
    font-size: .9rem;
    font-family: 'DM Sans', sans-serif;
    resize: vertical;
    min-height: 90px;
    background: #fff;
    color: var(--gat-txt);
    transition: border .2s;
}

.gat-av-textarea:focus {
    border-color: var(--gat-verde);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26,107,58,.1);
}

.gat-av-feedback {
    border-radius: var(--gat-radius-sm);
    padding: 12px 16px;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.gat-av-success { background: #eafaf0; border: 1px solid #a0ddb8; color: #1a6b3a; }
.gat-av-error   { background: #fdf0f0; border: 1px solid #f0b8b8; color: #8b1a1a; }

/* Comentários */
.gat-av-comentarios { margin-top: 24px; }
.gat-av-comentarios-title { font-size: .95rem; font-weight: 700; color: var(--gat-txt); margin-bottom: 16px; }

.gat-comentario {
    background: #fff;
    border: 1px solid var(--gat-borda);
    border-radius: var(--gat-radius-sm);
    padding: 16px 18px;
    margin-bottom: 12px;
}

.gat-comentario-cabecalho {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.gat-comentario-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gat-verde-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gat-comentario-avatar .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: var(--gat-verde);
}

.gat-comentario-data { font-size: 12px; color: #aaa; margin-top: 3px; }
.gat-comentario-texto { font-size: .9rem; color: #333; line-height: 1.6; }

/* ============================================================
   LIGHTBOX
============================================================ */
.gat-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gat-lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gat-lightbox-img {
    max-width: 80vw;
    max-height: 85vh;
    border-radius: var(--gat-radius-sm);
    object-fit: contain;
    display: block;
}

.gat-lightbox-close {
    position: fixed;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 2;
}

.gat-lightbox-close:hover { background: rgba(255,255,255,.25); }

.gat-lightbox-nav {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s;
}

.gat-lightbox-nav:hover { background: rgba(255,255,255,.25); }

.gat-lightbox-nav .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
}

.gat-lightbox-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,.6);
    color: #fff;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* ============================================================
   RESPONSIVIDADE
============================================================ */
@media (max-width: 900px) {
    .gat-single-layout {
        grid-template-columns: 1fr;
    }
    .gat-single-sidebar { position: static; }
    .gat-galeria-main   { aspect-ratio: 16/9; }
}

@media (max-width: 640px) {
    .gat-cards-grid      { grid-template-columns: 1fr; }
    .gat-hero            { padding: 40px 20px 50px; border-radius: var(--gat-radius-sm); }
    .gat-hero-title      { font-size: 1.8rem; }
    .gat-tabs            { flex-wrap: wrap; }
    .gat-tab-link        { flex: 1 1 45%; font-size: 12px; padding: 12px 8px; }
    .gat-tab-container   { padding: 20px 16px; }
    .gat-av-resumo       { flex-direction: column; }
    .gat-single-galeria  { border-radius: var(--gat-radius-sm); }
    .gat-galeria-main    { aspect-ratio: 4/3; }
    .gat-section-actions { flex-direction: column; align-items: flex-start; }
    .gat-lightbox-inner  { gap: 4px; }
    .gat-lightbox-img    { max-width: 95vw; }
    .gat-lightbox-nav    { width: 36px; height: 36px; }
}

@media (max-width: 400px) {
    .gat-portal-wrapper { padding: 0 12px 40px; }
    .gat-filter-bar     { gap: 6px; }
    .gat-filter-btn     { padding: 6px 12px; font-size: .8rem; }
}
