/* ===================================
   Portal Turismo - Design Tripadvisor
   Clean, confiável e profissional
   =================================== */

/* Paleta TripAdvisor */
:root {
    --primary-color: #FF6B35;      /* Laranja Oxente */
    --secondary-color: #004E89;    /* Azul Oxente */
    --accent-color: #ffc72c;       /* Amarelo destaque */
    --success-color: #0ab419;      /* Verde sucesso */
    --danger-color: #d74040;       /* Vermelho */
    
    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-grey: #e8e8e8;
    
    /* Texto */
    --text-dark: #222;
    --text-grey: #666;
    --text-light: #999;
    --text-white: #ffffff;
    
    /* Borders */
    --border-color: #e0e0e0;
    --border-light: #f0f0f0;
    
    /* Shadows */
    --shadow-xs: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.12);
    
    /* Border Radius */
    --radius: 4px;
    --radius-lg: 8px;
}

/* ====== RESET E GLOBAIS ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1244px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ====== TIPOGRAFIA ====== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

h1 { font-size: 32px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }

p {
    color: var(--text-grey);
    margin-bottom: 12px;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ====== NAVBAR ====== */
.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-xs);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo a:hover {
    text-decoration: none;
    color: var(--secondary-color);
}

.nav-menu {
    display: none;
    list-style: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 12px 0;
}

.nav-menu.active {
    display: flex;
}

.nav-link {
    padding: 12px 24px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
    display: block;
}

.nav-link:hover {
    background: var(--bg-light);
    text-decoration: none;
}

.nav-link.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
    margin: 8px 12px;
    border-radius: var(--radius);
}

.nav-link.btn-primary:hover {
    background: #002a5f;
    text-decoration: none;
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.2s;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.notifications-link {
    font-size: 16px;
    position: relative;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.notification-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: var(--text-white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    min-width: 180px;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--text-dark);
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    text-decoration: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

@media (min-width: 769px) {
    .nav-menu {
        display: flex;
        position: static;
        flex: 1;
        justify-content: center;
        flex-direction: row;
        background: transparent;
        border: 0;
        padding: 0;
        gap: 8px;
    }

    .nav-link {
        padding: 8px 12px;
        border-radius: 8px;
    }

    .nav-link.btn-primary {
        margin: 0;
    }

    .mobile-toggle {
        display: none;
    }

    .nav-menu-mobile-only {
        display: none;
    }
}

/* ====== HERO SECTION ====== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052a3 100%);
    padding: 40px 24px;
    color: var(--text-white);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 450px;
}

@media (max-width: 768px) {
    .hero {
        padding: 32px 16px;
        min-height: 380px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 24px 12px;
        min-height: 320px;
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h1 {
    color: var(--text-white);
    font-size: 40px;
    margin-bottom: 12px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 20px;
    }
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .hero p {
        font-size: 13px;
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .hero p {
        font-size: 12px;
        margin-bottom: 12px;
    }
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ====== BOTÕES ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background: #002a5f;
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: #00b699;
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 12px 20px;
    font-size: 14px;
}

@media (max-width: 480px) {
    .btn-lg {
        padding: 10px 16px;
        font-size: 12px;
    }
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ====== SEÇÕES ====== */
.section {
    padding: 48px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 36px;
}

.section-header h2 {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.section-header p {
    color: var(--text-grey);
    font-size: 14px;
}

.recent-posts {
    background: var(--bg-white);
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .recent-posts {
        margin-bottom: 30px;
    }
}

/* ====== GRID DE POSTS ====== */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .post-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ====== POST CARD ====== */
.post-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

/* ====== POST CARD IMAGE WRAPPER ====== */
.post-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
}

.post-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.post-card-image,
.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-card:hover .post-card-image,
.post-card:hover .post-image {
    transform: scale(1.05);
}

.post-card-image-placeholder,
.post-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: var(--bg-light);
}

/* ====== POST CARD CONTENT ====== */
.post-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.post-title a:hover {
    color: var(--primary-color);
}

/* ====== POST META INFO ====== */
.post-meta-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-grey);
}

.meta-author,
.meta-location,
.meta-date,
.post-author,
.post-location {
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-author a,
.meta-location a,
.post-author a,
.post-location a {
    color: var(--primary-color);
}

.author-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.author-inline-avatar,
.author-inline-avatar-fallback {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
}

.author-inline-avatar {
    object-fit: cover;
}

.author-inline-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #475569;
    font-size: 12px;
}

