/* ==========================================================================
   NutreMar — folha de estilos do publirreportagem
   Tema: nutrição marinha & saúde cardiovascular
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --ink: #0f2230;
  --body: #324a59;
  --muted: #6b8190;
  --line: #e2ebee;
  --bg: #eef4f5;
  --surface: #ffffff;
  --sea: #0e8c8b;
  --sea-dark: #0a6d6c;
  --sea-deep: #073b46;
  --aqua: #19b9b0;
  --coral: #ff6b5a;
  --coral-dark: #ed4f3d;
  --sun: #f5b53d;
  --shadow: 0 18px 40px -22px rgba(7, 59, 70, 0.45);
  --shadow-sm: 0 8px 20px -14px rgba(7, 59, 70, 0.4);
  --radius: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: var(--body);
  background:
    radial-gradient(900px 500px at 100% -5%, #d9eeee 0%, rgba(217, 238, 238, 0) 60%),
    var(--bg);
}

a {
  color: var(--sea-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--coral-dark);
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Cabeçalho / navegação ----------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.05rem;
  background: linear-gradient(135deg, var(--aqua), var(--sea-dark));
  box-shadow: var(--shadow-sm);
}

.brand b {
  color: var(--sea);
}

.nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.93rem;
  font-weight: 600;
}

.nav a {
  color: var(--body);
  text-decoration: none;
}

.nav a:hover {
  color: var(--sea-dark);
}

@media (max-width: 680px) {
  .nav { display: none; }
}

/* ---------- Hero ---------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  color: #eafbfa;
  background:
    radial-gradient(700px 360px at 12% 0%, rgba(25, 185, 176, 0.55), rgba(25, 185, 176, 0) 60%),
    linear-gradient(150deg, var(--sea-deep) 0%, var(--sea-dark) 55%, #0b5152 100%);
}

.hero__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3.2rem 1.25rem 3.4rem;
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 4.2rem 1.25rem 4.4rem;
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #bff3ee;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
}

.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 1rem 0 0.9rem;
}

.hero p.lead {
  font-size: 1.06rem;
  color: #d7f0ee;
  margin: 0 0 1.4rem;
  max-width: 38ch;
}

.hero__meta {
  font-size: 0.84rem;
  color: #a9d7d4;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
}

.hero__media {
  position: relative;
}

.hero__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  border: 5px solid rgba(255, 255, 255, 0.14);
}

.hero__badge {
  position: absolute;
  bottom: -16px;
  left: -10px;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 0.7rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero__badge span {
  font-size: 1.5rem;
}

@media (max-width: 859px) {
  .hero__badge { left: auto; right: 10px; }
}

/* ---------- Layout do conteúdo -------------------------------------------- */

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1rem;
}

.wide {
  max-width: 1080px;
}

article p,
article li {
  font-size: 1.02rem;
}

h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.62rem;
  line-height: 1.2;
  margin: 2.6rem 0 0.9rem;
  letter-spacing: -0.01em;
}

h3 {
  font-weight: 800;
  color: var(--ink);
  font-size: 1.2rem;
  margin: 1.8rem 0 0.6rem;
}

h4 {
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sea-dark);
  margin-bottom: 0.2rem;
}

sup {
  color: var(--sea);
  font-weight: 700;
}

/* índice / toc */
.toc {
  background: linear-gradient(180deg, #ffffff, #f5fafa);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin: 1.8rem 0;
  box-shadow: var(--shadow-sm);
}

.toc h2 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.toc ol {
  margin: 0;
  padding-left: 1.2rem;
  counter-reset: toc;
  list-style: none;
}

.toc li {
  position: relative;
  padding-left: 0.4rem;
  margin-bottom: 0.45rem;
  font-size: 0.96rem;
}

.toc li::before {
  counter-increment: toc;
  content: counter(toc);
  position: absolute;
  left: -1.2rem;
  top: 0.15rem;
  width: 1.35rem;
  height: 1.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: var(--sea);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

/* figuras */
.figure {
  margin: 1.8rem 0;
}

.figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.caption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.55rem;
  text-align: center;
}

/* callouts */
.callout {
  border-radius: var(--radius);
  padding: 1.2rem 1.35rem;
  margin: 1.8rem 0;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.callout--warn {
  border-left: 5px solid var(--coral);
  background: #fff5f3;
}

.callout--info {
  border-left: 5px solid var(--sea);
  background: #f0fafa;
}

.callout p { margin: 0.3rem 0; font-size: 0.98rem; }

/* ---------- Cartões de produto -------------------------------------------- */

.products {
  display: grid;
  gap: 1.6rem;
  margin: 1.8rem 0;
}

.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 620px) {
  .product-card {
    grid-template-columns: 190px 1fr;
    align-items: start;
  }
}

.product-card__rank {
  position: absolute;
  top: -14px;
  left: 18px;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.product-card__media {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem;
  display: grid;
  place-items: center;
}

.product-card__media img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 8px;
  mix-blend-mode: multiply;
}

.product-card__body h3 {
  margin: 0.2rem 0 0.2rem;
  font-size: 1.18rem;
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.stars {
  color: var(--sun);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.7rem 0 0.4rem;
}

.chip {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sea-deep);
  background: #e2f3f1;
  border: 1px solid #c9e9e5;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

.pros-cons {
  display: grid;
  gap: 0.8rem;
  margin: 0.9rem 0;
}

@media (min-width: 520px) {
  .pros-cons { grid-template-columns: 1fr 1fr; }
}

.pros-cons ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}

.pros-cons li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.4rem;
}

