/* ============================================================
   VIP ESTETIC — Blog
   CSS — Estilo completo
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --noir-black:       #1a1a1a;
  --silk-beige:       #c9b99a;
  --pearl-white:      #f5f2ed;
  --blush-pink:       #e8d5cb;
  --soft-terracotta:  #c4826a;
  --sage-green:       #8a9e8c;
  --warm-gray:        #6b6560;
  --divider:          #e2ddd8;
  --font-display:     'Cormorant Garamond', Georgia, serif;
  --font-body:        'Jost', system-ui, sans-serif;
  --container:        1100px;
  --radius:           6px;
  --transition:       .25s ease;
  --shadow-sm:        0 2px 12px rgba(26,26,26,.07);
  --shadow-md:        0 6px 28px rgba(26,26,26,.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--pearl-white);
  color: var(--noir-black);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }

/* ---------- Container ---------- */
.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- Utility: section-padding ---------- */
.section-padding { padding: 5rem 0; }

/* ---------- Labels ---------- */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--silk-beige);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--noir-black);
  margin-bottom: 1.25rem;
}
.section-title em { font-style: italic; color: var(--silk-beige); }
.section-title--center { text-align: center; }
.section-sub {
  font-size: 1.0625rem;
  color: var(--warm-gray);
  max-width: 60ch;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3rem;
}

/* ---------- Fade-up animation ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--silk-beige);
  color: var(--noir-black);
  border: 1.5px solid var(--silk-beige);
}
.btn--primary:hover {
  background: #b5a488;
  border-color: #b5a488;
  box-shadow: 0 6px 20px rgba(201,185,154,.35);
}
.btn--outline {
  background: transparent;
  color: var(--silk-beige);
  border: 1.5px solid var(--silk-beige);
}
.btn--outline:hover {
  background: var(--silk-beige);
  color: var(--noir-black);
}
.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,.9);
  border: 1.5px solid rgba(255,255,255,.45);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.12);
}
.btn--lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background var(--transition), box-shadow var(--transition),
              padding var(--transition);
}
.header.scrolled {
  background: rgba(26,26,26,.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,.18);
  padding: .75rem 0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header__logo { display: flex; align-items: center; height: 32px; transition: opacity var(--transition); }
.header__logo:hover { opacity: 0.8; }
.header__logo-img { height: 100%; width: auto; object-fit: contain; }
.header__logo-light { display: block; }
.header__logo-dark  { display: none; }
.header.scrolled .header__logo-light { display: none; }
.header.scrolled .header__logo-dark  { display: block; }
.header__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.header__back {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
  transition: color var(--transition);
}
.header__back:hover { color: var(--silk-beige); }

/* ============================================================
   BLOG HERO / PAGE HEADER
   ============================================================ */
.blog-hero {
  padding: 9rem 0 5rem;
  background: var(--noir-black);
  text-align: center;
}
.blog-hero__tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--silk-beige);
  margin-bottom: 1rem;
}
.blog-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.blog-hero__title em { font-style: italic; color: var(--silk-beige); }
.blog-hero__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.65);
  max-width: 52ch;
  margin-inline: auto;
}

/* ============================================================
   BLOG INDEX — GRID DE ARTIGOS
   ============================================================ */
.blog-index { padding: 4rem 0 6rem; }
.blog-index__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

/* Card de artigo */
.article-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.article-card__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--blush-pink);
}
.article-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.article-card:hover .article-card__thumb img { transform: scale(1.04); }
.article-card__thumb-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--warm-gray);
  font-style: italic;
  padding: 1.5rem;
  text-align: center;
}
.article-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.article-card__cat {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--silk-beige);
}
.article-card__date {
  font-size: .8125rem;
  color: var(--warm-gray);
}
.article-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--noir-black);
  margin-bottom: .75rem;
}
.article-card__excerpt {
  font-size: .9375rem;
  color: var(--warm-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}
.article-card__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--silk-beige);
  letter-spacing: .04em;
  transition: gap var(--transition);
  margin-top: auto;
}
.article-card__link::after { content: '→'; }
.article-card:hover .article-card__link { gap: .7rem; }

/* ============================================================
   ARTIGO — LAYOUT
   ============================================================ */
.article-header {
  padding: 9rem 0 4rem;
  background: var(--noir-black);
}
.article-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.article-header__breadcrumb a {
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.article-header__breadcrumb a:hover { color: var(--silk-beige); }
.article-header__breadcrumb span { color: rgba(255,255,255,.3); }
.article-header__cat {
  display: inline-block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--silk-beige);
  margin-bottom: 1rem;
}
.article-header__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
  max-width: 18ch;
  margin-bottom: 1.25rem;
}
.article-header__meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  color: rgba(255,255,255,.5);
  font-size: .875rem;
}
.article-header__meta span { display: flex; align-items: center; gap: .35rem; }

