/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CUSTOM COLORS & FONTS */
:root {
    --primary-color: #004D7A;   /* Deep Ocean Blue */
    --secondary-color: #4CAF50; /* Fresh Green for accents */
    --accent-color: #FFC107;    /* Bright Gold for highlights/CTAs */
    --premium-bg: #F8FCFF;      /* Lightest Blue for Premium Section Background (sutil) */
    --text-dark: #333333;
    --text-light: #F8F8F8;
    --background-light: #FFFFFF;
    --background-grey: #F0F2F5;
    --border-light: #E0E0E0;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.15);

    --font-heading: 'Poppins', sans-serif; 
    --font-body: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    background-color: var(--background-grey); 
    color: var(--text-dark);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

.container {
    width: 90%;
    max-width: 1280px; 
    margin: 0 auto;
    padding: 20px 0;
}

/* Utility - Botões */
.cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px; 
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-button.primary {
    background: linear-gradient(45deg, var(--primary-color), #0066A0); 
    color: var(--text-light);
    border: none;
}

.cta-button.primary:hover {
    background: linear-gradient(45deg, #0066A0, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 15px var(--shadow-hover);
}

.cta-button.secondary { 
    background-color: var(--secondary-color);
    color: var(--text-light);
    border: none;
}

.cta-button.secondary:hover {
    background-color: #3C8D40;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px var(--shadow-hover);
}

.cta-button.small-button { /* Novo estilo para botões pequenos nos cards */
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 20px;
    margin-top: 10px;
    box-shadow: none;
}


/* 1. HEADER AND NAVIGATION */
.header {
    background-color: var(--background-light); 
    box-shadow: 0 2px 10px var(--shadow-light); 
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0; 
    flex-wrap: wrap; 
}

/* AJUSTE DO LOGO */
.logo-container {
    height: 80px; 
    display: flex;
    align-items: center;
    order: 1; 
}

.logo-image {
    height: 90px; 
    width: auto;
    display: block;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.1)); 
}
/* FIM AJUSTE DO LOGO */

.nav {
    order: 3; 
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 25px; 
    font-weight: 500;
    font-size: 1.05em;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--secondary-color);
}

/* ESTILOS DE MONETIZAÇÃO / PLANOS */
.monetization-status {
    display: flex;
    align-items: center;
    margin: 0 20px;
    order: 2; 
    flex-grow: 1;
    justify-content: flex-end; 
}

.plan-badge {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: 700;
    margin-right: 15px;
    white-space: nowrap;
}

.free-plan {
    background-color: var(--background-grey);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}

.cta-button.small {
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 20px;
    box-shadow: none;
}
.cta-button.small i {
    margin-left: 5px;
    color: var(--accent-color);
}
/* FIM DOS ESTILOS DE MONETIZAÇÃO */


/* 2. CAROUSEL SECTION (Hero) - MANTIDO */
.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-height: 500px; /* Reduzido um pouco */
}

/* ... (demais estilos do carrossel mantidos) ... */
.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    display: none; 
    transition: opacity 1s ease-in-out;
    position: relative;
}

.carousel-img {
    width: 100%;
    height: 500px; /* Reduzido um pouco */
    object-fit: cover;
    display: block;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.45); 
    color: var(--text-light);
}

