/*
Theme Name: Segundo Salário
Theme URI: https://segundosalario.com.br
Author: Felipe
Author URI: https://segundosalario.com.br
Description: Tema do blog Segundo Salário — renda extra, IA e vendas online. Visual em verde e azul-marinho, feito para publicação semanal de artigos.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: segundo-salario
*/

/* ============================================================
   TOKENS DO DESIGN SYSTEM
   ============================================================ */
:root {
  /* Cores — marca */
  --green-500: #27A84C;
  --green-400: #34CE5C;
  --green-600: #1E8540;
  --navy-900:  #0A1A2F;
  --navy-800:  #0E2238;
  --navy-700:  #13314F;

  /* Cores — neutros */
  --white:    #FFFFFF;
  --gray-50:  #F4F6F8;
  --gray-200: #E3E7EC;
  --text-900: #0F2C45;
  --text-600: #5A6573;
  --text-400: #8A929E;

  /* Cores — suporte / semântica */
  --green-tint: #E9F7EE;
  --success:    #27A84C;
  --info:       #2D7FF0;
  --warning:    #F5A623;
  --error:      #E5484D;

  /* Tipografia */
  --font-display: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Raio */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(15,44,69,0.06);
  --shadow-md: 0 6px 16px rgba(15,44,69,0.10);
  --shadow-lg: 0 12px 32px rgba(15,44,69,0.14);

  /* Espaçamento (escala base 8px) */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;
  --space-4: 16px;  --space-6: 24px;  --space-8: 32px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px;

  /* Layout */
  --container: 1200px;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-900);
  margin: 0;
}

p { margin: 0; }

a { color: var(--green-600); text-decoration: none; }
a:hover { text-decoration: underline; }

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

ul { list-style: none; margin: 0; padding: 0; }

/* Foco visível — navegação por teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(39, 168, 76, 0.4);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Link "pular para conteúdo" (acessibilidade) */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green-600);
  color: var(--white);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  z-index: 200;
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
  text-decoration: none;
}

/* Texto só para leitores de tela (padrão 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 !important;
  width: 1px;
  word-wrap: normal !important;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--green-500);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-600);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-700);
}
.btn-secondary:hover {
  background: var(--navy-700);
  box-shadow: var(--shadow-md);
}

/* Link terciário "Ver conteúdos →" */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: 44px;
  color: var(--green-600);
  font-weight: 600;
  font-size: 15px;
}
.link-arrow .arrow { transition: transform 0.2s ease; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid var(--navy-700);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 72px;
}

/* Logo empilhado: "SEGUNDO" pequeno + "SALÁRIO" forte */
.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--white);
  white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo .logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .l1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 3px;
  color: #C7D2DE;
}
.logo-text .l2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--white);
}

.main-nav ul { display: flex; align-items: center; gap: var(--space-1); }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-3);
  color: #C7D2DE;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-md);
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--white); text-decoration: none; }
.main-nav a[aria-current="page"],
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-parent > a,
.main-nav .current-category-ancestor > a {
  color: var(--green-400);
  border-bottom-color: var(--green-500);
}

.header-actions { display: flex; align-items: center; gap: var(--space-2); }

.search-toggle, .nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-md);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease;
}
.search-toggle:hover, .nav-toggle:hover { background: var(--navy-800); }
.nav-toggle { display: none; }

/* Campo de busca recolhível */
.search-bar { background: var(--navy-800); border-bottom: 1px solid var(--navy-700); display: none; }
.search-bar.is-open { display: block; }
.search-bar form { display: flex; gap: var(--space-2); padding: var(--space-3) 0; }
.search-bar input { flex: 1; }

/* ============================================================
   HERO — título centralizado + cards flutuantes em volta
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(900px 380px at 50% 0%, rgba(39,168,76,0.10), transparent 70%),
    var(--navy-900);
  color: var(--white);
  padding: var(--space-20) 0 var(--space-16);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  color: var(--white);
  font-weight: 800;
  font-size: 50px;
  line-height: 1.12;
  margin-bottom: var(--space-6);
}
.hero-lead {
  font-size: 19px;
  line-height: 1.5;
  color: #C7D2DE;
  max-width: 56ch;
  margin: 0 auto var(--space-8);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }

/* Linhas pontilhadas (constelação) atrás dos cards */
.hero-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* Cards flutuantes — atalhos */
.float-card {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}
.float-card .ic {
  width: 34px; height: 34px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-900);
  border-radius: var(--radius-md);
  color: var(--green-400);
}
.float-card .ic svg { width: 20px; height: 20px; }
/* posições (desktop) */
.fc-1 { top: 10%;  left: 1%;   animation-delay: 0s;   }
.fc-2 { top: 40%;  left: -1%;  animation-delay: .8s;  }
.fc-3 { top: 71%;  left: 6%;   animation-delay: 1.6s; }
.fc-4 { top: 13%;  right: 2%;  animation-delay: .4s;  }
.fc-5 { top: 55%;  right: -1%; animation-delay: 1.2s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ============================================================
   SEÇÕES GERAIS
   ============================================================ */
section { padding: var(--space-20) 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--space-12); }
.section-head h2 { font-size: 34px; line-height: 1.2; margin-bottom: var(--space-4); }
.section-head p { font-size: 18px; color: var(--text-600); }

