:root {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --surface-soft: #f1f5f9;

    --text: #14213d;
    --text-soft: #64748b;

    --primary: #0b7a53;
    --primary-dark: #075f41;
    --primary-soft: #e9f7f1;

    --accent: #dc2626;

    --border: #e2e8f0;

    --shadow-sm:
        0 4px 14px rgba(15, 23, 42, 0.05);

    --shadow:
        0 12px 35px rgba(15, 23, 42, 0.08);

    --radius: 20px;
    --radius-sm: 14px;

    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.container {
    width: min(
        calc(100% - 32px),
        var(--container)
    );

    margin-inline: auto;
}

/* HEADER */

.site-header {
    background: rgba(255,255,255,.95);

    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;
    z-index: 100;

    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 74px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    background: var(--primary-soft);

    border-radius: 14px;

    font-size: 24px;
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.2;
}

.brand-text strong {
    font-size: 17px;
}

.brand-text span {
    font-size: 12px;
    color: var(--text-soft);
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    font-size: 14px;
    font-weight: 600;

    color: #334155;

    transition: .2s;
}

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

.header-actions {
    display: flex;
    gap: 8px;
}

.search-toggle,
.menu-toggle {
    border: 0;

    width: 42px;
    height: 42px;

    border-radius: 12px;

    background: var(--surface-soft);

    cursor: pointer;

    transition: .2s;
}

.search-toggle:hover,
.menu-toggle:hover {
    background: #e2e8f0;
}

.menu-toggle {
    display: none;
}

.mobile-menu {
    display: none;

    background: white;

    border-top: 1px solid var(--border);

    padding: 12px 20px 20px;
}

.mobile-menu.active {
    display: grid;
}

.mobile-menu a {
    padding: 13px 4px;

    border-bottom: 1px solid var(--border);

    font-weight: 600;
}

/* SEARCH */

.search-overlay {
    display: none;

    position: fixed;
    inset: 0;

    z-index: 500;

    background: rgba(15,23,42,.65);

    padding: 20px;

    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}

.search-box {
    width: min(100%, 620px);

    background: white;

    border-radius: 24px;

    padding: 34px;

    position: relative;

    box-shadow: var(--shadow);
}

.search-box h2 {
    margin-bottom: 20px;

    font-size: 25px;
}

.search-box form {
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;

    border: 1px solid var(--border);

    border-radius: 14px;

    padding: 15px 16px;

    outline: none;
}

.search-box input:focus {
    border-color: var(--primary);
}

.search-box button[type="submit"] {
    border: 0;

    background: var(--primary);
    color: white;

    border-radius: 14px;

    padding: 0 22px;

    font-weight: 700;

    cursor: pointer;
}

.search-close {
    position: absolute;

    right: 18px;
    top: 14px;

    border: 0;
    background: transparent;

    font-size: 30px;

    cursor: pointer;
}

/* HERO */

.hero {
    padding: 72px 0 56px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(11,122,83,.15),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #ffffff,
            #f6f8fb
        );
}

.hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(300px, .8fr);

    gap: 55px;

    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: var(--primary-soft);
    color: var(--primary-dark);

    padding: 8px 12px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(
        38px,
        6vw,
        66px
    );

    line-height: 1.05;

    letter-spacing: -2px;

    max-width: 760px;

    margin-bottom: 22px;
}

.hero h1 span {
    color: var(--primary);
}

.hero-description {
    color: var(--text-soft);

    font-size: 18px;

    max-width: 670px;

    margin-bottom: 28px;
}

.hero-search {
    display: flex;

    background: white;

    padding: 7px;

    border-radius: 18px;

    max-width: 650px;

    box-shadow: var(--shadow);
}

.hero-search input {
    flex: 1;

    border: 0;
    outline: 0;

    padding: 14px 16px;

    min-width: 0;
}

.hero-search button {
    border: 0;

    background: var(--primary);
    color: white;

    padding: 14px 22px;

    border-radius: 13px;

    font-weight: 700;

    cursor: pointer;
}

.hero-stats {
    margin-top: 28px;

    display: flex;
    gap: 28px;

    flex-wrap: wrap;
}

.stat-item strong {
    display: block;
    font-size: 19px;
}

.stat-item span {
    color: var(--text-soft);
    font-size: 13px;
}

/* HERO CARD */

.hero-card {
    background: white;

    border-radius: 28px;

    padding: 26px;

    box-shadow: var(--shadow);

    border: 1px solid rgba(226,232,240,.75);
}

.hero-card-label {
    color: var(--primary);
    font-weight: 700;

    font-size: 13px;

    margin-bottom: 18px;
}

.quick-links {
    display: grid;
    gap: 12px;
}

.quick-link {
    display: flex;
    align-items: center;

    gap: 14px;

    padding: 15px;

    background: var(--surface-soft);

    border-radius: 16px;

    transition: .2s;
}

.quick-link:hover {
    transform: translateY(-2px);
    background: var(--primary-soft);
}

.quick-icon {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    background: white;

    border-radius: 13px;

    font-size: 21px;
}

.quick-link strong {
    display: block;

    font-size: 14px;
}

.quick-link span {
    display: block;

    font-size: 12px;

    color: var(--text-soft);
}

/* SECTIONS */

.section {
    padding: 64px 0;
}

.section-white {
    background: white;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;

    margin-bottom: 30px;
}

.section-eyebrow {
    color: var(--primary);

    font-weight: 800;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1.1px;
}

.section-title {
    font-size: clamp(
        27px,
        4vw,
        38px
    );

    margin-top: 4px;

    letter-spacing: -1px;
}

.section-description {
    color: var(--text-soft);

    max-width: 600px;
}

.see-all {
    color: var(--primary);

    font-weight: 700;

    white-space: nowrap;
}

/* CATEGORY CARDS */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 18px;
}

.category-card {
    background: white;

    padding: 23px;

    border-radius: var(--radius);

    border: 1px solid var(--border);

    box-shadow: var(--shadow-sm);

    transition: .25s;
}

.category-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow);
}

.category-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: var(--primary-soft);

    font-size: 23px;

    margin-bottom: 17px;
}

.category-card h3 {
    font-size: 16px;

    margin-bottom: 7px;
}

