/* NucaBrisa — Portugal landing · sage wellness redesign */
:root {
  --ink: #1c2420;
  --ink-soft: #3d4a43;
  --mist: #eef3ef;
  --foam: #f7faf7;
  --sage: #5f7464;
  --sage-deep: #3e5346;
  --sage-soft: #c5d4c8;
  --olive: #8a9a7c;
  --line: #d5ddd6;
  --warn: #7a4e2e;
  --radius: 14px;
  --radius-sm: 8px;
  --font-display: "Literata", Georgia, serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --shadow: 0 22px 60px rgba(28, 36, 32, 0.14);
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(138, 154, 124, 0.28), transparent 55%),
    radial-gradient(700px 420px at 100% 8%, rgba(95, 116, 100, 0.18), transparent 50%),
    linear-gradient(165deg, #e8efe9 0%, var(--foam) 42%, #e4ebe5 100%);
  background-attachment: fixed;
  line-height: 1.55;
  min-height: 100vh;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font-family: inherit; }

.nb-wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

/* ——— Disclosure rail ——— */
.nb-topbar {
  background: #f3f1ec;
  color: #2a2926;
  font-size: 0.72rem;
  border-bottom: 1px solid #ddd8ce;
  letter-spacing: 0.02em;
}
.nb-topbar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem 1.25rem;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.35rem 0;
}
.nb-topbar__ad {
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid #2a2926;
  padding: 0.15rem 0.45rem;
  background: transparent;
  border-radius: 0;
  color: #2a2926;
}
.nb-topbar a {
  color: #2a2926;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}
.nb-topbar a:hover { border-bottom-color: #2a2926; }
.nb-topbar__note {
  font-weight: 500;
  justify-self: center;
  text-align: center;
  opacity: 0.85;
}
.nb-topbar__links {
  display: flex;
  gap: 0.85rem;
  justify-self: end;
}
@media (max-width: 820px) {
  .nb-topbar__inner { grid-template-columns: 1fr; gap: 0.35rem; }
  .nb-topbar__note, .nb-topbar__links { justify-self: start; text-align: left; }
}

.nb-ad-banner {
  margin: 1.25rem 0 0;
  padding: 1.1rem 1.2rem;
  background: #fff;
  border: 1px solid #ddd8ce;
  border-radius: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink);
  box-shadow: 6px 6px 0 rgba(42, 41, 38, 0.06);
}
.nb-ad-banner strong { color: #1f3a4a; }

/* ——— Masthead (two-band) ——— */
.nb-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fffcf7;
  border-bottom: 3px solid #1f3a4a;
  box-shadow: none;
  backdrop-filter: none;
}
.nb-header__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1.5rem;
  align-items: end;
  padding: 0.85rem 0 0.95rem;
  min-height: 0;
}
@media (min-width: 960px) {
  .nb-header__row {
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
  }
}
.nb-logo {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  color: #1f3a4a;
  max-width: max-content;
}
.nb-logo__mark {
  display: none;
}
.nb-logo__text {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.nb-logo__text span { display: inline; }
.nb-logo__text span:last-child {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b655c;
}

.nb-nav {
  display: none;
  gap: 0;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #ddd8ce;
  background: #fff;
}
.nb-nav a {
  text-decoration: none;
  color: #1f3a4a;
  padding: 0.65rem 0.9rem;
  border-right: 1px solid #ddd8ce;
}
.nb-nav a:last-child { border-right: 0; }
.nb-nav a:hover { background: #1f3a4a; color: #fffcf7; }
@media (min-width: 960px) {
  .nb-nav { display: inline-flex; justify-self: center; }
}

.nb-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: 0;
  justify-self: end;
}
.nb-header__price {
  display: none;
  text-align: right;
  line-height: 1.1;
  border-right: 1px solid #ddd8ce;
  padding-right: 0.75rem;
}
.nb-header__price small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b655c;
  font-weight: 600;
}
.nb-header__price strong {
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
  color: #1f3a4a;
}
@media (min-width: 640px) {
  .nb-header__price { display: block; }
}

