/* =========================================================
   Beco do Pescador Adventure — estilos
   ========================================================= */

:root {
  --deep: #06283d;
  --deep-2: #0a3a57;
  --text: #12222e;
  --text-soft: #34495a;
  --muted: #5b6e7c;
  --sand: #f4f1ea;
  --white: #ffffff;
  --border: #dcd7ca;
  --water: #0369a1;
  --water-dark: #02527f;
  --water-soft: #d9ecf7;
  --lure: #f2a31b;
  --moss: #3f6b3a;

  --r-lg: 20px;
  --r-sm: 10px;
  --lift: 0 22px 46px -22px rgba(6, 40, 61, 0.45);

  --f-title: "Josefin Sans", system-ui, sans-serif;
  --f-text: "Raleway", system-ui, sans-serif;
}

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

html {
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--f-title);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }

p { margin: 0 0 1em; }
a { color: inherit; }

.wrap {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}

.tag {
  display: inline-block;
  font-family: var(--f-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--water);
  margin-bottom: 1rem;
}

.tag--pale { color: #f7c565; }

.tag--mark {
  background: var(--lure);
  color: var(--deep);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}

/* ---------- Botões ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  background: var(--water);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--water);
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}

.cta:hover {
  background: var(--water-dark);
  border-color: var(--water-dark);
  transform: translateY(-2px);
}

.cta--outline {
  background: transparent;
  color: var(--deep);
  border-color: var(--deep);
}

.cta--outline:hover {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--white);
}

.cta--sun {
  background: var(--lure);
  border-color: var(--lure);
  color: var(--deep);
}

.cta--sun:hover {
  background: #ffb93d;
  border-color: #ffb93d;
}

.cta--sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.92rem;
}

/* ---------- Marca ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand__hook {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--water);
  flex: none;
}

.brand__hook::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 7px;
  width: 14px;
  height: 20px;
  border: 4px solid var(--white);
  border-top: 0;
  border-radius: 0 0 14px 14px;
}

.brand__hook::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 7px;
  width: 4px;
  height: 8px;
  background: var(--white);
}

.brand__name {
  font-family: var(--f-title);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--deep);
}

/* ---------- Cabeçalho ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.links a:not(.cta) {
  text-decoration: none;
  font-weight: 500;
  color: var(--text-soft);
  position: relative;
}

.links a:not(.cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--lure);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.links a:not(.cta):hover::after { transform: scaleX(1); }

.drawer-check,
.drawer-btn { display: none; }

/* ---------- Abertura ---------- */
.cover {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.cover__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.cover__lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.cover__photo {
  margin: 1.5rem 0 0;
}

.cover__photo img {
  width: 100%;
  border-radius: var(--r-lg);
  display: block;
}

/* Visual: boia, ondas e cartões */
.lake {
  position: relative;
  aspect-ratio: 1;
  max-width: 440px;
  width: 100%;
  justify-self: center;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--water-soft) 0 45%, var(--water) 45% 100%);
  overflow: visible;
}

.lake__float {
  position: absolute;
  left: 50%;
  top: 12%;
  width: 26%;
  height: 40%;
  transform: translateX(-50%);
  border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%;
  background: linear-gradient(180deg, #e8472f 0 50%, var(--white) 50% 100%);
  box-shadow: var(--lift);
}

.lake__float::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -28%;
  width: 4px;
  height: 30%;
  background: var(--deep);
  transform: translateX(-50%);
}

.lake__wave {
  position: absolute;
  left: 12%;
  right: 12%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.lake__wave--1 { top: 58%; }
.lake__wave--2 { top: 68%; left: 22%; right: 6%; }
.lake__wave--3 { top: 78%; right: 22%; }

.fact {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-sm);
  padding: 0.85rem 1.15rem;
  box-shadow: var(--lift);
  display: flex;
  flex-direction: column;
  min-width: 150px;
}

.fact__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.fact strong {
  font-family: var(--f-title);
  font-size: 1.35rem;
  color: var(--deep);
}

.fact--a { top: 4%; left: -6%; }
.fact--b { top: 46%; right: -8%; }
.fact--c { bottom: 2%; left: 4%; }

/* ---------- Faixa ---------- */
.ribbon {
  background: var(--deep);
  color: var(--white);
  padding: 2.6rem 0;
}

.ribbon__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.ribbon__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1.2rem;
  border-left: 3px solid var(--lure);
}

.ribbon__item strong {
  font-family: var(--f-title);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1;
}

.ribbon__item span {
  color: #b6c9d6;
  font-size: 0.95rem;
}