/* ====== POST EXCERPT ====== */
.post-excerpt {
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-grey);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ====== POST HASHTAGS ====== */
.post-hashtags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.hashtag {
    display: inline-block;
    padding: 4px 8px;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    transition: background 0.2s;
}

.hashtag:hover {
    background: var(--border-color);
}

/* ====== POST CARD FOOTER ====== */
.post-card-footer {
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.post-card-actions {
    display: flex;
    gap: 0.25rem;
    width: fit-content;
    justify-content: flex-start;
}

.post-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    width: auto;
    flex-shrink: 0;
}

.post-action-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.post-action-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.post-action-btn.is-active {
    border-color: var(--primary-color);
    background: rgba(0, 53, 128, 0.1);
}

/* ====== POSTS PAGE ====== */
.posts-page {
    background: var(--bg-white);
    padding: 24px 0;
}

.page-header {
    padding: 32px 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.page-header p {
    color: var(--text-grey);
    margin-bottom: 24px;
}

/* ====== SEARCH SECTION ====== */
.search-section {
    margin: 32px 0;
}

.search-form {
    width: 100%;
}

/* Estilo moderno do campo de busca (igual à página de Agências) */
.search-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.search-container input[type="text"],
.search-container #posts-search-input {
    width: 100%;
    padding: 16px 52px 16px 52px;
    border-radius: 40px;
    border: none;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    outline: none;
    font-family: inherit;
}

.search-container .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #334155;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.search-container .search-icon svg,
.search-container .search-clear svg {
    width: 20px;
    height: 20px;
}

.search-container .search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: #f1f5f9;
    color: #0f172a;
    border-radius: 999px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.search-container .search-clear:hover {
    transform: translateY(-50%) scale(1.03);
}

.search-container.has-value .search-icon {
    opacity: 0;
    transform: translateY(-50%) scale(0.95);
}

.search-container.has-value .search-clear {
    opacity: 1;
    pointer-events: auto;
}

.search-container .autocomplete-box,
.search-container .search-suggest {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 15px;
    margin-top: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 999;
    max-height: 280px;
    overflow-y: auto;
    display: none;
}

.search-container .autocomplete-box.active,
.search-container .search-suggest:not(:empty) {
    display: block;
}

.search-suggest-item,
.autocomplete-item {
    padding: 12px 18px;
    cursor: pointer;
    transition: background 0.2s;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
}

.search-suggest-item:last-child,
.autocomplete-item:last-child {
    border-bottom: none;
}

.search-suggest-item:hover,
.autocomplete-item:hover,
.search-suggest-item.active,
.autocomplete-item.active {
    background: #e6f0ff;
}

.autocomplete-label {
    font-weight: 600;
    color: #0f172a;
}

.autocomplete-thumb {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    background: #e2e8f0;
    flex-shrink: 0;
}

.autocomplete-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 4px 0;
}

@media (max-width: 768px) {
    .search-container input[type="text"],
    .search-container #posts-search-input {
        padding: 14px 44px 14px 44px;
        font-size: 15px;
    }
}

/* Estilos antigos para compatibilidade */
.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-icon-outside {
    font-size: 20px;
    color: var(--text-grey);
}

.search-input-field {
    position: relative;
    flex-grow: 1;
}

.search-input {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius) !important;
    font-size: 16px !important;
}

.search-input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(0, 53, 128, 0.1) !important;
}

/* ====== EXPLORE SECTION ====== */
.explore-section {
    margin: 24px 0 32px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.explore-section h2 {
    margin: 0 0 12px;
    font-size: 16px;
    color: var(--text-dark);
}

.explore-inline {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-dark);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.chip:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.chip-count {
    background: var(--bg-light);
    padding: 0 6px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.chip:hover .chip-count {
    background: rgba(255, 255, 255, 0.2);
}

/* ====== PAGINATION ====== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 48px 0;
    flex-wrap: wrap;
}

.pagination .btn {
    padding: 8px 16px;
    font-size: 14px;
}

.page-info {
    color: var(--text-grey);
    font-size: 14px;
}

/* ====== EMPTY STATE ====== */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-grey);
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 24px;
}

/* ====== ALERTAS E MENSAGENS ====== */
.messages {
    margin-bottom: 20px;
}

.alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: var(--shadow-xs);
    border: 1px solid transparent;
    background: var(--bg-white);
}

.alert-success {
    border-color: rgba(46, 204, 113, 0.35);
    background: rgba(46, 204, 113, 0.08);
    color: #1f8f4d;
}

