/* Extracted from single-praia.php — v16.13.6 architecture cleanup. */

/* ============================================
   SINGLE PRAIA — CANONICAL BASE
   ============================================ */

/* ============================================
   TOKENS
   ============================================ */
.guia-single-praia-page {
    --sp-hero-height: clamp(360px, 27vw, 410px);
    --sp-hero-min-height: 360px;
    --sp-ink: #1b1f2b;
    --sp-ink-light: #3d4a5c;
    --sp-muted: #8a9bb0;
    --sp-line: #edf0f5;
    --sp-soft: #f7f9fc;
    --sp-white: #ffffff;
    --sp-blue: #2563eb;
    --sp-blue-hover: #1d4ed8;
    --sp-red: #dc2626;
    --sp-red-hover: #b91c1c;
    --sp-radius: 6px;
    --sp-radius-sm: 4px;
    --sp-radius-xl: 8px;
    --sp-radius-pill: 999px;
    --sp-shadow-sm: 0 1px 3px rgba(0,0,0,0.02);
    --sp-shadow-md: 0 2px 8px rgba(0,0,0,0.03);
    --sp-shadow-lg: 0 8px 32px rgba(0,0,0,0.06);
    --sp-shadow-xl: 0 16px 48px rgba(0,0,0,0.08);
    --sp-transition: 0.25s cubic-bezier(0.2, 0.9, 0.4, 1);
    --sp-transition-slow: 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
    --sp-container: 1200px;
}

/* ============================================
   BASE
   ============================================ */
.sp-page {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
    background: var(--sp-white);
    color: var(--sp-ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sp-wrap {
    max-width: var(--sp-container);
    margin: 0 auto;
    padding: 0 24px;
}

.sp-hidden {
    display: none !important;
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes spFadeIn {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes spPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.sp-animate-in {
    animation: spFadeIn 0.5s cubic-bezier(0.2, 0.9, 0.4, 1) forwards;
    opacity: 0;
}

.sp-animate-in-delay-1 { animation-delay: 0.1s; }
.sp-animate-in-delay-2 { animation-delay: 0.2s; }
.sp-animate-in-delay-3 { animation-delay: 0.3s; }
.sp-animate-in-delay-4 { animation-delay: 0.4s; }

/* ============================================
   BREADCRUMB
   ============================================ */
.sp-breadcrumb {
    padding: 8px 0 12px;
    background: var(--sp-white);
    border-bottom: 1px solid var(--sp-line);
}

.sp-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: var(--sp-muted);
}

.sp-breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: var(--sp-line);
}

.sp-breadcrumb a {
    color: var(--sp-muted);
    text-decoration: none;
    transition: color var(--sp-transition);
}

.sp-breadcrumb a:hover {
    color: var(--sp-ink);
}

.sp-breadcrumb [aria-current="page"] {
    color: var(--sp-ink);
    font-weight: 500;
}

/* ============================================
   HERO
   ============================================ */
.sp-hero {
    position: relative;
    height: var(--sp-hero-height);
    min-height: var(--sp-hero-min-height);
    display: flex;
    align-items: flex-end;
    background: var(--sp-ink);
    overflow: hidden;
}

.sp-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sp-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--hero-pos, center 45%);
}

.sp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.01) 100%);
}

.sp-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--sp-container);
    margin: 0 auto;
    padding: 0 0 28px;
    color: var(--sp-white);
}

.sp-hero-title {
    font-size: clamp(32px, 4.2vw, 50px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 4px;
    color: var(--sp-white);
}

.sp-hero-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
}

.sp-hero-location svg {
    width: 16px;
    height: 16px;
}

.sp-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.sp-hero-stars {
    color: #f59e0b;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.sp-hero-score {
    font-weight: 500;
    color: var(--sp-white);
}

.sp-hero-reviews {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.sp-hero-sep {
    color: rgba(255,255,255,0.3);
}

.sp-hero-photos {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.sp-hero-pending {
    color: #f59e0b;
    font-size: 14px;
}

.sp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sp-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    border-radius: var(--sp-radius-pill);
    font-weight: 500;
    font-size: 14px;
    font-family: inherit;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--sp-transition);
}

.sp-hero-btn-primary {
    background: var(--sp-white);
    color: var(--sp-ink);
}

.sp-hero-btn-primary:hover {
    background: var(--sp-soft);
    transform: translateY(-1px);
    box-shadow: var(--sp-shadow-md);
}

.sp-hero-btn-secondary {
    background: rgba(255,255,255,0.08);
    color: var(--sp-white);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
}

.sp-hero-btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

.sp-hero-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ============================================
   LAYOUT
   ============================================ */
.sp-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 56px;
    max-width: var(--sp-container);
    margin: 72px auto 80px;
    padding: 0 24px;
}

.sp-main {
    min-width: 0;
}

.sp-sidebar {
    align-self: start;
    position: sticky;
    top: 80px;
}

/* ============================================
   SEÇÕES
   ============================================ */
.sp-section {
    margin-bottom: 72px;
    scroll-margin-top: 80px;
}

.sp-section:last-child {
    margin-bottom: 0;
}

.sp-section-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--sp-ink);
    margin: 0 0 20px;
}

.sp-copy {
    font-size: 16px;
    line-height: 1.8;
    color: var(--sp-ink-light);
    font-weight: 400;
}

.sp-copy p {
    margin-bottom: 1.2em;
}

/* ============================================
   INFORMAÇÕES
   ============================================ */
.sp-info-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sp-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--sp-line);
}

.sp-info-item:last-child {
    border-bottom: none;
}

.sp-info-icon {
    width: 20px;
    flex-shrink: 0;
    color: var(--sp-muted);
    opacity: 0.5;
}

.sp-info-icon svg {
    width: 18px;
    height: 18px;
}

.sp-info-label {
    font-size: 12px;
    color: var(--sp-muted);
    font-weight: 400;
}

.sp-info-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--sp-ink);
}

.sp-amenities-label {
    font-size: 12px;
    color: var(--sp-muted);
    font-weight: 500;
    display: block;
    margin: 20px 0 10px;
}

.sp-amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.sp-amenity {
    font-size: 14px;
    color: var(--sp-ink);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sp-amenity::before {
    content: "✓ ";
    color: var(--sp-blue);
    font-weight: 600;
}

.sp-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--sp-soft);
    border-radius: var(--sp-radius);
}

.sp-tip svg {
    width: 18px;
    height: 18px;
    color: var(--sp-muted);
    flex-shrink: 0;
    margin-top: 2px;
}

.sp-tip p {
    font-size: 14px;
    color: var(--sp-ink);
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   GALERIA - COM METADADOS
   ============================================ */
.sp-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.sp-gallery-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--sp-ink);
    margin: 0;
}

.sp-gallery-count {
    font-size: 14px;
    color: var(--sp-muted);
}

.sp-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 4px;
    border-radius: var(--sp-radius);
    overflow: hidden;
}

.sp-gallery-grid .sp-gallery-item:first-child {
    grid-row: span 2;
}

.sp-gallery-grid .sp-gallery-item:not(:first-child) {
    aspect-ratio: 16/10;
}

.sp-gallery-item {
    overflow: hidden;
    background: var(--sp-soft);
    cursor: pointer;
    position: relative;
}

.sp-gallery-item-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.sp-gallery-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--sp-transition-slow);
}

.sp-gallery-item:hover .sp-gallery-item-image img {
    transform: scale(1.02);
}

/* Botão de excluir */
.sp-gallery-item-delete {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    transition: all var(--sp-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-gallery-item:hover .sp-gallery-item-delete {
    opacity: 1;
}

.sp-gallery-item-delete:hover {
    background: var(--sp-red);
    transform: scale(1.05);
}

.sp-gallery-item-delete svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

/* Metadados da foto */
.sp-gallery-item-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 12px;
    background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 100%);
    color: #fff;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transition: opacity var(--sp-transition);
    pointer-events: none;
}

.sp-gallery-item:hover .sp-gallery-item-meta {
    opacity: 1;
}

.sp-gallery-item-author {
    font-weight: 500;
}

.sp-gallery-item-date {
    opacity: 0.7;
}

/* ============================================
   UPLOAD - ESTILO AIRBNB
   ============================================ */
.sp-upload-area {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--sp-line);
}

.sp-upload-form {
    max-width: 520px;
}

.sp-upload-dropzone {
    border: 2px dashed var(--sp-line);
    border-radius: var(--sp-radius);
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: all var(--sp-transition);
    background: var(--sp-soft);
    position: relative;
}

.sp-upload-dropzone:hover {
    border-color: var(--sp-muted);
}

.sp-upload-dropzone.dragover {
    border-color: var(--sp-blue);
    background: var(--sp-soft);
}

