:root {
  color-scheme: light;
  --navy: #1e3164;
  --blue: #075f88;
  --cta-yellow: #ffe16d;
  --cta-yellow-hover: #ffd447;
  --sand: #f6f2e8;
  --ink: #263449;
  --paper: #fffefa;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #d58300; outline-offset: 4px; }
.skip { position: absolute; z-index: 2; top: 0; background: white; padding: .75rem; transform: translateY(-120%); }
.skip:focus { transform: none; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.navigation, footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.navigation { min-height: 82px; }
.logo { width: 132px; height: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.button-icon { width: 1.125rem; height: 1.125rem; flex: none; }
.menu-toggle { display: none; }
.menu-toggle, .menu-close {
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
}
.menu-toggle svg, .menu-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.menu-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(24rem, calc(100% - 2rem));
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 1.25rem;
  border: 0;
  background: var(--paper);
}
.menu-drawer[open] { animation: drawer-in .23s ease-out both; }
.menu-drawer::backdrop { background: rgb(20 32 54 / 58%); }
html:has(.menu-drawer[open]) { overflow: hidden; }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.drawer-header h2 { font-size: 1.625rem; }
.menu-close { display: grid; }
.menu-drawer nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.menu-drawer nav a { display: flex; align-items: center; min-height: 48px; }
.menu-drawer nav a:not(.button) { border-bottom: 1px solid #dedacc; }
.menu-drawer nav .button { align-self: start; margin-top: 1rem; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem clamp(.65rem, 3vw, 2.5rem); }
nav a { padding-block: .55rem; text-decoration: none; font-weight: 650; color: var(--navy); }
nav a:hover { text-decoration: underline; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: max(570px, calc(100svh - 82px));
  background: var(--navy);
  color: white;
}
.hero-media, .hero::before { position: absolute; inset: 0; }
.hero-media { z-index: -2; overflow: hidden; }
.hero::before {
  content: "";
  z-index: -1;
  background: linear-gradient(270deg, rgb(10 27 48 / 96%), rgb(10 27 48 / 89%) 37%, rgb(10 27 48 / 65%) 43%, transparent 54%);
}
.hero-copy { display: flex; align-items: center; justify-content: flex-end; padding-block: 3.5rem; }
.hero-copy > div { width: min(100%, 29rem); animation: enter .55s ease-out both; }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
h1, h2, h3 { margin: 0; line-height: 1.06; color: var(--navy); letter-spacing: -.045em; }
h1 { font-size: clamp(2.8rem, 5.2vw, 5.3rem); max-width: 10ch; }
h2 { font-size: clamp(2.15rem, 4.3vw, 4rem); }
h3 { font-size: clamp(1.65rem, 2.75vw, 2.65rem); }
p { margin: 1rem 0; max-width: 57ch; }
.location { font-weight: 750; margin-top: 0; }
.hero h1 { color: inherit; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.2rem; border-radius: 999px; background: var(--cta-yellow); color: var(--navy); text-decoration: none; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { background: var(--cta-yellow-hover); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-outline {
  min-height: 44px;
  padding: .4rem .95rem;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--navy);
}
.button-outline:hover { background: transparent; text-decoration: none; }
.hero .button { margin-top: .65rem; }
.section { padding-block: clamp(3.6rem, 8vw, 7rem); }
.about, .tour { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.4rem, 5vw, 4rem); }
.about img { width: 100%; height: auto; }
.tours { color: white; background: #13586c; }
.tours.section { padding-bottom: 0; }
.section-wave { display: block; width: 100%; height: clamp(2.5rem, 7vw, 6rem); margin-top: clamp(2.5rem, 6vw, 5rem); fill: var(--paper); }
.tours h2, .tours h3 { color: white; }
.tour { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #ffffff60; }
.tour img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
#litoral-norte img { object-position: center 82%; }
#litoral-sul img { object-position: center bottom; }
details { margin-bottom: .85rem; }
summary { width: fit-content; padding-block: .55rem; cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }
details p { margin-top: .35rem; }
.gallery {
  --gallery-gap: clamp(.65rem, 2vw, 1.25rem);
  columns: 3;
  column-gap: var(--gallery-gap);
  margin-top: clamp(1.75rem, 4vw, 3rem);
}
.gallery a { display: block; break-inside: avoid; margin-bottom: var(--gallery-gap); transition: transform .2s ease; }
.gallery img { width: 100%; height: auto; }
.gallery a:hover { transform: translateY(-2px); }
.gallery-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; margin-top: clamp(1.25rem, 4vw, 2.5rem); }
.videos { background: var(--sand); }
.video-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: clamp(1.75rem, 4vw, 3rem);
}
.video-group { padding-top: 1rem; border-top: 1px solid #d7cdb9; }
.video-group h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); }
.video-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin-top: 1rem; }
.video-pair video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #10151b; border-radius: .45rem; }
.contact {
  background: linear-gradient(105deg, rgb(30 49 100 / 96%), rgb(30 49 100 / 79%)),
    url("assets/sul/foto-07.webp") center 58% / cover var(--navy);
  color: white;
}
.contact h2, .contact .button-outline { color: white; }
.contact .button-outline { min-height: 48px; }
.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.5rem; }
footer { padding-block: 1.15rem; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 2rem); }
  .navigation { padding-block: .7rem; flex-wrap: wrap; gap: .3rem .9rem; }
  .menu-toggle:not([hidden]) { display: grid; }
  .menu-toggle:not([hidden]) + .primary-nav { display: none; }
  .logo { width: 105px; }
  .about, .tour { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
}
@media (min-width: 901px) {
  .hero-photo { position: absolute; right: 0; width: 135%; max-width: none; }
  .hero-copy > div { width: min(100%, 30vw, 29rem); }
}
@media (max-width: 900px) {
  .hero::before {
    background: linear-gradient(180deg, rgb(10 27 48 / 72%) 15%, rgb(10 27 48 / 58%) 32%, transparent 64%);
  }
  .hero-copy {
    align-items: flex-start;
    justify-content: flex-start;
    padding-block: clamp(2.5rem, 7vw, 4rem) clamp(19rem, 65vw, 29rem);
  }
  .hero .location { font-size: .8125rem; margin-bottom: .75rem; }
  .hero-photo {
    position: absolute;
    bottom: 0;
    height: auto;
    aspect-ratio: 1 / 1.2;
    max-height: 620px;
    object-position: center 52%;
    mask-image: linear-gradient(transparent, black 36%);
  }
  .video-groups { grid-template-columns: minmax(0, 26rem); justify-content: center; }
}
@media (max-width: 720px) {
  .hero::before {
    background: linear-gradient(180deg, rgb(10 27 48 / 72%) 15%, rgb(10 27 48 / 58%) 32%, transparent 55%);
  }
  .hero-photo {
    transform: scale(1.243);
    transform-origin: center 62%;
    mask-image: linear-gradient(transparent, black 27%);
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