.alert-error,
.alert-danger {
    border-color: rgba(231, 76, 60, 0.35);
    background: rgba(231, 76, 60, 0.08);
    color: #b93c31;
}

.alert-info {
    border-color: rgba(52, 152, 219, 0.35);
    background: rgba(52, 152, 219, 0.08);
    color: #1d6fa5;
}

.close-alert {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}

.close-alert:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* ====== NOTIFICACOES ====== */
.notifications-section {
    padding: 24px 0 48px;
}

.notifications-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.notifications-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.notification-item:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.notification-unread {
    background: #f4f8ff;
    border-left: 4px solid var(--primary-color);
}

.notification-link {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--text-dark);
    text-decoration: none;
}

.notification-link--static {
    text-decoration: none;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.notification-content {
    min-width: 0;
}

.notification-message {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.notification-date {
    font-size: 12px;
    color: var(--text-grey);
}

.notification-badge {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.notification-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.notification-actions form {
    margin: 0;
}

.notifications-group {
    margin: 20px 0 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-grey);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.notification-icon--comment,
.notification-icon--reply {
    background: rgba(0, 78, 137, 0.12);
    color: #004e89;
}

.notification-icon--like {
    background: rgba(246, 95, 138, 0.15);
    color: #d83f6a;
}

.notification-icon--follow_request {
    background: rgba(255, 168, 0, 0.18);
    color: #c47a00;
}

.notification-icon--follow {
    background: rgba(46, 204, 113, 0.18);
    color: #1f8f4d;
}

@media (max-width: 768px) {
    .notifications-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .notification-link {
        grid-template-columns: 32px 1fr;
    }

    .notification-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        margin-top: 8px;
    }

    .notification-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .notification-badge {
        justify-self: start;
        margin-top: 8px;
    }
}

/* ====== STATS SECTION ====== */
.stats-section {
    background: var(--bg-light);
    padding: 48px 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-grey);
    margin: 0;
}

/* ====== CTA SECTION ====== */
.cta-section {
    background: var(--secondary-color);
    padding: 48px 24px;
    text-align: center;
}

.cta-section h2 {
    color: var(--text-dark);
    margin-bottom: 12px;
}

.cta-section p {
    color: #c7c7c7;
    font-size: 16px;
    margin-bottom: 24px;
}

/* ====== ABOUT SECTION ====== */
.about-section {
    background: var(--bg-white);
    padding: 48px 24px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.about-content h2 {
    color: var(--text-dark);
    margin-bottom: 16px;
}

.about-content p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.feature {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.feature:last-child {
    border-bottom: none;
}

.feature h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 16px;
}

.feature p {
    color: var(--text-grey);
    margin: 0;
    font-size: 14px;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.image-placeholder {
    font-size: 80px;
}

/* ====== FOOTER ====== */
footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 48px 24px 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-bottom: 24px;
}

.footer-section h3 {
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-content .footer-section {
        display: none;
    }

    .footer-content .footer-section.footer-support {
        display: block;
    }

    .footer-bottom {
        padding-top: 16px;
    }
}

/* ====== INPUTS E FORMS ====== */
input,
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    transition: border 0.2s;
    background: var(--bg-white);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 53, 128, 0.1);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* ====== UTILIDADES ====== */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 32px;
}

.mb-4 {
    margin-bottom: 32px;
}

