body {
  min-height:100vh;
  color:#102f40;
  background-color:#f1e9d8;
  background-image:linear-gradient(100deg,rgba(251,247,237,.79),rgba(248,243,231,.41)),url("carta-atlantica.svg");
  background-position: center top;
  background-size:auto, max(100%,1080px) auto;
}
header {border-color:#ae9974;padding-block:.65rem}
header img,.guide-head img {mix-blend-mode:multiply}
header nav a {text-decoration:none;font-weight:600}
header nav a:hover,.guide-head nav a:hover {text-decoration:underline}
.hero {padding-block:clamp(3rem,7vw,7rem);gap:5%}
.hero h1 {letter-spacing:-.055em;font-size:clamp(3.9rem,8vw,7.6rem)}
.hero p {max-width:36ch}
.hero img {border:1px solid #aa956b;box-shadow:0 12px 35px #493b231f;outline:1px solid #aa956b;outline-offset:6px}
.edition {color:#fff3dc;background:#123949 linear-gradient(110deg,#103647 25%,#204858dc),url("carta-atlantica.svg");background-image:linear-gradient(100deg,#123746f8,#123746db),url("carta-atlantica.svg");background-size:cover;border-color:#bc9556}
.edition a {color:inherit}.edition .label {color:#f3cd8e}
.partners form,.cards article,.food-grid article {background:#faf6ecef}
.partners form {border:1px solid #ccbda1;padding:clamp(1rem,3vw,2.3rem)}
#alfama-guide {background:transparent}
#alfama-guide section {background:#fbf6e9e8;padding:clamp(1rem,3vw,2rem)}
.guide-head nav a {background:#faf6eaeb}
footer {border-color:#ae9974}
@media(max-width:700px){body{background-size:auto,860px auto;background-position:54% top}.hero{padding-block:2.4rem}.hero img{max-height:none}.hero h1{font-size:clamp(3.6rem,15vw,5rem)}header{gap:1rem}header nav{justify-content:flex-end;column-gap:1rem;row-gap:.3rem}.partners{gap:1.2rem}}
.trade{display:inline-block;margin:.75rem .5rem}.conv{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center;gap:1.5rem}.navio{position:relative;background:linear-gradient(#fbf3de88,#fbf3de99),url(carta-atlantica.svg) center/cover;border-radius:.45rem}.navio>img{display:block;width:100%}.pin{position:absolute;background:transparent;padding:0;width:clamp(23px,3vw,34px);height:34px;transform:translate(-50%,-50%);display:grid;place-items:center}.pin:after{content:'';width:12px;height:12px;border:2px solid #fff3c9;border-radius:100%;background:#c69433;box-shadow:0 0 0 2px #503613}.pin[aria-pressed=true]:after{background:#ffdf80;outline:2px solid white;outline-offset:4px}.pecas{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin}.peca{flex:0 0 100%;scroll-snap-align:start;display:flex;align-items:center;gap:1rem;padding:.65rem;box-sizing:border-box}.peca img{width:32%;border-radius:.3rem}.peca h3{font:normal clamp(1.6rem,3vw,2.4rem)/1.1 Georgia,serif;margin:0}.peca p{margin:.65rem 0}.trocar,.rota{display:flex;justify-content:center;align-items:center;gap:.8rem;margin:1rem 0}.trocar button{background:transparent;color:inherit;border:1px solid #c5a873;padding:.45rem .7rem}.rota{justify-content:flex-end}.rota svg{width:min(32%,220px);fill:none;stroke:#e87858;stroke-width:2}.rota circle{fill:#e87858}.rota .btn{border:1px solid #c5a873}@media(max-width:740px){.conv{grid-template-columns:minmax(0,1fr)}.edition{padding-inline:1rem}.peca img{max-height:140px;object-fit:contain}}

.hero .label {display:flex;align-items:center;gap:.65rem}
.sail-cross {position:relative;width:24px;height:24px;background:#ad352c;clip-path:polygon(24% 0,76% 0,64% 18%,64% 36%,82% 36%,100% 24%,100% 76%,82% 64%,64% 64%,64% 82%,76% 100%,24% 100%,36% 82%,36% 64%,18% 64%,0 76%,0 24%,18% 36%,36% 36%,36% 18%)}
.sail-cross::after {content:"";position:absolute;inset:15%;background:#fff7e5;clip-path:polygon(45% 0,55% 0,55% 45%,100% 45%,100% 55%,55% 55%,55% 100%,45% 100%,45% 55%,0 55%,0 45%,45% 45%)}
.pin {width:44px;height:44px;border-radius:50%}
.pin::after,.pin[aria-pressed=true]::after {width:15px;height:15px;background:#dc4840;border:2px solid white;box-shadow:0 0 0 1px #773028}
.pin[aria-pressed=true]::after {outline:2px solid white;outline-offset:3px}
.peca {flex-direction:column;justify-content:center;text-align:center;padding:1rem}
.zoom-piece {display:grid;justify-items:center;gap:.4rem;background:transparent;color:inherit;padding:.25rem;cursor:zoom-in}
.zoom-piece img {width:auto;max-width:100%;height:auto;max-height:230px;border-radius:0}
.zoom-piece span {font-size:.875rem;text-decoration:underline;text-underline-offset:3px}
#piece-dialog {width:min(90vw,540px);max-height:90dvh;border:0;border-radius:6px;padding:1.5rem;color:#15394a;background:#fff9ed;text-align:center}
#piece-dialog::backdrop {background:#0b2734dc}
#piece-dialog button {display:block;margin-left:auto}
#piece-dialog h2 {font-size:2rem;margin:.5rem}
#piece-dialog img {max-height:60dvh;max-width:90%;width:auto;height:auto}
.guide-shortcuts {display:flex;flex-wrap:wrap;gap:.65rem}
#alfama-guide .guide-shortcuts a {padding:.65rem 1rem;background:#15394a;color:white;border-radius:3px;text-decoration:none}
@media(max-width:700px){
 .hero {grid-template-areas:"name" "label" "photo" "copy" "button" "trade";gap:.85rem}
 .hero>div {display:contents}
 .hero .label {grid-area:label;justify-self:start;margin-inline:0}.hero h1 {grid-area:name;margin:0}
 .hero>img {grid-area:photo;margin:.35rem auto;width:95%}
 .hero p {grid-area:copy;margin:.3rem 0}.hero .btn {grid-area:button;margin:0;justify-self:start}
 .hero .trade {grid-area:trade;margin:0;justify-self:start}
 .guide-shortcuts {display:grid;grid-template-columns:1fr}
}
.hero>img {height:auto}
#piece-dialog img {width:min(72vw,330px);height:min(55dvh,460px);object-fit:contain}.detalhes,.conv>* {min-width:0}

.view-label {background:transparent;color:inherit;border:1px solid #c5a873;padding:.45rem 1rem;margin-top:.25rem}
#piece-dialog img {width:auto;height:auto;max-height:68dvh;max-width:100%;object-fit:contain}

.guide-head nav.edition-languages{display:flex;flex-wrap:wrap;gap:.45rem}
.guide-head nav.edition-languages a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;padding:.5rem;min-width:4.6rem}
.guide-head nav.edition-languages img{width:2.6rem;height:1.75rem;object-fit:contain;mix-blend-mode:normal}

@media (max-width: 700px) {
  .alfama-visitor-guide .guide-head nav.edition-languages img {
    width: 1.456rem;
    height: 0.98rem;
  }
}

@media (min-width: 701px) {
  .alfama-visitor-guide .guide-head > a img[alt="Luso Heritage"] {
    width: 108px;
  }
  .alfama-visitor-guide .guide-head nav.edition-languages img {
    width: 2.08rem;
    height: 1.4rem;
  }
}

.kit-contents { padding-inline-start: 1.4em; list-style: none; }
.kit-contents li { margin-block: 1em; }
#revenda.partners {
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
#revenda.partners > * {
  box-sizing: border-box;
  width: min(100%, 44rem);
}

@media (max-width:700px) {
  #alfama-guide .guide-head {
    display:grid;
    grid-template-columns: minmax(0,1fr) auto;
    column-gap: .4rem;
    justify-items:center;
    padding-block:18px 10px;
  }
  #alfama-guide .guide-head > a:first-child {padding:0;grid-column:1 / -1;}
  #alfama-guide .guide-head > a:first-child img {width:88.44px;height:auto;}
  #alfama-guide .guide-head > .site-home {justify-self:end;margin:0;}
  #alfama-guide .guide-head > nav {justify-content:center;max-width:100%;}
}

.guide-language-short {display:none;}
@media screen {
  #alfama-guide .guide-head nav.edition-languages {display:flex;justify-content:center;flex-wrap:wrap;gap:.45rem;}
  #alfama-guide .guide-head nav.edition-languages a {flex-direction:row;gap:.35rem;min-width:0;min-height:44px;padding:0 .45rem;border:0;background:transparent;font-weight:600;text-decoration:none;}
  #alfama-guide .guide-head nav.edition-languages img {width:23px;height:16px;margin:0;}
  #alfama-guide .guide-head nav a[aria-current] {text-decoration:underline;text-underline-offset:.3rem;}
  .guide-language-short {display:inline;}
  .guide-language-full {display:none;}
}

.guide-head .guide-collection-link {display:none;}
@media (max-width:700px) {
  #alfama-guide .guide-head > .guide-collection-link {
    display:inline-flex;align-items:center;min-height:44px;
    box-sizing:border-box;padding:.25rem .4rem;margin-inline-end:8px;
    font-weight:600;
  }
}

.guide-kits { position: relative; }
@media (min-width: 701px) {
  #alfama-guide .guide-head > .site-home { margin-left: auto; margin-right: 1rem; }
}
#alfama-guide .guide-kits > .guide-collection-link {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 600;
}
.guide-kit-options { display: none; }
@media (min-width: 701px) {
  .guide-kits:is(:hover, :focus-within) > .guide-kit-options { display: grid; }
  .guide-kit-options {
    position: absolute; z-index: 20; top: 100%; right: 0; width: max-content;
    padding: .35rem; background: #fffaf0; border: 1px solid #c6b59b;
    border-radius: .35rem; box-shadow: 0 4px 14px #0002;
  }
  #alfama-guide .guide-kit-options a { padding: .65rem .85rem; }
  .guide-kit-options a:is(:hover, :focus-visible) { background: #eee3ce; }
}
@media (max-width: 700px) {
  #alfama-guide .guide-kits { grid-column: 2; justify-self: start; }
}