.nb-menu-btn {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid #1f3a4a;
  background: #fffcf7;
  border-radius: 0;
  display: grid;
  place-content: center;
  cursor: pointer;
  padding: 0;
}
.nb-menu-btn span,
.nb-menu-btn span::before,
.nb-menu-btn span::after {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: #1f3a4a;
  border-radius: 0;
  position: relative;
}
.nb-menu-btn span::before,
.nb-menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nb-menu-btn span::before { top: -5px; }
.nb-menu-btn span::after { top: 5px; }
@media (min-width: 960px) {
  .nb-menu-btn { display: none; }
}

#nb-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0 0 0.85rem;
  border-top: 1px solid #ddd8ce;
}
#nb-mobile-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 0.15rem;
  color: #1f3a4a;
  border-bottom: 1px solid #eeeae3;
}

/* ——— Buttons ——— */
.nb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 0.78rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s ease, box-shadow 0.25s ease;
}
.nb-btn:hover { transform: translateY(-1px); }
.nb-btn--buy,
.nb-btn--primary {
  background: #1f3a4a;
  color: #fff;
  box-shadow: 0 10px 28px rgba(31, 58, 74, 0.22);
}
.nb-btn--buy:hover,
.nb-btn--primary:hover { background: #162c38; }
.nb-btn--light {
  background: #fff;
  color: #1f3a4a;
  border-color: rgba(255,255,255,.5);
}
.nb-btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.nb-btn--ghost:hover { border-color: var(--sage); color: var(--sage-deep); }

/* ——— Hero (full-bleed) ——— */
.nb-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f4f7f4;
}
.nb-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.nb-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.03);
  animation: nb-hero- ken 18s var(--ease) infinite alternate;
}
@keyframes nb-hero-ken {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}
.nb-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 28, 22, 0.15) 0%, rgba(14, 28, 22, 0.55) 48%, rgba(12, 22, 18, 0.88) 100%),
    linear-gradient(90deg, rgba(12, 22, 18, 0.55) 0%, transparent 55%);
}
.nb-hero__content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 3.25rem;
  max-width: 36rem;
  animation: nb-rise 0.9s var(--ease) both;
}
@keyframes nb-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.nb-hero__brand {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.nb-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
}
.nb-hero .nb-kicker { color: #c5d4c8; }
.nb-hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.nb-hero > .nb-wrap > p,
.nb-hero__content > p {
  margin: 0 0 1.15rem;
  font-size: 1.02rem;
  color: rgba(244, 247, 244, 0.9);
  max-width: 34ch;
}
.nb-seller-box {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  backdrop-filter: blur(8px);
}
.nb-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.nb-hero__meta {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(244, 247, 244, 0.72);
}

/* ——— Sections ——— */
.nb-section {
  padding: 4.25rem 0;
}
.nb-section--band {
  background: rgba(255,255,255,0.55);
  border-block: 1px solid var(--line);
}
.nb-section h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.nb-lead {
  margin: 0;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.nb-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 880px) {
  .nb-split { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
  .nb-split--rev > :first-child { order: 2; }
}

.nb-feature-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.nb-feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}
.nb-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--sage);
  font-size: 1.05rem;
  min-width: 2rem;
}
.nb-feature-list strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 1rem;
}