/* Seção "Escolha por onde começar" */
.pillars { background: var(--gray-50); }
.cards-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-6); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-500);
  transform: translateY(-3px);
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  background: var(--green-tint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--green-600);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 20px; line-height: 1.3; margin-bottom: var(--space-3); }
.card p { font-size: 15px; color: var(--text-600); margin-bottom: var(--space-4); flex: 1; }

/* ============================================================
   ARTIGOS + NEWSLETTER
   ============================================================ */
.articles-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}
.articles-head h2 { font-size: 34px; line-height: 1.2; }

.articles-layout { display: grid; grid-template-columns: 2.2fr 1fr; gap: var(--space-8); align-items: start; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }

.article-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-500);
  transform: translateY(-3px);
}
.article-card .thumb {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  background: var(--gray-50);
}
.article-body { padding: 20px; }
.article-card h4 { font-size: 17px; line-height: 1.4; margin-bottom: var(--space-3); }
.article-card h4 a { color: var(--text-900); }
.article-card h4 a:hover { color: var(--green-600); }
.article-date {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-400);
}
.article-date svg { width: 16px; height: 16px; }

/* Estado "sem artigos ainda" */
.empty-state {
  grid-column: 1 / -1;
  background: var(--white);
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-12);
  text-align: center;
  color: var(--text-600);
}
.empty-state h3 { margin-bottom: var(--space-3); }

/* Newsletter */
.newsletter {
  background: var(--green-tint);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: 92px;
}
.newsletter-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  background: var(--green-500);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
}
.newsletter-icon svg { width: 26px; height: 26px; }
.newsletter h3 { font-size: 22px; line-height: 1.3; margin-bottom: var(--space-3); }
.newsletter p { font-size: 15px; color: var(--text-600); margin-bottom: var(--space-6); }
.newsletter-form { display: flex; flex-direction: column; gap: var(--space-3); }
.field-label { font-size: 14px; font-weight: 600; color: var(--text-900); }
input[type="email"], input[type="search"], input[type="text"].ss-input {
  width: 100%;
  min-height: 44px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-900);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input::placeholder { color: var(--text-400); }
input[type="email"]:focus, input[type="search"]:focus, input[type="text"].ss-input:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(39,168,76,0.18);
  outline: none;
}
.newsletter-note { font-size: 12px; color: var(--text-600); margin-top: var(--space-3); }
.form-success {
  display: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--green-600);
  margin-top: var(--space-3);
}
.form-success.is-visible { display: block; }

/* ============================================================
   PÁGINAS DE ARQUIVO / BUSCA / POST (cabeçalho de página)
   ============================================================ */
.page-hero {
  background:
    radial-gradient(900px 320px at 50% 0%, rgba(39,168,76,0.10), transparent 70%),
    var(--navy-900);
  color: var(--white);
  padding: var(--space-16) 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: 38px; line-height: 1.15; }
.page-hero p { color: #C7D2DE; font-size: 17px; margin-top: var(--space-3); }
.page-hero .eyebrow {
  display: inline-block;
  color: var(--green-400);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.posts-section { padding: var(--space-16) 0; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }

/* ============================================================
   POST INDIVIDUAL — leitura confortável
   ============================================================ */
.entry { padding: var(--space-16) 0; }
.entry-wrap { max-width: 760px; margin: 0 auto; }
.entry-meta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-400);
  margin-bottom: var(--space-3);
}
.entry-cats { margin-bottom: var(--space-3); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.entry-cats a {
  display: inline-block;
  background: var(--green-tint);
  color: var(--green-600);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.entry-cats a:hover { background: var(--green-500); color: var(--white); text-decoration: none; }
.entry > .container > .entry-wrap > h1.entry-title {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: var(--space-4);
}
.entry-featured {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-6) 0 var(--space-8);
  box-shadow: var(--shadow-sm);
}
.entry-featured img { width: 100%; }

.entry-content { font-size: 18px; line-height: 1.75; color: var(--text-900); }
.entry-content > * + * { margin-top: var(--space-6); }
.entry-content h2 { font-size: 28px; line-height: 1.25; margin-top: var(--space-12); }
.entry-content h3 { font-size: 22px; line-height: 1.3; margin-top: var(--space-8); }
.entry-content p { color: var(--text-900); }
.entry-content a { color: var(--green-600); text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: var(--space-2); }
.entry-content img { border-radius: var(--radius-md); margin-left: auto; margin-right: auto; }
.entry-content blockquote {
  border-left: 4px solid var(--green-500);
  background: var(--gray-50);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  font-style: italic;
  color: var(--text-600);
}
.entry-content code {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  font-size: 0.9em;
}
.entry-content pre {
  background: var(--navy-900);
  color: var(--white);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  overflow: auto;
}
.entry-content pre code { background: none; border: none; color: inherit; }

.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 var(--space-6) var(--space-4) 0; }
.alignright { float: right; margin: 0 0 var(--space-4) var(--space-6); }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 14px; color: var(--text-400); text-align: center; margin-top: var(--space-2); }

