/*
   Vem de fora? (#vem-de-fora .travel) 
*/

#vem-de-fora.travel {
    position: relative;
    isolation: isolate;
    z-index: 1;
    display: block;
    height: 330px;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: #ead7c8;
    color: var(--wine);
    font-family: var(--font-primary);
    line-height: 1.5;
    letter-spacing: normal;
    scroll-margin-top: 76px;
}
#vem-de-fora h2,
#vem-de-fora p { margin: 0; color: inherit; }

#vem-de-fora .sky-photo {
    position: absolute;
    inset: 0;
    z-index: -1;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

#vem-de-fora .travel-copy {
    position: absolute;
    left: 63%;
    top: 50%;
    transform: translateY(-50%);
    width: 33%;
    max-width: 450px;
}
#vem-de-fora .eyebrow {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: calc(.14em + var(--track-caps));
    margin: 0 0 13px;
}
#vem-de-fora h2 {
    font-family: var(--font-primary);
    font-size: clamp(43px, 4.25vw, 61px);
    font-weight: 300;
    line-height: 1.03;
    letter-spacing: calc(-.04em + var(--track-300));
    white-space: nowrap;
    text-transform: none;
    margin: 0 0 15px;
}
/* Bodoni italico 600 (arquivo bold-italic de mbnf/css/fonts.css), como no preview. */
#vem-de-fora h2 em {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 600;
    font-size: 1.08em;
    letter-spacing: -.04em;
}
#vem-de-fora .intro {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: var(--track-400);
    max-width: 330px;
    margin: 0 0 23px;
}

/* Botoes Hospedagem / Como chegar */
#vem-de-fora .links { display: flex; gap: 12px; max-width: 380px; }
#vem-de-fora .links a {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    min-height: 47px;
    padding: 11px 12px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: var(--track-400);
    text-align: left;
    background: transparent;
    color: var(--wine);
    border: 1px solid transparent;
    border-bottom-color: #54162866;
    border-radius: 0;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .22s, color .22s, border-color .22s, border-radius .22s;
}
#vem-de-fora .links a:hover,
#vem-de-fora .links a:focus-visible {
    background: #781135;
    color: #fff3e9;
    border-color: #781135;
    border-radius: 6px;
}
#vem-de-fora .links a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
#vem-de-fora .links svg {
    flex: none;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
#vem-de-fora .links a span { margin-left: auto; font-size: 21px; line-height: 1; }

#vem-de-fora .meta {
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: calc(.08em + var(--track-caps));
    margin-top: 18px;
    opacity: .8;
}

@media (min-width: 701px) and (max-width: 1000px) {
    #vem-de-fora .travel-copy { left: 61%; width: 35%; }
    #vem-de-fora h2 { font-size: 40px; }
    #vem-de-fora .intro { font-size: 14px; }
    #vem-de-fora .links { gap: 8px; }
    #vem-de-fora .links a { font-size: 12px; padding: 12px 10px; gap: 6px; }
    #vem-de-fora .links svg { width: 16px; height: 16px; }
}

@media (max-width: 700px) {
    #vem-de-fora.travel {
        display: flex;
        flex-direction: column;
        gap: 0;
        height: auto;
    }
    #vem-de-fora .travel-copy {
        position: relative;
        inset: auto;
        z-index: 1;
        transform: none;
        width: 100%;
        max-width: none;
        padding: 32px 7vw 26px;
    }
    #vem-de-fora .eyebrow { font-size: 9px; letter-spacing: calc(.12em + var(--track-caps)); }
    #vem-de-fora h2 { font-size: clamp(39px, 10vw, 49px); line-height: 1.04; white-space: normal; }
    /* preview: max-width 300px; +20px porque a Inter e um pouco mais larga que a Neue e
       a frase quebrava em 2 linhas (no preview cabe em 1). */
    #vem-de-fora .intro { font-size: 15px; max-width: 320px; margin-bottom: 19px; }
    #vem-de-fora .links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        width: 100%;
        max-width: none;
    }
    #vem-de-fora .links a {
        min-height: 44px;
        padding: 12px 0;
        font-size: 12px;
        gap: 7px;
        border-bottom-color: #54162840;
    }
    #vem-de-fora .links svg { width: 16px; height: 16px; }
    #vem-de-fora .links a span { font-size: 19px; }
    #vem-de-fora .meta { font-size: 11px; line-height: 1.6; letter-spacing: calc(.035em + var(--track-caps)); }
    #vem-de-fora .sky-photo {
        position: relative;
        inset: auto;
        z-index: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 1.65;
        object-position: left center;
    }
}
@media (max-width: 360px) {
    #vem-de-fora .links a { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    #vem-de-fora .links a { transition: none; }
}
