/*
Theme Name: Portal Materno
Theme URI: https://portalmaterno.com.br
Author: Portal Materno
Author URI: https://portalmaterno.com.br
Description: Tema premium para blog de maternidade, com visual editorial estilo portal de notícias, cores acolhedoras (rosa nude, bege claro, terracota, sálvia), tipografia Playfair Display + Poppins, layout totalmente compatível com o Elementor (page builder gratuito) para a página inicial, além de Custom Post Types para Produtos, Depoimentos e Recursos Gratuitos, captura de leads via AJAX e comentários nativos do WordPress.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: portal-materno
Tags: blog, maternidade, editorial, elementor-compatible, custom-colors, custom-menu, translation-ready
*/

/* ============================================================
   PORTAL MATERNO — Design System
   Premium, acolhedor, delicado e moderno.
   ============================================================ */

:root {
  /* Paleta */
  --rosa-nude: #F6E5E5;
  --bege-claro: #F5EFE6;
  --off-white: #FCFAF8;
  --terracota: #D9A58B;
  --terracota-escuro: #C17F60;
  --salvia: #BFC8B2;
  --salvia-escuro: #9AA687;
  --texto-principal: #4A403A;
  --texto-secundario: #7A6F68;
  --texto-claro: #A69B93;
  --branco: #FFFFFF;
  --preto-suave: #2E2723;

  /* Tipografia (fontes carregadas via wp_enqueue_style no functions.php) */
  --font-title: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Poppins', 'Montserrat', -apple-system, sans-serif;

  /* Sombras */
  --shadow-sm: 0 2px 12px rgba(74, 64, 58, 0.06);
  --shadow-md: 0 8px 30px rgba(74, 64, 58, 0.08);
  --shadow-lg: 0 20px 50px rgba(74, 64, 58, 0.12);
  --shadow-hover: 0 16px 40px rgba(217, 165, 139, 0.25);

  /* Raios */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 999px;

  /* Transições */
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--texto-principal);
  background-color: var(--off-white);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--preto-suave);
  line-height: 1.25;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--terracota);
  color: white;
  padding: 10px 16px;
  z-index: 9999;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ============ CLASSES PADRÃO DO WORDPRESS ============ */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
  width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #fff; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
  clip: auto !important; clip-path: none; color: #2E2723; display: block;
  font-size: 0.9rem; height: auto; left: 10px; line-height: normal; padding: 12px 16px;
  text-decoration: none; top: 10px; width: auto; z-index: 100000;
}
.alignleft { float: left; margin: 0 24px 12px 0; }
.alignright { float: right; margin: 0 0 12px 24px; }
.aligncenter { display: block; margin: 0 auto 12px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.82rem; color: var(--texto-secundario); padding-top: 8px; text-align: center; }
.wp-block-image img, .entry-content img { border-radius: var(--radius-sm); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 24px 0; }
.gallery img { border-radius: var(--radius-sm); }
.sticky { outline: 2px dashed var(--terracota); }
.bypostauthor { }
.wp-block-quote, blockquote {
  border-left: 3px solid var(--terracota);
  padding: 4px 0 4px 22px;
  margin: 24px 0;
  font-style: italic;
  color: var(--texto-secundario);
}

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.35s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--terracota);
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--terracota-escuro);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.btn-secondary {
  background: transparent;
  color: var(--preto-suave);
  border: 1.5px solid var(--preto-suave);
}
.btn-secondary:hover {
  background: var(--preto-suave);
  color: white;
  transform: translateY(-3px);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--terracota);
  color: var(--terracota-escuro);
}
.btn-outline:hover {
  background: var(--terracota);
  color: white;
  transform: translateY(-2px);
}
.btn-sm { padding: 11px 22px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(252, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74, 64, 58, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--preto-suave);
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--rosa-nude);
  color: var(--terracota-escuro);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.95rem;
  font-weight: 500;
}
.main-nav ul { display: flex; align-items: center; gap: 32px; }
.main-nav > ul > li { position: relative; }
.main-nav a, .nav-dropdown-trigger {
  position: relative;
  color: var(--texto-principal);
  transition: color 0.25s var(--ease);
  display: flex; align-items: center; gap: 6px;
  font-size: 0.95rem; font-weight: 500;
}
.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--terracota);
  transition: width 0.3s var(--ease);
}
.main-nav > ul > li > a:hover::after { width: 100%; }
.main-nav a:hover, .nav-dropdown-trigger:hover { color: var(--terracota-escuro); }