/* ---------- Seções ---------- */
.block {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.block--white { background: var(--white); }

.block__head {
  max-width: 640px;
  margin-bottom: 3rem;
}

/* ---------- Sobre ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.story__text p {
  font-size: 1.1rem;
  color: var(--text-soft);
}

.story__photo {
  margin: 1.5rem 0 0;
}

.story__photo img {
  width: 100%;
  border-radius: var(--r-lg);
  display: block;
}

/* ---------- Departamentos ---------- */
.aisles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.aisle {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.aisle:hover {
  transform: translateY(-6px);
  box-shadow: var(--lift);
  border-color: transparent;
}

.aisle__no {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px 14px 14px 4px;
  background: var(--water-soft);
  color: var(--water-dark);
  font-family: var(--f-title);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.aisle p {
  color: var(--muted);
  margin: 0;
}

.aisle--call {
  background: var(--water);
  border-color: var(--water);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.aisle--call p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

/* ---------- Como funciona ---------- */
.route {
  background: var(--deep);
  color: var(--white);
  overflow: hidden;
}

.route__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.route__intro {
  color: #c0d2de;
  font-size: 1.08rem;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 1.2rem;
}

.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.steps li::before {
  content: "";
  flex: none;
  margin-top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lure)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306283d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

.steps strong {
  display: block;
  font-family: var(--f-title);
  font-size: 1.15rem;
}

.steps span {
  color: #b6c9d6;
}

.tent {
  position: relative;
  height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.tent__moon {
  position: absolute;
  top: 8%;
  right: 12%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--lure);
  box-shadow: 0 0 0 14px rgba(242, 163, 27, 0.18);
}

.tent__hill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 34%;
  border-radius: 60% 60% 0 0 / 100% 100% 0 0;
  background: var(--moss);
}

.tent__body {
  position: relative;
  width: 62%;
  height: 58%;
  margin-bottom: 8%;
  background: var(--lure);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.tent__body::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 26%;
  height: 52%;
  transform: translateX(-50%);
  background: var(--deep-2);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* ---------- Dados ---------- */
.registry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.registry__cell {
  background: var(--white);
  padding: 1.5rem 1.75rem;
}

.registry__cell--wide { grid-column: span 3; }

.registry dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.registry dd {
  margin: 0;
  font-family: var(--f-title);
  font-size: 1.15rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: #e3f3e6;
  color: #1f6b34;
  font-size: 0.95rem;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- Perguntas ---------- */
.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--lure);
  border-radius: var(--r-sm);
  padding: 1.5rem 1.6rem;
}

.faq__item h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.faq__item p { margin: 0; color: var(--muted); }

/* ---------- Contato ---------- */
.reach {
  padding-top: 0;
}

.reach__box {
  background: var(--water);
  color: var(--white);
  border-radius: calc(var(--r-lg) * 1.4);
  padding: clamp(2rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.reach__box p { color: #d6ebf7; margin: 0 0 1.5rem; }

.reach__list {
  display: grid;
  gap: 1rem;
}

.reach__item {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.reach__item span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffd68a;
}

.reach__item strong {
  font-family: var(--f-title);
  font-size: 1.15rem;
  overflow-wrap: anywhere;
}

a.reach__item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--lure);
}

/* ---------- Rodapé ---------- */
.base {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.base__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.base p { margin: 0; }

.base__legal {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: flex-start;
}

.base__legal a {
  font-size: 0.85rem;
  color: var(--muted);
}

.base__legal a:hover { color: var(--water); }

.brand--small .brand__hook {
  width: 28px;
  height: 28px;
}

.brand--small .brand__hook::before {
  left: 8px;
  top: 5px;
  width: 12px;
  height: 16px;
  border-width: 3px;
}

.brand--small .brand__hook::after {
  left: 17px;
  top: 5px;
  width: 3px;
  height: 7px;
}

.brand--small .brand__name { font-size: 1.05rem; }

/* ---------- Páginas legais ---------- */
.legal-page {
  width: min(760px, 100% - 32px);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.5em;
}

.legal-page h2 {
  font-size: 1.4rem;
  margin-top: 2em;
  color: var(--water-dark);
}

.legal-page p {
  color: var(--text-soft);
  line-height: 1.75;
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 960px) {
  .cover__grid,
  .story,
  .route__grid,
  .reach__box {
    grid-template-columns: 1fr;
  }

  .lake { max-width: 360px; }

  .aisles { grid-template-columns: repeat(2, 1fr); }
  .ribbon__row { grid-template-columns: repeat(2, 1fr); }
  .tent { height: 260px; }

  .base__row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 760px) {
  .drawer-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 2;
  }

  .drawer-btn span {
    display: block;
    height: 2px;
    width: 24px;
    margin-inline: auto;
    background: var(--deep);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
  }

  .links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 16px 1.25rem;
    background: var(--sand);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .links a:not(.cta) {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
  }

  .links a:not(.cta)::after { display: none; }

  .links .cta { margin-top: 1rem; }

  .drawer-check:checked ~ .links { display: flex; }

  .drawer-check:checked + .drawer-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .drawer-check:checked + .drawer-btn span:nth-child(2) { opacity: 0; }
  .drawer-check:checked + .drawer-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .registry { grid-template-columns: 1fr; }
  .registry__cell--wide { grid-column: auto; }
  .faq { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .aisles,
  .ribbon__row { grid-template-columns: 1fr; }

  .fact { min-width: 0; padding: 0.7rem 0.9rem; }
  .fact strong { font-size: 1.1rem; }
  .fact--a { left: 0; }
  .fact--b { right: 0; }

  .cover__actions .cta { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { }
  * { transition: none !important; }
}