/* ============================================================
   PAGINAÇÃO
   ============================================================ */
.ss-pagination { margin-top: var(--space-12); display: flex; justify-content: center; }
.ss-pagination .nav-links { display: inline-flex; flex-wrap: wrap; gap: var(--space-2); }
.ss-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 var(--space-3);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  color: var(--text-900);
  font-weight: 600;
}
.ss-pagination a.page-numbers:hover { border-color: var(--green-500); color: var(--green-600); text-decoration: none; }
.ss-pagination .page-numbers.current { background: var(--green-500); color: var(--white); border-color: var(--green-500); }

/* ============================================================
   COMENTÁRIOS (simples)
   ============================================================ */
.comments-area { max-width: 760px; margin: var(--space-16) auto 0; }
.comments-area h2 { font-size: 24px; margin-bottom: var(--space-6); }
.comment-list { margin-bottom: var(--space-8); }
.comment-list li { margin-bottom: var(--space-6); }
.comment-body {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
}
.comment-author { font-weight: 600; color: var(--text-900); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-900); color: #C7D2DE; padding: var(--space-16) 0 var(--space-8); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr auto auto;
  gap: var(--space-12);
  align-items: center;
  margin-bottom: var(--space-12);
}
.footer-about { max-width: 42ch; }
.footer-about .logo { margin-bottom: var(--space-4); }
.footer-about p { font-size: 14px; line-height: 1.6; }

.footer-social { display: flex; gap: var(--space-3); justify-content: center; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  color: var(--white);
  transition: background 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { background: var(--green-600); color: var(--white); }
.footer-social svg { width: 20px; height: 20px; }

.footer-links { display: flex; gap: var(--space-8); flex-wrap: wrap; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #C7D2DE;
  font-size: 15px;
}
.footer-links a:hover { color: var(--green-400); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid var(--navy-700);
  padding-top: var(--space-6);
  font-size: 14px;
  color: var(--text-400);
  text-align: center;
}

/* ============================================================
   MOVIMENTO REDUZIDO
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVO — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 40px; }
  .articles-layout { grid-template-columns: 1fr; }
  .newsletter { position: static; max-width: 520px; margin: 0 auto; }
  .main-nav a { padding: 0 var(--space-2); font-size: 14px; }
  .float-card { font-size: 12px; }
  .fc-1 { left: -1%; } .fc-4 { right: -1%; }
  .fc-2, .fc-5 { display: none; } /* alivia laterais em telas médias */
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); justify-items: start; text-align: left; }
  .footer-social { justify-content: flex-start; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVO — MOBILE (<768px)
   ============================================================ */
@media (max-width: 767px) {
  section { padding: var(--space-12) 0; }

  /* Header / menu mobile */
  .site-header { position: relative; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--navy-900);
    border-bottom: 1px solid var(--navy-700);
    display: none;
    z-index: 99;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-2) var(--space-6) var(--space-4); }
  .main-nav a { width: 100%; border-bottom: 1px solid var(--navy-700); border-radius: 0; }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--navy-700); }

  /* Hero — esconde os cards flutuantes decorativos */
  .hero { padding: var(--space-16) 0; }
  .hero h1 { font-size: 32px; }
  .hero-lead { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .float-card, .hero-lines { display: none; }

  /* Seções */
  .section-head h2, .articles-head h2 { font-size: 26px; }
  .section-head p { font-size: 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .newsletter { padding: 24px; }
  .page-hero h1 { font-size: 28px; }
  .entry > .container > .entry-wrap > h1.entry-title { font-size: 28px; }
  .entry-content { font-size: 17px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* Tablet retrato — 2 colunas de cards */
@media (min-width: 768px) and (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
