/* Catalina Cove — static stand-in for the Divi one-pager. */

:root {
  --header-h: 100px;
  --paper: #ffffff;
  --ink: #2b2b33;
  --nav: rgba(0, 0, 0, 0.6);
  --nav-hover: #000000;
  --footer: #2b2b33;
  --footer-text: #ffffff;
  --link: #8ec8e8;
  --sans: "Open Sans", Helvetica, Arial, sans-serif;
  --display: "Poppins", Helvetica, Arial, sans-serif;
  --body: "Roboto", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html,
body { overflow-x: clip; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.bar {
  height: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  height: 90%;
  flex: 0 0 auto;
}

.logo img {
  display: block;
  height: 90px;
  width: auto;
  max-width: min(220px, 52vw);
}

.nav-home {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--nav);
  text-decoration: none;
  white-space: nowrap;
}

.nav-home:hover { color: var(--nav-hover); }
.nav-home:focus-visible,
.logo:focus-visible,
.foot-inner a:focus-visible {
  outline: 3px solid #2ea3f2;
  outline-offset: 3px;
}

.hero {
  flex: 1 1 auto;
  min-height: clamp(320px, 42vw, 640px);
  background:
    url("/images/brasilito.jpg") center / cover no-repeat;
}

.site-footer {
  background: var(--footer);
  color: var(--footer-text);
  padding: 44px 30px 40px;
}

.foot-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.foot-inner h1 {
  margin: 0 0 20px;
  font-family: var(--display);
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.foot-inner p {
  margin: 0 0 0.35em;
  font-family: var(--body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
}

.foot-inner p:last-child { margin-bottom: 0; }

.foot-inner a {
  color: var(--footer-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot-inner a:hover { color: var(--link); }

.miss {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 20px;
  text-align: center;
}

.miss h1 {
  font-family: var(--display);
  font-style: normal;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 16px;
}

.miss a {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 768px) {
  :root { --header-h: 80px; }
  .bar { padding: 0 16px; }
  .logo img { height: 68px; }
  .site-footer { padding: 40px 20px; }
  .hero { min-height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}