.nav-dropdown, .menu-item-has-children { position: relative; }
.nav-dropdown-trigger i, .menu-item-has-children > a::after { font-size: 0.7rem; transition: transform 0.25s var(--ease); }
.nav-dropdown-panel, .menu-item-has-children .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  min-width: 240px;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
  list-style: none;
}
.nav-dropdown:hover .nav-dropdown-panel,
.menu-item-has-children:hover .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-panel a, .sub-menu a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: background 0.2s;
  display: block;
}
.nav-dropdown-panel a:hover, .sub-menu a:hover { background: var(--bege-claro); color: var(--terracota-escuro); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.mobile-menu-toggle {
  display: none;
  font-size: 1.3rem;
  color: var(--preto-suave);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: white;
  border-top: 1px solid rgba(0,0,0,0.05);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.mobile-nav.open { max-height: 600px; overflow-y: auto; }
.mobile-nav a { padding: 14px 24px; border-bottom: 1px solid rgba(0,0,0,0.04); font-size: 0.95rem; display: block; }
.mobile-nav-sub { padding-left: 40px !important; font-size: 0.88rem; color: var(--texto-secundario); }

/* ============ HERO (páginas internas) ============ */
.hero {
  position: relative;
  padding: 90px 0 110px;
  background: linear-gradient(160deg, var(--rosa-nude) 0%, var(--bege-claro) 55%, var(--off-white) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,165,139,0.22), transparent 70%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.7);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracota-escuro);
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}
.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--terracota-escuro);
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--texto-secundario);
  max-width: 520px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
}
.hero-badge i { color: var(--terracota-escuro); font-size: 1.4rem; }
.hero-badge strong { display: block; font-size: 0.9rem; font-family: var(--font-title); }
.hero-badge span { font-size: 0.78rem; color: var(--texto-secundario); }

/* ============ NEWS HERO (Home estilo portal de notícias) ============ */
.news-hero {
  position: relative;
  padding: 70px 0 60px;
  background: linear-gradient(160deg, var(--rosa-nude) 0%, var(--bege-claro) 55%, var(--off-white) 100%);
  overflow: hidden;
}
.news-hero-top { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.hero-title-sm {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.hero-title-sm em { font-style: italic; color: var(--terracota-escuro); }
.hero-subtitle-sm { font-size: 1.05rem; color: var(--texto-secundario); max-width: 560px; margin: 0 auto; }

.news-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}

.news-headline {
  display: block;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.news-headline:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.news-headline-image { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.news-headline-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.news-headline:hover .news-headline-image img { transform: scale(1.05); }
.news-headline-tag {
  position: absolute; top: 20px; left: 20px;
  background: var(--terracota-escuro);
  color: white;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.news-headline-body { padding: 32px 36px 36px; }
.news-headline-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--texto-claro);
  margin-bottom: 16px;
}
.news-headline-meta i:not(:first-child) { margin-left: 10px; }
.news-headline-body h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 14px;
  line-height: 1.35;
}
.news-headline-body p { color: var(--texto-secundario); margin-bottom: 18px; }
.news-headline-readmore {
  font-size: 0.9rem; font-weight: 600; color: var(--terracota-escuro);
  display: inline-flex; align-items: center; gap: 8px;
}
.news-headline-readmore i { font-size: 0.75rem; transition: transform 0.3s var(--ease); }
.news-headline:hover .news-headline-readmore i { transform: translateX(4px); }

.news-side-list {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  height: 100%;
}
.news-side-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(74,64,58,0.08);
}
.news-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(74,64,58,0.07);
}
.news-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-list-index {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--terracota);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}
.news-list-item img {
  width: 64px; height: 64px; object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.news-list-body { flex: 1; min-width: 0; }
.news-list-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--terracota-escuro);
  margin-bottom: 4px;
}
.news-list-body h4 {
  font-size: 0.88rem;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
  color: var(--texto-principal);
}
.news-list-item:hover .news-list-body h4 { color: var(--terracota-escuro); }
.news-list-meta {
  font-size: 0.72rem;
  color: var(--texto-claro);
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 44px;
}

