/*
Theme Name: Neutrofer
Theme URI: https://neutrofer.com.br
Author: Neutrofer
Description: Tema oficial Neutrofer - suplementos nutricionais para gestantes
Version: 3.4.6
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: neutrofer
*/

/* =========================================
   VARIÁVEIS (cores extraídas do Figma)
   ========================================= */
:root {
  --navy: #171b41;          /* título hero / texto */
  --steel: #385a7e;         /* títulos de seção */
  --coral: #de6a6e;
  --coral-2: #de696d;
  --coral-3: #df6c70;       /* títulos de blog */
  --coral-soft: #eea29d;
  --magenta: #b95893;
  --plum: #8c356a;
  --white: #ffffff;
  --text: #171b41;
  --gray: #6b7280;

  /* gradientes do design */
  --grad-text: linear-gradient(90deg, #b95893 0%, #de6a6e 100%);
  --grad-card-plan: linear-gradient(160deg, #f39991 0%, #f5ddec 100%);
  --grad-card-gest: linear-gradient(160deg, #cc8fae 0%, #995d94 100%);
  --grad-card-amam: linear-gradient(160deg, #b95893 0%, #8c356a 100%);
  --grad-tag: linear-gradient(90deg, #eea29d 0%, #de6a6e 100%);
  --grad-btn: linear-gradient(90deg, #de696d 0%, #eea29d 100%);
  --grad-footer: linear-gradient(90deg, #b95893 0%, #de6a6e 100%);

  --font: 'Poppins', sans-serif;

  --shadow-soft: 0 6px 24px rgba(23,27,65,0.08);
  --shadow-card: 0 12px 40px rgba(140,53,106,0.18);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 50px;

  --container: 1280px;
}

/* =========================================
   RESET / BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { padding: 72px 0; }

h1,h2,h3,h4 { font-family: var(--font); line-height: 1.12; font-weight: 600; color: var(--navy); }

/* título de seção padrão (steel) */
.sec-title {
  color: var(--steel);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}
.sec-sub {
  color: var(--steel);
  font-size: 1.25rem;
  font-weight: 400;
  text-align: center;
}

/* texto com gradiente */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* =========================================
   HEADER (pílula coral 969px sobre o hero)
   ========================================= */
.site-header {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 50;
}
.header-pill {
  max-width: 1180px;
  height: 70px;
  margin: 0 auto;
  padding: 0 24px 0 36px;
  background: var(--coral);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: 0 10px 30px rgba(222,106,110,0.30);
}
.site-logo { display: inline-flex; align-items: center; margin-right: auto; }
.site-logo img { height: 40px; width: auto; }
.logo-text { font-weight: 800; font-size: 1.5rem; color: #fff; letter-spacing: -.01em; }
.logo-text .logo-box { background:#fff; color: var(--coral); padding: 0 5px; border-radius: 6px; margin: 0 1px; }
.logo-reg { font-size: .42em; vertical-align: super; font-weight: 600; margin-left: 1px; }

.site-nav ul { display: flex; align-items: center; gap: 40px; }
.site-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: .08em;
  position: relative;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: #fff; transition: width .3s;
}
.site-nav a:hover::after, .site-nav a.current-menu-item::after { width: 100%; }

.header-social { display: flex; align-items: center; gap: 16px; padding-left: 8px; border-left: 1px solid rgba(255,255,255,.4); }
.header-social a { color: #fff; font-size: 1.1rem; opacity: .9; transition: opacity .2s; }
.header-social a:hover { opacity: 1; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: #fff; display: block; }

/* =========================================
   HERO — carrossel vertical
   ========================================= */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 660;   /* mesma proporção do banner da aba Conteúdos */
  max-height: 720px;
  overflow: hidden;
  background: linear-gradient(120deg,#fde9ee 0%, #f3e0f0 100%);
}
.hero-swiper, .hero-swiper .swiper-wrapper, .hero-swiper .swiper-slide { width: 100%; height: 100%; }
.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;   /* preenche o slide; a altura vem do .hero */
}
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;   /* mantém a base (produtos) visível, corte sai do topo */
}

/* overlay de texto */
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 5;
  pointer-events: none;
}
.hero-overlay .container { height: 100%; position: relative; }
.hero-text {
  position: absolute;
  top: calc(15% + 80px);   /* descido ~80px do menu */
  left: -40px;             /* movido 80px à esquerda (sai de cima da modelo) */
  max-width: 760px;
  pointer-events: auto;
}
.hero-title {
  font-size: clamp(1.8rem, 3.6vw, 3.25rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.06;
  margin-bottom: 22px;
}
.hero-subtitle {
  display: inline-block;
  background: var(--coral-2);
  color: #fff;
  font-size: clamp(1rem,1.5vw,1.5rem);
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 6px;
  margin-bottom: 26px;
}
.hero-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 400;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  transition: transform .2s;
  pointer-events: auto;
}
.hero-btn:hover { transform: translateY(-2px); }
.hero-btn i { color: var(--coral); }

/* dots verticais à esquerda */
.hero .hero-dots {
  position: absolute !important;
  left: 40px !important;
  right: auto !important;
  top: auto !important;
  bottom: 16% !important;
  width: auto !important;
  transform: none !important;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero .hero-dots .swiper-pagination-bullet {
  width: 13px !important;
  height: 25px !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  opacity: .95 !important;
  margin: 0 !important;
  transition: all .3s;
}
.hero .hero-dots .swiper-pagination-bullet-active {
  background: #171b41 !important;
  height: 15px !important;
}

/* Setas de navegação do hero (prev/next) */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 12;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.85);
  color: var(--coral);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: background .2s ease, transform .2s ease;
}
.hero-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.hero-nav--prev { left: 22px; }
.hero-nav--next { right: 22px; }
.hero-nav.swiper-button-disabled { opacity: 0; pointer-events: none; }
@media (max-width: 768px) {
  /* no mobile, setas na base (longe do texto no topo-esquerdo) */
  .hero-nav { width: 38px; height: 38px; font-size: .85rem; top: auto; bottom: 16px; transform: none; }
  .hero-nav:hover { transform: scale(1.06); }
  .hero-nav--prev { left: 12px; }
  .hero-nav--next { right: 12px; }
}

/* =========================================
   SEÇÃO INTRO — Cuidado nutricional
   ========================================= */
.intro-section { padding: 80px 0; }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.intro-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
}
.intro-text { font-size: 1.25rem; color: var(--navy); font-weight: 400; }

/* =========================================
   SEÇÃO CARDS DE FASES (cascata sobreposta)
   ========================================= */
.fases-section { padding: 30px 0 90px; }
.fases-stage {
  position: relative;
  width: 100%;
  max-width: 1193px;
  margin: 0 auto;
  aspect-ratio: 1193 / 648;
}

/* cartões (somente fundo + título) */
.fcard {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(140,53,106,.22);
}
.fcard--amam { left: 55.16%;  width: 44.8%; z-index: 1; background: linear-gradient(150deg, #b95893 0%, #8c356a 100%); }
.fcard--gest { left: 25.65%;  width: 44.8%; z-index: 2; background: linear-gradient(150deg, #cc8fae 0%, #995d94 100%); }
.fcard--plan { left: 0;       width: 45.2%; z-index: 5; background: linear-gradient(150deg, #f39991 0%, #f7e3ee 100%); }

/* títulos */
.fcard-title {
  position: absolute;
  top: 6%;
  z-index: 3;
  color: #fff;
  font-weight: 600;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  white-space: nowrap;
}
.fcard--plan .fcard-title { left: calc(20% + 70px); }
.fcard--gest .fcard-title { left: calc(48% + 50px); }
.fcard--amam .fcard-title { left: calc(34% + 50px); }

/* produtos — camada separada, posições relativas ao palco (1193x648),
   z-index na ordem de pintura do Figma: amam-prod acima do card de gestação */
.fprod {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.28));
  will-change: transform;
  animation: fprod-float 5s ease-in-out infinite;
}
.fprod--amam   { left: 57.25%; top: 19%;   width: 35.6%; z-index: 3; animation-delay: .35s; }
.fprod--gest   { left: 48%;    top: 45.5%; width: 21.6%; z-index: 4; animation-delay: 1.2s; }
.fprod--plan90 { left: 15.76%; top: 19.3%; width: 33.4%; z-index: 6; animation-delay: 0s; }
.fprod--plan30 { left: 3.1%;   top: 31%;   width: 23.6%; z-index: 7; animation-delay: .7s; }

@keyframes fprod-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

/* leve realce só no produto ao passar o mouse (sem mexer nos cards) */
.fprod:hover { filter: drop-shadow(0 20px 34px rgba(0,0,0,.34)); }

/* conteúdo interno dos cards (produtos + botão) — só no mobile */
.fcard-mobile { display: none; }
.fcard-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--coral);
  font-weight: 600;
  font-size: .92rem;
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.fcard-btn i { font-size: .8rem; }

@media (prefers-reduced-motion: reduce) {
  .fprod { animation: none; }
}

/* =========================================
   SEÇÃO FARMÁCIAS
   ========================================= */
.farmacias-section {
  position: relative;
  padding: 64px 0 30px;
}
.farmacias-sub { margin-top: 8px; }

/* faixa da onda — imagem em fluxo (completa, sem corte) com logos sobre ela */
.farmacias-band {
  position: relative;
  width: 100%;
  margin-top: 16px;          /* aproxima a faixa do título/subtítulo */
}
.farmacias-wave {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}
.farmacias-logos-wrap {
  position: absolute;
  left: 0; right: 0;
  top: 12%;                  /* logos no topo da onda, perto do subtítulo */
  display: flex;
  justify-content: center;
  z-index: 2;
}
.farmacias-logos-wrap .container { width: 100%; }
.farmacias-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
}
/* tamanho padronizado: imagens já recortadas (sem margem), altura uniforme */
.farmacia-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
}
.farmacia-logo img {
  height: 44px;          /* mesma altura para todos */
  width: auto;
  object-fit: contain;
  transition: transform .2s;
}
.farmacia-logo:hover img { transform: scale(1.06); }

/* =========================================
   SEÇÃO CONTEÚDOS
   ========================================= */
.conteudos-section { padding: 40px 0 80px; }
.conteudos-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin-top: 48px;
}
/* card destaque */
.post-featured .post-featured-img {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 593/342;
  margin-bottom: 22px;
}
.post-featured-img a { display: block; width: 100%; height: 100%; }
.post-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.post-featured h3 a, .post-mini-body h4 a { color: inherit; transition: opacity .2s; }
.post-featured h3 a:hover, .post-mini-body h4 a:hover { opacity: .8; }
.post-mini-img a { display: block; width: 100%; height: 100%; }
/* tag sobreposta no canto inferior esquerdo da imagem */
.post-featured-tag {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
}
.post-featured h3 {
  color: var(--coral);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 16px 0 0;
}
.tag {
  display: inline-block;
  background: var(--grad-tag);
  color: #fff;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}
.tag--lg { font-size: .9rem; padding: 8px 22px; }
.btn-ver-mais {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--grad-btn);
  color: #fff;
  font-weight: 400;
  font-size: 1.05rem;
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  transition: transform .2s, box-shadow .2s;
}
.btn-ver-mais:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(222,105,109,.4); }

/* coluna lateral - posts pequenos */
.post-list { display: flex; flex-direction: column; gap: 28px; }
/* botão "Ver mais" abaixo do listing, alinhado à esquerda */
.post-list .btn-ver-mais { align-self: flex-start; margin-top: 4px; }
.post-mini { display: grid; grid-template-columns: 207px 1fr; gap: 20px; align-items: center; }
.post-mini-img {
  width: 207px; height: 148px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}
.post-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.post-mini-body .tag { margin-bottom: 12px; }
.post-mini-body h4 {
  color: var(--coral-3);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.3;
}

/* =========================================
   SEÇÃO CONTATO
   ========================================= */
.contato-section {
  position: relative;
  padding: 50px 0 70px;
  overflow: hidden;
}
.contato-wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.contato-section .container { position: relative; z-index: 2; }
.contato-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}
.contato-text h2 { color: var(--steel); font-size: clamp(1.8rem,3vw,2.75rem); margin-bottom: 18px; }
.contato-text p { font-size: 1.15rem; color: var(--navy); max-width: 600px; font-weight: 400; margin: 0; }
.contato-text p strong { font-weight: 700; }

/* botões-pílula */
.contato-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}
.contato-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  padding: 15px 28px;
  background: #fbe2ea;
  color: var(--navy);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.05rem;
  transition: background .25s, transform .2s;
}
.contato-pill i { font-size: 1.2rem; color: var(--magenta); width: 24px; text-align: center; }
.contato-pill:hover { background: var(--coral); color: #fff; transform: translateX(4px); }
.contato-pill:hover i { color: #fff; }

/* =========================================
   PÁGINA BLOG
   ========================================= */
.blog-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 660;   /* hero um pouco mais baixo */
  max-height: 720px;
  overflow: hidden;
  background: linear-gradient(120deg, #ffffff 0%, #fdeef0 100%);
}
.blog-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.blog-hero-overlay { position: absolute; inset: 0; z-index: 2; }
.blog-hero-overlay .container { position: relative; height: 100%; }
.blog-hero-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 32px;
  max-width: 600px;
}
.blog-hero-label {
  display: block;
  color: var(--steel);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.blog-hero-text h1 {
  color: var(--navy);
  font-size: clamp(1.9rem, 3.1vw, 2.9rem);
  font-weight: 600;            /* mais fina */
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.blog-listing { padding: 80px 0; }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 56px;
}
.blog-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 22px;
  align-items: center;
}
.blog-item-img {
  display: block;
  width: 200px;
  height: 150px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}
.blog-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-item-img:hover img { transform: scale(1.05); }
.blog-item-body .tag { margin-bottom: 12px; }
.blog-item-body h3 {
  color: var(--coral-3);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
}
.blog-loadmore { display: flex; justify-content: center; margin-top: 60px; }

/* =========================================
   SINGLE — notícia / artigo
   ========================================= */
.single-header {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 132px 0 46px;
}
.single-header-wave {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: auto;
  z-index: 0; pointer-events: none;
  transform: scaleY(-1);
}
.single-dots {
  position: absolute;
  z-index: 1;
  width: 150px; height: 110px;
  background-image: radial-gradient(circle, #efb6ae 2px, transparent 2.5px);
  background-size: 17px 17px;
  opacity: .55;
  pointer-events: none;
}
.single-dots--left { left: 26px; top: 80px; }
.single-header .container { position: relative; z-index: 2; }
.single-tag { margin-bottom: 22px; }
.single-title {
  color: var(--coral);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.28;
  max-width: 820px;
  margin: 16px auto 0;
}

.single-content { padding: 18px 0 60px; }
.single-content > .container { max-width: 1120px; }
.single-content p {
  font-size: .92rem;
  color: #5a5a5a;
  line-height: 1.85;
  margin-bottom: 20px;
}
/* remove parágrafos vazios inseridos pelo wpautop (quebravam o grid) */
.single-content p:empty { display: none; }

/* bloco intro: imagem + texto */
.post-intro {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 48px;
  align-items: start;
  margin: 8px 0 44px;
}
.post-intro > img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}
.post-intro .post-intro-text p { font-size: .82rem; margin-bottom: 16px; }

/* destaque full-bleed em gradiente */
.post-highlight {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: linear-gradient(120deg, #f6b3ad 0%, #ec9098 55%, #de6a6e 100%);
  color: #fff;
  padding: 64px 0;
  margin-top: 50px;
  overflow: hidden;
}
.post-highlight::before {
  content: "";
  position: absolute;
  left: 24px; top: 40px;
  width: 150px; height: 220px;
  background-image: radial-gradient(circle, rgba(255,255,255,.5) 2px, transparent 2.5px);
  background-size: 17px 17px;
  opacity: .6;
}
.post-highlight-inner { max-width: 1120px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
.post-highlight h2 {
  color: #fff;
  text-align: center;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 600;
  margin-bottom: 38px;
}
.post-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: center;
}
.post-highlight-grid p {
  color: rgba(255,255,255,.95);
  font-size: .82rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.post-highlight-grid img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

@media (max-width: 768px) {
  .post-intro { grid-template-columns: 1fr; gap: 24px; }
  .post-highlight-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================
   PÁGINA PADRÃO / CONTEÚDO LEGAL
   ========================================= */
.page-hero {
  background: linear-gradient(120deg, #fdeef0 0%, #f3e0f0 100%);
  padding: 132px 0 50px;
  text-align: center;
}
.page-hero h1 {
  color: var(--steel);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
}
.legal-content { padding: 50px 0 72px; }
.legal-content .container { max-width: 880px; }
.legal-content h2 {
  color: var(--steel);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 38px 0 14px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  color: #555;
  line-height: 1.85;
  margin-bottom: 16px;
  font-size: .95rem;
}
.legal-content strong { color: var(--navy); }
.legal-content a { color: var(--coral); text-decoration: underline; }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--grad-footer);
  color: #fff;
  padding: 56px 0 28px;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.footer-logo img { height: 46px; width: auto; }
.footer-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-nav > a { color: #fff; font-weight: 500; font-size: .95rem; opacity: .95; }
.footer-nav > a:hover { text-decoration: underline; }
.footer-nav .divider { width: 1px; height: 20px; background: rgba(255,255,255,.5); }
.footer-social { display: inline-flex; align-items: center; gap: 14px; }
.footer-social a {
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transition: opacity .2s;
}
.footer-social a:hover { opacity: .75; }
.footer-copy {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.3);
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  color: rgba(255,255,255,.9);
}
.footer-copy a { color: inherit; text-decoration: underline; transition: opacity .2s; }
.footer-copy a:hover { opacity: .75; }

/* =========================================
   MENU MOBILE
   ========================================= */
.mobile-menu {
  background: var(--coral);
  margin: 10px 16px 0;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(222,106,110,.35);
  overflow: hidden;
}
.mobile-menu[hidden] { display: none; }
.mobile-nav-list { padding: 8px 24px 14px; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-list a { display: block; padding: 13px 0; color: #fff !important; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.22); }
.mobile-nav-list li:last-child a { border-bottom: none; }

/* =========================================
   RESPONSIVO
   ========================================= */
@media (max-width: 1024px) {
  .conteudos-grid { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Cards de fases — cards autossuficientes (título + produtos + botão) no mobile */
@media (max-width: 860px) {
  .fases-stage { aspect-ratio: auto; max-width: 380px; display: flex; flex-direction: column; gap: 22px; }
  .fprod { display: none !important; }   /* esconde a camada de produtos do desktop */

  .fcard {
    position: relative !important;
    left: auto !important;
    width: 100% !important;
    height: auto;
    aspect-ratio: auto;
    z-index: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 20px 30px;
    border-radius: 24px;
  }
  .fcard--plan { order: 1; }
  .fcard--gest { order: 2; }
  .fcard--amam { order: 3; }

  .fcard-title {
    position: static !important;
    left: auto !important;
    top: auto !important;
    margin-bottom: 8px;
    font-size: 1.8rem;
    text-align: center;
    white-space: normal;
  }

  .fcard-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    width: 100%;
  }
  .fcard-mobile > img {
    max-height: 240px;
    width: auto;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,.22));
  }
  .fcard-mprods {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
  }
  .fcard-mprods { max-width: 100%; transform: translateX(30px); }
  .fcard-mprods img {
    max-height: 215px;
    width: auto;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,.22));
  }
  .fcard-mprods img:first-child {
    position: relative; z-index: 2;
    margin-right: -105px;
    filter: drop-shadow(-6px 10px 16px rgba(0,0,0,.30));
  }
  .fcard-mprods img:last-child  { position: relative; z-index: 1; }
}

@media (max-width: 768px) {
  .site-nav, .header-social { display: none; }
  .hamburger { display: flex; }
  .site-header { top: 16px; }
  .header-pill { justify-content: space-between; height: 60px; padding: 0 18px; }
  .site-logo img { height: 34px; }

  /* ===== HERO mobile: banner estático único com texto sobreposto ===== */
  .hero {
    aspect-ratio: 25 / 26;   /* +30% de altura em relação ao 5/4 anterior */
    height: auto;
    max-height: none;
    overflow: hidden;
    background: linear-gradient(120deg, #fde9ee 0%, #f3e0f0 100%);
  }
  .hero-swiper, .hero-swiper .swiper-wrapper { height: 100%; }
  .hero-swiper .swiper-slide { height: 100%; }
  .hero-slide { aspect-ratio: auto; height: 100%; display: block; }
  .hero-slide img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
  }
  .hero-overlay { position: absolute; inset: 0; padding: 0; }
  .hero-overlay .container { height: 100%; padding: 0 18px; }
  .hero-text {
    position: absolute;
    top: 104px;
    left: 18px;
    right: auto;
    max-width: 62%;
    transform: none;
  }
  .hero-title { font-size: 1.1rem; line-height: 1.13; margin-bottom: 10px; }
  .hero-subtitle { font-size: .76rem; padding: 5px 11px; margin-bottom: 12px; }
  .hero-btn { font-size: .72rem; padding: 8px 14px; gap: 7px; }
  .hero-dots { display: none; }

  /* conteúdos / posts */
  .post-mini { grid-template-columns: 110px 1fr; gap: 14px; }
  .post-mini-img { width: 110px; height: 84px; }
  .post-featured h3 { font-size: 1.3rem; }

  /* contato */
  .contato-card { flex-direction: column; align-items: stretch; gap: 26px; padding: 34px 24px; }
  .contato-text p { font-size: 1rem; }
  .contato-pill { min-width: 0; justify-content: center; }

  /* farmácias — onda fina demais no mobile: logos em fluxo normal */
  .farmacias-band { position: static; }
  .farmacias-wave { display: none; }
  .farmacias-logos-wrap { position: static; padding-top: 4px; }
  .farmacias-logos-wrap .container { padding: 0 24px; }
  .farmacias-logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
    gap: 34px 20px;
  }
  .farmacia-logo { height: auto; }
  .farmacia-logo img { height: 34px !important; }
  .farmacia-logo:nth-child(3) img, .farmacia-logo:nth-child(4) img { height: 40px !important; }

  /* títulos de seção menores */
  .sec-title { font-size: 1.7rem; }
  .intro-title { font-size: 1.7rem; }
  .intro-text { font-size: 1.05rem; }

  /* blog grid */
  .blog-grid { grid-template-columns: 1fr; gap: 26px; }
  .blog-item { grid-template-columns: 120px 1fr; gap: 16px; }
  .blog-item-img { width: 120px; height: 90px; }
  .blog-item-body h3 { font-size: 1.02rem; }

  /* blog hero empilhado */
  .blog-hero {
    aspect-ratio: auto;
    height: auto;
    max-height: none;
    padding-top: 84px;
    background: linear-gradient(120deg, #ffffff 0%, #fdeef0 100%);
  }
  .blog-hero-img { position: static; width: 100%; height: 240px; object-fit: cover; object-position: center; }
  .blog-hero-overlay { position: static; }
  .blog-hero-overlay .container { height: auto; }
  .blog-hero-text { position: static; top: auto; transform: none; left: auto; max-width: none; padding: 22px 20px 28px; }
  .blog-hero-text h1 { font-size: 1.7rem; }

  /* single + página legal */
  .single-header { padding: 100px 0 34px; }
  .single-title { font-size: 1.5rem; }
  .page-hero { padding: 100px 0 34px; }
  .page-hero h1 { font-size: 1.7rem; }
}
