/* Femivela — cool mist editorial (distinct from Guida Kegel cream/plum) */
:root {
  --paper: #eef2f1;
  --paper-deep: #e2e8e6;
  --ink: #15201c;
  --ink-soft: #3a4a44;
  --muted: #5c6e67;
  --line: #c5d0cb;
  --teal: #1a6b5c;
  --teal-deep: #134f44;
  --teal-soft: #d4e8e3;
  --coral: #c45c5c;
  --white: #fafcfb;
  --shadow: 0 12px 40px rgba(21, 32, 28, 0.08);
  --font-display: "Newsreader", "Georgia", serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --max: 1120px;
  --narrow: 720px;
  --header-h: 64px;
  --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);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(26, 107, 92, 0.07), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(196, 92, 92, 0.05), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-deep);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.1rem;
}

ul, ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

/* —— Advertorial strip —— */
.top-ad {
  background: var(--ink);
  color: #d8e4df;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  position: relative;
  z-index: 60;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.65rem clamp(1rem, 3vw, 2rem);
  background: rgba(238, 242, 241, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(21, 32, 28, 0.06);
  background: rgba(250, 252, 251, 0.94);
}

.brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand em {
  font-style: italic;
  color: var(--teal);
  font-weight: 500;
}

.nav {
  display: none;
  gap: 1.15rem;
  margin-left: auto;
  font-size: 0.88rem;
}

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

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

.header-end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.btn-buy,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  background: var(--teal);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  font-weight: 500;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease);
}

.btn-buy:hover,
.btn:hover {
  background: var(--teal-deep);
}

.btn-outline {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal) !important;
  background: var(--teal-soft);
}

.btn-coral {
  background: var(--coral);
}

.btn-coral:hover {
  background: #a84848;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}

.menu-btn i {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(21, 32, 28, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav > div {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--white);
  padding: 5.5rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  box-shadow: var(--shadow);
}

.mobile-nav.open > div {
  transform: translateX(0);
}

.mobile-nav ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.mobile-nav a {
  display: block;
  padding: 0.7rem 0;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.mobile-nav small {
  color: var(--muted);
  font-size: 0.8rem;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
  .menu-btn {
    display: none;
  }
  .header-end {
    margin-left: 0;
  }
}

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

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

main {
  overflow-x: clip;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: end;
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--ink);
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.9s var(--ease) 0.1s forwards;
}

.hero-brand span {
  display: block;
  font-style: italic;
  color: var(--teal);
  font-weight: 500;
}

.hero-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: heroIn 0.8s var(--ease) 0.25s forwards;
}

.hero h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 550;
  margin: 0 0 1rem;
  max-width: 22ch;
  opacity: 0;
  animation: heroIn 0.85s var(--ease) 0.35s forwards;
}

.hero-deck {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 38ch;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: heroIn 0.85s var(--ease) 0.45s forwards;
}

.hero-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: heroIn 0.85s var(--ease) 0.55s forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: heroIn 0.85s var(--ease) 0.65s forwards;
}

.hero-visual {
  position: relative;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  animation: heroIn 1s var(--ease) 0.3s forwards;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -4% -4% 8%;
  background: linear-gradient(135deg, var(--teal-soft), transparent 60%);
  z-index: 0;
  border-radius: 2px;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.hero-visual figcaption {
  position: relative;
  z-index: 1;
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Quick facts —— */
.facts {
  margin: 0 0 3rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.facts h2 {
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.fact dt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.fact dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}

.facts-note {
  margin: 1.15rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* —— Feature chips —— */
.chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 0 0 3.5rem;
}

.chip {
  padding: 1.15rem 1.25rem;
  background: rgba(250, 252, 251, 0.7);
  border-left: 3px solid var(--teal);
}

.chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.chip span {
  font-size: 0.88rem;
  color: var(--muted);
}

/* —— Chapters / magazine —— */
.toc {
  margin: 0 0 3rem;
  padding: 1.5rem;
  background: var(--teal-soft);
  border-radius: 2px;
}

.toc h2 {
  font-size: 1.1rem;
  margin: 0 0 0.85rem;
}

.toc ol {
  columns: 1;
  gap: 2rem;
  margin: 0;
  padding-left: 1.25rem;
}

@media (min-width: 640px) {
  .toc ol {
    columns: 2;
  }
}

.toc a {
  color: var(--ink);
  text-decoration: none;
}

.toc a:hover {
  color: var(--teal);
}

.chapter {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.chapter-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.chapter h2 {
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  margin: 0 0 1.15rem;
  max-width: 28ch;
}

.chapter .lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.callout {
  margin: 1.5rem 0;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border-left: 3px solid var(--coral);
}

.callout.teal {
  border-left-color: var(--teal);
}

.callout h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

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

.figure-block {
  margin: 1.75rem 0;
}

.figure-block figcaption {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.two-col {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--line);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--paper-deep);
  font-weight: 560;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.siglas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.sigla {
  padding: 1rem;
  background: var(--ink);
  color: #e8f0ed;
  text-align: center;
}

.sigla b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
}

.sigla span {
  font-size: 0.78rem;
  opacity: 0.8;
}

.lists-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .lists-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.list-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--teal);
}

.list-card.warn h3 {
  border-bottom-color: var(--coral);
}

.list-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
}