/* ============ FAIXA DE EDITORIAS (categorias em pílulas) ============ */
.editorias-bar {
  padding: 28px 0;
  background: white;
  border-bottom: 1px solid rgba(74,64,58,0.08);
}
.editorias-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.editorias-scroll::-webkit-scrollbar { display: none; }
.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--off-white);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--texto-secundario);
  white-space: nowrap;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}
.category-pill i { font-size: 0.85rem; }
.category-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.category-pill.cat-rosa:hover { background: var(--rosa-nude); color: var(--terracota-escuro); }
.category-pill.cat-bege:hover { background: var(--bege-claro); color: var(--terracota-escuro); }
.category-pill.cat-terracota:hover { background: #f3e2d8; color: var(--terracota-escuro); }
.category-pill.cat-salvia:hover { background: #e5e9df; color: var(--salvia-escuro); }

/* ============ SEÇÕES GERAIS ============ */
section { padding: 100px 0; }
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracota-escuro);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 18px;
}
.section-subtitle {
  color: var(--texto-secundario);
  font-size: 1.05rem;
}
.section-header.align-left { text-align: left; margin: 0 0 50px; }

.bg-bege { background: var(--bege-claro); }
.bg-rosa { background: var(--rosa-nude); }
.bg-white { background: var(--off-white); }

/* ============ CATEGORIAS ============ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.category-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.category-card-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: transform 0.4s var(--ease);
}
.category-card:hover .category-card-icon { transform: scale(1.1) rotate(-6deg); }
.cat-rosa .category-card-icon { background: var(--rosa-nude); color: var(--terracota-escuro); }
.cat-bege .category-card-icon { background: var(--bege-claro); color: var(--terracota-escuro); }
.cat-terracota .category-card-icon { background: #f3e2d8; color: var(--terracota-escuro); }
.cat-salvia .category-card-icon { background: #e5e9df; color: var(--salvia-escuro); }
.category-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.category-card p { font-size: 0.88rem; color: var(--texto-secundario); margin-bottom: 18px; flex: 1; }
.category-card-link {
  font-size: 0.85rem; font-weight: 600; color: var(--terracota-escuro);
  display: inline-flex; align-items: center; gap: 6px;
}
.category-card-link i { font-size: 0.75rem; transition: transform 0.3s var(--ease); }
.category-card:hover .category-card-link i { transform: translateX(4px); }

/* ============ ARTIGOS / DESTAQUES ============ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.article-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.article-card-image-link { position: relative; overflow: hidden; aspect-ratio: 4/3; display: block; }
.article-card-image-link img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.article-card:hover .article-card-image-link img { transform: scale(1.08); }
.article-card-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,0.92);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--terracota-escuro);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.article-card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.article-card-meta {
  display: flex; gap: 16px; margin-bottom: 12px;
  font-size: 0.78rem; color: var(--texto-claro);
}
.article-card-meta span { display: flex; align-items: center; gap: 5px; }
.article-card-body h3 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.4; }
.article-card-body h3 a:hover { color: var(--terracota-escuro); }
.article-card-body p { font-size: 0.9rem; color: var(--texto-secundario); flex: 1; margin-bottom: 16px; }
.article-card-readmore {
  font-size: 0.85rem; font-weight: 600; color: var(--terracota-escuro);
  display: inline-flex; align-items: center; gap: 6px;
}
.article-card-readmore i { font-size: 0.75rem; transition: transform 0.3s var(--ease); }
.article-card:hover .article-card-readmore i { transform: translateX(4px); }

.article-card-large { grid-column: span 1; }
@media (min-width: 900px) {
  .articles-grid.featured-grid .article-card:first-child {
    grid-column: span 2;
  }
  .articles-grid.featured-grid .article-card:first-child .article-card-image-link {
    aspect-ratio: 16/9;
  }
}

.section-footer-link { text-align: center; margin-top: 50px; }

/* ============ RECURSOS GRATUITOS ============ */
.leads-section { background: var(--bege-claro); position: relative; overflow: hidden; }
.leads-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.lead-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease);
}
.lead-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.lead-card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--rosa-nude);
  color: var(--terracota-escuro);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.lead-card h4 { font-size: 1.02rem; margin-bottom: 10px; }
