:root {
  color-scheme: light;
  --paper: #fffaf2;
  --cream: #fff1da;
  --ink: #33221e;
  --wine: #781d31;
  --deep: #541323;
  --rust: #9a422c;
  --body: #54403b;
  --line: #e2c8b6;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
img { max-width: 100%; display: block; }
p { line-height: 1.65; }
h1, h2, h3, p { margin: 0; }
h2, h3 { font-family: var(--serif); font-weight: 500; }
h2 { font-size: clamp(2.65rem, 5.15vw, 5.2rem); line-height: .99; letter-spacing: -.055em; text-wrap: balance; }
h2 em { color: var(--rust); font-weight: inherit; }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.04; letter-spacing: -.035em; }
:focus-visible { outline: 3px solid #a54b2e; outline-offset: 4px; }
.skip { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 12px 16px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.wrap { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.header { position: sticky; top: 0; z-index: 4; background: var(--paper); border-bottom: 1px solid #ead8c5; }
.head { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 83px; height: auto; }
.brand span { padding-left: 11px; border-left: 1px solid var(--line); color: var(--wine); font: 600 .9rem/.99 var(--serif); }
nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 37px); }
nav a { text-decoration: none; font-size: .93rem; font-weight: 600; white-space: nowrap; }
nav a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 14px 22px; min-height: 52px; border-radius: 100px; background: var(--wine); color: #fff8ec; font-weight: 700; font-size: .95rem; line-height: 1.3; text-decoration: none; transition: background .18s ease; }
.button:hover { background: var(--deep); }
.button-small { min-height: 42px; padding: 9px 17px; font-size: .87rem; white-space: nowrap; }
.text-link { color: var(--wine); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; line-height: 1.5; }
.text-link:hover { color: var(--deep); }
.hero { background: #ffeed2; position: relative; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; z-index: -2; inset: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#ffeed2 0%,#ffeed2ed 24%,#ffeed29c 46%,#ffeed200 67%); }
.hero-inner { position: relative; display: flex; align-items: center; min-height: clamp(530px, 47vw, 710px); padding-block: 64px 80px; }
.hero-portrait {
  position: absolute;
  inset: auto auto 0 41.3%;
  width: 37.4%;
  height: 95%;
  object-fit: contain;
  object-position: left bottom;
  pointer-events: none;
}
.hero-copy { width: min(41vw, 640px); }
.hero-logo { width: min(100%, 540px); margin-left: -2.6%; mix-blend-mode: darken; }
.hero-logo img { width: 100%; height: auto; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--wine); text-transform: uppercase; font-size: .75rem; letter-spacing: .14em; line-height: 1.5; font-weight: 750; margin-bottom: 19px; }
.eyebrow span { display: inline-block; width: 9px; height: 9px; background: #b34e35; transform: rotate(45deg); border-radius: 1px; flex: 0 0 auto; }
.eyebrow b { margin-inline: 1px; }
.hero-lead { max-width: 410px; font-size: clamp(1.12rem, 1.55vw, 1.34rem); color: #49302a; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 21px; margin-top: 27px; }
.edition { background: var(--wine); color: #fff4e3; }
.edition-inner { display: grid; grid-template-columns: repeat(4,1fr); padding-block: 26px; }
.edition-inner div { display: grid; justify-items: center; gap: 5px; padding: 2px 10px; text-align: center; }
.edition-inner div + div { border-left: 1px solid #ffffff4a; }
.edition-inner span:not(.number) { font-size: .92rem; }
.number { font: italic 2.15rem/.94 var(--serif); }
.section { padding-block: clamp(66px, 8vw, 117px); }
main { --compact-section-space: clamp(36px, 4.5vw, 64px); }
#experiencia, .history { padding-block: var(--compact-section-space); }
#vida-em-malta, .turma { padding-block-start: var(--compact-section-space); }
.included { padding-block-end: var(--compact-section-space); }
.section-intro { margin-bottom: 36px; }
.split-intro { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: end; }
.split-intro > p, .experience-lead, .included-intro { color: var(--body); font-size: 1.09rem; }
.experience-lead { max-width: 65ch; margin-top: 18px; }
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.pillars article { padding: 27px 23px 29px; border: 1px solid var(--line); border-radius: 12px; background: #fff6e8; }
.index { color: var(--rust); display: block; letter-spacing: .12em; font-size: .72rem; font-weight: 750; }
.pillars h3, .media-card h3 { margin: 15px 0 10px; }
.pillars p, .media-card p:not(.index) { color: var(--body); }
.gallery { margin-top: clamp(32px, 5vw, 61px); }
.gallery > h3 { margin-bottom: 15px; }
.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 44%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 15px;
  scroll-snap-align: start;
}
@media (max-width: 700px) {
  .gallery-track { grid-auto-columns: 90%; gap: 12px; }
}
.destination {
  background: linear-gradient(#32161185, #32161185), url('assets/malta-fundo.webp') center / cover no-repeat, #72382d;
  color: #fffaf2;
  text-align: center;
}
.destination-inner { padding-block: var(--compact-section-space); }
.destination-gallery { margin-block: clamp(24px, 4vw, 44px); }
.image-licenses p { margin-block: 20px; }
.destination h2 em { color: #ffe2be; }
.destination p { max-width: 78ch; margin: 20px auto; font-size: 1.09rem; }
.destination .text-link { color: #fffaf2; }
.destination .text-link:hover { color: #ffe2be; }
.destination .text-link:focus-visible { outline-color: #fffaf2; }
.media-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.media-card { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: #fff6e8; }
.media-card > img { width: 100%; height: auto; aspect-ratio: 2/1; object-fit: cover; object-position: center 42%; }
.media-card > div { padding: 26px 24px 30px; }
.media-card .text-link { display: inline-block; margin-top: 14px; }
.included { background: #f7e6d5; }
.included-intro { margin-top: 18px; }
.checklist { list-style: none; max-width: 820px; margin: 25px 0 16px; padding: 0; display: grid; gap: 13px; }
.checklist li { position: relative; border-bottom: 1px solid #d7b9a7; padding: 0 0 12px 30px; line-height: 1.45; }
.checklist li::before, .checklist li::after { content: ''; position: absolute; }
.checklist li::before { top: .12em; left: 0; width: 1.18em; height: 1.18em; border-radius: 50%; background: var(--wine); }
.checklist li::after {
  top: .36em;
  left: .32em;
  width: .53em;
  height: .3em;
  border-left: .11em solid #fff8ec;
  border-bottom: .11em solid #fff8ec;
  transform: rotate(-45deg);
}
@media (forced-colors: active) {
  .checklist li::before { border: 1px solid CanvasText; }
  .checklist li::after { border-color: CanvasText; }
}
.fine { color: var(--body); font-size: .85rem; }
.included .fine { font-size: .9rem; }
.stories { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.stories a { position: relative; min-height: 260px; aspect-ratio: 1.05; overflow: hidden; isolation: isolate; border-radius: 12px; display: flex; align-items: flex-end; background: var(--deep); color: white; text-decoration: none; }
.stories img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: -2; transition: transform .25s ease; }
.stories a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 40%,#2c1017df 95%); }
.stories a:hover img { transform: scale(1.035); }
.stories span { display: flex; align-items: center; width: 100%; gap: 9px; padding: 15px; font-size: .92rem; font-weight: 700; }
.stories b { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid #fff9; border-radius: 50%; font-size: .65rem; }
.turma { background: var(--deep); color: #fff6e7; }
.turma .section-intro h2 em { color: #ffb698; }
.turma .section-intro .eyebrow { color: #ffccb7; }
.booking { display: grid; grid-template-columns: 1fr 1fr; border-radius: 15px; overflow: hidden; color: var(--ink); background: var(--paper); }
.booking-photo { position: relative; min-height: 320px; }
.booking-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.booking-photo span { position: absolute; bottom: 15px; left: 15px; color: white; background: #36191bde; font-size: .75rem; padding: 7px 11px; border-radius: 100px; }
.booking-info { padding: clamp(24px,4.25vw,59px); }
.booking-info h3 { font-size: clamp(2.4rem,4vw,4.15rem); margin-top: 8px; }
.dates { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 20px 0; padding: 13px 0; border-block: 1px solid var(--line); }
.dates dt, .price p { font-size: .83rem; color: var(--body); }
.dates dd { margin: 5px 0 0; font-weight: 700; }
.price strong { font: 500 clamp(1.65rem, 3.4vw, 2.75rem)/1.2 var(--serif); color: var(--wine); letter-spacing: -.045em; }
.price sup { font-size: .55em; }
.euro { margin: 9px 0 16px; font-size: .95rem; }
.booking-info .fine { margin-top: 13px; }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { position: relative; cursor: pointer; padding: 18px 30px 18px 0; font-weight: 700; line-height: 1.5; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; right: 3px; top: 16px; content: '+'; color: var(--wine); font-size: 1.15rem; }
details[open] summary::after { content: '−'; }
details p { color: var(--body); padding: 0 22px 17px 0; }
details p a { color: var(--wine); font-weight: 700; }
.contact { background: #f6e8d8; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 5vw, 68px); align-items: start; }
.contact-inner > div > p { margin-top: 18px; color: var(--body); font-size: 1.09rem; }
.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 4vw, 36px); }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-fields label { display: grid; gap: 7px; font-weight: 700; color: var(--wine); }
.contact-fields input { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid #b99885; border-radius: 8px; }
.contact-email, .contact-phone { grid-column: 1 / -1; }
.contact-phone { min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-phone legend { padding: 0; margin-bottom: 8px; color: var(--wine); font-weight: 700; }
.contact-phone-fields { display: grid; grid-template-columns: 60px 64px minmax(0, 1fr); gap: 8px; }
.contact-phone-fields label, .contact-ddi { font-size: .88rem; }
.contact-ddi { display: grid; gap: 7px; color: var(--wine); font-weight: 700; }
.contact-ddi span:last-child { display: grid; place-items: center; min-height: 48px; background: var(--cream); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.contact-form .fine { margin-block: 17px; }
.contact-form .button { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.contact-form .button:disabled { opacity: .66; cursor: default; }
.contact-status { color: var(--wine); font-weight: 700; }
.contact-status:not(:empty) { margin-top: 14px; }
@media (max-width: 700px) {
  .contact-inner, .contact-fields { grid-template-columns: 1fr; }
}
.footer { background: #361b20; color: #fff4e3; }
.footer-inner { padding-block: 38px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.footer img { width: 112px; height: auto; margin-bottom: 10px; }
.footer-note { color: #ecd0bf; font-size: .84rem; }
.footer-inner > div:last-child { display: flex; gap: 15px 22px; flex-wrap: wrap; }
.footer a { text-underline-offset: 4px; }
@media (max-width: 950px) {
  .wrap { width: calc(100% - 64px); }
  .head { gap: 13px; }
  nav { gap: 14px; }
  nav a { font-size: .83rem; }
  .brand img { width: 64px; }
  .brand { gap: 8px; }
  .brand span { padding-left: 7px; }
  .stories a { min-height: 205px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 117px; }
  .wrap { width: calc(100% - 36px); }
  .head { min-height: 0; display: grid; grid-template-columns: 1fr auto; column-gap: 9px; row-gap: 0; padding-top: 8px; }
  .head > .button { grid-column: 2; grid-row: 1; }
  nav { grid-column: 1/-1; grid-row: 2; justify-content: space-between; min-height: 42px; gap: 8px; overflow-x: auto; }
  nav a { font-size: .78rem; }
  .hero-inner { min-height: 620px; align-items: start; padding: 44px 0 calc(clamp(235px, 74vw, 350px) + 16px); }
  .hero-copy { width: min(100%, 420px); }
  .hero-portrait { left: 50%; width: 68%; height: clamp(235px, 74vw, 350px); transform: translateX(-50%); object-position: center bottom; }
  .hero-art { top: auto; height: 58%; }
  .hero-art img { object-position: 78% center; }
  .hero::after { background: linear-gradient(180deg,#ffeed2 0%,#ffeed2 40%,#ffeed2ee 53%,#ffeed200 78%); }
  .hero-lead { margin-top: 15px; max-width: 350px; }
  .hero-actions { margin-top: 17px; }
  .edition-inner { grid-template-columns: repeat(2,1fr); padding-block: 12px; }
  .edition-inner div { padding: 12px 6px; }
  .edition-inner div:nth-child(3) { border-left: 0; }
  .edition-inner div:nth-child(n+3) { border-top: 1px solid #ffffff4a; }
  .section-intro { margin-bottom: 25px; }
  .split-intro, .pillars, .media-grid, .faq, .booking { grid-template-columns: 1fr; }
  .split-intro, .faq { gap: 20px; }
  .pillars article { padding: 20px; }
  .stories { grid-template-columns: 1fr; gap: 10px; }
  .stories a { min-height: 110px; aspect-ratio: auto; align-items: center; color: var(--wine); background: #faecd9; border: 1px solid var(--line); }
  .stories img { width: 100px; object-position: center 30%; }
  .stories a::before { content: none; }
  .stories span { padding-left: 111px; }
  .stories b { border-color: #781d3160; }
  .booking-photo { min-height: 240px; }
  .footer-inner { align-items: start; flex-direction: column; }
}
@media (max-width: 375px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