.carousel-overlay h2 {
    font-size: 2.5em; /* Reduzido para melhor leitura */
    color: var(--text-light);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.carousel-overlay .cta-message {
    color: rgba(255, 255, 255, 0.9);
}

.florida-seal {
    width: 90px; 
    height: 90px;
    opacity: 0.8; 
    margin-bottom: 10px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
    border: none;
    z-index: 6;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Search Bar (Dentro do Carrossel) */
.search-bar {
    display: flex;
    justify-content: center;
    margin: 30px auto 20px auto;
    max-width: 700px; 
    border-radius: 40px;
    overflow: hidden; 
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.search-bar input {
    padding: 15px 25px; /* Reduzido */
    font-size: 1.0em; /* Reduzido */
    border: none;
    flex-grow: 1;
    outline: none;
    color: var(--text-dark);
}

.search-bar input::placeholder {
    color: #999;
}

.search-bar button {
    background-color: var(--accent-color);
    color: var(--text-dark); 
    border: none;
    padding: 15px 25px; /* Reduzido */
    font-size: 1.0em; /* Reduzido */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.search-bar button i {
    margin-right: 8px;
    font-size: 1.2em;
}

.search-bar button:hover {
    background-color: #FFDA6A;
    transform: scale(1.02);
}
/* FIM CARROSSEL */


/* 3. CATEGORIES SECTION - MANTIDO */
.categories-section {
    padding: 60px 0; 
    text-align: center;
    background-color: var(--background-light);
}

.categories-section h3 {
    font-size: 2.5em;
    margin-bottom: 40px;
    font-weight: 700;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 25px; 
    margin-top: 30px;
}

.category-card {
    background-color: var(--background-light);
    padding: 40px 20px; 
    border-radius: 12px; 
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-card:hover {
    transform: translateY(-7px); 
    box-shadow: 0 10px 25px var(--shadow-hover);
}

.category-card i {
    font-size: 3.5em; 
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.category-card h4 {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--primary-color);
}


/* 4. RESULTS SECTION (Base para Free e Premium) */
.results-section {
    padding: 60px 0;
    background-color: var(--background-grey);
}

/* Estilo sutil para a seção Premium */
.premium-section {
    background-color: var(--premium-bg); 
    padding: 70px 0;
    border-top: 3px solid var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
}

.results-section h3 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.premium-section h3 i {
    color: var(--accent-color);
    margin-right: 10px;
}

.premium-tagline {
    text-align: center;
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}


/* News Grid (API Free) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.news-card {
    background-color: var(--background-light);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    display: block;
    border-top: 4px solid var(--primary-color);
}
/* ... (demais estilos de news-card mantidos) ... */
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-hover);
}

.news-card i {
    font-size: 2em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.news-card h4 {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.news-card p {
    font-size: 0.95em;
    color: #666;
}

/* LISTAGEM E FILTROS */
.results-layout {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.sidebar-filters {
    width: 250px; /* Reduzido para dar mais espaço aos cards */
    flex-shrink: 0;
    background-color: var(--background-light);
    padding: 25px; /* Reduzido */
    border-radius: 10px; /* Reduzido */
    box-shadow: 0 4px 12px var(--shadow-light);
    height: fit-content; 
}

/* ESTILO ESPECÍFICO PARA O FILTRO PREMIUM */
.premium-sidebar {
    border: 1px dashed var(--primary-color);
}
/* ... (demais estilos de filtro mantidos) ... */
.sidebar-filters h4 {
    font-size: 1.4em; /* Reduzido */
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.sidebar-filters h4 i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.filter-group {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.filter-group h5 {
    font-size: 1.1em;
    margin-bottom: 10px;
    font-weight: 600;
}

/* ... (demais estilos de input e button de filtro mantidos) ... */

.service-list {
    flex-grow: 1;
    display: grid;
    gap: 20px; /* Reduzido */
}

/* ESTILO DO CARD DE SERVIÇO (REDUZIDO E OTIMIZADO) */
.service-card {
    display: flex;
    align-items: flex-start; /* Alinha o topo dos elementos */
    background-color: var(--background-light);
    padding: 20px; /* Reduzido */
    border-radius: 10px; /* Reduzido */
    box-shadow: 0 4px 12px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px var(--shadow-hover);
}

/* ESTILO ESPECÍFICO PARA O CARTÃO PREMIUM */
.service-card.premium-card {
    border: 2px solid var(--accent-color); 
    box-shadow: 0 6px 15px rgba(255, 193, 7, 0.3); /* Sombra amarela sutil */
}

.service-card.premium-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.5);
}


.service-profile-img {
    width: 80px; /* Reduzido */
    height: 80px; /* Reduzido */
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid var(--secondary-color); /* Reduzido */
    flex-shrink: 0;
}

.service-info {
    flex-grow: 1;
}

.service-info h4 {
    font-size: 1.3em;
    margin-bottom: 6px;
}

/* ESTILO PARA O SELO 'PREMIUM MEMBER' */
.badge.premium-verified {
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 4px 10px; /* Reduzido */
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 700;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.badge.premium-verified i {
    margin-right: 4px;
    color: var(--primary-color);
}

.badge.verified {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
}

.service-category {
    font-size: 0.9em; /* Reduzido */
    margin-bottom: 5px;
}

.service-rating {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.stars {
    font-size: 1.1em; /* Reduzido */
}

/* ESTILOS DA ÁREA DO FLYER (OTIMIZADA) */
.flyer-area {
    margin-top: 10px;
    margin-bottom: 10px;
    display: inline-block;
}

.flyer-link {
    padding: 6px 10px; /* Reduzido */
    font-size: 0.85em; /* Reduzido */
}

.flyer-thumbnail {
    width: 40px; /* Reduzido */
    height: 40px; /* Reduzido */
    margin-right: 8px;
}

/* Contato */
.contact-details {
    margin-top: 10px;
    margin-bottom: 10px;
}
.contact-details p {
    font-size: 0.95em;
    margin-bottom: 4px;
    font-weight: 500;
}
.contact-details i {
    color: var(--primary-color);
}
.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Efeito de Borrão para Free Card */
.free-card .blurred-contact .blurred-text {
    filter: blur(2px);
    color: #999;
    font-style: italic;
    font-size: 0.9em;
    display: block;
}
.free-card .blurred-contact i {
    color: #999;
}


/* 5. FOOTER */
.footer {
    background-color: var(--primary-color); 
    color: var(--text-light);
    padding: 30px 0; 
    font-size: 0.95em;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer p {
    margin: 0;
    line-height: 1.8;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5em;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}


/* 6. RESPONSIVENESS (MOBILE & TABLET) */
@media (max-width: 1024px) {
    .sidebar-filters {
        width: 100%;
    }
    .results-layout {
        flex-direction: column;
    }
    .service-card {
        padding: 15px;
    }
}
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .logo-container {
        height: 60px; 
    }
    .logo-image {
        height: 55px;
    }
    
    .monetization-status {
        order: 2;
        width: 100%;
        justify-content: space-between;
        margin: 10px 0 10px 0;
    }

    .nav {
        order: 3;
        width: 100%;
        padding-top: 10px;
        text-align: center;
    }
    .nav a {
        margin: 0 8px;
        font-size: 0.9em;
    }

    .carousel-img {
        height: 350px;
    }
    .carousel-overlay h2 {
        font-size: 1.6em;
    }

    .search-bar {
        flex-direction: column;
        border-radius: 8px;
        overflow: visible;
        box-shadow: none;
    }
    .search-bar input, .search-bar button {
        width: 100%;
        border-radius: 8px;
        margin-bottom: 10px;
        padding: 12px 20px;
    }
    
    .service-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .service-profile-img {
        margin: 0 auto 15px auto;
    }
    .service-info {
        text-align: center;
    }
    .flyer-area {
        margin: 10px auto;
    }
    .contact-details {
        text-align: center;
    }
    .contact-details p {
        justify-content: center;
        display: flex;
    }

    .footer .container {
        flex-direction: column;
    }
}

/* --- ESTILOS PARA FILTROS E BUSCA --- */
.filter-bar {
    background-color: var(--background-light);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: end;
}
.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-size: 0.9em;
}
.filter-group select, .filter-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 1em;
}
.filter-group button {
    /* REMOVA ou ajuste esta regra se ela estiver forçando a altura do botão: */
    height: 100%; 
    min-height: 40px; 
    /* DEVE SER ASSIM para ter o estilo CTA normal: */
    height: auto; 
    padding: 10px 15px; /* Define o preenchimento padrão do botão */
}
@media (max-width: 600px) {
    .filter-bar {
        grid-template-columns: 1fr;
    }
}
/* --- ATUALIZAÇÃO DOS ESTILOS PARA SERVICE CARDS --- */

/* Base do Card */
.service-card {
    background: var(--background-light);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Novo: Para o layout interno */
    flex-direction: column; /* Novo: Empilha os elementos */
    min-height: 280px; /* Garante altura mínima para uniformidade */
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Imagem de Perfil no Card */
.card-image-wrapper {
    height: 120px; /* Altura para a área do topo com a imagem */
    width: 100%;
    position: relative;
    background-color: var(--background-grey); /* Fundo caso a imagem não preencha */
    border-bottom: 3px solid var(--secondary-color);
}
.card-profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--background-light); /* Borda branca destacada */
    position: absolute;
    bottom: -40px; /* Puxa a imagem para baixo, sobrepondo o corpo */
    left: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Cabeçalho do Card (com Título/Nome) */
.card-header {
    background: none; /* Remove background-color */
    color: var(--text-dark);
    padding: 10px 20px 0px 20px;
    margin-top: 50px; /* Espaço para a imagem sobreposta */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.card-header h3 {
    font-size: 1.4em;
    margin: 0;
    line-height: 1.2;
    padding-right: 10px;
}
.card-header .badges {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}
.verified-icon {
    color: #4CAF50;
    font-size: 1.1em;
}

/* Corpo do Card */
.card-body {
    padding: 15px 20px 20px 20px;
    flex-grow: 1; /* Garante que o corpo preencha o espaço restante */
}
.card-body p {
    font-size: 0.9em;
    color: #666;
}
.card-details {
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #eee;
}
.card-details span {
    font-size: 0.9em;
}
.contact-button {
    margin-top: auto; /* Empurra o botão para baixo */
}
/* --- ESTILOS DE CORREÇÃO PARA PLACEHOLDERS --- */

/* Aplica estilos a todos os placeholders nos navegadores */
input::placeholder,
textarea::placeholder {
    color: #999; /* Cor cinza suave (mais clara que o texto normal) */
    opacity: 1; /* Garante que a opacidade padrão seja 1 (alguns navegadores a reduzem) */
    font-weight: 400; /* Garante que o placeholder não seja negrito */
}

/* Para navegadores WebKit (Chrome, Safari) */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #999;
}

/* Para Firefox */
input:-moz-placeholder,
textarea:-moz-placeholder {
    color: #999;
    opacity: 1;
}

/* Para IE */
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #999;
}

/* Garante que o input em si (que pode estar em .filter-group) tenha um bom fundo e cor de texto */
.filter-group input:not([type="checkbox"]):not([type="radio"]), 
.search-box input {
    background-color: #ffffff; /* Fundo branco limpo */
    color: #333; /* Cor do texto digitado */
    border: 1px solid var(--border-light); /* Borda sutil */
    padding: 10px 12px; /* Padding confortável */
    border-radius: 6px;
    font-size: 1em;
}
/* --- ESTILO PARA A BARRA DE BUSCA INTEGRADA (HOME) --- */

.hero-search-bar {
    display: flex; /* Alinha input e botão lado a lado */
    width: 100%;
    max-width: 600px; /* Limita o tamanho no centro da tela */
    margin: 30px auto; /* Centraliza */
    border-radius: 10px;
    overflow: hidden; /* Garante que os cantos arredondados sejam mantidos */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-search-bar input {
    flex-grow: 1; /* Permite que o input ocupe o máximo de espaço */
    padding: 15px 20px;
    border: none;
    font-size: 1.1em;
    outline: none;
    background-color: #ffffff; /* Fundo do input (ex: Branco) */
    color: #333;
}

/* Estilo do Placeholder na barra integrada */
.hero-search-bar input::placeholder {
    color: #888; /* Cinza suave */
    opacity: 1;
}

.hero-search-bar button {
    /* O botão deve ter a cor contrastante (ex: Amarelo/Secondary ou Azul/Primary) */
    background-color: var(--secondary-color); /* Exemplo: Amarelo/Laranja */
    color: var(--text-dark); /* Texto escuro no botão claro */
    padding: 15px 25px;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 700;
    transition: background-color 0.3s;
    flex-shrink: 0; /* Impede o botão de encolher */
}

.hero-search-bar button:hover {
    background-color: #ffc107; /* Um tom ligeiramente diferente no hover */
}
/* --- ESTILO DE DESTAQUE PARA CARDS PREMIUM --- */
.service-card.premium-card {
    border: 3px solid var(--secondary-color); /* Ex: Borda Amarela/Laranja */
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.5), 0 6px 20px rgba(0, 0, 0, 0.15); /* Sombra mais intensa e colorida */
    background: linear-gradient(145deg, #ffffff, #fff8e1); /* Fundo sutilmente amarelo/creme */
}

/* Ajuste na imagem de perfil para combinar com o destaque */
.service-card.premium-card .card-image-wrapper {
    border-bottom-color: var(--primary-color); /* Muda a cor da linha da imagem para contrastar */
}

.service-card.premium-card .card-header h3 {
    color: var(--primary-color); /* Garante que o nome se destaque */
}