.lead-card p { font-size: 0.85rem; color: var(--texto-secundario); }

.lead-form-wrap {
  max-width: 620px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  padding: 46px 50px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.lead-form-wrap h3 { font-size: 1.5rem; margin-bottom: 12px; }
.lead-form-wrap > p { color: var(--texto-secundario); margin-bottom: 28px; }
.lead-form { display: flex; gap: 12px; flex-wrap: wrap; }
.lead-form input {
  flex: 1;
  min-width: 180px;
  padding: 15px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid #e8ddd3;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--off-white);
  transition: border-color 0.25s;
}
.lead-form input:focus { outline: none; border-color: var(--terracota); }
.lead-form-success {
  margin-top: 18px;
  color: var(--salvia-escuro);
  font-weight: 600;
  font-size: 0.92rem;
}
.lead-form-privacy { margin-top: 16px; font-size: 0.75rem; color: var(--texto-claro); }

/* ============ PRODUTOS ============ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.product-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(217,165,139,0.12);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.product-card-image { aspect-ratio: 1/1; overflow: hidden; background: var(--bege-claro); }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card:hover .product-card-image img { transform: scale(1.06); }
.product-card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.product-card-category {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--salvia-escuro); margin-bottom: 8px;
}
.product-card-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.product-card-body p { font-size: 0.88rem; color: var(--texto-secundario); flex: 1; margin-bottom: 20px; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-card-price { display: flex; flex-direction: column; }
.price-old { font-size: 0.78rem; color: var(--texto-claro); text-decoration: line-through; }
.price-current { font-size: 1.25rem; font-weight: 700; color: var(--terracota-escuro); font-family: var(--font-title); }

/* ============ DEPOIMENTOS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--terracota); margin-bottom: 16px; font-size: 0.9rem; letter-spacing: 2px; }
.testimonial-quote { font-size: 0.94rem; color: var(--texto-principal); margin-bottom: 22px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--rosa-nude); color: var(--terracota-escuro);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-title);
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.78rem; color: var(--texto-secundario); }

/* ============ SOBRE ============ */
.about-section .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.about-content h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 22px; }
.about-content p { color: var(--texto-secundario); margin-bottom: 18px; font-size: 1.02rem; }
.about-values { display: flex; gap: 30px; margin-top: 32px; flex-wrap: wrap; }
.about-value { display: flex; align-items: center; gap: 10px; }
.about-value i { color: var(--terracota-escuro); font-size: 1.1rem; }
.about-value span { font-size: 0.9rem; font-weight: 600; }

/* ============ CTA FINAL ============ */
.cta-final {
  background: linear-gradient(135deg, var(--terracota) 0%, var(--terracota-escuro) 100%);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  text-align: center;
  color: white;
  margin: 0 24px;
  max-width: 1192px;
  margin-left: auto;
  margin-right: auto;
}
.cta-final h2 { color: white; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 16px; }
.cta-final p { opacity: 0.92; margin-bottom: 32px; font-size: 1.05rem; }
.cta-final .btn-primary { background: white; color: var(--terracota-escuro); }
.cta-final .btn-primary:hover { background: var(--preto-suave); color: white; }