.positions {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.pos {
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.pos h4 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.pos p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 550;
  color: var(--ink);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "+";
  display: inline-block;
  width: 1.2rem;
  color: var(--teal);
  font-weight: 600;
}

.faq details[open] summary::before {
  content: "–";
}

.faq details p {
  margin: 0.75rem 0 0.25rem;
  color: var(--ink-soft);
  padding-left: 1.2rem;
}

/* —— Alimentação —— */
.alimentacao {
  padding: 3rem 0;
  background: linear-gradient(180deg, transparent, rgba(26, 107, 92, 0.06) 20%, rgba(26, 107, 92, 0.06) 80%, transparent);
}

.alimentacao .section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.food-row {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 760px) {
  .food-row {
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
  }
  .food-row.reverse {
    grid-template-columns: 1.1fr 1fr;
  }
  .food-row.reverse .food-copy {
    order: -1;
  }
}

.food-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
}

.food-copy h3 {
  font-size: 1.35rem;
  margin: 0 0 0.65rem;
}

.food-copy p {
  color: var(--ink-soft);
}

.food-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.4rem;
}

/* —— CTA band —— */
.cta-band {
  margin: 2.5rem 0;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--ink);
  color: #d5e2dd;
  border-radius: 2px;
}

.cta-band h2 {
  color: #fff;
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.cta-band p {
  max-width: 42ch;
  margin-bottom: 1.25rem;
}

.cta-band .btn {
  background: var(--teal);
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  opacity: 0.75;
}

/* —— Health disclaimer —— */
.health-notice {
  margin: 2.5rem auto;
  padding: 1.35rem 1.5rem;
  background: #fff8f7;
  border: 1px solid #e8c9c9;
  border-radius: 2px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.health-notice strong {
  display: block;
  font-family: var(--font-display);
  color: var(--coral);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.affiliate-box {
  margin: 1.5rem auto 3rem;
  padding: 1.25rem 1.4rem;
  border: 1px dashed var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: var(--white);
}

/* —— Legal pages —— */
.page-hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.page-hero .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 0.5rem;
}

.page-hero .updated {
  font-size: 0.88rem;
  color: var(--muted);
}

.legal-body {
  padding-bottom: 3.5rem;
}

.legal-body h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.legal-body h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

.contact-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  margin: 1.5rem 0;
}

.contact-card a {
  word-break: break-all;
}

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: #a8b8b2;
  padding: 3rem 0 2rem;
  font-size: 0.88rem;
}

.site-footer a {
  color: #d5e2dd;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-brand em {
  font-style: italic;
  color: #7eb8aa;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-nav strong {
  color: #fff;
  margin-bottom: 0.35rem;
  font-weight: 550;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  line-height: 1.55;
}

/* —— Cookie banner —— */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 1rem;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 32px rgba(21, 32, 28, 0.12);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* —— Scroll reveal —— */
.js [data-in] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js [data-in].in {
  opacity: 1;
  transform: none;
}

.js [data-in][data-w="1"] {
  transition-delay: 0.08s;
}

.js [data-in][data-w="2"] {
  transition-delay: 0.16s;
}

.js [data-in][data-w="3"] {
  transition-delay: 0.24s;
}

/* —— Utilities —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.muted {
  color: var(--muted);
}