.sp-upload-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.sp-upload-dropzone-icon {
    display: block;
    margin-bottom: 8px;
    color: var(--sp-muted);
    opacity: 0.5;
}

.sp-upload-dropzone-icon svg {
    width: 36px;
    height: 36px;
}

.sp-upload-dropzone-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--sp-ink);
    margin: 0 0 4px;
}

.sp-upload-dropzone-text {
    font-size: 13px;
    color: var(--sp-muted);
    margin: 0 0 2px;
}

.sp-upload-dropzone-hint {
    font-size: 11px;
    color: var(--sp-muted-light);
    margin: 0;
}

/* Preview do upload */
.sp-upload-preview {
    margin-top: 12px;
    display: none;
    border-radius: var(--sp-radius);
    overflow: hidden;
    background: var(--sp-soft);
    border: 1px solid var(--sp-line);
}

.sp-upload-preview.active {
    display: block;
}

.sp-upload-preview-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
}

.sp-upload-preview-thumb {
    width: 64px;
    height: 64px;
    border-radius: var(--sp-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--sp-soft);
}

.sp-upload-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-upload-preview-info {
    flex: 1;
    min-width: 0;
}

.sp-upload-preview-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--sp-ink);
    margin: 0 0 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sp-upload-preview-name .sp-upload-status-icon {
    font-size: 16px;
}

.sp-upload-preview-size {
    font-size: 12px;
    color: var(--sp-muted);
}

.sp-upload-preview-actions {
    display: flex;
    gap: 4px;
}

.sp-upload-preview-remove {
    background: none;
    border: none;
    color: var(--sp-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all var(--sp-transition);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-upload-preview-remove:hover {
    background: var(--sp-soft);
    color: var(--sp-red);
}

/* Campos do upload */
.sp-upload-fields {
    margin-top: 12px;
    display: none;
}

.sp-upload-fields.active {
    display: block;
}

.sp-upload-field {
    margin-bottom: 10px;
}

.sp-upload-field label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--sp-ink);
    margin-bottom: 3px;
}

.sp-upload-textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius);
    font-size: 13px;
    font-family: inherit;
    color: var(--sp-ink);
    resize: vertical;
    background: var(--sp-white);
    transition: all var(--sp-transition);
    min-height: 48px;
}

.sp-upload-textarea:focus {
    outline: none;
    border-color: var(--sp-blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}

.sp-upload-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 24px;
    background: var(--sp-ink);
    color: var(--sp-white);
    border: none;
    border-radius: var(--sp-radius-pill);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--sp-transition);
    font-family: inherit;
}

.sp-upload-submit:hover {
    background: #2d3748;
    transform: translateY(-1px);
    box-shadow: var(--sp-shadow-md);
}

.sp-upload-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Progresso */
.sp-upload-progress {
    width: 100%;
    height: 3px;
    background: var(--sp-line);
    border-radius: var(--sp-radius-pill);
    overflow: hidden;
    margin-top: 10px;
    display: none;
}

.sp-upload-progress.active {
    display: block;
}

.sp-upload-progress-bar {
    height: 100%;
    background: var(--sp-blue);
    border-radius: var(--sp-radius-pill);
    width: 0%;
    transition: width 0.3s ease;
}

/* Status */
.sp-upload-status {
    font-size: 13px;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: var(--sp-radius-sm);
    display: none;
}

.sp-upload-status.success {
    display: block;
    background: #f0fdf4;
    color: #166534;
}

.sp-upload-status.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
}

.sp-upload-status.loading {
    display: block;
    color: var(--sp-muted);
}

/* Login */
.sp-upload-login {
    padding: 12px 16px;
    background: var(--sp-soft);
    border-radius: var(--sp-radius);
    text-align: center;
}

.sp-upload-login p {
    font-size: 13px;
    color: var(--sp-muted);
    margin: 0;
}

.sp-upload-login a {
    color: var(--sp-blue);
    text-decoration: none;
    font-weight: 500;
}

.sp-upload-login a:hover {
    text-decoration: underline;
}

/* ============================================
   AVALIAÇÕES
   ============================================ */
.sp-reviews-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    padding: 20px 0;
    border-bottom: 1px solid var(--sp-line);
    margin-bottom: 24px;
}

.sp-reviews-score {
    display: flex;
    flex-direction: column;
}

.sp-reviews-score-number {
    font-size: 38px;
    font-weight: 600;
    color: var(--sp-ink);
    line-height: 1;
}

.sp-reviews-score-stars {
    font-size: 16px;
    color: #f59e0b;
    letter-spacing: 1px;
    margin: 4px 0 2px;
}

.sp-reviews-score-count {
    font-size: 13px;
    color: var(--sp-muted);
}

.sp-reviews-dist {
    display: flex;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
}

.sp-reviews-dist-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.sp-reviews-dist-label {
    width: 32px;
    color: var(--sp-muted);
    font-size: 11px;
    font-weight: 500;
}

.sp-reviews-dist-bar {
    flex: 1;
    height: 4px;
    background: var(--sp-line);
    border-radius: var(--sp-radius-pill);
    overflow: hidden;
}

.sp-reviews-dist-fill {
    height: 100%;
    background: var(--sp-ink);
    border-radius: var(--sp-radius-pill);
}

.sp-reviews-dist-pct {
    width: 32px;
    font-size: 11px;
    color: var(--sp-muted);
    text-align: right;
}

.sp-review-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--sp-line);
}

.sp-review-item:last-child {
    border-bottom: none;
}

.sp-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.sp-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--sp-soft);
}

.sp-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-review-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--sp-ink);
}

.sp-review-date {
    font-size: 12px;
    color: var(--sp-muted);
    font-weight: 400;
}

.sp-review-stars {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.sp-review-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--sp-ink-light);
    margin: 0;
    font-weight: 400;
}

.sp-reviews-empty {
    text-align: center;
    padding: 48px 20px;
    background: var(--sp-soft);
    border-radius: var(--sp-radius);
}

.sp-reviews-empty svg {
    color: var(--sp-muted);
    opacity: 0.3;
}

.sp-reviews-empty h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--sp-ink);
    margin: 8px 0 4px;
}

.sp-reviews-empty p {
    font-size: 14px;
    color: var(--sp-muted);
    margin: 0 0 16px;
}

/* ============================================
   FORMULÁRIO DE AVALIAÇÃO
   ============================================ */
.sp-review-form-wrap {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--sp-line);
}

.sp-review-form-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--sp-ink);
    margin: 0 0 2px;
}

.sp-review-form-sub {
    font-size: 13px;
    color: var(--sp-muted);
    margin: 0 0 16px;
}

.sp-review-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 520px;
}

.sp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sp-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sp-form-group label {
    font-size: 12px;
    font-weight: 500;
    color: var(--sp-ink);
}

.sp-form-input,
.sp-form-textarea {
    padding: 10px 14px;
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius);
    font-size: 14px;
    font-family: inherit;
    color: var(--sp-ink);
    background: var(--sp-white);
    transition: all var(--sp-transition);
    width: 100%;
}

.sp-form-input:focus,
.sp-form-textarea:focus {
    outline: none;
    border-color: var(--sp-blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}

.sp-form-textarea {
    resize: vertical;
    min-height: 80px;
}

.sp-star-rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
    justify-content: flex-end;
}

.sp-star-rating input {
    display: none;
}

.sp-star-rating label {
    font-size: 28px;
    color: var(--sp-line);
    cursor: pointer;
    transition: color var(--sp-transition);
}

.sp-star-rating label:hover,
.sp-star-rating label:hover ~ label,
.sp-star-rating input:checked ~ label {
    color: #f59e0b;
}

.sp-btn-submit {
    height: 42px;
    padding: 0 28px;
    background: var(--sp-ink);
    color: var(--sp-white);
    border: none;
    border-radius: var(--sp-radius-pill);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--sp-transition);
    align-self: flex-start;
}

.sp-btn-submit:hover {
    background: #2d3748;
    transform: translateY(-1px);
    box-shadow: var(--sp-shadow-md);
}

.sp-btn-primary {
    height: 42px;
    padding: 0 28px;
    background: var(--sp-ink);
    color: var(--sp-white);
    border: none;
    border-radius: var(--sp-radius-pill);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--sp-transition);
}

.sp-btn-primary:hover {
    background: #2d3748;
    transform: translateY(-1px);
    box-shadow: var(--sp-shadow-md);
}

/* ============================================
   SIDEBAR
   ============================================ */
.sp-sidebar-card {
    background: transparent;
    border: none;
    padding: 0;
}

.sp-sidebar-card h3 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--sp-muted);
    margin: 0 0 16px;
}

