/* Búzios: a viagem. A estrada nasce no hero (marcador de partida + carro parado) e serpenteia pela página; o carro segue o scroll. Cor do lugar: mar #0E8C8C (texto sobre fundo usa a versão escura). */
[data-layout="buzios-viagem"]{--bv-sea:#0E8C8C;--bv-sea-d:#0a6b6b;--bv-rail:3rem}

/* A viagem: contêiner de tudo (hero + estrada) */
[data-layout="buzios-viagem"] .bv-trip{position:relative;background:var(--mist);overflow-x:clip}
[data-layout="buzios-viagem"] .bv-road{position:absolute;left:0;top:0;z-index:1;display:none;overflow:visible;pointer-events:none}
[data-layout="buzios-viagem"] .bv-trip.is-ready .bv-road{display:block}
[data-layout="buzios-viagem"] .bv-edge{fill:none;stroke:#fff;stroke-width:20;stroke-linecap:round}
[data-layout="buzios-viagem"] .bv-bed{fill:none;stroke:var(--navy);stroke-width:16;stroke-linecap:round}
[data-layout="buzios-viagem"] .bv-eixo{fill:none;stroke:#fff;stroke-width:2;stroke-dasharray:9 11}
[data-layout="buzios-viagem"] .bv-rota{fill:none;stroke:var(--red);stroke-width:3.5;stroke-linecap:round}
[data-layout="buzios-viagem"] .bv-car{position:absolute;left:0;top:0;z-index:4;display:none;width:2.3rem;pointer-events:none;transform:translate(calc(var(--cx,0px) - 50%),calc(var(--cy,0px) - 50%)) rotate(var(--ca,90deg));will-change:transform}
[data-layout="buzios-viagem"] .bv-car svg{display:block;width:100%;height:auto}
[data-layout="buzios-viagem"] .bv-trip.is-ready .bv-car{display:block}

/* Hero: a estrada começa aqui */
[data-layout="buzios-viagem"] .bv-hero{position:relative;overflow:hidden;color:#fff;background:var(--navy);padding:calc(var(--hh0) + 1.25rem) 0 4.5rem}
[data-layout="buzios-viagem"] .bv-hero--plain{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='260' viewBox='0 0 520 260' fill='none' stroke='%230E8C8C' stroke-opacity='.45' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M-10 70C90 30 170 110 260 70S430 30 530 70'/%3E%3Cpath d='M-10 150C90 110 170 190 260 150S430 110 530 150'/%3E%3Cpath d='M-10 230C90 190 170 270 260 230S430 190 530 230'/%3E%3C/svg%3E") center/520px 260px,var(--navy)}
[data-layout="buzios-viagem"] .bv-hero-media{position:absolute;inset:0;z-index:0}
[data-layout="buzios-viagem"] .bv-hero-media img{display:block;width:100%;height:100%;object-fit:cover}
[data-layout="buzios-viagem"] .bv-hero-media::after{content:"";position:absolute;inset:0;background:rgba(7,29,54,.72)}
[data-layout="buzios-viagem"] .bv-hero :focus-visible,[data-layout="buzios-viagem"] .bv-arrive :focus-visible{outline-color:#fff}
[data-layout="buzios-viagem"] .bv-hero-in{position:relative;padding-left:.75rem;padding-right:1rem}
[data-layout="buzios-viagem"] .bv-hero h1{color:#fff;margin:0;font-size:clamp(1.8rem,7.2vw,2.9rem);font-style:italic;font-stretch:108%;line-height:1.08;max-width:44rem;text-wrap:balance}
[data-layout="buzios-viagem"] .bv-crumbs{margin-bottom:.8rem}
[data-layout="buzios-viagem"] .bv-lead{font-size:1.08rem;line-height:1.5;max-width:40rem;margin:.3rem 0 0;padding-left:var(--bv-rail);color:rgba(255,255,255,.95)}
[data-layout="buzios-viagem"] .bv-lead p{margin:0}
[data-layout="buzios-viagem"] .bv-hero-cta{margin:1.3rem 0 0;padding-left:var(--bv-rail)}
[data-layout="buzios-viagem"] .bv-shore{position:absolute;left:0;bottom:-1px;width:100%;height:3rem;display:block}
[data-layout="buzios-viagem"] .bv-shore-b{fill:var(--bv-sea)}
[data-layout="buzios-viagem"] .bv-shore-f{fill:var(--mist)}

/* Largada: partida (pino) + placa dos fatos, em estilo de sinalização de estrada */
[data-layout="buzios-viagem"] .bv-start{position:relative;z-index:3;display:flex;flex-direction:column-reverse;margin:1.1rem 0 0;padding-left:var(--bv-rail)}
[data-layout="buzios-viagem"] .bv-sign,[data-layout="buzios-viagem"] .bv-arrive-f{list-style:none;margin:0;padding:0}
[data-layout="buzios-viagem"] .bv-sign{position:relative;max-width:26rem;padding:.5rem .55rem;background:var(--bv-sea-d);border-radius:10px;outline:3px solid #fff;outline-offset:-7px}
[data-layout="buzios-viagem"] .bv-sign li,[data-layout="buzios-viagem"] .bv-arrive-f li{display:grid;grid-template-columns:auto 1fr;column-gap:.85rem;align-items:center;min-width:0}
[data-layout="buzios-viagem"] .bv-sign li{padding:.6rem .95rem}
[data-layout="buzios-viagem"] .bv-sign li+li{border-top:2px solid rgba(255,255,255,.4)}
[data-layout="buzios-viagem"] .bv-sign .ms,[data-layout="buzios-viagem"] .bv-arrive-f .ms{grid-row:1/span 3;font-size:1.7rem;color:#bff0f0}
[data-layout="buzios-viagem"] .bv-f-l{font-size:.85rem;line-height:1.3}
[data-layout="buzios-viagem"] .bv-sign strong,[data-layout="buzios-viagem"] .bv-arrive-f strong{font:800 1.4rem/1.15 var(--f-head);font-stretch:96%;color:#fff}
[data-layout="buzios-viagem"] .bv-sign strong small,[data-layout="buzios-viagem"] .bv-arrive-f strong small{font:400 .82rem var(--f-body)}
[data-layout="buzios-viagem"] .bv-f-s{font-size:.82rem}

/* A estrada: paradas e seções */
[data-layout="buzios-viagem"] .bv-legs{position:relative;z-index:2;list-style:none;margin:0;padding:2rem .75rem 1rem calc(.75rem + var(--bv-rail))}
[data-layout="buzios-viagem"] .bv-legs::before{content:"";position:absolute;top:0;bottom:0;left:calc(.75rem + var(--bv-rail)/2 - 1.5px);width:3px;background:repeating-linear-gradient(180deg,var(--navy) 0 10px,transparent 10px 20px)}
[data-layout="buzios-viagem"] .bv-trip.is-ready .bv-legs::before{display:none}
[data-layout="buzios-viagem"] .bv-leg{min-width:0}
[data-layout="buzios-viagem"] .bv-stop{position:relative;display:flex;align-items:center;min-height:2.75rem;margin:2rem 0 .9rem}
[data-layout="buzios-viagem"] .bv-pin{position:absolute;left:-2.7rem;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:2.4rem;height:2.4rem;border-radius:50%;background:#fff;border:3px solid var(--navy);color:var(--navy);transition:background-color .35s,color .35s,border-color .35s}
[data-layout="buzios-viagem"] .bv-pin .ms{font-size:1.3rem}
[data-layout="buzios-viagem"] .bv-stop.is-passed .bv-pin{background:var(--bv-sea-d);border-color:var(--bv-sea-d);color:#fff}
[data-layout="buzios-viagem"] .bv-stop-name{margin:0;font:800 1.1rem/1.2 var(--f-head);font-stretch:108%;color:var(--navy);background:#fff;border:2px solid var(--navy);border-radius:6px;padding:.35rem .75rem}
[data-layout="buzios-viagem"] .bv-stop--end .bv-stop-name{background:var(--bv-sea-d);border-color:var(--bv-sea-d);color:#fff}
[data-layout="buzios-viagem"] .bv-stop--start{margin:0 0 .9rem}

[data-layout="buzios-viagem"] .bv-secs{display:flex;flex-direction:column;min-width:0}
[data-layout="buzios-viagem"] .bv-sec{position:relative;min-width:0;background:#fff;border:1px solid var(--line);border-left:6px solid var(--bv-sea);border-radius:4px 14px 14px 4px;padding:1.1rem 1.1rem 1.25rem;margin:0 0 1.3rem;overflow-wrap:anywhere}
[data-layout="buzios-viagem"] .bv-sec h2{font-size:clamp(1.2rem,4.2vw,1.55rem);margin:0 0 .5rem;text-wrap:balance}
[data-layout="buzios-viagem"] .bv-sec .sec-body>*:first-child{margin-top:.4rem}
[data-layout="buzios-viagem"] .bv-sec p{margin:.65rem 0;max-width:68ch}
[data-layout="buzios-viagem"] .bv-sec ul{padding-left:1.2rem}
[data-layout="buzios-viagem"] .bv-sec .refs{padding-left:0}
[data-layout="buzios-viagem"] .bv-secs .bv-sec::before{content:"";position:absolute;left:calc(-1.7rem - 6px);top:1.55rem;width:1.7rem;border-top:3px dotted var(--bv-sea)}

/* Chegada */
[data-layout="buzios-viagem"] .bv-arrive{background:var(--bv-sea-d);color:#fff;border-radius:18px;padding:1.3rem 1.2rem 1.5rem;margin:0 0 2.5rem}
[data-layout="buzios-viagem"] .bv-arrive-f{display:grid;gap:1rem}
[data-layout="buzios-viagem"] .bv-arrive-f strong{font-size:1.65rem}
[data-layout="buzios-viagem"] .bv-arrive-cta{margin:1.4rem 0 0}

/* Depois da chegada: FAQ e Veja também */
[data-layout="buzios-viagem"] .bv-beach{background:#fff;padding:clamp(2.5rem,6vw,4.5rem) 0}
[data-layout="buzios-viagem"] .bv-beach-in{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(2.5rem,6vw,4rem);max-width:60rem}
[data-layout="buzios-viagem"] .bv-after{min-width:0}
[data-layout="buzios-viagem"] .bv-after h2{font-size:clamp(1.4rem,4.4vw,2rem);margin:0 0 1rem;padding-bottom:.6rem;border-bottom:4px solid var(--bv-sea);display:inline-block}

@media (min-width:640px){
  [data-layout="buzios-viagem"] .bv-arrive-f{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}
  [data-layout="buzios-viagem"] .bv-arrive-f li{grid-template-columns:1fr;row-gap:.15rem}
  [data-layout="buzios-viagem"] .bv-arrive-f .ms{grid-row:auto}
}

@media (min-width:900px){
  [data-layout="buzios-viagem"]{--bv-rail:0px}
  [data-layout="buzios-viagem"] .bv-hero{padding:calc(var(--hh0) + 2rem) 0 5.5rem}
  [data-layout="buzios-viagem"] .bv-shore{height:4rem}
  [data-layout="buzios-viagem"] .bv-hero-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,25rem);column-gap:3rem;align-content:start;max-width:80rem;padding:0 1rem}
  [data-layout="buzios-viagem"] .bv-crumbs,[data-layout="buzios-viagem"] .bv-hero h1,[data-layout="buzios-viagem"] .bv-lead,[data-layout="buzios-viagem"] .bv-hero-cta{grid-column:1}
  [data-layout="buzios-viagem"] .bv-start{grid-column:2;grid-row:1/span 4;align-self:end;flex-direction:column;margin:0}
  [data-layout="buzios-viagem"] .bv-sign{width:100%;max-width:none}
  [data-layout="buzios-viagem"] .bv-sign::before,[data-layout="buzios-viagem"] .bv-sign::after{content:"";position:absolute;top:100%;width:.5rem;height:1.6rem;background:#8fa0b3}
  [data-layout="buzios-viagem"] .bv-sign::before{left:14%}
  [data-layout="buzios-viagem"] .bv-sign::after{right:14%}
  [data-layout="buzios-viagem"] .bv-stop--start{justify-content:flex-start;margin:1.8rem 0 0;padding-left:.6rem;min-height:3.4rem}
  [data-layout="buzios-viagem"] .bv-stop--start .bv-stop-name{position:static;transform:none;margin-left:1.1rem;background:#fff}
  [data-layout="buzios-viagem"] .bv-legs{max-width:80rem;margin:0 auto;padding:1.5rem 1rem 1rem}
  [data-layout="buzios-viagem"] .bv-legs::before{left:calc(50% - 1.5px)}
  [data-layout="buzios-viagem"] .bv-edge{stroke-width:35}
  [data-layout="buzios-viagem"] .bv-bed{stroke-width:30}
  [data-layout="buzios-viagem"] .bv-eixo{stroke-width:3;stroke-dasharray:14 16}
  [data-layout="buzios-viagem"] .bv-rota{stroke-width:5}
  [data-layout="buzios-viagem"] .bv-car{width:3rem}
  [data-layout="buzios-viagem"] .bv-leg{display:flex;flex-direction:column}
  [data-layout="buzios-viagem"] .bv-stop{justify-content:center;margin:3.2rem 0 1.6rem;min-height:3.4rem}
  [data-layout="buzios-viagem"] .bv-pin{position:relative;left:auto;top:auto;transform:none;width:3.2rem;height:3.2rem;border-width:4px}
  [data-layout="buzios-viagem"] .bv-pin .ms{font-size:1.5rem}
  [data-layout="buzios-viagem"] .bv-stop-name{position:absolute;top:50%;left:calc(50% + 2.4rem);transform:translateY(-50%);white-space:nowrap;font-size:1.25rem;padding:.45rem .95rem}
  [data-layout="buzios-viagem"] .bv-stop--r .bv-stop-name{left:auto;right:calc(50% + 2.4rem)}
  [data-layout="buzios-viagem"] .bv-secs .bv-sec{width:calc(50% - 5.5rem);padding:1.4rem 1.6rem 1.6rem}
  [data-layout="buzios-viagem"] .bv-sec+.bv-sec{margin-top:-1.4rem}
  [data-layout="buzios-viagem"] .bv-l{align-self:flex-start;border-left:1px solid var(--line);border-right:6px solid var(--bv-sea);border-radius:14px 4px 4px 14px}
  [data-layout="buzios-viagem"] .bv-r{align-self:flex-end}
  [data-layout="buzios-viagem"] .bv-secs .bv-l::before{left:auto;right:calc(-2.6rem - 6px);width:2.6rem}
  [data-layout="buzios-viagem"] .bv-secs .bv-r::before{left:-2.6rem;width:2.6rem}
  [data-layout="buzios-viagem"] .bv-arrive{align-self:center;width:min(100%,50rem);padding:1.8rem 2rem 2rem;margin-bottom:3rem}
}
@media (min-width:1300px){
  [data-layout="buzios-viagem"] .bv-hero-in,[data-layout="buzios-viagem"] .bv-legs{max-width:88rem}
  [data-layout="buzios-viagem"] .bv-secs .bv-sec{width:calc(50% - 6.5rem)}
  [data-layout="buzios-viagem"] .bv-secs .bv-sec--table{width:calc(50% - 3.5rem)}
}
@media (prefers-reduced-motion:reduce){
  [data-layout="buzios-viagem"] .bv-pin{transition:none}
}
