/* Playful Atlantic: bright coastal colours, bold outlines and postcard-style cards. */
:root {
  --cream: #fff9eb;
  --sand: #ffedb0;
  --paper: #fffdf7;
  --ink: #292442;
  --muted: #58536d;
  --copper: #5938a5;
  --burnt: #ed795b;
  --line: #b7accb;
  --focus: #006b70;
  --sunshine: #ffda59;
  --mint: #d6f5df;
  --sky: #dff2ff;
  --lavender: #eee4ff;
  --peach: #ffe0d0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
[hidden] { display: none !important; }
h1, h2, h3, p, figure, ul { margin: 0; }
h1, h2, h3 {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-weight: 800;
  line-height: 1.12;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.8vw, 5.25rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); letter-spacing: -.035em; }
h3 { font-size: 1.75rem; letter-spacing: -.025em; }
a { color: var(--copper); text-underline-offset: 5px; text-decoration-thickness: 2px; }
a:hover { color: #372069; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, input, select, textarea { max-width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
svg { display: block; max-width: 100%; height: auto; }
ul { padding-left: 24px; }
li + li { margin-top: 8px; }
li::marker { color: var(--copper); }
address { font-style: normal; }
nav, .brand, .footer-brand { overflow-wrap: anywhere; }
.container { width: min(100% - 80px, 1200px); margin-inline: auto; }
.site-header > *, .hero > *, .card-grid > *, .supporting-section > *,
.article-layout > *, .footer-grid > *, .footer-bottom > *,
.contact-grid > *, .cookie-banner > *, .cookie-actions > *,
.checkbox-label > * { min-width: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: 8px;
  left: 16px;
  z-index: 100;
  padding: 16px 24px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 12px 40px;
  border-bottom: 3px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  position: relative;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 800 1.25rem "Trebuchet MS", Arial, sans-serif;
  letter-spacing: -.04em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.1;
}
.brand svg {
  flex: 0 0 36px;
  width: 36px;
  padding: 5px;
  background: var(--sunshine);
  border: 2px solid var(--ink);
  border-radius: 11px;
  transform: rotate(-6deg);
}
.primary-nav { display: flex; gap: 24px; align-items: center; }
.primary-nav a {
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  padding-block: 8px;
}
.primary-nav a:hover, .primary-nav a[aria-current] { text-decoration: underline; }
.header-booking { justify-self: end; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  min-height: 48px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--copper);
  color: #ffffff;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: .95rem;
  line-height: 1.45;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.button:hover {
  background: #43277f;
  color: #ffffff;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.button:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}
.button-small { padding: 8px 16px; min-height: 40px; font-size: .8rem; }
.button-secondary { background: var(--paper); color: var(--copper); }
.button-secondary:hover { background: var(--lavender); color: #372069; }
.menu-toggle {
  display: none;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 8px;
  background: var(--sunshine);
  color: var(--ink);
  font-weight: 800;
}

/* The existing hero becomes a sunny, illustrated-feeling travel postcard. */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 48px;
  align-items: center;
  padding: 48px;
  margin-block: 40px 72px;
  border: 3px solid var(--ink);
  border-radius: 36px;
  background:
    radial-gradient(circle at 4% 98%, var(--mint) 0, var(--mint) 135px, transparent 136px),
    radial-gradient(circle at 97% 4%, var(--sunshine) 0, var(--sunshine) 116px, transparent 117px),
    var(--sky);
  box-shadow: 8px 8px 0 var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  right: 34px;
  top: -19px;
  width: 74px;
  height: 38px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--peach);
  transform: rotate(12deg);
  z-index: -1;
}
.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero-copy > .eyebrow {
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: .68rem;
  letter-spacing: .12em;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.65rem);
  line-height: 1.02;
  color: var(--copper);
  text-shadow: 3px 3px 0 #ffffff;
}
.hero .lead {
  color: var(--ink);
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
}
.hero-copy > p:not(.eyebrow):not(.fine-print) { max-width: 48ch; }
.hero-copy > .button {
  background: var(--sunshine);
  color: var(--ink);
  padding: 17px 26px;
  border-radius: 16px;
}
.hero-copy > .button:hover { background: #ffe98d; }
.hero-copy > .fine-print { max-width: 57ch; }
.eyebrow {
  color: var(--copper);
  font-size: .73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em;
  line-height: 1.6;
}
.lead { font-size: clamp(1.12rem, 2vw, 1.35rem); color: #51456b; line-height: 1.6; }
.fine-print { font-size: .8rem; line-height: 1.65; color: var(--muted); }
.coast-figure {
  position: relative;
  padding: 14px 14px 20px;
  border: 3px solid var(--ink);
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 6px 7px 0 var(--ink);
  transform: rotate(3deg);
}
.coast-figure::before {
  content: "";
  position: absolute;
  top: -16px;
  left: calc(50% - 42px);
  width: 84px;
  height: 30px;
  background: var(--sunshine);
  border: 2px solid var(--ink);
  border-radius: 5px;
  transform: rotate(-8deg);
  z-index: 1;
}
.hero .sunlit-sandy-beach-photograph {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 14px;
}
.praia-da-rocha-coastline-illustration { width: 100%; }
figcaption { padding-top: 16px; color: var(--muted); font-size: .76rem; }
.coast-figure figcaption { line-height: 1.55; padding-inline: 4px; }
.section-heading {
  max-width: 740px;
  display: grid;
  gap: 24px;
  margin-bottom: 40px;
}
.section-heading > .eyebrow {
  justify-self: start;
  padding: 6px 12px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--sunshine);
  color: var(--ink);
  transform: rotate(-2deg);
}
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.guide-card {
  border: 2px solid var(--ink);
  border-radius: 22px;
  padding: 24px;
  background: var(--lavender);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.card-grid .guide-card:nth-child(5n + 2) { background: var(--peach); }
.card-grid .guide-card:nth-child(5n + 3) { background: var(--mint); }
.card-grid .guide-card:nth-child(5n + 4) { background: var(--sand); }
.card-grid .guide-card:nth-child(5n + 5) { background: var(--sky); }
.guide-card > * { min-width: 0; max-width: 100%; }
.guide-card > a:last-child { margin-top: auto; }
.guide-card h2 { font-size: 1.8rem; }
.guide-card a:not(.button) { font-weight: 700; }
.card-grid .guide-card > .eyebrow {
  padding-bottom: 10px;
  width: 100%;
  border-bottom: 2px dashed var(--line);
}
.supporting-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  border-top: 3px dashed var(--line);
  padding-top: 64px;
  margin-block: 64px;
}
.supporting-section > div { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.text-link { display: inline-block; font-weight: 700; }
.page-intro { max-width: 920px; display: grid; gap: 24px; padding-block: 64px; }
.page-intro > .eyebrow {
  justify-self: start;
  padding: 5px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--sunshine);
  color: var(--ink);
}
.breadcrumb { font-size: .8rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 64px; }
.prose { min-width: 0; }
.prose section + section { margin-top: 64px; }
.prose h2 { margin-bottom: 24px; font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.prose p + p { margin-top: 24px; }
.prose p + .button { margin-top: 24px; }
.article-aside { display: flex; flex-direction: column; gap: 24px; }
.article-aside .guide-card { background: var(--sand); }
.next-guide {
  margin-block: 64px;
  padding: 32px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--mint);
  box-shadow: 5px 5px 0 var(--ink);
  display: grid;
  gap: 24px;
}
.legal-container { max-width: 920px; padding-bottom: 64px; }
.table-wrapper { margin-top: 24px; overflow-x: auto; border: 2px solid var(--ink); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; text-align: left; }
caption { padding: 16px; font-weight: 700; text-align: left; }
th, td { padding: 16px; vertical-align: top; border-top: 1px solid var(--line); }
thead { background: var(--sand); color: var(--ink); }
code { font-family: "Courier New", monospace; overflow-wrap: anywhere; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; }
.contact-form-card { background: var(--sky); }
.contact-form-card form { width: 100%; }
.contact-details { display: flex; flex-direction: column; gap: 64px; }
form { display: grid; gap: 24px; }
.form-field { display: grid; gap: 8px; min-width: 0; }
label { font-weight: 700; line-height: 1.5; }
input:not([type="checkbox"]), select, textarea {
  width: 100%;
  min-width: 0;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 16px;
  background: var(--paper);
  color: var(--ink);
}
textarea { resize: vertical; }
input[type="checkbox"] { width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--copper); margin: 2px 0 0; }
.checkbox-label { display: flex; gap: 16px; font-size: .88rem; }
.is-invalid { border: 2px solid #a02525 !important; }
input[type="checkbox"].is-invalid { outline: 2px solid #a02525; outline-offset: 3px; }
input[type="checkbox"].is-invalid:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.field-error { color: #962222; font-size: .85rem; }
.form-status { font-weight: 700; color: var(--copper); }
.form-status:empty { display: none; }
.map-block {
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--sand);
  color: var(--ink);
}
.praia-da-rocha-area-map { width: 100%; border: 2px solid var(--ink); border-radius: 12px; }
.map-block a { display: inline-block; margin-top: 24px; font-size: .9rem; }

/* Specificity keeps the shared photography stylesheet compatible with this theme. */
.container.hotel-facts {
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--paper);
}
.hotel-facts .hotel-facts-note { border-top: 2px dashed var(--line); }
.ocean-photography-feature .open-ocean-waves-photograph {
  border: 3px solid var(--ink);
  border-radius: 28px;
  box-shadow: 6px 6px 0 var(--ink);
}
.contact-coastal-photography {
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: 5px 5px 0 var(--ink);
}
.contact-coastal-photography .open-ocean-waves-photograph {
  border: 2px solid var(--ink);
  border-radius: 12px;
}
.site-footer {
  padding-top: 64px;
  border-top: 3px solid var(--ink);
  background: var(--lavender);
  color: var(--ink);
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.footer-grid > div, .footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-brand {
  font: 800 1.75rem "Trebuchet MS", Arial, sans-serif;
  letter-spacing: -.045em;
  text-decoration: none;
}
.footer-heading { font-family: "Trebuchet MS", Arial, sans-serif; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; }
.footer-grid nav a, .footer-grid nav button { font-size: .9rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 2px dashed var(--line);
  margin-top: 40px;
  padding-block: 24px;
  font-size: .78rem;
}
.text-button { padding: 0; border: 0; background: transparent; color: var(--copper); text-decoration: underline; text-underline-offset: 5px; text-align: left; line-height: 1.6; }
.text-button:hover { color: #372069; }
.cookie-banner {
  position: fixed;
  z-index: 50;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 1168px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  margin-inline: auto;
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
}
.cookie-banner h2 { font-size: 1.4rem; margin-bottom: 8px; }
.cookie-banner p { font-size: .82rem; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cookie-actions .text-button { font-size: .82rem; padding-block: 8px; }
.cookie-preferences {
  grid-column: 1 / -1;
  border-top: 2px dashed var(--line);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.cookie-preferences h3 { font-size: 1.5rem; }
.cookie-preferences label { display: flex; align-items: flex-start; gap: 16px; font-size: .88rem; }
.cookie-banner > .fine-print { grid-column: 1 / -1; }
.cookie-banner > .fine-print:empty { display: none; }
@media (max-width: 1000px) {
  .hero { gap: 32px; padding: 32px; }
  .hero h1 { font-size: clamp(2.5rem, 5vw, 4.65rem); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { gap: 40px; }
  .footer-grid { gap: 40px; }
  .cookie-banner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .container { width: calc(100% - 32px); }
  .site-header {
    min-height: 64px;
    padding: 8px 16px;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
  .brand { font-size: 1rem; gap: 4px; }
  .brand svg { flex-basis: 26px; width: 26px; padding: 3px; border-radius: 8px; }
  .header-booking {
    font-size: .68rem;
    padding: 8px;
    min-height: 36px;
    max-width: 120px;
    border-radius: 10px;
    box-shadow: 2px 2px 0 var(--ink);
  }
  .menu-toggle { display: block; font-size: .75rem; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    padding: 24px;
    background: var(--paper);
    color: var(--ink);
    border-bottom: 3px solid var(--ink);
    box-shadow: 0 8px 0 #29244218;
  }
  .primary-nav.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .primary-nav a {
    padding: 16px;
    border: 2px solid var(--ink);
    border-radius: 12px;
    background: var(--lavender);
    font-size: 1.1rem;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 32px 24px;
    margin-block: 28px 56px;
    border-radius: 26px;
    box-shadow: 5px 5px 0 var(--ink);
    background:
      radial-gradient(circle at 100% 0, var(--sunshine) 0, var(--sunshine) 78px, transparent 79px),
      radial-gradient(circle at 0 100%, var(--mint) 0, var(--mint) 160px, transparent 161px),
      var(--sky);
  }
  .hero::before { right: 24px; width: 58px; height: 30px; top: -15px; }
  .hero h1 { font-size: clamp(2.5rem, 8.5vw, 4rem); }
  .hero-copy { gap: 20px; }
  .hero-copy > .eyebrow { max-width: 100%; font-size: .64rem; }
  .coast-figure {
    max-width: 440px;
    width: 100%;
    justify-self: center;
    transform: rotate(1.5deg);
    padding: 10px 10px 16px;
    border-radius: 20px;
    box-shadow: 4px 5px 0 var(--ink);
  }
  .hero .sunlit-sandy-beach-photograph { aspect-ratio: 6 / 5; }
  .card-grid, .article-layout, .supporting-section, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .article-layout, .contact-grid { gap: 64px; }
  .supporting-section { gap: 40px; }
  .next-guide { padding: 24px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > div { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .cookie-banner {
    padding: 16px;
    bottom: 12px;
    left: 8px;
    right: 12px;
    max-height: calc(100dvh - 24px);
    gap: 16px;
    border-radius: 18px;
    box-shadow: 4px 4px 0 var(--ink);
  }
  .cookie-actions { gap: 12px; }
  .cookie-actions .button { flex: 1 1 140px; }
  .cookie-actions .text-button { padding: 8px; }
}
@media (max-width: 399px) {
  .site-header { gap: 4px; padding-inline: 12px; }
  .brand { font-size: .9rem; }
  .brand svg { flex-basis: 22px; width: 22px; }
  .header-booking { max-width: 88px; font-size: .63rem; padding: 4px 8px; gap: 4px; line-height: 1.3; }
  .menu-toggle { padding: 8px 4px; font-size: .7rem; }
  h1 { font-size: 2.4rem; }
  .hero { padding: 28px 18px; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.5rem); }
  .hero-copy > .button { padding: 14px 18px; }
  .guide-card { padding: 16px; gap: 24px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .map-block { padding: 16px; }
  .button { max-width: 100%; }
  .cookie-actions .button { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}