.sp-sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.sp-sidebar-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 4px 0;
}

.sp-sidebar-info-icon {
    width: 20px;
    flex-shrink: 0;
    color: var(--sp-muted);
    opacity: 0.5;
    margin-top: 2px;
}

.sp-sidebar-info-icon svg {
    width: 18px;
    height: 18px;
}

.sp-sidebar-info-text {
    display: flex;
    flex-direction: column;
}

.sp-sidebar-info-label {
    font-size: 11px;
    color: var(--sp-muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sp-sidebar-info-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--sp-ink);
}

.sp-sidebar-divider {
    border: none;
    border-top: 1px solid var(--sp-line);
    margin: 16px 0;
}

.sp-sidebar-map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 42px;
    padding: 0 24px;
    background: var(--sp-blue);
    color: var(--sp-white);
    border: none;
    border-radius: var(--sp-radius-pill);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--sp-transition);
    margin-bottom: 8px;
}

.sp-sidebar-map-btn:hover {
    background: var(--sp-blue-hover);
    transform: translateY(-1px);
    box-shadow: var(--sp-shadow-md);
}

.sp-sidebar-map-btn svg {
    width: 16px;
    height: 16px;
}

.sp-sidebar-share {
    display: flex;
    gap: 4px;
}

.sp-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--sp-muted);
    cursor: pointer;
    transition: all var(--sp-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-share-btn:hover {
    background: var(--sp-soft);
    color: var(--sp-ink);
}

.sp-share-btn svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   FAQ
   ============================================ */
.sp-faq-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--sp-line);
}

.sp-faq-item:first-child {
    padding-top: 0;
}

.sp-faq-question {
    font-size: 15px;
    font-weight: 500;
    color: var(--sp-ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
    padding: 0;
    transition: color var(--sp-transition);
}

.sp-faq-question:hover {
    color: var(--sp-blue);
}

.sp-faq-icon {
    font-size: 20px;
    transition: transform var(--sp-transition-slow);
    color: var(--sp-muted);
    flex-shrink: 0;
}

.sp-faq-item.open .sp-faq-icon {
    transform: rotate(45deg);
}

.sp-faq-answer {
    font-size: 14px;
    line-height: 1.7;
    color: var(--sp-ink-light);
    padding-top: 8px;
    display: none;
    font-weight: 400;
    animation: spFaqOpen var(--sp-transition-slow) ease forwards;
}

.sp-faq-answer.open,
.sp-faq-item.open .sp-faq-answer {
    display: block;
}

@keyframes spFaqOpen {
    0% { opacity: 0; transform: translateY(-8px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RELATED
   ============================================ */
.sp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 12px;
}

.sp-related-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: var(--sp-radius);
    overflow: hidden;
    border: 1px solid var(--sp-line);
    transition: all var(--sp-transition);
}

.sp-related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sp-shadow-lg);
}

.sp-related-card__media {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: var(--sp-soft);
}

.sp-related-card__media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--sp-transition-slow);
}

.sp-related-card:hover .sp-related-card__media img {
    transform: scale(1.04);
}

.sp-related-card__body {
    padding: 12px 14px 14px;
}

.sp-related-card__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--sp-ink);
    margin: 0;
}

.sp-related-card__sub {
    font-size: 12px;
    color: var(--sp-muted);
    margin-top: 2px;
    display: block;
}

/* ============================================
   NOTIFICAÇÕES
   ============================================ */
.sp-notice {
    padding: 12px 16px;
    background: var(--sp-soft);
    border-radius: var(--sp-radius);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-notice p {
    margin: 0;
    font-size: 13px;
    color: var(--sp-ink-light);
}

.sp-notice-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.sp-notice-success p {
    color: #166534;
}

.sp-notice-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.sp-notice-error p {
    color: #991b1b;
}

.sp-login-notice {
    padding: 12px 16px;
    background: var(--sp-soft);
    border-radius: var(--sp-radius);
}

.sp-login-notice p {
    font-size: 13px;
    color: var(--sp-ink-light);
    margin: 0;
}

.sp-login-notice a {
    color: var(--sp-blue);
    text-decoration: none;
    font-weight: 500;
}

.sp-login-notice a:hover {
    text-decoration: underline;
}

/* ============================================
   STICKY MOBILE
   ============================================ */
.sp-sticky-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 16px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--sp-line);
    z-index: 100;
    gap: 8px;
}

.sp-sticky-mobile .sp-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 42px;
    padding: 0 16px;
    background: var(--sp-ink);
    color: var(--sp-white);
    border: none;
    border-radius: var(--sp-radius-pill);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
}

.sp-sticky-mobile .sp-btn-outline {
    background: transparent;
    color: var(--sp-ink);
    border: 1px solid var(--sp-line);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.sp-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--sp-transition);
}

.sp-lightbox.open {
    display: flex;
    opacity: 1;
}

.sp-lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sp-lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--sp-radius-sm);
}

.sp-lightbox-thumbs {
    display: flex;
    gap: 6px;
    padding: 12px 0 0;
    overflow-x: auto;
    max-width: 100%;
    justify-content: center;
}

.sp-lightbox-thumbs img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--sp-radius-sm);
    cursor: pointer;
    opacity: 0.4;
    transition: all var(--sp-transition);
    border: 2px solid transparent;
}

.sp-lightbox-thumbs img:hover {
    opacity: 0.7;
}

.sp-lightbox-thumbs img.active {
    opacity: 1;
    border-color: var(--sp-white);
}

.sp-lightbox-close,
.sp-lightbox-prev,
.sp-lightbox-next {
    position: fixed;
    background: rgba(255,255,255,0.06);
    border: none;
    color: var(--sp-white);
    cursor: pointer;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--sp-transition);
    z-index: 100001;
    padding: 0;
}

.sp-lightbox-close:hover,
.sp-lightbox-prev:hover,
.sp-lightbox-next:hover {
    background: rgba(255,255,255,0.12);
}

.sp-lightbox-close {
    top: 16px;
    right: 16px;
}