/* ============ FOOTER ============ */
.site-footer { background: var(--preto-suave); color: rgba(255,255,255,0.75); padding: 80px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { color: white; margin-bottom: 16px; }
.footer-brand .logo-mark { background: rgba(255,255,255,0.12); color: var(--terracota); }
.footer-tagline { font-size: 0.92rem; margin-bottom: 22px; max-width: 260px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.footer-socials a:hover { background: var(--terracota); transform: translateY(-3px); }
.footer-col h3 { color: white; font-size: 1rem; margin-bottom: 20px; font-family: var(--font-body); font-weight: 600; }
.footer-col ul li { margin-bottom: 0; }
.footer-col a { display: block; font-size: 0.88rem; margin-bottom: 12px; transition: color 0.25s; }
.footer-col a:hover { color: var(--terracota); }
.footer-newsletter-text { font-size: 0.85rem; margin-bottom: 16px; }
.footer-newsletter-form { display: flex; gap: 8px; }
.footer-newsletter-form input {
  flex: 1; padding: 12px 16px; border-radius: var(--radius-full);
  border: none; background: rgba(255,255,255,0.1); color: white; font-family: inherit;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.footer-newsletter-form button {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--terracota); color: white; flex-shrink: 0;
  transition: background 0.3s;
}
.footer-newsletter-form button:hover { background: var(--terracota-escuro); }
.footer-newsletter-success { font-size: 0.8rem; color: var(--salvia); margin-top: 10px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 24px; font-size: 0.8rem; flex-wrap: wrap; gap: 10px;
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: var(--terracota); }

/* ============ BLOG LISTAGEM ============ */
.page-header {
  background: linear-gradient(160deg, var(--rosa-nude) 0%, var(--bege-claro) 100%);
  padding: 70px 0 60px;
  text-align: center;
}
.page-header .breadcrumbs { margin-bottom: 20px; justify-content: center; }
.page-header h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 14px; }
.page-header p { color: var(--texto-secundario); max-width: 600px; margin: 0 auto; }

.breadcrumbs {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.82rem; color: var(--texto-secundario); flex-wrap: wrap;
}
.breadcrumbs a:hover { color: var(--terracota-escuro); }
.breadcrumbs i { font-size: 0.65rem; color: var(--texto-claro); }

/* Páginas legais */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 24px 90px;
}
.legal-section { margin-bottom: 40px; }
.legal-section h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--terracota-escuro);
}
.legal-section p {
  color: var(--texto-secundario);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-section strong { color: var(--texto-principal); }
.breadcrumbs .current { color: var(--texto-principal); font-weight: 600; }

.blog-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-filters {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 50px;
}
.blog-filter-pill {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: white;
  font-size: 0.85rem; font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease);
  display: inline-block;
}
.blog-filter-pill:hover, .blog-filter-pill.active {
  background: var(--terracota); color: white;
}

.pagination-wrap { display: flex; justify-content: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
.pagination-wrap .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 12px;
  border-radius: var(--radius-full); background: white; box-shadow: var(--shadow-sm);
  font-size: 0.88rem; font-weight: 600; color: var(--texto-secundario);
  transition: all 0.25s var(--ease);
}
.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover { background: var(--terracota); color: white; }

/* ============ ARTIGO INDIVIDUAL ============ */
.article-hero { padding: 60px 0 0; }
.article-hero .container { max-width: 900px; }
.article-hero-meta {
  display: flex; align-items: center; gap: 20px; margin-bottom: 24px; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--texto-secundario);
}
.article-hero-meta span { display: flex; align-items: center; gap: 6px; }
.article-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 26px;
}
.article-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 40px 0 0;
  aspect-ratio: 16/9;
}
.article-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.article-body-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px;
}
.article-content { font-size: 1.08rem; color: var(--texto-principal); }
.article-content p { margin-bottom: 22px; }
.article-content strong { color: var(--preto-suave); }

.author-badge { display: flex; align-items: center; gap: 14px; margin: 40px 0; padding: 24px; background: var(--bege-claro); border-radius: var(--radius-md); }
.author-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--terracota); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-title); font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-badge strong { display: block; font-size: 0.95rem; }
.author-badge span { font-size: 0.82rem; color: var(--texto-secundario); }

.article-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0; }
.article-tag {
  background: var(--rosa-nude); color: var(--terracota-escuro);
  padding: 7px 16px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 500;
  display: inline-block;
}

.share-section {
  display: flex; align-items: center; gap: 16px; margin: 40px 0;
  padding: 26px 0; border-top: 1px solid rgba(0,0,0,0.06); border-bottom: 1px solid rgba(0,0,0,0.06);
}
.share-section span { font-size: 0.88rem; font-weight: 600; color: var(--texto-secundario); }
.share-buttons { display: flex; gap: 10px; }
.share-buttons a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bege-claro); color: var(--texto-principal);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.share-buttons a:hover { background: var(--terracota); color: white; transform: translateY(-3px); }

.related-section { background: var(--bege-claro); padding: 80px 0; }