.category-card p {
    color: var(--text-soft);

    font-size: 13px;
}

/* POSTS */

.posts-grid {
    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 22px;
}

.post-card {
    background: white;

    border-radius: var(--radius);

    overflow: hidden;

    border: 1px solid var(--border);

    box-shadow: var(--shadow-sm);

    transition: .25s;
}

.post-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow);
}

.post-cover {
    aspect-ratio: 16 / 10;

    background:
        linear-gradient(
            135deg,
            #dff6ec,
            #eff6ff
        );

    display: grid;
    place-items: center;

    font-size: 58px;
}

.post-cover img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-category {
    display: inline-flex;

    color: var(--primary);

    font-weight: 800;

    font-size: 11px;

    text-transform: uppercase;

    margin-bottom: 10px;
}

.post-card h3 {
    font-size: 19px;

    line-height: 1.35;

    margin-bottom: 10px;
}

.post-card p {
    color: var(--text-soft);

    font-size: 13px;

    margin-bottom: 18px;
}

.post-meta {
    display: flex;

    justify-content: space-between;

    color: var(--text-soft);

    font-size: 12px;
}

/* CITIES */

.city-grid {
    display: grid;

    grid-template-columns:
        repeat(6,1fr);

    gap: 12px;
}

.city-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 16px;

    padding: 17px 12px;

    text-align: center;

    font-weight: 700;

    transition: .2s;
}

.city-card:hover {
    color: var(--primary);

    border-color: #b5e6d3;

    background: var(--primary-soft);
}

/* AD */

.ad-placeholder {
    min-height: 110px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        repeating-linear-gradient(
            -45deg,
            #f8fafc,
            #f8fafc 10px,
            #f1f5f9 10px,
            #f1f5f9 20px
        );

    border: 1px dashed #cbd5e1;

    color: #94a3b8;

    border-radius: 14px;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

/* EMPTY */

.empty-content {
    padding: 40px;

    background: white;

    border-radius: var(--radius);

    border: 1px solid var(--border);

    text-align: center;

    color: var(--text-soft);
}

/* FOOTER */

.site-footer {
    background: #0f172a;

    color: #cbd5e1;

    padding-top: 52px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 40px;

    padding-bottom: 45px;
}

.footer-brand {
    color: white;

    font-weight: 800;

    font-size: 20px;

    margin-bottom: 12px;
}

.site-footer p {
    max-width: 450px;

    font-size: 14px;
}

.site-footer h4 {
    color: white;

    margin-bottom: 12px;
}

.site-footer a {
    display: block;

    font-size: 13px;

    margin-bottom: 9px;

    color: #cbd5e1;
}

.site-footer a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;

    border-top: 1px solid #1e293b;

    padding: 18px;

    font-size: 12px;
}

/* RESPONSIVE */

@media (max-width: 950px) {

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        max-width: 650px;
    }

    .category-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .posts-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .city-grid {
        grid-template-columns:
            repeat(3,1fr);
    }

}

@media (max-width: 650px) {

    .container {
        width: min(
            calc(100% - 24px),
            var(--container)
        );
    }

    .site-header {
        position: sticky;
    }

    .header-inner {
        min-height: 66px;
    }

    .brand-icon {
        width: 39px;
        height: 39px;

        font-size: 20px;
    }

    .brand-text strong {
        font-size: 15px;
    }

    .brand-text span {
        font-size: 10px;
    }

    .hero {
        padding: 45px 0;
    }

    .hero h1 {
        letter-spacing: -1.5px;
    }

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

    .hero-search {
        display: grid;
    }

    .hero-search button {
        width: 100%;
    }

    .hero-stats {
        display: grid;
        grid-template-columns:
            repeat(2,1fr);

        gap: 18px;
    }

    .section {
        padding: 48px 0;
    }

    .section-header {
        display: block;
    }

    .see-all {
        display: inline-block;
        margin-top: 12px;
    }

    .category-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .city-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .search-box {
        padding: 28px 20px;
    }

    .search-box form {
        display: grid;
    }

    .search-box button[type="submit"] {
        padding: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================================
   PÁGINA DO ARTIGO
========================================= */

.article-hero {
    background:
        radial-gradient(
            circle at 88% 5%,
            rgba(11,122,83,.13),
            transparent 30%
        ),
        white;

    padding: 55px 0 38px;

    border-bottom: 1px solid var(--border);
}

.article-header-container {
    max-width: 930px;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;

    color: var(--text-soft);

    font-size: 11px;

    margin-bottom: 21px;
}

.article-breadcrumb a:hover {
    color: var(--primary);
}

.article-category-label {
    display: inline-flex;

    background: var(--primary-soft);

    color: var(--primary-dark);

    padding: 7px 11px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .5px;

    margin-bottom: 16px;
}

.article-title {
    font-size: clamp(
        35px,
        5.8vw,
        59px
    );

    line-height: 1.08;

    letter-spacing: -2px;

    max-width: 900px;
}

.article-lead {
    color: var(--text-soft);

    font-size: 18px;

    line-height: 1.65;

    max-width: 790px;

    margin-top: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;

    flex-wrap: wrap;

    color: var(--text-soft);

    font-size: 12px;

    margin-top: 25px;
}


/* CONTEÚDO */

.article-section {
    padding: 38px 0 65px;
}

.article-main-cover {
    max-width: 1100px;

    margin:
        0 auto
        36px;

    overflow: hidden;

    border-radius: 25px;

    background: #e2e8f0;

    box-shadow: var(--shadow-sm);
}

.article-main-cover img {
    width: 100%;

    max-height: 570px;

    object-fit: cover;
}


/* LAYOUT */

.article-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 760px)
        300px;

    justify-content: center;

    gap: 42px;

    align-items: start;
}


/* SHARE */

.article-share {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    padding-bottom: 18px;

    border-bottom: 1px solid var(--border);

    margin-bottom: 25px;
}

.article-share > span {
    color: var(--text-soft);

    font-size: 11px;

    font-weight: 700;

    margin-right: 3px;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;

    border-radius: 9px;

    padding: 8px 11px;

    font-family: inherit;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;

    text-decoration: none;
}

.share-button.whatsapp {
    background: #dcfce7;
    color: #166534;
}

