/* ==========================================================================
   Configurações Globais e Tipografia (Padrão Airbnb)
   ========================================================================== */

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Circular, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
    line-height: 1.43;
    color: #222222;
    background: #ffffff;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}


/* ==========================================================================
   Hero Section / Banner Principal
   ========================================================================== */

.hero {
    min-height: 480px;
    display: flex;
    align-items: center;
    color: #ffffff;
    background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.45)), url('imagens/bertioga-capa.webp') center/cover no-repeat;
    border-radius: 12px;
    margin-top: 20px;
}

.hero-content {
    max-width: 550px;
    padding: 48px 0;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.hero-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.12;
    margin: 0 0 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 18px;
    line-height: 24px;
    margin: 0 0 24px;
    font-weight: 400;
}


/* Botão de Destaque (Tom de Transição do Airbnb) */

.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: #e61e4d;
    /* Cor Assinatura Airbnb */
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    background: #d90b3e;
}

.btn-primary:active {
    transform: scale(0.96);
}


/* ==========================================================================
   Quick Navigation (Filtros de Categoria Estilo Airbnb)
   ========================================================================== */

.quick-nav {
    margin-top: 32px;
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 16px;
}

.quick-nav-box {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 4px 0;
}


/* Remove a barra de rolagem visual mantendo a funcionalidade */

.quick-nav-box::-webkit-scrollbar {
    display: none;
}

.quick-nav a {
    padding: 4px 0 12px 0;
    color: #717171;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
}

.quick-nav a:hover {
    color: #222222;
    border-bottom: 2px solid #717171;
}


/* ==========================================================================
   Main Content & Seções de Títulos
   ========================================================================== */

main {
    padding: 40px 0;
}

.section-title {
    font-size: 26px;
    line-height: 30px;
    color: #222222;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 16px;
    line-height: 20px;
    color: #717171;
    margin: 0 0 32px;
}


/* Conteinerizados planos e limpos, sem caixas pesadas */

.intro-card,
.seo-box {
    background: #ffffff;
    border-radius: 0;
    padding: 24px 0;
    border: none;
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 24px;
}


/* ==========================================================================
   Grades de Conteúdo e Cartões de Experiência (Roteiros)
   ========================================================================== */

.route-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 colunas em telas cheias */
    column-gap: 24px;
    row-gap: 40px;
    margin-top: 16px;
}

.route-card {
    background: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.route-image {
    width: 100%;
    aspect-ratio: 20 / 19;
    /* Proporção padrão do card Airbnb */
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-color: #f7f7f7;
}

.route-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.route-card:hover .route-image img {
    opacity: 0.9;
}

.route-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ffffff;
    color: #222222;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-transform: capitalize;
}

.route-content {
    padding: 12px 0 0 0;
    display: flex;
    flex-direction: column;
}

.route-content h3 {
    color: #222222;
    font-size: 15px;
    line-height: 19px;
    margin: 0 0 4px;
    font-weight: 600;
}

.route-content p {
    font-size: 14px;
    line-height: 18px;
    color: #717171;
    margin: 0 0 6px;
}

.route-link {
    color: #222222;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
}


/* ==========================================================================
   Intenções de Uso (Cards de Perfil de Grupo)
   ========================================================================== */

.intent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.intent-card {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 12px;
    padding: 16px;
    border-left: 1px solid #dddddd;
    /* Remove a borda grossa anterior */
    transition: box-shadow 0.2s ease;
}

.intent-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.intent-card h3 {
    margin: 0 0 6px;
    color: #222222;
    font-size: 16px;
    font-weight: 600;
}

.intent-card p {
    margin: 0;
    font-size: 14px;
    line-height: 18px;
    color: #717171;
}


/* ==========================================================================
   Bloco Comercial (CTA do Anfitrião/Guia)
   ========================================================================== */

.commercial-box {
    background: #f7f7f7;
    color: #222222;
    border-radius: 12px;
    padding: 36px;
    border: none;
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.commercial-box h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.commercial-box p {
    font-size: 16px;
    color: #717171;
    margin: 0 0 20px;
}

.commercial-box .btn {
    background: #222222;
    color: #ffffff;
}

.commercial-box .btn:hover {
    background: #000000;
}


/* ==========================================================================
   Rodapé (Footer Minimalista)
   ========================================================================== */

.back-top {
    text-align: center;
    padding: 24px 0;
    font-size: 14px;
    border-top: 1px solid #e7e7e7;
}

.back-top a {
    color: #717171;
}

footer {
    background: #f7f7f7;
    color: #222222;
    text-align: left;
    padding: 48px 0;
    font-size: 14px;
    border-top: 1px solid #e7e7e7;
}


/* ==========================================================================
   Media Queries & Responsividade Adaptativa
   ========================================================================== */

@media (max-width: 1128px) {
    .route-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 950px) {
    .route-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .intent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 743px) {
    .container {
        padding: 0 24px;
    }
    .hero {
        padding: 0 12px;
        border-radius: 0;
        margin-top: 0;
    }
    .route-grid,
    .intent-grid {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }
    .commercial-box {
        padding: 24px;
    }
    .section-title {
        font-size: 22px;
    }
}