.pros li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #15a06a;
  font-weight: 800;
}

.cons li::before {
  content: "!";
  position: absolute;
  left: 0.25rem;
  top: 0;
  color: var(--coral-dark);
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.4rem;
  padding: 0.7rem 1.25rem;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 12px 22px -12px rgba(237, 79, 61, 0.8);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
  transform: translateY(-2px);
  color: #fff !important;
  box-shadow: 0 16px 26px -12px rgba(237, 79, 61, 0.85);
}

.btn--ghost {
  background: #fff;
  color: var(--sea-dark) !important;
  border: 1.5px solid var(--sea);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--sea);
  color: #fff !important;
}

/* ---------- Tabela -------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin: 1.4rem 0;
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--surface);
  min-width: 540px;
}

table.compare th,
table.compare td {
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

table.compare thead th {
  background: var(--sea-deep);
  color: #eafbfa;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

table.compare tbody tr:nth-child(even) {
  background: #f6fafa;
}

table.compare td:first-child {
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Caixas informativas / fontes ---------------------------------- */

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin: 1.8rem 0;
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
}

.info-card h3 { margin-top: 0; }

.sources {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 2px dashed var(--line);
}

.sources ol {
  padding-left: 1.25rem;
}

.sources li {
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  color: var(--body);
}

.disclaimer {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 2px dashed var(--line);
}

.disclaimer > h3 {
  font-size: 1.05rem;
  color: var(--ink);
  margin: 1.6rem 0 0.5rem;
}

.disclaimer > p {
  font-size: 0.95rem;
  color: var(--body);
  margin: 0;
}

.disclaimer-box {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  margin: 0 0 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.disclaimer-box h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 0.75rem;
  letter-spacing: 0.01em;
}

.disclaimer-box h3::before {
  content: "!";
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.disclaimer-box p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--body);
}

.disclaimer-box--affiliate {
  border-color: #f0b429;
  background: linear-gradient(180deg, #fffdf5 0%, #fff9e8 100%);
}

.disclaimer-box--affiliate h3::before {
  background: #e6a817;
}

.disclaimer-box--medical {
  border-color: #e05a4a;
  background: linear-gradient(180deg, #fff8f6 0%, #fff1ee 100%);
}

.disclaimer-box--medical h3::before {
  background: var(--coral-dark);
}

/* ---------- Rodapé -------------------------------------------------------- */

.footer {
  margin-top: 3rem;
  background: var(--sea-deep);
  color: #bdd9d8;
}

.footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.4rem 1.25rem;
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 720px) {
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 0.7rem;
  letter-spacing: 0.02em;
}

.footer a {
  color: #cfe7e5;
  text-decoration: none;
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.footer a:hover { color: #fff; }

.footer .brand { color: #fff; margin-bottom: 0.6rem; }
.footer .brand b { color: var(--aqua); }

.footer__note {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: #8fbcba;
  padding: 1rem 1.25rem;
  text-align: center;
}

/* ---------- Páginas legais ------------------------------------------------ */

.page-legal .container { max-width: 760px; }

.page-legal h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.15;
  margin: 0 0 0.6rem;
}

.crumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.crumbs a { color: var(--sea-dark); text-decoration: none; }

/* ---------- Acessibilidade ------------------------------------------------ */

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.meta {
  font-size: 0.86rem;
  color: var(--muted);
}