.share-button.facebook {
    background: #dbeafe;
    color: #1e40af;
}

.share-button.copy {
    background: #f1f5f9;
    color: #475569;
}


/* PUBLICIDADE */

.article-ad {
    margin:
        25px 0
        32px;
}

.article-ad > span,
.article-sidebar-ad > span {
    display: block;

    text-align: center;

    color: #94a3b8;

    font-size: 8px;

    letter-spacing: 1px;

    margin-bottom: 6px;
}

.article-ad-bottom {
    margin-top: 38px;
}


/* CORPO DO ARTIGO */

.article-body {
    font-size: 17px;

    line-height: 1.85;

    color: #334155;

    overflow-wrap: break-word;
}

.article-body h2 {
    color: var(--text);

    font-size: 28px;

    line-height: 1.25;

    letter-spacing: -.6px;

    margin:
        42px 0
        15px;
}

.article-body h3 {
    color: var(--text);

    font-size: 21px;

    line-height: 1.3;

    margin:
        32px 0
        12px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    padding-left: 25px;

    margin:
        5px 0
        23px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body strong {
    color: #172033;
}

.article-body a {
    color: var(--primary);

    text-decoration: underline;

    text-decoration-thickness: 1px;

    text-underline-offset: 3px;
}

.article-body blockquote {
    border-left: 4px solid var(--primary);

    background: #f8fafc;

    padding: 17px 20px;

    margin:
        27px 0;

    border-radius:
        0 12px 12px 0;

    color: #475569;
}


/* DICA */

.article-tip {
    border: 1px solid #bbf7d0;

    background:
        linear-gradient(
            145deg,
            #f0fdf7,
            #ffffff
        );

    padding: 20px;

    border-radius: 15px;

    margin:
        28px 0;
}

.article-tip strong {
    display: block;

    color: #075f41;

    font-size: 14px;

    margin-bottom: 6px;
}

.article-tip p {
    margin: 0;

    color: #475569;

    font-size: 14px;
}


/* SHARE FINAL */

.article-share-bottom {
    margin-top: 35px;

    border: 1px solid #dbe2ea;

    border-radius: 18px;

    padding: 21px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    background: white;
}

.article-share-bottom strong {
    display: block;

    font-size: 14px;

    margin-bottom: 3px;
}

.article-share-bottom p {
    color: var(--text-soft);

    font-size: 11px;
}

.article-share-bottom a {
    flex-shrink: 0;

    display: inline-flex;

    background: #16a34a;

    color: white;

    border-radius: 10px;

    padding: 11px 14px;

    font-size: 11px;
    font-weight: 800;
}


/* SIDEBAR */

.article-sidebar {
    display: grid;

    gap: 20px;

    position: sticky;

    top: 100px;
}

.article-sidebar-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 18px;

    padding: 21px;

    box-shadow: var(--shadow-sm);
}

.sidebar-card-eyebrow {
    display: block;

    color: var(--primary);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .8px;

    margin-bottom: 9px;
}

.article-sidebar-card h3 {
    font-size: 16px;

    line-height: 1.4;

    margin-bottom: 8px;
}

.article-sidebar-card p {
    color: var(--text-soft);

    font-size: 11px;

    line-height: 1.6;

    margin-bottom: 14px;
}

.article-sidebar-card > a:not(
    .sidebar-simple-link
) {
    color: var(--primary);

    font-size: 11px;

    font-weight: 800;
}

.article-sidebar-ad {
    padding: 5px 0;
}

.sidebar-ad-placeholder {
    min-height: 250px;
}


/* LINKS SIDEBAR */

.sidebar-simple-link {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding: 11px 0;

    border-top: 1px solid #f1f5f9;

    color: #475569;

    font-size: 11px;

    font-weight: 600;
}

.sidebar-simple-link:hover {
    color: var(--primary);
}


/* RELACIONADOS */

.related-section {
    border-top: 1px solid var(--border);

    background: white;
}


/* 404 */

.article-not-found {
    max-width: 600px;

    margin: 40px auto;

    text-align: center;

    background: white;

    border: 1px solid var(--border);

    border-radius: 24px;

    padding: 50px 25px;

    box-shadow: var(--shadow-sm);
}

.article-not-found-icon {
    font-size: 50px;

    margin-bottom: 10px;
}

.article-not-found h1 {
    font-size: 27px;

    margin-bottom: 8px;
}

.article-not-found p {
    color: var(--text-soft);

    font-size: 13px;

    margin-bottom: 20px;
}

.article-back-button {
    display: inline-flex;

    background: var(--primary);

    color: white;

    border-radius: 11px;

    padding: 11px 16px;

    font-size: 12px;

    font-weight: 800;
}


/* RESPONSIVO */

@media (max-width: 1000px) {

    .article-layout {
        grid-template-columns:
            minmax(0, 760px);
    }

    .article-sidebar {
        position: static;

        grid-template-columns:
            repeat(2, 1fr);
    }

    .article-sidebar-ad {
        display: none;
    }

}


@media (max-width: 650px) {

    .article-hero {
        padding:
            37px 0
            28px;
    }

    .article-title {
        font-size: 36px;

        letter-spacing: -1px;
    }

    .article-lead {
        font-size: 15px;
    }

    .article-meta {
        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 8px 14px;
    }

    .article-section {
        padding:
            20px 0
            48px;
    }

    .article-main-cover {
        margin-bottom: 24px;

        border-radius: 16px;
    }

    .article-main-cover img {
        max-height: 360px;
    }

    .article-body {
        font-size: 16px;

        line-height: 1.78;
    }

    .article-body h2 {
        font-size: 24px;

        margin-top: 35px;
    }

    .article-body h3 {
        font-size: 19px;
    }

    .article-share-bottom {
        display: block;
    }

    .article-share-bottom a {
        margin-top: 14px;

        width: 100%;

        justify-content: center;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }

}
/* ANÚNCIOS DINÂMICOS */