.nb-media-frame {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: linear-gradient(160deg, #d5e0d6, #eef3ef);
  box-shadow: var(--shadow);
  animation: nb-float 6s ease-in-out infinite;
}
@keyframes nb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.nb-media-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.nb-rail {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .nb-rail { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .nb-rail { grid-template-columns: repeat(4, 1fr); }
}
.nb-rail article {
  padding: 0;
  background: transparent;
}
.nb-rail img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
  background: #dde6df;
}
.nb-rail h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.nb-rail ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.nb-rail li { margin: 0.2rem 0; }

/* ——— Specs / buy strip ——— */
.nb-specs {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.nb-specs div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.nb-specs dt,
.nb-specs span:first-child { color: var(--ink-soft); font-weight: 600; }
.nb-specs dd,
.nb-specs span:last-child { margin: 0; font-weight: 700; text-align: right; }

.nb-buy-strip {
  margin-top: 2rem;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #3e5346, #5f7464);
  color: #f4f7f4;
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .nb-buy-strip {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
.nb-buy-strip h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.nb-buy-strip p { margin: 0; opacity: 0.9; font-size: 0.92rem; }
.nb-buy-strip .nb-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-top: 0.45rem;
}
.nb-buy-strip .nb-price-row strong { font-size: 1.55rem; }
.nb-buy-strip .nb-price-row s { opacity: 0.7; font-size: 1rem; }

.nb-gallery {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) {
  .nb-gallery { grid-template-columns: repeat(5, 1fr); }
}
.nb-gallery button {
  border: 2px solid transparent;
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: #dde6df;
}
.nb-gallery button[aria-current="true"] { border-color: var(--sage); }
.nb-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.nb-disclaimer {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  background: #fff8f2;
  border: 1px solid #e8d2c0;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--warn);
}

.nb-faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 0;
}
.nb-faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.nb-faq summary::-webkit-details-marker { display: none; }
.nb-faq summary::after { content: "+"; color: var(--sage); font-weight: 700; }
.nb-faq details[open] summary::after { content: "–"; }
.nb-faq p {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ——— Footer ——— */
.nb-footer {
  margin-top: 3rem;
  padding: 0;
  background: #1f3a4a;
  color: #d7e2e8;
  position: relative;
  overflow: hidden;
}
.nb-footer::before {
  content: "NucaBrisa";
  position: absolute;
  right: -2%;
  bottom: -0.35em;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 18vw, 11rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  line-height: 0.8;
}
.nb-footer__top {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 2.25rem 0 1.75rem;
}
.nb-footer__intro {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .nb-footer__intro {
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
  }
}
.nb-footer__brand {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.4rem;
  letter-spacing: -0.03em;
}
.nb-footer__tag {
  margin: 0;
  max-width: 34rem;
  font-size: 0.95rem;
  color: #b7c7d0;
}
.nb-footer__contact {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #c5d3db;
}
.nb-footer__contact a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.nb-footer__grid {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem 0 2rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 800px) {
  .nb-footer__grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.nb-footer h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8fa8b6;
}
.nb-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
}
.nb-footer a { color: #e8f0f4; text-decoration: none; }
.nb-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.nb-footer__legal {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 1.1rem 0 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.78rem;
  color: #8fa8b6;
  display: grid;
  gap: 0.35rem;
}

/* ——— Legal pages ——— */
.nb-page-hero {
  padding: 2.5rem 0 1rem;
}
.nb-page-hero h1 {
  margin: 0.35rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}
.nb-legal-layout {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 900px) {
  .nb-legal-layout { grid-template-columns: 240px 1fr; gap: 2.5rem; }
}
.nb-toc {
  padding: 1rem;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  height: fit-content;
  position: sticky;
  top: 5rem;
}
.nb-toc ol { margin: 0.55rem 0 0; padding-left: 1.15rem; }
.nb-toc a { text-decoration: none; color: var(--sage-deep); font-weight: 600; }
.nb-prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.65rem;
}
.nb-prose p, .nb-prose li { color: var(--ink-soft); }
.nb-prose ul { padding-left: 1.2rem; }

/* ——— Status pages ——— */
.nb-status {
  padding: 4rem 0 5rem;
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}
.nb-status h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  .nb-hero__media img,
  .nb-media-frame,
  .nb-hero__content { animation: none; }
}