/* ====== RESPONSIVIDADE ====== */
@media (max-width: 768px) {
    .nav-wrapper {
        gap: 10px;
    }

    .logo {
        flex: 1;
        min-width: 0;
    }

    .logo a {
        font-size: 20px;
        white-space: nowrap;
    }

    .nav-right {
        gap: 10px;
    }

    .hero {
        min-height: 360px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .btn-lg {
        width: 100%;
    }

    .section {
        padding: 32px 16px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stats-grid {
        gap: 24px;
    }

    .post-header-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .logo a {
        font-size: 18px;
    }

    .hero {
        min-height: 320px;
    }

    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 32px 12px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .post-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ====== POST DETAIL PAGE ====== */
.post-detail {
    background: var(--bg-white);
    padding: 24px 0;
}

/* ====== POST HEADER ====== */
.post-header {
    padding: 32px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.post-header h1 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.post-header-grid {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 32px;
    align-items: start;
}

@media (max-width: 768px) {
    .post-header-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.post-header-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--text-grey);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item a {
    color: var(--primary-color);
}

/* ====== RATING STARS ====== */
.post-rating {
    background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid #d9e6f5;
    box-shadow: 0 12px 28px rgba(0, 53, 128, 0.08);
    padding: 16px 14px;
    border-radius: 14px;
    text-align: center;
}

.rating-title {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3f5575;
    font-weight: 700;
    margin-bottom: 8px;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 3px;
}

.star {
    font-size: 18px;
    color: #d2dce9;
}

.star.is-filled {
    color: #ffb300;
    text-shadow: 0 2px 8px rgba(255, 179, 0, 0.35);
}

.rating-summary {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
}

.rating-score {
    font-size: 30px;
    font-weight: 800;
    color: #003580;
    line-height: 1;
}

.rating-count {
    font-size: 12px;
    color: #516883;
    font-weight: 600;
}

@media (max-width: 768px) {
    .post-rating {
        max-width: 300px;
        margin: 0 auto;
    }

    .rating-score {
        font-size: 28px;
    }
}

/* ====== CAROUSEL SECTION ====== */
.carousel-section {
    margin: 24px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-light);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: var(--text-dark);
}

@media (max-width: 768px) {
    .carousel-container {
        height: 300px;
    }
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    position: relative;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.carousel-caption {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-white);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    transition: background 0.2s;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-btn-prev {
    left: 12px;
}

.carousel-btn-next {
    right: 12px;
}

/* ====== POST META DETAIL ====== */
.post-meta-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .post-meta-detail {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.author-info {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* ====== PERFIL ====== */
.profile-avatar img,
.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-avatar {
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.author-name a {
    color: inherit;
}

.author-role {
    font-size: 13px;
    color: var(--text-grey);
}

.post-dates {
    font-size: 13px;
    color: var(--text-grey);
}

.post-dates p {
    margin-bottom: 8px;
}

/* ====== POST LOCATION DETAIL ====== */
.post-location-detail {
    padding: 12px 16px;
    background: var(--bg-light);
    border-left: 4px solid var(--secondary-color);
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-grey);
}

.coordinates {
    font-family: monospace;
    font-size: 12px;
    color: var(--text-muted);
}

/* ====== POST CONTENT DETAIL ====== */
.post-content-detail {
    padding: 24px 0;
    line-height: 1.8;
    color: var(--text-grey);
    font-size: 15px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.post-content-detail p {
    margin-bottom: 16px;
}

/* ====== POST INTERACTIONS ====== */
.post-interactions {
    margin: 24px 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.post-action-group {
    display: flex;
    gap: 0.25rem;
    width: fit-content;
}

.post-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    width: auto;
    flex-shrink: 0;
}

.post-action-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.post-action-btn.is-active {
    border-color: var(--primary-color);
    background: rgba(0, 53, 128, 0.1);
}

/* ====== POST ACTIONS DETAIL ====== */
.post-actions-detail {
    display: flex;
    gap: 12px;
    margin: 24px 0;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: #00b699;
}

.btn-danger {
    background: var(--danger-color);
    color: var(--text-white);
}

.btn-danger:hover {
    background: #c63030;
}

/* ====== GALLERY SECTIONS ====== */
.approved-gallery-section,
.pending-gallery-section {
    margin: 32px 0;
}

.approved-gallery-section h3,
.pending-gallery-section h3 {
    margin-bottom: 16px;
    color: var(--text-dark);
    font-size: 18px;
}

.approved-gallery-grid,
.pending-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.approved-gallery-item,
.pending-gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--border-color);
}

.approved-gallery-item:hover,
.pending-gallery-item:hover {
    box-shadow: var(--shadow-md);
}

.approved-gallery-image,
.pending-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.approved-gallery-overlay,
.pending-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.approved-gallery-item:hover .approved-gallery-overlay,
.pending-gallery-item:hover .approved-gallery-overlay {
    opacity: 1;
}

.zoom-icon {
    font-size: 24px;
    color: var(--text-white);
}

.approved-gallery-info,
.pending-gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    color: var(--text-white);
    padding: 12px 8px;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.approved-author,
.pending-author {
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.approved-date,
.pending-date,
.pending-status {
    font-size: 10px;
    opacity: 0.9;
}

/* ====== UPLOADS SECTION ====== */
.uploads-section {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius);
    margin: 32px 0;
}

.uploads-section h3 {
    margin-bottom: 12px;
    color: var(--text-dark);
}

.uploads-section p {
    font-size: 14px;
    color: var(--text-grey);
}

/* ====== COMMENTS SECTION ====== */
.comments-section {
    margin: 32px 0;
}

.comments-section h3 {
    margin-bottom: 24px;
    color: var(--text-dark);
    font-size: 18px;
}

/* ====== COMMENT FORM ====== */
.comment-form {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label,
.form-group legend {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 53, 128, 0.1);
}

/* ====== RATING INPUT ====== */
.rating-selector {
    border: none;
    padding: 0;
}

.rating-input-stars {
    display: flex;
    gap: 4px;
    flex-direction: row-reverse;
    justify-content: flex-end;
    width: fit-content;
}

.rating-input-stars input[type="radio"] {
    display: none;
}

.rating-input-stars label {
    font-size: 24px;
    cursor: pointer;
    color: var(--border-color);
    transition: color 0.2s;
    margin: 0;
}

.rating-input-stars input[type="radio"]:checked ~ label,
.rating-input-stars label:hover,
.rating-input-stars label:hover ~ label {
    color: var(--accent-color);
}

/* ====== COMMENTS LIST ====== */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    overflow: hidden;
}

.comment-avatar img,
.reply-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ====== AVATARES DE AUTOR — META, CHIP E HERO CAROUSEL ====== */
.meta-item-author {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.meta-author-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #e2e8f0;
    flex-shrink: 0;
}

.carousel-chip-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.75);
    flex-shrink: 0;
}

.carousel-chip-avatar.is-hidden,
.carousel-chip-icon.is-hidden {
    display: none !important;
}

.hero-author-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.75);
    flex-shrink: 0;
}