.ad-dynamic {
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.home-ad-top {
    padding-top: 22px;
}

.article-ad-middle {
    margin:
        32px 0;
}

.ad-mobile-only {
    display: none;
}

@media (max-width: 768px) {

    .ad-desktop-only {
        display: none !important;
    }

    .ad-mobile-only {
        display: block;
    }

}

@media (min-width: 769px) {

    .ad-mobile-only {
        display: none !important;
    }

}
/* =========================================================
   GUIA PORTUGAL — PREMIUM UI LAYER
   ========================================================= */
:root{
    --gp-ink:#10241d;
    --gp-muted:#65746f;
    --gp-green:#0b6b4f;
    --gp-green-2:#118363;
    --gp-green-soft:#eaf5f0;
    --gp-gold:#c59a3d;
    --gp-gold-soft:#f7f0df;
    --gp-line:#dfe9e4;
    --gp-panel:#ffffff;
    --gp-bg:#f4f8f6;
    --gp-shadow:0 18px 55px rgba(18,50,40,.09);
    --gp-shadow-hover:0 22px 70px rgba(18,50,40,.14);
}

body{background:linear-gradient(180deg,#f8fbf9 0,#f4f8f6 48%,#f8faf9 100%);color:var(--gp-ink)}
.ui-icon{width:1.15em;height:1.15em;display:inline-block;vertical-align:-.18em;flex:none;fill:none}

.site-header{background:rgba(255,255,255,.86);border-bottom:1px solid rgba(11,107,79,.10);box-shadow:0 8px 34px rgba(17,55,43,.04)}
.header-inner{min-height:78px}
.brand{gap:11px}
.brand-icon{width:46px;height:46px;background:linear-gradient(145deg,#0b6b4f,#118363);color:#fff;border-radius:15px;box-shadow:0 9px 24px rgba(11,107,79,.24)}
.brand-mark-icon{width:29px;height:29px}
.brand-text strong{font-size:17px;letter-spacing:-.02em;color:#10241d}
.brand-text span{color:#71817b;font-weight:600;font-size:11px;letter-spacing:.02em}
.desktop-nav{gap:8px;padding:5px;border:1px solid #e6efeb;border-radius:14px;background:rgba(248,251,249,.8)}
.desktop-nav a{padding:9px 13px;border-radius:10px;font-size:13px;color:#52615c}
.desktop-nav a:hover{background:#fff;color:var(--gp-green);box-shadow:0 5px 18px rgba(18,50,40,.07)}
.search-toggle,.menu-toggle{display:grid;place-items:center;color:#183b30;background:#f0f6f3;border:1px solid #e1ebe6}
.search-toggle:hover,.menu-toggle:hover{background:#e5f2ec;color:var(--gp-green)}
.search-toggle .ui-icon,.menu-toggle .ui-icon{width:20px;height:20px}

.hero{position:relative;overflow:hidden;padding-top:82px;padding-bottom:74px;background:radial-gradient(circle at 82% 12%,rgba(197,154,61,.12),transparent 26%),radial-gradient(circle at 10% 20%,rgba(11,107,79,.12),transparent 25%)}
.hero:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(11,107,79,.028) 1px,transparent 1px),linear-gradient(90deg,rgba(11,107,79,.028) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.45),transparent 72%)}
.hero-grid{position:relative}
.hero-badge{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #dce9e3;color:var(--gp-green);box-shadow:0 8px 25px rgba(18,50,40,.06);font-weight:800;letter-spacing:.02em}
.hero h1{letter-spacing:-.045em;line-height:1.03;max-width:690px}
.hero h1 span{color:var(--gp-green);position:relative}
.hero h1 span:after{content:"";position:absolute;left:2%;right:1%;bottom:-7px;height:5px;border-radius:999px;background:linear-gradient(90deg,var(--gp-gold),#dfc67b);opacity:.9}
.hero-description{font-size:17px;max-width:650px;color:#62716c}
.hero-search{background:#fff;padding:7px;border:1px solid #dce8e3;box-shadow:0 16px 45px rgba(19,57,45,.10);border-radius:17px}
.hero-search input{border:0!important;background:transparent!important}
.hero-search button{border-radius:12px;background:linear-gradient(135deg,#0b6b4f,#0f7d5c);box-shadow:0 8px 20px rgba(11,107,79,.20)}
.hero-stats{gap:10px}
.stat-item{padding:12px 14px;border:1px solid #dfebe5;border-radius:14px;background:rgba(255,255,255,.7)}
.stat-item strong{display:flex;align-items:center;gap:7px;color:#17382e;font-size:12px}
.stat-item strong .ui-icon{color:var(--gp-green)}
.stat-item span{font-size:10px}

.hero-card{border:1px solid #dce8e3;background:rgba(255,255,255,.92);box-shadow:var(--gp-shadow);border-radius:24px;position:relative;overflow:hidden}
.hero-card:before{content:"";height:4px;position:absolute;left:0;right:0;top:0;background:linear-gradient(90deg,var(--gp-green),var(--gp-gold))}
.hero-card-label{color:var(--gp-green);letter-spacing:.13em;font-weight:800}
.quick-link{border:1px solid transparent;border-radius:15px;transition:.22s ease}
.quick-link:hover{background:#f8fbf9;border-color:#dfebe5;transform:translateX(3px)}
.quick-icon{display:grid;place-items:center;background:linear-gradient(145deg,#ecf6f1,#f7f0df)!important;color:var(--gp-green)!important;border:1px solid #dceae3}
.quick-icon .ui-icon{width:22px;height:22px}

.section{padding-top:76px;padding-bottom:76px}
.section-eyebrow{color:var(--gp-green);font-weight:800;letter-spacing:.15em}
.section-title{letter-spacing:-.035em}
.section-description{color:#6b7974}
.category-card,.post-card,.city-card{border-color:#dfe9e4!important;box-shadow:0 10px 35px rgba(19,57,45,.045)!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.category-card:hover,.post-card:hover,.city-card:hover{transform:translateY(-4px);box-shadow:var(--gp-shadow-hover)!important;border-color:#c9ded5!important}
.category-icon{display:grid;place-items:center;background:linear-gradient(145deg,#edf7f2,#faf5e9)!important;color:var(--gp-green)!important;border:1px solid #dce9e3;border-radius:15px!important}
.category-icon .ui-icon{width:25px;height:25px}
.post-card{overflow:hidden}
.post-cover{background:linear-gradient(145deg,#eaf4ef,#f7f0df)!important;overflow:hidden}
.post-cover img{transition:transform .45s ease}
.post-card:hover .post-cover img{transform:scale(1.035)}
.post-fallback-icon{width:58px;height:58px;color:var(--gp-green);opacity:.72}
.post-category{background:#eaf5f0!important;color:#0b6b4f!important;border:1px solid #d6e9e0}
.post-meta{color:#7a8984}
.post-meta span{display:inline-flex;align-items:center;gap:5px}
.post-meta .ui-icon{width:14px;height:14px}
.city-card{display:flex!important;align-items:center;gap:9px;background:#fff!important;color:#25493e!important}
.city-card .ui-icon{color:var(--gp-green);width:18px;height:18px}

.article-category-label{background:#eaf5f0!important;color:#0b6b4f!important;border:1px solid #d5e7df}
.article-title{letter-spacing:-.04em}
.article-meta span,.sidebar-simple-link{display:inline-flex;align-items:center;gap:6px}
.article-meta .ui-icon,.sidebar-simple-link .ui-icon{width:15px;height:15px;color:var(--gp-green)}
.article-content-column,.article-sidebar-card,.article-sidebar-ad{border-color:#dfe9e4!important;box-shadow:0 10px 38px rgba(18,50,40,.05)!important}
.share-button{display:inline-flex!important;align-items:center;gap:6px}
.share-button .ui-icon{width:15px;height:15px}
.article-tip{border-left-color:var(--gp-gold)!important;background:#fbf7ec!important}

.site-footer{background:#10241d!important}
.footer-brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:16px}
.footer-brand-icon{width:28px;height:28px;color:#e2c67d}
.footer-bottom{border-top-color:rgba(255,255,255,.09)!important}

@media(max-width:780px){
  .hero{padding-top:52px;padding-bottom:50px}
  .hero h1{font-size:clamp(38px,11vw,54px)}
  .desktop-nav{display:none}
  .menu-toggle{display:grid}
  .brand-text span{display:none}
  .hero-stats{grid-template-columns:1fr 1fr}
}

/* =========================================
   SEARCH RESULTS — PREMIUM
========================================= */

.search-results-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 58px;
    background:
        radial-gradient(circle at 82% 16%, rgba(214, 168, 72, .15), transparent 28%),
        radial-gradient(circle at 10% 12%, rgba(20, 128, 92, .13), transparent 34%),
        linear-gradient(180deg, #f7fbf9 0%, #ffffff 100%);
    border-bottom: 1px solid #e3ece8;
}

.search-results-hero::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -180px;
    bottom: -210px;
    border-radius: 50%;
    border: 46px solid rgba(11, 107, 79, .045);
    pointer-events: none;
}

.search-results-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

.search-results-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: #0b6b4f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.15px;
}

.search-results-eyebrow .ui-icon {
    width: 16px;
    height: 16px;
}

.search-results-hero h1 {
    max-width: 700px;
    margin-bottom: 12px;
    color: #17352c;
    font-size: clamp(34px, 6vw, 56px);
    line-height: 1.04;
    letter-spacing: -1.9px;
}

.search-results-hero > .container > p,
.search-results-hero-inner > p {
    max-width: 680px;
    margin-bottom: 26px;
    color: #61756e;
    font-size: 15px;
    line-height: 1.7;
}

.search-results-form {
    display: flex;
    gap: 10px;
    width: min(100%, 760px);
    padding: 7px;
    background: #fff;
    border: 1px solid #dce8e3;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(22, 70, 55, .10);
}

.search-results-input-wrap {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding-left: 13px;
}

.search-results-input-wrap .ui-icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    color: #729187;
}

.search-results-form input {
    width: 100%;
    min-width: 0;
    padding: 13px 3px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #19392f;
    font: inherit;
    font-size: 14px;
}

.search-results-form button {
    flex: 0 0 auto;
    padding: 0 24px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #0b6b4f, #0f7d5c);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 9px 22px rgba(11, 107, 79, .20);
    transition: transform .2s ease, box-shadow .2s ease;
}

.search-results-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(11, 107, 79, .26);
}

.search-results-section {
    min-height: 420px;
}

.search-result-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 25px;
}

.search-result-heading p {
    margin-top: 7px;
    color: #7a9088;
    font-size: 12px;
}

.search-result-card .post-meta span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.search-result-card .post-meta .ui-icon {
    width: 14px;
    height: 14px;
}

.search-cover-icon {
    width: 54px;
    height: 54px;
    color: #0b6b4f;
    opacity: .72;
}

.search-empty-premium {
    display: grid;
    place-items: center;
    max-width: 720px;
    margin: 10px auto 0;
    padding: 55px 28px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
    border: 1px solid #e1ebe6;
    border-radius: 24px;
    box-shadow: 0 18px 55px rgba(22, 70, 55, .055);
}

.search-empty-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    border-radius: 19px;
    background: #eaf5f0;
    color: #0b6b4f;
}

.search-empty-icon .ui-icon {
    width: 28px;
    height: 28px;
}

.search-empty-premium h2 {
    margin-bottom: 8px;
    color: #183b30;
    font-size: 22px;
}

.search-empty-premium p {
    max-width: 520px;
    color: #71867f;
    font-size: 13px;
    line-height: 1.65;
}

.search-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 11px 17px;
    border-radius: 11px;
    background: #0b6b4f;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 700px) {
    .search-results-hero {
        padding: 52px 0 42px;
    }

    .search-results-hero h1 {
        letter-spacing: -1.25px;
    }

    .search-results-form {
        display: grid;
        gap: 7px;
        padding: 7px;
    }

    .search-results-input-wrap {
        min-height: 48px;
    }

    .search-results-form button {
        min-height: 46px;
        padding: 0 18px;
    }

    .search-result-heading {
        align-items: flex-start;
    }

    .search-empty-premium {
        padding: 42px 19px;
        border-radius: 19px;
    }
}

/* =========================================================
   HOMEPAGE — PORTUGAL EDITORIAL PREMIUM
   Inspirada no novo layout visual fornecido pelo utilizador.
========================================================= */

:root {
    --ref-green-950: #063d35;
    --ref-green-900: #074d42;
    --ref-green-800: #086452;
    --ref-green-700: #08785f;
    --ref-green-100: #e9f3ec;
    --ref-green-050: #f4f8f3;
    --ref-gold: #c99b38;
    --ref-gold-soft: #f4ead0;
    --ref-ink: #093b34;
    --ref-muted: #687b78;
    --ref-border: #e7ebe6;
    --ref-shadow: 0 16px 38px rgba(15, 57, 48, .07);
}

body {
    background: #fffdf9;
    color: var(--ref-ink);
}

.site-header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #f0eee9;
    box-shadow: none;
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 92px;
}

.brand {
    gap: 14px;
}

.brand-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(145deg, #0a745b, #075243);
    box-shadow: 0 10px 26px rgba(8, 103, 82, .18);
}

.brand-text strong {
    font-size: 26px;
    letter-spacing: -.5px;
    color: #0b4037;
}

.brand-text span {
    display: none;
}

.desktop-nav a {
    color: #4d625e;
    font-weight: 650;
}

.search-toggle,
.menu-toggle {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    border: 1px solid #edf0ec;
    background: #fff;
    color: var(--ref-ink);
    box-shadow: 0 6px 18px rgba(35, 56, 51, .04);
}

.ref-hero {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    background:
        linear-gradient(90deg,
            #fffdf8 0%,
            #fffdf8 39%,
            rgba(255,253,248,.91) 49%,
            rgba(255,253,248,.54) 62%,
            rgba(255,253,248,.06) 78%),
        url('/assets/img/hero-portugal.jpg') right center / 62% 100% no-repeat;
}

.ref-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,253,249,0), #fffdf9 94%);
}

.ref-hero-inner {
    position: relative;
    z-index: 1;
    min-height: 570px;
    display: flex;
    align-items: center;
    padding-top: 46px;
    padding-bottom: 32px;
}

.ref-hero-copy {
    width: min(660px, 64%);
}

.ref-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #e7d3a6;
    border-radius: 999px;
    padding: 10px 16px;
    background: rgba(255,255,255,.68);
    color: #0a6a57;
    font-size: 13px;
    font-weight: 750;
    box-shadow: 0 8px 22px rgba(88, 69, 28, .03);
}

.ref-sparkles,
.ref-title-spark {
    color: var(--ref-gold);
    font-size: 19px;
}

.ref-hero h1,
.ref-section-heading h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    color: #073d35;
}

.ref-hero h1 {
    margin: 24px 0 20px;
    font-size: clamp(52px, 6vw, 79px);
    line-height: .98;
    letter-spacing: -1.3px;
}

.ref-hero h1 span {
    color: #0a7b62;
    position: relative;
    white-space: nowrap;
}

.ref-hero h1 span::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    height: 5px;
    border-radius: 50%;
    background: var(--ref-gold);
    transform: rotate(-2deg) scaleX(.9);
}

.ref-hero-copy > p {
    margin: 0 0 24px;
    max-width: 465px;
    font-size: 18px;
    line-height: 1.55;
    color: #657775;
}

.ref-search {
    max-width: 650px;
    min-height: 72px;
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 9px 10px 9px 21px;
    border: 1px solid #eceee9;
    border-radius: 21px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 17px 42px rgba(36, 70, 61, .09);
}

.ref-search > svg {
    width: 25px;
    height: 25px;
}

.ref-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 15px;
    color: #294843;
}

.ref-search input::placeholder {
    color: #778784;
}

.ref-search button {
    min-width: 126px;
    height: 54px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #087c62, #056a55);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(8, 112, 89, .17);
}

.ref-trust-row {
    display: flex;
    align-items: center;
    gap: 42px;
    margin-top: 28px;
}

.ref-trust-item {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #163f38;
}

.ref-trust-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    flex: 0 0 43px;
    border: 1px solid #e9dfbf;
    border-radius: 50%;
    background: linear-gradient(145deg, #f0f7ed, #fffaf0);
    color: #08745c;
}

.ref-trust-icon .ui-icon {
    width: 20px;
    height: 20px;
}

.ref-trust-item strong,
.ref-trust-item small {
    display: block;
}

.ref-trust-item strong {
    font-size: 12px;
}

.ref-trust-item small {
    margin-top: 2px;
    font-size: 11px;
    color: #6a7a77;
}

.ref-home-ad {
    margin-top: 14px;
    margin-bottom: 14px;
}

.ref-topic-section,
.ref-cities-section,
.ref-start-section,
.ref-guides-section {
    padding: 24px 0;
}

.ref-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 15px;
}

.ref-topic-card {
    position: relative;
    min-height: 140px;
    display: grid;
    grid-template-columns: 62px 1fr 28px;
    align-items: center;
    gap: 17px;
    padding: 18px 18px 18px 15px;
    border: 1px solid var(--ref-border);
    border-radius: 19px;
    background: rgba(255,255,255,.94);
    color: inherit;
    text-decoration: none;
    box-shadow: var(--ref-shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ref-topic-card:hover {
    transform: translateY(-3px);
    border-color: #d7e5dc;
    box-shadow: 0 20px 44px rgba(15, 57, 48, .10);
}

.ref-topic-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #edf6e9, #fbf7e9);
    color: #08755d;
}

.ref-topic-icon .ui-icon {
    width: 31px;
    height: 31px;
}

.ref-topic-copy h3 {
    margin: 0 0 7px;
    font-size: 17px;
    color: #0a4b3f;
}

.ref-topic-copy p {
    margin: 0;
    color: #75827f;
    font-size: 12px;
    line-height: 1.42;
}

.ref-card-arrow {
    align-self: end;
    color: #0a6c57;
}

.ref-card-arrow .ui-icon {
    width: 20px;
    height: 20px;
}

.ref-extra-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 13px;
}

.ref-extra-topics a {
    padding: 8px 13px;
    border: 1px solid #e6ebe5;
    border-radius: 999px;
    background: #fff;
    color: #58706b;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.ref-section-heading {
    margin-bottom: 14px;
}

.ref-section-heading > div,
.ref-section-heading-inline > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ref-section-heading-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ref-section-heading h2 {
    margin: 0;
    font-size: 31px;
    line-height: 1.1;
}

.ref-title-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #0b7a62;
}

.ref-title-icon-gold {
    color: var(--ref-gold);
}

.ref-title-icon .ui-icon {
    width: 28px;
    height: 28px;
}

.ref-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0a6654;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.ref-view-all .ui-icon {
    width: 17px;
    height: 17px;
}

.ref-city-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0,1fr));
    gap: 10px;
}

.ref-city-card {
    position: relative;
    aspect-ratio: 1 / 1.03;
    overflow: hidden;
    border-radius: 15px;
    background: #0c3f36;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(10, 52, 43, .11);
}

.ref-city-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3,31,26,.76), rgba(3,31,26,.03) 60%);
}

.ref-city-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.ref-city-card:hover img {
    transform: scale(1.06);
}

.ref-city-card span {
    position: absolute;
    z-index: 2;
    left: 16px;
    bottom: 14px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0,0,0,.28);
}

.ref-start-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px;
}

.ref-start-card {
    min-height: 165px;
    position: relative;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 14px;
    align-items: start;
    padding: 24px 19px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef6ed, #f7f6ed);
    color: inherit;
    text-decoration: none;
    border: 1px solid #edf0e9;
}

.ref-start-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.72);
    color: #08705a;
}

.ref-start-icon .ui-icon {
    width: 30px;
    height: 30px;
}

.ref-start-card h3 {
    margin: 5px 0 7px;
    color: #0b443a;
    font-size: 14px;
    line-height: 1.35;
}

.ref-start-card p {
    margin: 0;
    color: #74827f;
    font-size: 11px;
}

.ref-round-arrow {
    position: absolute;
    left: 86px;
    bottom: 17px;
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #0b6553;
    box-shadow: 0 8px 16px rgba(13, 70, 58, .05);
}

.ref-round-arrow .ui-icon {
    width: 17px;
    height: 17px;
}

.ref-guides-section {
    padding-top: 34px;
}

.ref-posts-grid {
    margin-top: 14px;
}

.ref-post-card {
    border: 1px solid #e8ebe7;
    box-shadow: 0 14px 34px rgba(12, 56, 46, .06);
}

.ref-post-fallback {
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #ecf5eb, #f8f3df);
    color: #0b715b;
}

.ref-post-fallback .ui-icon {
    width: 44px;
    height: 44px;
}

.ref-home-ad-bottom {
    margin-top: 28px;
    margin-bottom: 30px;
}

/* Footer editorial */
.ref-footer {
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    padding: 35px 0 0;
    background:
        radial-gradient(circle at 88% 22%, rgba(255,255,255,.04), transparent 24%),
        linear-gradient(135deg, #073f38, #06372f 55%, #07473d);
    color: rgba(255,255,255,.86);
}

.ref-footer::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -24px;
    width: 360px;
    height: 150px;
    opacity: .08;
    background:
        linear-gradient(145deg, transparent 42%, #fff 43% 45%, transparent 46%) 0 55px/88px 55px repeat-x,
        linear-gradient(to top, #fff 0 2px, transparent 2px) 0 bottom/100% 100% no-repeat;
}

.ref-footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.35fr .72fr .72fr 1.1fr;
    gap: 30px;
    padding-bottom: 28px;
}

.ref-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.ref-footer-logo {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid #dfb858;
    color: #e1bd65;
}

.ref-footer-logo svg {
    width: 29px;
    height: 29px;
}

.ref-footer-brand strong {
    color: #fff;
    font-size: 21px;
}

.ref-footer-brand-col p,
.ref-footer-news p {
    margin: 0;
    color: rgba(255,255,255,.74);
    font-size: 11px;
    line-height: 1.65;
}

.ref-social-row {
    display: flex;
    gap: 10px;
    margin-top: 17px;
}

.ref-social-row span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid #d7b65c;
    border-radius: 50%;
    color: #e0bb5f;
}

.ref-social-row .ui-icon {
    width: 17px;
    height: 17px;
}

.ref-footer h4 {
    margin: 2px 0 12px;
    color: #f3d789;
    font-size: 12px;
}

.ref-footer-col a {
    display: block;
    margin: 0 0 7px;
    color: rgba(255,255,255,.78);
    font-size: 11px;
    text-decoration: none;
}

.ref-newsletter-preview {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 15px;
    padding: 5px 6px 5px 14px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 14px;
    color: rgba(255,255,255,.58);
    font-size: 10px;
}

.ref-newsletter-send {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #efd28a;
    color: #0a594a;
}

.ref-newsletter-send .ui-icon {
    width: 18px;
    height: 18px;
}

.ref-footer-bottom {
    position: relative;
    z-index: 1;
    padding: 15px 20px 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    text-align: center;
    color: rgba(255,255,255,.65);
    font-size: 10px;
}

@media (max-width: 1050px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: inline-grid; }
    .ref-hero {
        background-size: 70% 100%;
    }
    .ref-hero-copy { width: 67%; }
    .ref-topic-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .ref-city-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .ref-start-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .ref-footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
    .ref-footer-news { grid-column: 1 / -1; max-width: 520px; }
}

@media (max-width: 760px) {
    .header-inner { min-height: 76px; }
    .brand-icon { width: 46px; height: 46px; border-radius: 14px; }
    .brand-text strong { font-size: 22px; }
    .search-toggle, .menu-toggle { width: 46px; height: 46px; border-radius: 14px; }

    .ref-hero {
        min-height: auto;
        background:
            linear-gradient(to bottom, rgba(255,253,248,.97) 0%, rgba(255,253,248,.92) 54%, rgba(255,253,248,.38) 75%, #fffdf9 100%),
            url('/assets/img/hero-portugal.jpg') center bottom / cover no-repeat;
    }

    .ref-hero-inner {
        min-height: 650px;
        align-items: flex-start;
        padding-top: 42px;
    }

    .ref-hero-copy { width: 100%; }
    .ref-hero h1 { font-size: clamp(46px, 13vw, 68px); }
    .ref-hero-copy > p { max-width: 92%; font-size: 16px; }

    .ref-search {
        grid-template-columns: 25px 1fr;
        padding: 12px 14px;
    }

    .ref-search button {
        grid-column: 1 / -1;
        width: 100%;
        height: 49px;
    }

    .ref-trust-row {
        gap: 13px;
        align-items: stretch;
    }

    .ref-trust-item {
        flex: 1;
        align-items: flex-start;
        gap: 8px;
    }

    .ref-trust-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .ref-trust-item strong { font-size: 10px; }
    .ref-trust-item small { font-size: 9px; }

    .ref-topic-grid,
    .ref-start-grid {
        grid-template-columns: 1fr;
    }

    .ref-topic-card { min-height: 118px; }

    .ref-city-grid {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .ref-city-grid::-webkit-scrollbar { display: none; }
    .ref-city-card { min-width: 145px; width: 145px; }

    .ref-section-heading h2 { font-size: 28px; }
    .ref-view-all { white-space: nowrap; }

    .ref-start-card {
        min-height: 132px;
        grid-template-columns: 54px 1fr;
    }

    .ref-round-arrow { left: auto; right: 18px; bottom: 18px; }

    .ref-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px 20px;
    }

    .ref-footer-brand-col,
    .ref-footer-news {
        grid-column: 1 / -1;
    }
}

@media (max-width: 460px) {
    .container { width: min(100% - 28px, 1180px); }
    .brand-text strong { font-size: 19px; }
    .header-actions { gap: 7px; }
    .search-toggle, .menu-toggle { width: 43px; height: 43px; }

    .ref-hero-inner { min-height: 620px; padding-top: 30px; }
    .ref-hero-badge { font-size: 11px; padding: 8px 12px; }
    .ref-hero h1 { font-size: 48px; }

    .ref-trust-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .ref-trust-item {
        display: block;
        text-align: center;
    }

    .ref-trust-icon { margin: 0 auto 7px; }

    .ref-topic-card {
        grid-template-columns: 54px 1fr 22px;
        gap: 13px;
        padding: 14px;
    }

    .ref-topic-icon { width: 54px; height: 54px; }
    .ref-topic-icon .ui-icon { width: 27px; height: 27px; }
    .ref-topic-copy h3 { font-size: 15px; }
    .ref-topic-copy p { font-size: 11px; }

    .ref-footer-grid { grid-template-columns: 1fr; }
    .ref-footer-brand-col,
    .ref-footer-news { grid-column: auto; }
}

/* =========================================================
   COMUNIDADE / INSTAGRAM - ELIZEU + DAYSE
========================================================= */
.community-instagram {
    padding: 32px 0 64px;
}

.community-instagram-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
    gap: 0;
    border: 1px solid rgba(13, 78, 60, 0.10);
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 10%, rgba(212, 175, 55, 0.12), transparent 25%),
        linear-gradient(135deg, #f8fbf8 0%, #ffffff 54%, #f4f8f3 100%);
    box-shadow: 0 24px 70px rgba(13, 60, 48, 0.10);
}

.community-photo-wrap {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: #dfe9e3;
}

.community-photo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(4, 42, 34, 0.30) 100%);
    pointer-events: none;
}

.community-photo {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    object-position: 50% 42%;
    display: block;
    transition: transform .55s ease;
}

.community-instagram-inner:hover .community-photo {
    transform: scale(1.018);
}

.community-photo-badge {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 999px;
    color: #fff;
    background: rgba(8, 53, 43, .72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(0,0,0,.16);
}

.community-photo-badge .ui-icon {
    width: 17px;
    height: 17px;
}

.community-copy {
    padding: clamp(32px, 5vw, 58px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.community-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #a97816;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.community-copy h2 {
    margin: 0;
    max-width: 620px;
    color: #0b4034;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.community-copy > p {
    margin: 18px 0 24px;
    max-width: 650px;
    color: #607169;
    font-size: 15px;
    line-height: 1.75;
}

.community-profiles {
    display: grid;
    gap: 11px;
}

.community-profile-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #e0e9e4;
    border-radius: 17px;
    background: rgba(255,255,255,.88);
    color: #143f35;
    text-decoration: none;
    box-shadow: 0 7px 24px rgba(18, 67, 54, .05);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.community-profile-card:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 113, 84, .28);
    background: #fff;
    box-shadow: 0 14px 34px rgba(13, 78, 60, .10);
}

.community-profile-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(145deg, #0a6c52, #084939);
    box-shadow: 0 8px 18px rgba(6, 89, 67, .18);
}

.community-profile-icon .ui-icon {
    width: 20px;
    height: 20px;
}

.community-profile-text {
    min-width: 0;
}

.community-profile-text strong,
.community-profile-text small {
    display: block;
}

.community-profile-text strong {
    color: #103f34;
    font-size: 14px;
    line-height: 1.2;
}

.community-profile-text small {
    margin-top: 4px;
    color: #829089;
    font-size: 11px;
    line-height: 1.35;
}

.community-profile-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0b6b51;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.community-note {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #53665e;
    font-size: 11px;
    font-weight: 700;
}

.community-note .ui-icon {
    width: 17px;
    height: 17px;
    color: #b58320;
}

.community-instagram-article {
    padding-top: 0;
    padding-bottom: 54px;
}

.community-instagram-article .community-instagram-inner {
    max-width: 1180px;
}

.ref-social-row-instagram {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.ref-social-row-instagram a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid rgba(240, 202, 111, .42);
    border-radius: 999px;
    color: #f4d77d;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease, color .2s ease;
}

.ref-social-row-instagram a:hover {
    transform: translateY(-1px);
    background: rgba(240, 202, 111, .10);
    color: #ffe6a2;
}

.ref-social-row-instagram a .ui-icon {
    width: 16px;
    height: 16px;
}

@media (max-width: 850px) {
    .community-instagram {
        padding: 22px 0 48px;
    }

    .community-instagram-inner {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .community-photo-wrap,
    .community-photo {
        min-height: 360px;
        max-height: 440px;
    }

    .community-copy {
        padding: 30px 24px 32px;
    }
}

@media (max-width: 520px) {
    .community-instagram-inner {
        border-radius: 20px;
    }

    .community-photo-wrap,
    .community-photo {
        min-height: 320px;
    }

    .community-photo {
        object-position: 52% 42%;
    }

    .community-copy {
        padding: 26px 18px 24px;
    }

    .community-copy h2 {
        font-size: 31px;
    }

    .community-copy > p {
        font-size: 13px;
    }

    .community-profile-card {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .community-profile-action {
        grid-column: 2;
        justify-self: start;
        margin-top: -4px;
    }
}