/* Artigo body layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
  padding: 4rem 0 6rem;
}

/* Conteúdo principal */
.article-content {
  min-width: 0;
}
.article-content__intro {
  font-size: 1.125rem;
  color: var(--warm-gray);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--divider);
}
.article-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  color: var(--noir-black);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}
.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--noir-black);
  margin: 2rem 0 .75rem;
}
.article-content p {
  font-size: 1rem;
  color: #3a3530;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.article-content ul,
.article-content ol {
  margin: 1rem 0 1.5rem 1.25rem;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li {
  font-size: 1rem;
  color: #3a3530;
  line-height: 1.75;
  margin-bottom: .5rem;
}
.article-content strong { color: var(--noir-black); font-weight: 600; }
.article-content em { font-style: italic; color: var(--warm-gray); }
.article-content blockquote {
  border-left: 3px solid var(--silk-beige);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(201,185,154,.08);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-content blockquote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--warm-gray);
  margin: 0;
}

/* Info box */
.info-box {
  background: rgba(138,158,140,.1);
  border: 1px solid rgba(138,158,140,.3);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.info-box__title {
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage-green);
  margin-bottom: .75rem;
}
.info-box p { margin-bottom: 0; }

/* Warning box */
.warn-box {
  background: rgba(196,130,106,.08);
  border: 1px solid rgba(196,130,106,.25);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.warn-box__title {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--soft-terracotta);
  margin-bottom: .75rem;
}

/* CTA inline */
.article-cta {
  background: var(--noir-black);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  margin: 3rem 0;
  text-align: center;
}
.article-cta h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: #fff;
  margin: 0 0 .75rem;
}
.article-cta p {
  color: rgba(255,255,255,.65);
  margin-bottom: 1.5rem;
}
.article-cta .btn { margin-inline: auto; }

/* Comparativo / tabela */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: .9375rem;
}
.comparison-table thead th {
  background: var(--noir-black);
  color: var(--silk-beige);
  padding: .85rem 1rem;
  text-align: left;
  font-weight: 500;
  font-size: .8125rem;
  letter-spacing: .06em;
}
.comparison-table tbody tr:nth-child(even) { background: rgba(201,185,154,.07); }
.comparison-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--divider);
  color: #3a3530;
  line-height: 1.55;
  vertical-align: top;
}
.comparison-table td:first-child { font-weight: 500; color: var(--noir-black); }
.check { color: var(--sage-green); font-weight: 700; }
.cross { color: var(--soft-terracotta); font-weight: 700; }

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
}
.sidebar-widget {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.sidebar-widget__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--noir-black);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--divider);
}
.sidebar-cta {
  background: var(--noir-black);
  color: #fff;
}
.sidebar-cta .sidebar-widget__title { color: #fff; border-color: rgba(255,255,255,.15); }
.sidebar-cta p {
  font-size: .9375rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.sidebar-cta .btn { width: 100%; justify-content: center; }
.toc__list { display: flex; flex-direction: column; gap: .5rem; }
.toc__list a {
  font-size: .9rem;
  color: var(--warm-gray);
  transition: color var(--transition);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  line-height: 1.4;
}
.toc__list a::before {
  content: '—';
  color: var(--silk-beige);
  flex-shrink: 0;
  font-size: .8rem;
  margin-top: .1rem;
}
.toc__list a:hover { color: var(--silk-beige); }
.related__list { display: flex; flex-direction: column; gap: .75rem; }
.related__item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--divider);
}
.related__item:last-child { border-bottom: none; padding-bottom: 0; }
.related__item a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--noir-black);
  line-height: 1.4;
  transition: color var(--transition);
}
.related__item a:hover { color: var(--silk-beige); }
.related__cat {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--silk-beige);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--noir-black);
  padding-top: 4rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand img { height: 34px; width: auto; margin-bottom: .75rem; }
.footer__brand-logo { height: 32px; width: auto; opacity: 0.8; }
.footer__tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
  max-width: 28ch;
  margin-top: .5rem;
}
.footer__nav ul { display: flex; flex-direction: column; gap: .65rem; }
.footer__nav a {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--silk-beige); }
.footer__contact p,
.footer__contact a {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  display: block;
  margin-bottom: .4rem;
  transition: color var(--transition);
}
.footer__contact a:hover { color: var(--silk-beige); }
.footer__bottom {
  padding: 1.5rem 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer__bottom p {
  font-size: .8125rem;
  color: rgba(255,255,255,.3);
}
.footer__anvisa {
  font-size: .75rem !important;
  color: rgba(255,255,255,.2) !important;
  text-align: right;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #25d366;
  color: #fff;
  padding: .85rem 1.25rem .85rem 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  font-size: .875rem;
  font-weight: 500;
  transition: transform .3s, box-shadow .3s;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,.5);
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .blog-index__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section-padding { padding: 3.5rem 0; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom .container { flex-direction: column; text-align: center; }
  .footer__anvisa { text-align: center !important; }
  .article-sidebar { grid-template-columns: 1fr; }
  .comparison-table { font-size: .875rem; }
  .comparison-table td, .comparison-table th { padding: .65rem .75rem; }
  .whatsapp-float__label { display: none; }
  .whatsapp-float { padding: .85rem; border-radius: 50%; }
}