.comments-section { padding: 70px 0; }
.comments-section .container,
.comments-area { max-width: 760px; margin: 0 auto; }
.comments-section h3, .comments-title { font-size: 1.5rem; margin-bottom: 30px; }
.comment-form, #commentform { background: white; padding: 30px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-bottom: 40px; }
.comment-form-row { display: flex; gap: 16px; margin-bottom: 16px; }
.comment-form input, .comment-form textarea,
#commentform input[type="text"], #commentform input[type="email"], #commentform input[type="url"], #commentform textarea {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-sm);
  border: 1.5px solid #eee2d6; font-family: inherit; font-size: 0.92rem;
  background: var(--off-white);
}
.comment-form textarea, #commentform textarea { resize: vertical; min-height: 100px; margin-bottom: 16px; }
.comment-form input:focus, .comment-form textarea:focus,
#commentform input:focus, #commentform textarea:focus { outline: none; border-color: var(--terracota); }
.comment-item, .comment-body { display: flex; gap: 16px; margin-bottom: 26px; }
.comment-item .author-avatar, .comment-body .author-avatar { width: 44px; height: 44px; font-size: 0.95rem; }
.comment-content { flex: 1; }
.comment-content-header { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.comment-content-header strong { font-size: 0.92rem; }
.comment-content-header span { font-size: 0.76rem; color: var(--texto-claro); }
.comment-content p { font-size: 0.92rem; color: var(--texto-secundario); }
.comment-empty { text-align: center; color: var(--texto-claro); padding: 30px 0; font-size: 0.9rem; }
.comment-success { color: var(--salvia-escuro); font-weight: 600; font-size: 0.88rem; margin-top: 12px; }
.comment-awaiting-moderation { display: block; margin-top: 8px; font-size: 0.78rem; color: var(--terracota-escuro); font-style: italic; }
ol.comment-list { list-style: none; }
.children { margin-left: 40px; }

/* ============ PÁGINA DE PRODUTO ============ */
.product-hero { padding: 60px 0 100px; }
.product-hero .container {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center;
}
.product-hero-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1/1; }
.product-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.product-hero-info .product-card-category { font-size: 0.78rem; }
.product-hero-info h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 12px 0 20px; }
.product-hero-info > p { color: var(--texto-secundario); font-size: 1.05rem; margin-bottom: 28px; }
.product-price-block { display: flex; align-items: baseline; gap: 14px; margin-bottom: 30px; }
.product-price-block .price-current { font-size: 2rem; }
.product-features { margin-bottom: 34px; }
.product-features li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 0.95rem; }
.product-features i { color: var(--salvia-escuro); margin-top: 3px; }
.product-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.product-guarantee { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 0.85rem; color: var(--texto-secundario); }
.product-guarantee i { color: var(--terracota-escuro); font-size: 1.1rem; }

/* ============ ANIMAÇÕES ============ */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.fade-in-up.is-visible { opacity: 1; transform: translateY(0); }

/* ============ COMPATIBILIDADE COM O EDITOR DO ELEMENTOR ============ */
/* Garante que as seções construídas no Elementor herdem a paleta e tipografia do tema */
.elementor-widget-heading .elementor-heading-title { font-family: var(--font-title); color: var(--preto-suave); }
.elementor-widget-text-editor { font-family: var(--font-body); color: var(--texto-secundario); }
.elementor-button { border-radius: var(--radius-full) !important; font-family: var(--font-body) !important; }
.elementor-icon-list-items .elementor-icon-list-icon { color: var(--terracota-escuro); }

/* ============ RESPONSIVO ============ */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid, .products-grid, .blog-listing-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid, .leads-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-wrap { max-width: 420px; margin: 0 auto; }
  .about-section .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .product-hero .container { grid-template-columns: 1fr; }
  .articles-grid.featured-grid .article-card:first-child { grid-column: span 1; }
  .news-hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .mobile-nav { display: flex; }
  section { padding: 64px 0; }
  .categories-grid, .articles-grid, .products-grid, .blog-listing-grid,
  .testimonials-grid, .leads-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 70px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .lead-form-wrap { padding: 32px 24px; }
  .lead-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-final { padding: 50px 28px; margin: 0 16px; }
  .comment-form-row { flex-direction: column; }
  .share-section { flex-wrap: wrap; }
  .news-hero { padding: 50px 0 44px; }
  .news-headline-body { padding: 24px 24px 28px; }
  .news-list-item img { width: 54px; height: 54px; }
  .news-hero-actions { flex-direction: column; }
  .news-hero-actions .btn { width: 100%; }
}