.comment-body {
    flex-grow: 1;
}

.comment-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.comment-author-block {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.comment-author {
    color: var(--text-dark);
    font-size: 14px;
}

.comment-date {
    color: var(--text-grey);
    font-size: 12px;
}

.comment-content {
    color: var(--text-grey);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.comment-actions-right {
    display: flex;
    gap: 8px;
    align-items: center;
}

.like-button {
    background: none;
    border: 1px solid var(--border-color);
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-grey);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.like-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ====== COMMENT MENU ====== */
.comment-menu {
    position: relative;
}

.menu-trigger {
    background: none;
    border: none;
    color: var(--text-grey);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    padding: 4px 8px;
    transition: color 0.2s;
}

.menu-trigger:hover {
    color: var(--text-dark);
}

.menu-panel {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    min-width: 150px;
    box-shadow: var(--shadow-md);
    z-index: 100;
    overflow: hidden;
}

.menu-item {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: none;
    color: var(--text-dark);
    cursor: pointer;
    text-align: left;
    font-size: 13px;
    transition: background 0.2s;
}

.menu-item:hover {
    background: var(--bg-light);
}

.menu-item.menu-danger {
    color: var(--danger-color);
}

.menu-divider {
    height: 1px;
    background: var(--border-color);
}

/* ====== AUTH PROMPT ====== */
.auth-prompt {
    padding: 16px;
    background: var(--bg-light);
    border-left: 4px solid var(--secondary-color);
    border-radius: var(--radius);
    color: var(--text-grey);
    font-size: 14px;
}

.auth-prompt a {
    color: var(--primary-color);
}
/* ====== RELATED POSTS SECTION ====== */
.related-posts {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.related-posts h3 {
    margin-bottom: 1.5rem;
    font-size: 20px;
    color: var(--text-dark);
}

/* Related posts use the same .post-grid and .post-card classes as main posts list */
.related-posts .post-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.related-posts .post-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-posts .post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.related-posts .post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-light);
}

.related-posts .post-image-placeholder {
    width: 100%;
    height: 200px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.related-posts .post-content {
    padding: 1rem;
}

.related-posts .post-title {
    margin-bottom: 0.5rem;
}

.related-posts .post-title a {
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-posts .post-title a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.related-posts .post-meta {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

/* Responsive Related Posts */
@media (max-width: 1024px) {
    .related-posts .post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .related-posts .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .related-posts .post-grid {
        grid-template-columns: 1fr;
    }
}

/* ====== IMAGE MODAL / LIGHTBOX ====== */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    
    /* Flex positioning */
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1rem;
    
    /* Custom properties for animation */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.image-modal[style*="display: flex"] {
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--text-white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.2s;
    background: none;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    transform: scale(1.2);
    color: var(--accent-color);
}

.modal-image {
    max-width: 90%;
    max-height: 80%;
    width: auto;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-in-out;
}

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


.modal-info {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--text-white);
    max-width: 90%;
}

.modal-info p {
    margin-bottom: 0.5rem;
    color: var(--text-white);
    font-size: 14px;
}

/* Mobile/Tablet Lightbox */
@media (max-width: 768px) {
    .modal-image {
        max-width: 95%;
        max-height: 70%;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        font-size: 32px;
    }
    
    .modal-info {
        font-size: 13px;
    }
}

/* ====== CONTACT PAGE ====== */
.contact-page {
    background: var(--bg-white);
    padding: 48px 24px;
}

.contact-header {
    text-align: center;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-header h1 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.contact-header p {
    font-size: 16px;
    color: var(--text-grey);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ====== CONTACT FORM ====== */
.contact-form-section {
    background: var(--bg-white);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input,
.form-textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 53, 128, 0.08);
    background: #f9fbff;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-textarea::-webkit-scrollbar {
    width: 6px;
}

.form-textarea::-webkit-scrollbar-track {
    background: transparent;
}

.form-textarea::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.form-textarea::-webkit-scrollbar-thumb:hover {
    background: var(--text-grey);
}

.char-count {
    font-size: 12px;
    color: var(--text-grey);
    text-align: right;
    margin-top: -6px;
}

.form-error {
    font-size: 12px;
    color: var(--danger-color);
    display: block;
    margin-top: -4px;
    min-height: 16px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f9fbff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-dark);
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.form-checkbox label {
    cursor: pointer;
    margin: 0;
    flex-grow: 1;
}

/* ====== SUBMIT BUTTON ====== */
.btn-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052a3 100%);
    color: var(--text-white);
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 53, 128, 0.25);
    margin-top: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 53, 128, 0.35);
    background: linear-gradient(135deg, #002a5f 0%, #00397f 100%);
}

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

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-text {
    font-weight: 600;
}

.btn-icon {
    font-size: 18px;
}

/* ====== FORM FEEDBACK ====== */
.form-feedback {
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease;
}

.form-feedback-success {
    background: #d4f5e9;
    color: #0ab419;
    border: 1px solid #a8e6d3;
}

.form-feedback-error {
    background: #fde8e8;
    color: var(--danger-color);
    border: 1px solid #f5c8c8;
}

.form-feedback-loading {
    background: #e6f0ff;
    color: var(--primary-color);
    border: 1px solid #b3d9ff;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== CONTACT INFO SECTION ====== */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
    margin-bottom: 16px;
    color: var(--text-dark);
    font-size: 18px;
}

.info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

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

.info-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-content {
    flex: 1;
}

.info-content h4 {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.info-content p,
.info-content a {
    font-size: 13px;
    color: var(--text-grey);
    margin: 0;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.info-content a:hover {
    text-decoration: underline;
}

/* ====== INFO CARDS SPECIAL ====== */
.faq-card p {
    color: var(--text-grey);
    font-size: 14px;
    margin-bottom: 16px;
}

.link-btn {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.link-btn:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.social-card {
    background: linear-gradient(135deg, rgba(0, 53, 128, 0.05) 0%, rgba(0, 212, 180, 0.05) 100%);
}

.social-links-inline {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-links-inline a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #f0f0f0;
    color: #e1306c;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
}

.social-links-inline a:hover {
    background: #e1306c;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
}

.social-links-inline .social-icon::before {
    display: none;
}

.social-links-inline .social-icon {
    box-shadow: none;
    background: transparent !important;
}

.social-links-inline .social-icon svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
    display: block;
}

/* ====== FOOTER CONTACT FORM (COMPACTO) ====== */
.footer-contact-form {
    background: transparent;
}

.footer-contact-form .form-group {
    margin-bottom: 12px;
}

.footer-contact-form .form-input,
.footer-contact-form .form-textarea {
    padding: 10px 12px;
    font-size: 13px;
}

.footer-contact-form .btn-submit {
    padding: 10px 16px;
    font-size: 14px;
    margin-top: 8px;
    gap: 8px;
}

.footer-contact-form .btn-icon {
    font-size: 16px;
}

/* ====== RESPONSIVIDADE CONTACT ====== */
@media (max-width: 768px) {
    .contact-page {
        padding: 32px 16px;
    }

    .contact-header {
        margin-bottom: 32px;
    }

    .contact-header h1 {
        font-size: 28px;
    }

    .contact-header p {
        font-size: 14px;
    }

    .contact-wrapper {
        gap: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        gap: 16px;
    }

    .contact-info-section {
        gap: 16px;
    }

    .info-card {
        padding: 16px;
    }

    .info-card h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .info-item {
        margin-bottom: 12px;
    }

    .info-icon {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}