.sp-lightbox-prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.sp-lightbox-next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.sp-lightbox-counter {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.3);
    font-size: 12px;
    z-index: 100001;
    background: rgba(0,0,0,0.3);
    padding: 4px 16px;
    border-radius: var(--sp-radius-pill);
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 1024px) {
    .sp-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sp-sidebar {
        position: static;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .sp-wrap {
        width: calc(100% - 32px);
        max-width: none;
    }

    .sp-hero {
        height: clamp(340px, 92vw, 390px);
        min-height: 340px;
        max-height: 390px;
    }
    
    .sp-hero-title {
        font-size: 28px;
    }
    
    .sp-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .sp-hero-btn {
        width: 100%;
        justify-content: center;
    }
    
    .sp-layout {
        margin: 56px auto 64px;
        padding: 0 16px;
        gap: 32px;
    }
    
    .sp-section {
        margin-bottom: 56px;
    }
    
    .sp-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    
    .sp-gallery-grid .sp-gallery-item:first-child {
        grid-row: span 1;
        grid-column: span 2;
    }
    
    .sp-gallery-grid .sp-gallery-item:not(:first-child) {
        aspect-ratio: auto;
    }
    
    .sp-gallery-item-meta {
        opacity: 1;
        background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
    }
    
    .sp-gallery-item-delete {
        opacity: 1;
        background: rgba(0,0,0,0.7);
    }
    
    .sp-reviews-summary {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .sp-sticky-mobile {
        display: flex;
    }
    
    .sp-form-row {
        grid-template-columns: 1fr;
    }
    
    .sp-sidebar {
        max-width: 100%;
    }
    
    .sp-upload-preview-inner {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .sp-hero {
        height: 38vh;
        min-height: 260px;
    }
    
    .sp-hero-title {
        font-size: 22px;
    }
    
    .sp-hero-content {
        padding: 0 16px 28px;
    }
    
    .sp-gallery-grid {
        grid-template-rows: 140px 140px;
    }
    
    .sp-reviews-score-number {
        font-size: 30px;
    }
    
    .sp-related-grid {
        grid-template-columns: 1fr;
    }
    
    .sp-upload-dropzone {
        padding: 20px 16px;
    }
    
    .sp-upload-dropzone-title {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .guia-single-praia-page * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

.sp-hero-btn:focus-visible,
.sp-sidebar-map-btn:focus-visible,
.sp-btn-submit:focus-visible,
.sp-btn-primary:focus-visible,
.sp-share-btn:focus-visible,
.sp-faq-question:focus-visible,
.sp-gallery-item-delete:focus-visible {
    outline: 2px solid var(--sp-blue);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* GALERIA PREMIUM 10/10 — overrides v73 */
#galeria { scroll-margin-top: 92px; }
.sp-gallery-header { margin-bottom: 20px; align-items:flex-end; }
.sp-gallery-title { font-size: clamp(24px,3vw,34px); letter-spacing:-.035em; line-height:1; }
.sp-gallery-count { min-width:34px;height:34px;padding:0 11px;border:1px solid var(--sp-line);border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:var(--sp-ink);background:rgba(255,255,255,.82);backdrop-filter:blur(12px); }
.sp-gallery-grid { grid-template-columns:minmax(0,1.8fr) minmax(220px,1fr);grid-template-rows:repeat(2,minmax(190px,260px));gap:10px;border-radius:20px;background:transparent;overflow:visible; }
.sp-gallery-grid .sp-gallery-item:first-child { grid-row:1 / 3; }
.sp-gallery-grid .sp-gallery-item:not(:first-child) { grid-column:2; }
.sp-gallery-item { position:relative;border-radius:18px;overflow:hidden;background:#eef2f6;box-shadow:0 1px 2px rgba(15,23,42,.04);isolation:isolate; }
.sp-gallery-item-image { width:100%;height:100%;display:block;padding:0;border:0;background:none;cursor:zoom-in;overflow:hidden;text-align:left; }
.sp-gallery-item-image:focus-visible { outline:3px solid rgba(37,99,235,.45);outline-offset:3px; }
.sp-gallery-item-image:after { content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(5,10,20,.48));opacity:.76;transition:opacity .25s ease;pointer-events:none; }
.sp-gallery-item-image img { width:100%;height:100%;object-fit:cover;transform:scale(1.001);transition:transform .55s cubic-bezier(.2,.8,.2,1),filter .3s ease; }
.sp-gallery-item:hover .sp-gallery-item-image img { transform:scale(1.045); }
.sp-gallery-item:hover .sp-gallery-item-image:after { opacity:1; }
.sp-gallery-item-number { position:absolute;top:14px;left:14px;z-index:2;color:#fff;font-size:11px;font-weight:800;letter-spacing:.08em;text-shadow:0 1px 10px rgba(0,0,0,.35); }
.sp-gallery-item-meta { z-index:3;padding:16px 18px;background:none;transform:none;opacity:1;pointer-events:none; }
.sp-gallery-item-author { color:#fff;font-weight:700;font-size:13px; }
.sp-gallery-item-date { color:rgba(255,255,255,.72);font-size:11px; }
.sp-gallery-item-delete { z-index:5;top:12px;right:12px;width:36px;height:36px;border:1px solid rgba(255,255,255,.22);background:rgba(10,15,25,.42);backdrop-filter:blur(12px);opacity:0;transform:translateY(-4px); }
.sp-gallery-item:hover .sp-gallery-item-delete,.sp-gallery-item-delete:focus-visible { opacity:1;transform:none; }
.sp-gallery-view-all { margin-top:16px;text-align:right; }
.sp-gallery-view-all a { display:inline-flex;align-items:center;height:42px;padding:0 18px;border:1px solid var(--sp-line);border-radius:999px;background:#fff;color:var(--sp-ink);font-size:13px;font-weight:700;box-shadow:0 6px 18px rgba(15,23,42,.04); }
.sp-gallery-view-all a:hover { border-color:#d7dce5;transform:translateY(-1px);box-shadow:0 10px 28px rgba(15,23,42,.08); }
.sp-upload-area { margin-top:28px;padding:8px;border:1px solid var(--sp-line);border-radius:22px;background:linear-gradient(145deg,#fff,#f8fafc); }
.sp-upload-form { padding:0; }
.sp-upload-dropzone { min-height:190px;border:1.5px dashed #cfd6e1;border-radius:16px;background:rgba(255,255,255,.8); }
.sp-upload-dropzone:hover,.sp-upload-dropzone.dragover { border-color:var(--sp-blue);background:#f5f8ff;transform:none; }
.sp-upload-dropzone-icon { width:48px;height:48px;border-radius:14px;background:#eef4ff;color:var(--sp-blue);display:inline-flex;align-items:center;justify-content:center; }
.sp-upload-submit { min-height:46px;border-radius:999px;padding:0 22px;box-shadow:0 8px 22px rgba(37,99,235,.18); }
.sp-lightbox { background:rgba(5,8,14,.94);backdrop-filter:blur(18px); }
.sp-lightbox-container { padding:58px 72px 96px; }
.sp-lightbox-content { width:min(1180px,100%);height:100%;max-width:none;max-height:none;display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px;align-items:center; }
.sp-lightbox-stage { min-width:0;height:100%;display:flex;align-items:center;justify-content:center; }
.sp-lightbox-image { max-width:100%;max-height:calc(100vh - 190px);border-radius:14px;box-shadow:0 24px 80px rgba(0,0,0,.38); }
.sp-lightbox-caption { color:#fff;display:flex;gap:12px;align-items:flex-start;padding:18px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(255,255,255,.055); }
.sp-lightbox-avatar { width:36px;height:36px;border-radius:50%;object-fit:cover;background:#222; }
.sp-lightbox-caption strong,.sp-lightbox-caption span { display:block; }
.sp-lightbox-caption strong { font-size:14px; } .sp-lightbox-caption span { margin-top:2px;color:rgba(255,255,255,.55);font-size:11px; }
.sp-lightbox-caption p { margin:12px 0 0;color:rgba(255,255,255,.8);font-size:13px;line-height:1.55; }
.sp-lightbox-thumbs { position:fixed;left:50%;bottom:20px;transform:translateX(-50%);width:min(760px,calc(100vw - 32px));padding:8px;justify-content:flex-start;background:rgba(12,16,24,.68);border:1px solid rgba(255,255,255,.08);border-radius:14px;backdrop-filter:blur(18px); }
.sp-lightbox-thumb { flex:0 0 auto;width:52px;height:52px;padding:0;border:0;border-radius:9px;overflow:hidden;background:none;opacity:.45;cursor:pointer;transition:.2s ease; }
.sp-lightbox-thumb img { width:100%;height:100%;object-fit:cover;border:0;border-radius:0;opacity:1; }
.sp-lightbox-thumb.active { opacity:1;box-shadow:0 0 0 2px #fff; }
.sp-lightbox-counter { position:fixed;top:20px;left:24px;color:rgba(255,255,255,.76);font-size:12px;font-weight:700;letter-spacing:.08em; }
@media(max-width:760px){.sp-gallery-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:260px 150px;gap:8px}.sp-gallery-grid .sp-gallery-item:first-child{grid-column:1/3;grid-row:1}.sp-gallery-grid .sp-gallery-item:not(:first-child){grid-column:auto}.sp-gallery-grid .sp-gallery-item:nth-child(n+4){display:none}.sp-gallery-item{border-radius:14px}.sp-gallery-item-delete{opacity:1;transform:none}.sp-lightbox-container{padding:56px 12px 94px}.sp-lightbox-content{display:flex;gap:12px}.sp-lightbox-caption{position:absolute;left:12px;right:12px;bottom:82px;padding:12px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.7));border:0}.sp-lightbox-image{max-height:calc(100vh - 150px);border-radius:8px}.sp-lightbox-prev,.sp-lightbox-next{display:none}.sp-lightbox-thumbs{bottom:12px}.sp-upload-area{margin-left:-8px;margin-right:-8px}.sp-upload-dropzone{min-height:170px}}
@media(prefers-reduced-motion:reduce){.sp-gallery-item-image img,.sp-gallery-view-all a,.sp-lightbox-thumb{transition:none!important}}


/* Galeria clássica de fotos — simples, previsível e responsiva */
.sp-gallery-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.sp-gallery-title{font-size:24px;font-weight:750;letter-spacing:-.02em}.sp-gallery-count{font-size:13px;color:var(--sp-muted);background:none;border:0;height:auto;padding:0;min-width:0}
.sp-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;gap:12px;border-radius:0;overflow:visible}
.sp-gallery-grid .sp-gallery-item:first-child,.sp-gallery-grid .sp-gallery-item:not(:first-child){grid-column:auto;grid-row:auto}
.sp-gallery-item{aspect-ratio:4/3;border-radius:12px;border:1px solid var(--sp-line);background:#f3f4f6;box-shadow:none;overflow:hidden}
.sp-gallery-item-image{position:relative;width:100%;height:100%;cursor:pointer}.sp-gallery-item-image:after{display:none}
.sp-gallery-item-image img{width:100%;height:100%;object-fit:cover;transition:transform .2s ease}.sp-gallery-item:hover .sp-gallery-item-image img{transform:scale(1.025)}
.sp-gallery-item-number,.sp-gallery-item-meta{display:none}.sp-gallery-item-delete{opacity:0;transform:none;top:8px;right:8px;width:34px;height:34px;background:rgba(0,0,0,.62);border:0}
.sp-gallery-item:hover .sp-gallery-item-delete,.sp-gallery-item-delete:focus-visible{opacity:1}.sp-gallery-view-all{display:none}
.sp-lightbox{background:rgba(0,0,0,.94)}.sp-lightbox-container{padding:56px 64px 96px}.sp-lightbox-content{display:flex;align-items:center;justify-content:center}
.sp-lightbox-image{max-width:min(1200px,calc(100vw - 160px));max-height:calc(100vh - 150px);object-fit:contain;border-radius:4px;box-shadow:none}
.sp-lightbox-caption{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);width:auto;max-width:min(760px,calc(100vw - 40px));padding:10px 14px;border:0;border-radius:8px;background:rgba(0,0,0,.55);backdrop-filter:blur(8px)}
.sp-lightbox-thumbs{display:none}.sp-lightbox-prev,.sp-lightbox-next{width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.12)}
@media(max-width:820px){.sp-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sp-gallery-item{border-radius:9px}.sp-lightbox-container{padding:52px 10px 88px}.sp-lightbox-image{max-width:100%;max-height:calc(100vh - 130px)}.sp-lightbox-prev,.sp-lightbox-next{display:none}.sp-lightbox-caption{bottom:14px}}
@media(max-width:480px){.sp-gallery-grid{grid-template-columns:1fr 1fr}.sp-gallery-item{aspect-ratio:1/1}.sp-gallery-title{font-size:22px}}

/* Galeria comum premium: fotos limpas, sem blur e com legenda visível */
.sp-gallery-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;align-items:start!important}
.sp-gallery-grid .sp-gallery-item{display:flex!important;flex-direction:column!important;aspect-ratio:auto!important;min-width:0!important;border:1px solid #e5e7eb!important;border-radius:6px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 1px 2px rgba(15,23,42,.04)!important}
.sp-gallery-grid .sp-gallery-item-image{display:block!important;position:relative!important;width:100%!important;aspect-ratio:4/3!important;height:auto!important;overflow:hidden!important;background:#f8fafc!important;border-radius:0!important}
.sp-gallery-grid .sp-gallery-item-image:after{display:none!important}
.sp-gallery-grid .sp-gallery-item-image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;filter:none!important;backdrop-filter:none!important;transform:none!important;border-radius:0!important}
.sp-gallery-grid .sp-gallery-item:hover .sp-gallery-item-image img{transform:none!important;filter:none!important}
.sp-gallery-item-number{display:none!important}
.sp-gallery-grid .sp-gallery-item-meta{display:block!important;position:static!important;opacity:1!important;transform:none!important;padding:12px 14px 14px!important;background:#fff!important;color:#111827!important;pointer-events:auto!important}
.sp-gallery-item-byline{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sp-gallery-grid .sp-gallery-item-author{color:#111827!important;font-size:13px!important;font-weight:700!important}
.sp-gallery-grid .sp-gallery-item-date{color:#6b7280!important;font-size:12px!important}
.sp-gallery-item-comment{margin:8px 0 0!important;color:#374151!important;font-size:14px!important;line-height:1.5!important;overflow-wrap:anywhere}
.sp-gallery-count{border:0!important;background:transparent!important;backdrop-filter:none!important;border-radius:0!important}
.sp-gallery-item-delete{backdrop-filter:none!important;border-radius:6px!important}
.sp-lightbox-caption{backdrop-filter:none!important;background:rgba(0,0,0,.82)!important;border-radius:4px!important}
.sp-lightbox-image{filter:none!important;border-radius:2px!important}
@media(max-width:820px){.sp-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}}
@media(max-width:520px){.sp-gallery-grid{grid-template-columns:1fr!important}.sp-gallery-grid .sp-gallery-item-image{aspect-ratio:4/3!important}}



.sp-upload-recommended {
    margin: 8px 0 0;
    color: var(--sp-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

/* Galeria responsiva em carrossel: 1 foto principal + miniaturas */
.sp-photo-viewer{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:12px;align-items:stretch}
.sp-photo-stage{position:relative;min-width:0;aspect-ratio:16/10;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}
.sp-photo-main{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.sp-photo-main img{display:block;width:100%;height:100%;object-fit:cover;filter:none;transform:none}
.sp-photo-arrow{position:absolute;top:50%;z-index:4;width:42px;height:42px;margin-top:-21px;border:1px solid rgba(255,255,255,.75);border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(17,24,39,.72);color:#fff;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.18);transition:background .18s ease,transform .18s ease}
.sp-photo-arrow:hover{background:rgba(17,24,39,.92);transform:scale(1.04)}
.sp-photo-arrow-prev{left:14px}.sp-photo-arrow-next{right:14px}
.sp-photo-stage-counter{position:absolute;right:14px;bottom:12px;z-index:3;padding:5px 9px;border-radius:999px;background:rgba(17,24,39,.76);color:#fff;font-size:12px;font-weight:700;line-height:1}
.sp-photo-active-delete{display:flex!important;opacity:1!important;top:12px!important;right:12px!important;z-index:5!important;border-radius:50%!important;background:rgba(17,24,39,.76)!important}
.sp-photo-active-delete[hidden]{display:none!important}
.sp-photo-thumbs{display:flex;flex-direction:column;gap:8px;max-height:none;overflow-y:auto;overflow-x:hidden;padding-right:2px;scrollbar-width:thin}
.sp-photo-thumb{flex:0 0 auto;width:100%;aspect-ratio:4/3;padding:0;border:2px solid transparent;border-radius:6px;overflow:hidden;background:#f3f4f6;cursor:pointer;opacity:.72;transition:border-color .18s ease,opacity .18s ease}
.sp-photo-thumb:hover{opacity:1}.sp-photo-thumb.active{border-color:#111827;opacity:1}.sp-photo-thumb:focus-visible{outline:3px solid rgba(37,99,235,.35);outline-offset:2px}
.sp-photo-thumb img{display:block;width:100%;height:100%;object-fit:cover;filter:none}
.sp-photo-meta{margin-top:12px;padding:14px 16px;border:1px solid #e5e7eb;border-radius:8px;background:#fff}
.sp-photo-meta-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.sp-photo-author{display:flex;align-items:center;gap:10px;min-width:0}.sp-photo-author img{width:34px;height:34px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.sp-photo-author strong,.sp-photo-author span{display:block}.sp-photo-author strong{font-size:13px;color:#111827}.sp-photo-author span{margin-top:2px;font-size:12px;color:#6b7280}
.sp-photo-comment{margin:12px 0 0;padding-top:12px;border-top:1px solid #eef0f3;color:#374151;font-size:14px;line-height:1.55;overflow-wrap:anywhere}
.sp-photo-open-lightbox{border:0;background:transparent;color:#2563eb;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}.sp-photo-open-lightbox:hover{text-decoration:underline}
@media(max-width:900px){.sp-photo-viewer{grid-template-columns:minmax(0,1fr) 94px}.sp-photo-stage{aspect-ratio:3/2}}
@media(max-width:680px){.sp-photo-viewer{display:flex;flex-direction:column;gap:10px}.sp-photo-stage{aspect-ratio:4/3;border-radius:6px}.sp-photo-thumbs{order:2;flex-direction:row;overflow-x:auto;overflow-y:hidden;padding:0 0 4px;scroll-snap-type:x proximity}.sp-photo-thumb{width:84px;scroll-snap-align:start}.sp-photo-arrow{width:38px;height:38px;margin-top:-19px}.sp-photo-arrow-prev{left:8px}.sp-photo-arrow-next{right:8px}.sp-photo-meta{padding:12px}.sp-photo-open-lightbox{display:none}}
@media(max-width:420px){.sp-photo-thumb{width:72px}.sp-photo-stage-counter{right:9px;bottom:9px}}

/* Galeria 16:9 premium: recorte central sem distorcer a imagem */
.sp-photo-stage{aspect-ratio:16/9!important;background:#f5f6f8}
.sp-photo-main img{object-fit:cover!important;object-position:center center!important}
.sp-photo-thumb{aspect-ratio:16/9!important}
.sp-photo-thumb img{object-fit:cover!important;object-position:center center!important}
.sp-lightbox-content{width:min(94vw,1440px)!important;max-width:1440px!important;height:auto!important;display:grid!important;place-items:center!important}
.sp-lightbox-image{display:block!important;width:auto!important;height:auto!important;aspect-ratio:auto!important;max-width:94vw!important;max-height:82vh!important;object-fit:contain!important;object-position:center!important;background:#0b0d11;border-radius:6px!important}
@media(max-width:900px){.sp-photo-stage{aspect-ratio:16/9!important}}
@media(max-width:680px){.sp-photo-stage{aspect-ratio:16/9!important}.sp-lightbox-content{width:100%!important}.sp-lightbox-image{max-width:100%!important;max-height:78vh!important;aspect-ratio:auto!important}}
@media(max-width:420px){.sp-photo-stage{aspect-ratio:16/9!important}}



/* ============================================================
   SINGLE PRAIA v73 — DIREÇÃO DE ARTE PREMIUM CLEAN
   Camada final: apenas apresentação, sem alterar funcionalidades.
============================================================ */
.guia-single-praia-page{
    --sp-hero-height:68vh;
    --sp-hero-min-height:520px;
    --sp-ink:#111827;
    --sp-ink-light:#3f4754;
    --sp-muted:#707887;
    --sp-line:#e9edf2;
    --sp-soft:#f7f8fa;
    --sp-blue:#155eef;
    --sp-blue-hover:#0f4fd1;
    --sp-radius:12px;
    --sp-radius-sm:8px;
    --sp-radius-xl:24px;
    --sp-shadow-md:0 8px 24px rgba(15,23,42,.06);
    --sp-shadow-lg:0 18px 50px rgba(15,23,42,.08);
    --sp-container:1180px;
}
.sp-page{font-family:-apple-system,BlinkMacSystemFont,"Inter","Segoe UI",sans-serif;background:#fff;color:var(--sp-ink)}
.sp-wrap,.sp-layout,.sp-hero-content{max-width:var(--sp-container)}
.sp-breadcrumb{padding:12px 0;border-bottom:1px solid rgba(233,237,242,.9)}
.sp-breadcrumb ol{font-size:12px;letter-spacing:.01em}
.sp-hero{height:var(--sp-hero-height);min-height:var(--sp-hero-min-height);isolation:isolate}
.sp-hero::after{background:linear-gradient(180deg,rgba(8,15,28,.04) 22%,rgba(8,15,28,.14) 52%,rgba(8,15,28,.78) 100%)}
.sp-hero-bg img{transform:scale(1.001)}
.sp-hero-content{padding:0 28px 48px}
.sp-hero-title{max-width:850px;margin:0 0 13px;font-size:clamp(42px,5.4vw,68px);font-weight:650;line-height:.98;letter-spacing:-.045em;text-wrap:balance}
.sp-hero-location{margin:0 0 18px;font-size:14px;color:rgba(255,255,255,.78)}
.sp-hero-location svg{opacity:.82}
.sp-hero-meta{gap:10px;margin-bottom:24px;font-size:14px}
.sp-hero-stars{font-size:14px;letter-spacing:1px}
.sp-hero-score{font-weight:650}
.sp-hero-reviews,.sp-hero-photos{color:rgba(255,255,255,.72)}
.sp-hero-actions{gap:10px}
.sp-hero-btn{height:46px;padding:0 22px;font-size:13px;font-weight:650;letter-spacing:-.01em;box-shadow:none}
.sp-hero-btn-primary{background:#fff;color:#111827}
.sp-hero-btn-secondary{background:rgba(17,24,39,.32);border-color:rgba(255,255,255,.24);backdrop-filter:blur(14px)}
.sp-layout{grid-template-columns:minmax(0,760px) minmax(240px,300px);gap:88px;margin:96px auto 112px;padding:0 28px}
.sp-main{max-width:760px}
.sp-sidebar{top:104px}
.sp-section{margin-bottom:104px;scroll-margin-top:104px}
.sp-section-title,.sp-gallery-title{margin:0 0 28px;font-size:clamp(27px,3vw,36px);font-weight:650;line-height:1.08;letter-spacing:-.04em;color:var(--sp-ink)}
.sp-copy{max-width:700px;font-size:17px;line-height:1.86;color:var(--sp-ink-light)}
.sp-copy p{margin:0 0 1.45em}
.sp-copy h2,.sp-copy h3{color:var(--sp-ink);letter-spacing:-.025em}
.sp-copy a{color:var(--sp-blue);text-underline-offset:3px}
.sp-info-list{gap:0;border-top:1px solid var(--sp-line)}
.sp-info-item{align-items:flex-start;gap:18px;padding:19px 0;border-bottom:1px solid var(--sp-line)}
.sp-info-icon{width:22px;margin-top:2px;opacity:.6}
.sp-info-label{display:block;margin-bottom:4px;font-size:11px;font-weight:650;letter-spacing:.07em;text-transform:uppercase;color:var(--sp-muted)}
.sp-info-value{display:block;font-size:16px;font-weight:520;line-height:1.45;color:var(--sp-ink)}
.sp-amenities-label{margin:30px 0 14px;font-size:11px;font-weight:650;letter-spacing:.07em;text-transform:uppercase}
.sp-amenities-list{gap:10px 20px}
.sp-amenity{font-size:14px;color:var(--sp-ink-light)}
.sp-amenity::before{font-size:12px}
.sp-tip{margin-top:30px;padding:20px 22px;border:1px solid var(--sp-line);background:#fafbfc;border-radius:14px}
.sp-tip p{font-size:14px;line-height:1.65;color:var(--sp-ink-light)}
.sp-gallery-header{align-items:center;margin-bottom:24px}
.sp-gallery-count{font-size:12px!important;font-weight:600!important;color:var(--sp-muted)!important}
.sp-photo-viewer{grid-template-columns:minmax(0,1fr) 104px;gap:10px}
.sp-photo-stage{border:0;border-radius:18px;background:#f2f4f7;box-shadow:none}
.sp-photo-thumb{border-width:1px;border-radius:10px;opacity:.55}
.sp-photo-thumb.active{border-color:var(--sp-ink);opacity:1}
.sp-photo-arrow{width:44px;height:44px;border:1px solid rgba(255,255,255,.35);background:rgba(8,15,28,.54);box-shadow:none}
.sp-photo-stage-counter{right:14px;bottom:14px;padding:6px 10px;background:rgba(8,15,28,.58);font-weight:600}
.sp-photo-meta{margin-top:14px;padding:16px 18px;border-color:var(--sp-line);border-radius:12px}
.sp-photo-author strong{font-size:13px;font-weight:650}
.sp-photo-comment{color:var(--sp-ink-light)}
.sp-photo-open-lightbox{color:var(--sp-ink);font-weight:600}
.sp-upload-area{margin-top:34px;padding-top:34px}
.sp-upload-form{max-width:100%}
.sp-upload-dropzone{padding:34px 24px;border:1px dashed #cfd6df;border-radius:16px;background:#fafbfc}
.sp-upload-dropzone:hover{border-color:#9aa5b3;background:#f7f8fa}
.sp-upload-dropzone-title{font-size:15px;font-weight:650}
.sp-upload-dropzone-text{font-size:13px}
.sp-upload-recommended{font-weight:500}
.sp-reviews-summary{grid-template-columns:180px 1fr;gap:48px;padding:8px 0 32px;margin-bottom:8px}
.sp-reviews-score-number{font-size:64px;font-weight:650;letter-spacing:-.055em}
.sp-reviews-score-stars{margin:10px 0 5px}
.sp-reviews-dist{gap:7px}
.sp-reviews-dist-bar{height:5px}
.sp-review-item{padding:28px 0}
.sp-review-avatar{width:44px;height:44px}
.sp-review-name{font-size:14px;font-weight:650}
.sp-review-text{font-size:15px;line-height:1.75}
.sp-review-form-wrap{margin-top:36px;padding-top:36px}
.sp-review-form-title{font-size:19px;letter-spacing:-.02em}
.sp-review-form-sub{margin-top:6px;line-height:1.5}
.sp-form-input,.sp-form-textarea,.sp-upload-textarea{border-color:#dfe4ea;border-radius:10px;background:#fff}
.sp-btn-submit,.sp-btn-primary,.sp-upload-submit{height:46px;padding:0 24px;background:var(--sp-ink);font-weight:650}
.sp-faq-item{padding:21px 0}
.sp-faq-question{font-size:16px;font-weight:560;line-height:1.45}
.sp-faq-answer{padding-top:12px;font-size:15px;line-height:1.75}
.sp-related-grid{gap:22px}
.sp-related-card{border:0;border-radius:14px;background:transparent}
.sp-related-card:hover{transform:translateY(-2px);box-shadow:none}
.sp-related-card__media{border-radius:14px}
.sp-related-card__body{padding:13px 2px 0}
.sp-related-card__title{font-size:15px;letter-spacing:-.015em}
.sp-sidebar-card h3{margin-bottom:24px;font-size:10px;letter-spacing:.11em}
.sp-sidebar-info{gap:0;margin-bottom:26px;border-top:1px solid var(--sp-line)}
.sp-sidebar-info-item{gap:14px;padding:18px 0;border-bottom:1px solid var(--sp-line)}
.sp-sidebar-info-icon{opacity:.52}
.sp-sidebar-info-label{margin-bottom:4px;font-size:10px;font-weight:650;letter-spacing:.09em}
.sp-sidebar-info-value{font-size:14px;font-weight:540;line-height:1.48}
.sp-sidebar-map-btn{height:46px;background:var(--sp-ink);font-size:13px;font-weight:650}
.sp-sidebar-map-btn:hover{background:#222b39}
.sp-sidebar-divider{margin:22px 0 14px}
.sp-share-btn{width:38px;height:38px}
.sp-sticky-mobile{padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.94)}
@media(max-width:1024px){
  .sp-layout{grid-template-columns:1fr;gap:56px;max-width:820px}
  .sp-main{max-width:none}.sp-sidebar{max-width:none}
  .sp-sidebar-card{max-width:620px}
}
@media(max-width:768px){
  .guia-single-praia-page{--sp-hero-min-height:420px}
  .sp-hero{height:58vh;min-height:420px}
  .sp-hero-content{padding:0 20px 34px}
  .sp-hero-title{font-size:clamp(34px,10vw,48px);margin-bottom:10px}
  .sp-hero-location{margin-bottom:14px}
  .sp-hero-actions{flex-direction:row}
  .sp-hero-btn{width:auto;flex:1;padding:0 14px}
  .sp-layout{margin:68px auto 92px;padding:0 20px;gap:46px}
  .sp-section{margin-bottom:76px}
  .sp-section-title,.sp-gallery-title{font-size:29px;margin-bottom:23px}
  .sp-copy{font-size:16px;line-height:1.8}
  .sp-photo-viewer{grid-template-columns:1fr}
  .sp-photo-thumbs{flex-direction:row;overflow-x:auto;overflow-y:hidden}
  .sp-photo-thumb{width:84px}
  .sp-reviews-summary{grid-template-columns:1fr;gap:24px}
  .sp-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  .sp-hero{height:54vh;min-height:390px}
  .sp-hero-meta{margin-bottom:18px}
  .sp-hero-sep{display:none}
  .sp-hero-actions{gap:8px}
  .sp-hero-btn{height:44px;font-size:12px}
  .sp-layout{margin-top:58px;padding:0 18px}
  .sp-section{margin-bottom:68px}
  .sp-section-title,.sp-gallery-title{font-size:27px}
  .sp-photo-stage{border-radius:14px}
  .sp-photo-arrow{width:38px;height:38px}
  .sp-reviews-score-number{font-size:54px}
  .sp-related-grid{grid-template-columns:1fr}
}

/* v74 — acabamento mobile-first, legibilidade e decisão visual */
.sp-section-eyebrow{margin:0 0 10px;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--sp-muted)}
.sp-related-section{padding-top:8px}
.sp-related-card__media{aspect-ratio:4/3;padding-bottom:0}
.sp-related-card__media img{position:static;width:100%;height:100%;object-fit:cover}
.sp-faq-question{min-height:44px;gap:18px}
.sp-faq-item.open .sp-faq-question{color:var(--sp-ink)}
.sp-faq-item.open .sp-faq-answer{display:block}
.sp-faq-answer{max-width:680px}

@media(min-width:1025px){
  .sp-hero-content{padding-bottom:56px}
  .sp-hero-title{max-width:920px}
  .sp-hero-actions{max-width:470px}
}

@media(max-width:768px){
  .sp-breadcrumb{display:none}
  .sp-hero{height:clamp(470px,72svh,650px);min-height:470px;align-items:flex-end}
  .sp-hero::after{background:linear-gradient(180deg,rgba(5,10,18,.06) 10%,rgba(5,10,18,.12) 38%,rgba(5,10,18,.86) 100%)}
  .sp-hero-content{padding:0 20px calc(28px + env(safe-area-inset-bottom));}
  .sp-hero-title{max-width:12ch;margin-bottom:12px;font-size:clamp(36px,11vw,52px);line-height:.98;letter-spacing:-.05em;text-shadow:0 2px 22px rgba(0,0,0,.24)}
  .sp-hero-location{font-size:13px;line-height:1.4;color:rgba(255,255,255,.84)}
  .sp-hero-meta{gap:8px 10px;margin-bottom:20px;line-height:1.4}
  .sp-hero-stars{font-size:13px}
  .sp-hero-score,.sp-hero-reviews,.sp-hero-photos{font-size:13px}
  .sp-hero-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:9px}
  .sp-hero-btn{width:100%;min-width:0;height:48px;padding:0 12px;border-radius:14px;font-size:13px;justify-content:center}
  .sp-hero-btn-primary{box-shadow:0 8px 24px rgba(0,0,0,.14)}
  .sp-layout{margin-top:58px}
}

@media(max-width:430px){
  .sp-hero{height:clamp(500px,76svh,640px);min-height:500px}
  .sp-hero-content{padding-left:18px;padding-right:18px}
  .sp-hero-title{font-size:clamp(34px,11.5vw,46px)}
  .sp-hero-location{margin-bottom:13px}
  .sp-hero-meta{margin-bottom:18px}
  .sp-hero-pending{display:none}
  .sp-layout{padding-left:18px;padding-right:18px}
  .sp-section-title,.sp-gallery-title{font-size:clamp(26px,8vw,30px)}
  .sp-related-card__media{aspect-ratio:16/10}
}



/* ============================================================
   SINGLE PRAIA v76 — CAMADA FINAL AUTORITATIVA
   Esta camada fica dentro da própria template para não depender
   do carregamento ou cache do CSS externo.
============================================================ */
.sp-page,
.sp-page * { box-sizing: border-box; }

/* HERO: uma única composição, nunca imagem + bloco separado */
.sp-hero{
  position:relative!important;
  display:flex!important;
  align-items:flex-end!important;
  width:100%!important;
  height:clamp(430px,52vh,560px)!important;
  min-height:430px!important;
  overflow:hidden!important;
  isolation:isolate!important;
  background:#07101f!important;
}
.sp-hero-bg{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  width:100%!important;
  height:100%!important;
}
.sp-hero-bg img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:var(--hero-pos,center 45%)!important;
  filter:none!important;
}
.sp-hero::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(4,10,20,.03) 5%,rgba(4,10,20,.08) 38%,rgba(4,10,20,.46) 68%,rgba(4,10,20,.94) 100%)!important;
}
.sp-hero::after{display:none!important}
.sp-hero-content{
  position:relative!important;
  z-index:2!important;
  width:min(1200px,100%)!important;
  margin:0 auto!important;
  padding:0 20px 38px!important;
  color:#fff!important;
  background:transparent!important;
}
.sp-hero-title{
  max-width:880px!important;
  margin:0 0 12px!important;
  color:#fff!important;
  font-size:clamp(44px,5.5vw,72px)!important;
  font-weight:700!important;
  line-height:.98!important;
  letter-spacing:-.055em!important;
  text-wrap:balance!important;
  text-shadow:0 3px 30px rgba(0,0,0,.24)!important;
}
.sp-hero-location{margin:0 0 15px!important;color:rgba(255,255,255,.86)!important;font-size:14px!important}
.sp-hero-meta{display:flex!important;align-items:center!important;gap:8px 10px!important;margin:0 0 22px!important;color:#fff!important}
.sp-hero-stars{color:#f6b91b!important}
.sp-hero-score{color:#fff!important;font-weight:700!important}
.sp-hero-reviews,.sp-hero-photos{color:rgba(255,255,255,.76)!important}
.sp-hero-actions{display:flex!important;gap:10px!important;max-width:430px!important}
.sp-hero-btn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:48px!important;padding:0 20px!important;border-radius:6px!important;
  font-size:13px!important;font-weight:700!important;text-decoration:none!important
}
.sp-hero-btn-primary{background:#fff!important;color:#111827!important;border:1px solid #fff!important}
.sp-hero-btn-secondary{background:rgba(8,15,28,.42)!important;color:#fff!important;border:1px solid rgba(255,255,255,.28)!important;backdrop-filter:blur(14px)!important}

/* CONTEÚDO */
.sp-layout{max-width:1160px!important;grid-template-columns:minmax(0,760px) minmax(250px,300px)!important;gap:82px!important;margin:88px auto 110px!important;padding:0 28px!important}
.sp-section{margin-bottom:88px!important}
.sp-section-title,.sp-gallery-title{font-size:clamp(27px,3vw,36px)!important;line-height:1.06!important;letter-spacing:-.045em!important;margin-bottom:24px!important}
.sp-copy{font-size:17px!important;line-height:1.82!important;max-width:700px!important}

/* GALERIA IN-PAGE */
.sp-photo-viewer{display:grid!important;grid-template-columns:minmax(0,1fr) 96px!important;gap:10px!important}
.sp-photo-stage{position:relative!important;aspect-ratio:16/10!important;min-height:0!important;border-radius:6px!important;overflow:hidden!important;background:#eef2f6!important}
.sp-photo-main,.sp-photo-main img{display:block!important;width:100%!important;height:100%!important}
.sp-photo-main img{object-fit:cover!important}
.sp-photo-thumbs{display:flex!important;flex-direction:column!important;gap:8px!important;overflow:auto!important}
.sp-photo-thumb{flex:0 0 76px!important;height:76px!important;border-radius:6px!important;overflow:hidden!important}
.sp-photo-thumb img{width:100%!important;height:100%!important;object-fit:cover!important}

/* LIGHTBOX: imagem sempre visível e sem corte */
.sp-lightbox{position:fixed!important;inset:0!important;z-index:999999!important;background:#05070b!important}
.sp-lightbox.open{display:flex!important;opacity:1!important}
.sp-lightbox-container{position:relative!important;width:100%!important;height:100%!important;padding:64px 72px 92px!important;display:flex!important;align-items:center!important;justify-content:center!important}
.sp-lightbox-content{position:relative!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;display:flex!important;align-items:center!important;justify-content:center!important}
.sp-lightbox-image{
  display:block!important;width:auto!important;height:auto!important;
  max-width:calc(100vw - 170px)!important;max-height:calc(100svh - 165px)!important;
  object-fit:contain!important;object-position:center!important;
  opacity:1!important;visibility:visible!important;filter:none!important;
  background:#0b0e14!important;border-radius:8px!important
}
.sp-lightbox-caption{position:fixed!important;left:20px!important;bottom:20px!important;z-index:3!important;max-width:min(420px,calc(100vw - 40px))!important}
.sp-lightbox-counter{top:20px!important;bottom:auto!important}

/* MOBILE FIRST REAL */
@media(max-width:768px){
  .sp-breadcrumb{display:none!important}
  .sp-hero{
    height:clamp(390px,62svh,470px)!important;
    min-height:390px!important;
  }
  .sp-hero-bg,.sp-hero-bg img{height:100%!important}
  .sp-hero::before{background:linear-gradient(180deg,rgba(4,10,20,.02) 0%,rgba(4,10,20,.08) 34%,rgba(4,10,20,.54) 66%,rgba(4,10,20,.97) 100%)!important}
  .sp-hero-content{padding:0 18px calc(28px + env(safe-area-inset-bottom))!important;background:transparent!important}
  .sp-hero-title{max-width:11ch!important;margin-bottom:10px!important;font-size:clamp(36px,11.6vw,50px)!important;line-height:.96!important}
  .sp-hero-location{font-size:13px!important;margin-bottom:12px!important}
  .sp-hero-meta{margin-bottom:18px!important;font-size:12px!important;line-height:1.35!important}
  .sp-hero-sep{display:none!important}
  .sp-hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important;max-width:none!important;gap:8px!important}
  .sp-hero-btn{width:100%!important;min-width:0!important;min-height:48px!important;padding:0 10px!important;border-radius:6px!important;font-size:12px!important}
  .sp-layout{display:block!important;margin:54px auto 92px!important;padding:0 18px!important}
  .sp-main{width:100%!important;max-width:none!important}
  .sp-sidebar{position:static!important;width:100%!important;max-width:none!important;margin-top:52px!important}
  .sp-section{margin-bottom:66px!important}
  .sp-section-title,.sp-gallery-title{font-size:clamp(27px,8vw,31px)!important;margin-bottom:21px!important}
  .sp-copy{font-size:16px!important;line-height:1.76!important}
  .sp-photo-viewer{display:block!important}
  .sp-photo-stage{aspect-ratio:16/10!important;border-radius:14px!important}
  .sp-photo-thumbs{margin-top:8px!important;display:flex!important;flex-direction:row!important;gap:7px!important;overflow-x:auto!important;overflow-y:hidden!important;padding-bottom:2px!important}
  .sp-photo-thumb{flex:0 0 62px!important;width:62px!important;height:48px!important;border-radius:7px!important}
  .sp-reviews-summary{grid-template-columns:1fr!important;gap:20px!important}
  .sp-related-grid{grid-template-columns:1fr!important;gap:28px!important}
  .sp-related-card__media{aspect-ratio:16/10!important;border-radius:13px!important}
  .sp-lightbox-container{padding:54px 10px 84px!important}
  .sp-lightbox-content{width:100%!important;height:100%!important}
  .sp-lightbox-image{max-width:100%!important;max-height:calc(100svh - 145px)!important;border-radius:4px!important}
  .sp-lightbox-prev,.sp-lightbox-next{display:none!important}
  .sp-lightbox-caption{left:10px!important;right:10px!important;bottom:12px!important;max-width:none!important;padding:10px 12px!important;background:rgba(0,0,0,.62)!important}
  .sp-lightbox-thumbs{display:none!important}
}
@media(max-width:390px){
  .sp-hero{height:clamp(370px,60svh,440px)!important;min-height:370px!important}
  .sp-hero-title{font-size:clamp(34px,11.4vw,44px)!important}
  .sp-layout{padding-left:16px!important;padding-right:16px!important}
}



/* Canonical utility classes retained from the legacy Single Praia template. */
.sp-text-center{ text-align:center; }
.sp-mt-8{ margin-top:8px; }
.sp-mt-16{ margin-top:16px; }
.sp-mt-24{ margin-top:24px; }
.sp-mb-8{ margin-bottom:8px; }
.sp-mb-16{ margin-bottom:16px; }
.sp-mb-24{ margin-bottom:24px; }
.sp-gallery-empty{ padding:56px 24px; text-align:center; border:1px dashed var(--sp-line); border-radius:6px; background:var(--sp-soft); color:var(--sp-muted); }
.sp-gallery-empty svg{ width:40px; height:40px; margin:0 auto 12px; opacity:.55; }
.sp-gallery-empty h3{ margin:0 0 6px; font-size:18px; line-height:1.3; color:var(--sp-ink); }
.sp-gallery-empty p{ margin:0; font-size:14px; line-height:1.6; color:var(--sp-muted); }
.sp-lightbox-image.is-loading{opacity:.25!important}
.sp-lightbox-image.has-error{min-width:180px!important;min-height:120px!important;background:#111822!important}

/* ============================================================
   v16.28.0 — SINGLE PRAIA CANONICAL CONTRACT
   One geometry contract. No historical hero overrides.
============================================================ */
.guia-single-praia-page{
  --sp-container:1200px;
  --sp-radius:6px;
  --sp-radius-sm:4px;
  --sp-radius-xl:8px;
  --sp-hero-height:350px;
  --sp-hero-min-height:350px;
}
.guia-single-praia-page .sp-wrap,
.guia-single-praia-page .sp-hero-content,
.guia-single-praia-page .sp-layout{
  width:min(1200px,calc(100% - 48px));
  max-width:1200px;
  margin-inline:auto;
  padding-left:0!important;
  padding-right:0!important;
}
.guia-single-praia-page .sp-hero{
  height:350px!important;
  min-height:350px!important;
  max-height:350px!important;
}
.guia-single-praia-page .sp-hero-title{
  font-size:clamp(32px,4.2vw,50px)!important;
  line-height:.98!important;
  letter-spacing:-.045em!important;
}
.guia-single-praia-page .sp-hero-btn,
.guia-single-praia-page .sp-card,
.guia-single-praia-page .sp-related-card,
.guia-single-praia-page .sp-section-card,
.guia-single-praia-page .sp-photo-stage{
  border-radius:6px!important;
}
.guia-single-praia-page .sp-hero-bg img{
  width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;
}
@media(max-width:768px){
  .guia-single-praia-page .sp-wrap,
  .guia-single-praia-page .sp-hero-content,
  .guia-single-praia-page .sp-layout{ width:calc(100% - 32px); max-width:none; }
  .guia-single-praia-page .sp-hero{ height:360px!important; min-height:360px!important; max-height:360px!important; }
  .guia-single-praia-page .sp-hero-content{ padding-bottom:20px!important; }
  .guia-single-praia-page .sp-hero-title{ font-size:clamp(30px,10vw,42px)!important; }
}
@media(max-width:390px){
  .guia-single-praia-page .sp-wrap,
  .guia-single-praia-page .sp-hero-content,
  .guia-single-praia-page .sp-layout{ width:calc(100% - 24px); }
  .guia-single-praia-page .sp-hero{ height:350px!important; min-height:350px!important; max-height:350px!important; }
}
