/* =========================================================
   praia.css — página /praias/{slug}
   Regra: classes exclusivas com prefixo praia-
========================================================= */


/* CTAs (links do site) */
.praia-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 10px 0 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}


/* Navegação rápida */
.praia-toc {
    background: #f8f9fa;
    border-left: 4px solid #0A7F8F;
    padding: 16px 20px;
    margin: 24px 0 26px;
    border-radius: 6px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.praia-toc-title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0A7F8F;
}

.praia-toc-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.praia-toc-link {
    color: #0A5F6D;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.praia-toc-link:hover { text-decoration: underline; }

/* Imagem destaque */
.praia-hero {
    width: 100%;
    margin: 0 0 34px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}

.praia-hero img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.praia-hero-caption {
    padding: 12px 16px;
    background: #f8f9fa;
    font-size: 13px;
    color: #666;
    font-style: italic;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Layout de conteúdo */
.praia-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

/* Conteúdo principal */
.praia-content h2 {
    margin: 40px 0 20px;
    font-size: 28px;
    font-weight: 700;
    color: var(--teal-900);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--teal-500);
}

.praia-content h3 {
    margin: 30px 0 16px;
    font-size: 22px;
    font-weight: 700;
    color: var(--teal-700);
}

.praia-content p {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.8;
    text-align: justify;
}

.praia-content ul {
    margin: 16px 0;
    padding-left: 30px;
}

.praia-content li {
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.7;
}

/* Caixas de destaque */
.praia-info {
    background: #f0f9fa;
    border-left: 4px solid #0A7F8F;
    padding: 20px 24px;
    margin: 30px 0;
    border-radius: 6px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.praia-info-title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: #0A5F6D;
}

.praia-info p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* Tabela de informações */
.praia-table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.praia-table th,
.praia-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
}

.praia-table th {
    background: #f8f9fa;
    font-weight: 700;
    color: #374151;
}

.praia-table tr:last-child td { border-bottom: none; }

/* Sidebar */
.praia-sidebar {
    position: sticky;
    top: 18px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.praia-widget {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.praia-widget h3 {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
    padding-bottom: 10px;
    border-bottom: 2px solid #0A7F8F;
}

/* Widget de maré (ISOLADO, SEM tide-*) */
.praia-tide-highlight {
    background: linear-gradient(135deg, #0A7F8F 0%, #0A5F6D 100%);
    color: white;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 14px;
}

.praia-tide-highlight-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin: 0 0 8px;
    font-weight: 900;
}

.praia-tide-highlight-time {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 6px;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

.praia-tide-highlight-detail {
    font-size: 12px;
    opacity: 0.95;
    margin: 0;
    line-height: 1.35;
}

.praia-tide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.praia-tide-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 13px;
}
.praia-tide-item:last-child { border-bottom: none; }

.praia-tide-left {
    display: grid;
    grid-template-columns: 62px 56px; /* chip fixo + horário fixo */
    align-items: center;
    column-gap: 10px;
    min-width: 0;
}

.praia-tide-type {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 62px;
    padding: 4px 0;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-sizing: border-box;
}

.praia-tide-alta {
    background: #EEF2FF;
    color: #4F46E5;
}

.praia-tide-baixa {
    background: #ECFDF5;
    color: #059669;
}

.praia-tide-time {
    font-weight: 700;
    color: #111827;
    text-align: left;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.2px;
}

.praia-tide-right {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    white-space: nowrap;
}

.praia-tide-height {
    color: #6B7280;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.praia-tide-arrow {
    font-weight: 900;
    font-size: 14px;
    line-height: 1;
    display: inline-block;
    width: 14px;
    text-align: center;
}

.praia-tide-more {
    margin-top: 12px;
}
.praia-tide-more a{
    font-size: 13px;
    font-weight: 800;
    color: #0A5F6D;
    text-decoration: none;
}
.praia-tide-more a:hover{ text-decoration: underline; }

/* Widget de acesso */
.praia-access p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.55;
    color: #4B5563;
}
.praia-access p:last-child { margin-bottom: 0; }

.praia-access-note{
    font-size: 12px;
    color: #6B7280;
    margin: 0;
}

/* Indicações */
.praia-aff-note{
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #4B5563;
}

/* Nota de desenvolvimento */
.praia-dev {
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    border-radius: 8px;
    padding: 16px 18px;
    margin: 30px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #78350F;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.praia-dev strong { color: #92400E; }

/* Responsive */
@media (max-width: 968px) {
    .praia-layout { grid-template-columns: 1fr; }
    .praia-sidebar { position: static; }

    .praia-content h2 { font-size: 24px; }
    .praia-content p,
    .praia-content li { font-size: 16px; text-align: left; }
    .praia-hero img { height: 260px; }
}

@media (max-width: 640px) {

    .praia-toc-links { flex-direction: column; gap: 10px; }
    .praia-hero img { height: 220px; }
}
