/*
Theme Name: RRSoft PetMaster Landing
Theme URI: https://programapetshop.com.br/
Author: RRSoft Tecnologia
Author URI: https://www.rrsoft.com.br/
Description: Tema claro, em tons de azul, focado em conversão para o sistema PetMaster. Compatível com Elementor Pro.
Version: 2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rrsoft-petmaster
*/

:root {
  --rrsoft-primary: #2563eb;
  --rrsoft-primary-soft: #4f46e5;
  --rrsoft-primary-light: #dbeafe;
  --rrsoft-accent: #0ea5e9;
  --rrsoft-dark: #0f172a;
  --rrsoft-text: #111827;
  --rrsoft-muted: #6b7280;
  --rrsoft-bg: #f3f4f6;
  --rrsoft-surface: #ffffff;
  --rrsoft-radius-lg: 18px;
  --rrsoft-radius-xl: 24px;
  --rrsoft-shadow-soft: 0 18px 45px rgba(15,23,42,0.18);
  --rrsoft-shadow-sm: 0 10px 22px rgba(15,23,42,0.14);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, #dbeafe 0, transparent 45%),
    radial-gradient(circle at bottom right, #e0f2fe 0, transparent 45%),
    var(--rrsoft-bg);
  color: var(--rrsoft-text);
  line-height: 1.6;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

.rr-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid rgba(15,23,42,0.06);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 12px 0;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-branding .custom-logo-link img,
.site-branding img {
  max-height: 46px;
  width: auto;
  display: block;
}

.site-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rrsoft-dark);
}

.site-description {
  margin: 0;
  font-size: 11px;
  color: var(--rrsoft-muted);
}

/* MENU */

.main-nav { flex: 1 1 auto; }

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

.primary-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.primary-menu > li { position: relative; }

.primary-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--rrsoft-dark);
  border: 1px solid transparent;
  transition: all 0.18s ease-out;
  white-space: nowrap;
}

.primary-menu > li.current-menu-item > a,
.primary-menu > li.current_page_item > a {
  border-color: rgba(37,99,235,0.35);
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.7);
}

.primary-menu > li > a:hover {
  border-color: rgba(37,99,235,0.35);
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  transform: translateY(-1px);
}

.primary-menu > li.menu-item-has-children > a::after {
  content: "▾";
  font-size: 10px;
  opacity: 0.8;
}

/* Submenu */

.primary-menu li .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--rrsoft-surface);
  border-radius: 16px;
  box-shadow: var(--rrsoft-shadow-soft);
  border: 1px solid rgba(148,163,184,0.35);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out, visibility 0.18s ease-out;
  z-index: 99;
}

.primary-menu li .sub-menu li { position: relative; }

.primary-menu li .sub-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--rrsoft-text);
  text-decoration: none;
  white-space: nowrap;
}

.primary-menu li .sub-menu a:hover {
  background: linear-gradient(90deg, #eff6ff, #dbeafe);
  color: var(--rrsoft-primary);
}

.primary-menu > li:hover > .sub-menu,
.primary-menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* WHATSAPP HEADER */

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  box-shadow: 0 10px 24px rgba(21,128,61,0.45);
  cursor: pointer;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, filter 0.15s ease-out;
}

.btn-whatsapp:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 30px rgba(21,128,61,0.55);
}

.btn-whatsapp::before {
  content: "✆";
  font-size: 14px;
}

/* MENU MOBILE */

.menu-toggle {
  display: none;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  background: var(--rrsoft-surface);
  color: var(--rrsoft-dark);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.menu-toggle span { margin-left: 6px; }

.main-nav.is-open .primary-menu { display: flex; }

/* HERO E SEÇÕES */

.hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 45%, #e0f2fe 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.badge-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(219,234,254,0.9);
  border: 1px solid rgba(59,130,246,0.3);
  color: #1d4ed8;
  font-size: 11px;
  margin-bottom: 10px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-title {
  font-size: 32px;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--rrsoft-dark);
}

.hero-subtitle {
  font-size: 16px;
  color: var(--rrsoft-muted);
  max-width: 540px;
}

.hero-list {
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--rrsoft-text);
  margin-bottom: 6px;
}

.hero-list li::before {
  content: "✔";
  font-size: 12px;
  margin-top: 2px;
  color: #16a34a;
}

.hero-panel-card {
  position: relative;
  border-radius: var(--rrsoft-radius-xl);
  background: linear-gradient(135deg, #ffffff, #eff6ff);
  padding: 20px;
  box-shadow: var(--rrsoft-shadow-soft);
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.35);
}

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.hero-panel-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--rrsoft-dark);
}

.hero-panel-chip {
  padding: 3px 8px;
  font-size: 11px;
  border-radius: 999px;
  background: rgba(219,234,254,0.9);
  border: 1px solid rgba(59,130,246,0.5);
  color: #1d4ed8;
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.hero-panel-metric {
  padding: 8px 10px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(209,213,219,0.9);
  font-size: 12px;
  color: var(--rrsoft-text);
}

.hero-panel-metric strong {
  display: block;
  margin-bottom: 2px;
  color: var(--rrsoft-dark);
}

.hero-panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--rrsoft-muted);
}

.section {
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  max-width: 680px;
  margin-bottom: 26px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rrsoft-primary);
  margin-bottom: 6px;
}

.section-title {
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--rrsoft-dark);
}

.section-subtitle {
  font-size: 14px;
  color: var(--rrsoft-muted);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}

.split-grid.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
}

/* Cards padrão */

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.feature-card {
  padding: 14px;
  border-radius: 16px;
  background: var(--rrsoft-surface);
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 10px 24px rgba(148,163,184,0.18);
  font-size: 13px;
}

.feature-card h3 {
  font-size: 14px;
  margin: 0 0 4px;
  color: var(--rrsoft-dark);
}

/* Integrações */

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.integration-card {
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
  border: 1px solid rgba(37,99,235,0.35);
  box-shadow: var(--rrsoft-shadow-sm);
  font-size: 13px;
  color: var(--rrsoft-text);
}

.integration-card h3 {
  font-size: 15px;
  margin: 0 0 4px;
  color: var(--rrsoft-dark);
}

/* FAQ */

.faq-item {
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.5);
  padding: 12px 14px;
  background: #ffffff;
  margin-bottom: 8px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  color: var(--rrsoft-dark);
}

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

.faq-item summary:after {
  content: "+";
  float: right;
  opacity: 0.7;
}

.faq-item[open] summary:after { content: "–"; }

.faq-item p {
  font-size: 13px;
  color: var(--rrsoft-muted);
  margin-top: 6px;
}

/* Revenda */

.revenda-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: flex-start;
}

.revenda-card {
  padding: 18px;
  border-radius: 18px;
  background: var(--rrsoft-surface);
  border: 1px solid rgba(148,163,184,0.5);
  box-shadow: var(--rrsoft-shadow-sm);
}

.revenda-card small {
  font-size: 11px;
  color: var(--rrsoft-muted);
}

/* BACKGROUNDS POR SEÇÃO */

section#para-petshop { background: #ffffff; }
section#banho-tosa { background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%); }
section#clinica-vet { background: #f9fafb; }
section#funcionalidades { background: #ffffff; }
section#integracoes { background: linear-gradient(135deg, #e0f2fe 0%, #eff6ff 60%, #ffffff 100%); }
section#como-funciona { background: #f9fafb; }
section#faq { background: #ffffff; }
section#revendas { background: linear-gradient(180deg, #eff6ff 0%, #e0f2fe 80%, #ffffff 100%); }

.section + .section {
  border-top: 1px solid rgba(148,163,184,0.35);
}

/* RODAPÉ */

.site-footer {
  padding: 26px 0 18px;
  border-top: 1px solid rgba(148,163,184,0.5);
  background: #ffffff;
  font-size: 12px;
  color: var(--rrsoft-muted);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.footer-menu a {
  color: var(--rrsoft-muted);
  text-decoration: none;
  font-size: 12px;
}

.footer-menu a:hover {
  color: var(--rrsoft-primary);
}

/* RESPONSIVO */

@media (max-width: 960px) {
  .header-inner { gap: 12px; }
  .hero-grid,
  .split-grid,
  .revenda-grid { grid-template-columns: minmax(0, 1fr); }
  .integrations-grid,
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-title { font-size: 26px; }
}

@media (max-width: 768px) {
  .header-inner { align-items: center; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px 16px 14px;
    background: #ffffff;
    border-bottom: 1px solid rgba(148,163,184,0.5);
    display: none;
  }

  .main-nav.is-open { display: block; }

  .primary-menu {
    flex-direction: column;
    align-items: flex-start;
  }

   /* Submenu no mobile: fechado por padrão, sem ocupar espaço */
  .primary-menu li .sub-menu {
    position: static;
    min-width: 0;
    margin-left: 16px;
    margin-top: 4px;
    box-shadow: none;
    border-radius: 12px;
    border: none;
    padding: 0;
    display: none;        /* NÃO ocupa espaço quando fechado */
    opacity: 1;           /* sem efeito de fade aqui */
    visibility: visible;  /* visível quando display:block */
    transform: none;
  }

  /* Quando o item estiver "aberto" (classe is-open), mostra o submenu */
  .primary-menu li.is-open > .sub-menu {
    display: block;
  }

  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .hero { padding-top: 32px; }
  .integrations-grid,
  .feature-list { grid-template-columns: minmax(0, 1fr); }
}

/* ========== FORMULÁRIO REVENDAS – PETMASTER (CF7) ========== */

/* Wrapper geral do formulário de revenda */
.cf7-revenda-petmaster {
  font-size: 13px;
  color: var(--rrsoft-text);
}

.cf7-revenda-petmaster p {
  margin-bottom: 10px;
}

/* Títulos internos (Dados do interessado / Sobre sua atuação) */
.cf7-revenda-petmaster p strong {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--rrsoft-dark);
}

/* Labels */
.cf7-revenda-petmaster label {
  font-size: 12px;
  color: var(--rrsoft-muted);
  display: block;
}

/* Campos de texto, email, telefone, select, textarea */
.cf7-revenda-petmaster input[type="text"],
.cf7-revenda-petmaster input[type="email"],
.cf7-revenda-petmaster input[type="tel"],
.cf7-revenda-petmaster select,
.cf7-revenda-petmaster textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.9);
  background: #f9fafb;
  color: var(--rrsoft-text);
  font-size: 13px;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out, background-color 0.15s ease-out;
  box-sizing: border-box;
}

.cf7-revenda-petmaster textarea {
  min-height: 90px;
  resize: vertical;
}

/* Foco dos campos */
.cf7-revenda-petmaster input[type="text"]:focus,
.cf7-revenda-petmaster input[type="email"]:focus,
.cf7-revenda-petmaster input[type="tel"]:focus,
.cf7-revenda-petmaster select:focus,
.cf7-revenda-petmaster textarea:focus {
  outline: none;
  border-color: var(--rrsoft-primary);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(37,99,235,0.25),
              0 0 0 4px rgba(219,234,254,0.8);
}

/* Placeholder mais suave */
.cf7-revenda-petmaster ::placeholder {
  color: #9ca3af;
}

/* Radio / checkbox (LGPD, já atende pet etc.) */
.cf7-revenda-petmaster .wpcf7-radio,
.cf7-revenda-petmaster .wpcf7-acceptance {
  font-size: 12px;
  color: var(--rrsoft-muted);
}

.cf7-revenda-petmaster .wpcf7-radio label,
.cf7-revenda-petmaster .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

/* Botão de envio – mesma linha dos botões do tema (azul) */
.cf7-revenda-petmaster input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--rrsoft-primary), var(--rrsoft-primary-soft));
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(37,99,235,0.45);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, filter 0.15s ease-out;
}

.cf7-revenda-petmaster input[type="submit"]:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 30px rgba(37,99,235,0.55);
}

.cf7-revenda-petmaster input[type="submit"]:disabled {
  opacity: 0.65;
  cursor: default;
  box-shadow: none;
}

/* Mensagens de erro embaixo dos campos */
.cf7-revenda-petmaster .wpcf7-not-valid-tip {
  font-size: 11px;
  color: #b91c1c;
  margin-top: 3px;
}

/* Borda vermelha em campo inválido */
.cf7-revenda-petmaster .wpcf7-form-control.wpcf7-not-valid {
  border-color: #b91c1c !important;
  box-shadow: 0 0 0 1px rgba(248,113,113,0.6);
}

/* Mensagem geral de sucesso/erro do CF7 */
.cf7-revenda-petmaster .wpcf7-response-output {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  border-width: 1px;
}

/* Sucesso */
.cf7-revenda-petmaster .wpcf7-form.sent .wpcf7-response-output {
  border-color: rgba(22,163,74,0.8);
  background: #ecfdf3;
  color: #166534;
}

/* Erro / falha */
.cf7-revenda-petmaster .wpcf7-form.invalid .wpcf7-response-output,
.cf7-revenda-petmaster .wpcf7-form.failed .wpcf7-response-output {
  border-color: rgba(220,38,38,0.8);
  background: #fef2f2;
  color: #991b1b;
}

/* Pequeno ajuste de espaçamento no bloco LGPD */
.cf7-revenda-petmaster p:last-child {
  margin-top: 12px;
}

/* AJUSTES FINOS – FORMULÁRIO REVENDAS PETMASTER */

/* Menos espaço entre os blocos (p) */
.cf7-revenda-petmaster p {
  margin-top: 4px;
  margin-bottom: 6px;
}

/* Aproxima label do campo */
.cf7-revenda-petmaster label {
  margin-bottom: 2px;
}

/* Campos ocupando 100% da largura da div, com pouco espaço embaixo */
.cf7-revenda-petmaster input[type="text"],
.cf7-revenda-petmaster input[type="email"],
.cf7-revenda-petmaster input[type="tel"],
.cf7-revenda-petmaster select,
.cf7-revenda-petmaster textarea {
  display: block;
  width: 100%;
  margin-bottom: 4px; /* se quiser ainda mais colado, pode pôr 2px ou 0 */
}

/* Bloco LGPD e radios um pouco mais compactos */
.cf7-revenda-petmaster .wpcf7-radio,
.cf7-revenda-petmaster .wpcf7-acceptance {
  margin-top: 2px;
  margin-bottom: 4px;
}

/* Mensagem de resposta do CF7 mais próxima do botão */
.cf7-revenda-petmaster .wpcf7-response-output {
  margin-top: 6px;
  margin-bottom: 0;
}
/* HERO – cartão com screenshot real do sistema */

.hero-panel-card--screenshot .hero-panel-screenshot {
  margin-top: 10px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.25);      /* cinza bem suave */
  background: #ffffff;                            /* fundo branco, não preto */
  box-shadow: 0 10px 24px rgba(15,23,42,0.16);    /* sombra mais leve e menor */
}


.hero-panel-card--screenshot .hero-panel-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  /* se quiser forçar proporção “print de sistema”, descomente a linha abaixo */
  /* aspect-ratio: 16 / 9; */
  object-fit: cover;
}

/* Ajuste sutil no header do card quando for screenshot */
.hero-panel-card--screenshot .hero-panel-header {
  margin-bottom: 10px;
}


/* ========== BLOCO DE BLOG – PETMASTER ========== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.blog-card {
  border-radius: 16px;
  background: var(--rrsoft-surface);
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 10px 24px rgba(148,163,184,0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15,23,42,0.18);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card-thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.blog-card-body {
  padding: 12px 14px 14px;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  color: var(--rrsoft-muted);
  margin-bottom: 4px;
}

.blog-card-cat {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(219,234,254,0.9);
  border: 1px solid rgba(59,130,246,0.4);
  color: #1d4ed8;
}

.blog-card-title {
  font-size: 15px;
  margin: 0 0 4px;
  color: var(--rrsoft-dark);
}

.blog-card-excerpt {
  font-size: 13px;
  color: var(--rrsoft-muted);
  margin: 0 0 8px;
}

.blog-card-readmore {
  font-size: 12px;
  color: var(--rrsoft-primary);
  font-weight: 500;
}

/* Responsivo */
@media (max-width: 960px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Ajuste da section BANHO & TOSA no mobile */

/* Já existe um @media (max-width: 960px) no tema.
   Aqui vai um extra só para a seção #banho-tosa. */

@media (max-width: 960px) {

  /* Faz o texto ficar em cima e o card (imagem) embaixo */
  #banho-tosa .split-grid > div:first-child {
    order: 2;              /* card da agenda */
  }

  #banho-tosa .split-grid > div:last-child {
    order: 1;              /* texto da seção */
    margin-bottom: 16px;   /* um respiro entre o texto e o card */
  }

  /* Garante alinhamento mais natural em vez de centralizado vertical */
  #banho-tosa .split-grid {
    align-items: flex-start;
  }
}


/* Ajuste específico da section BANHO & TOSA no mobile */
@media (max-width: 960px) {

  /* Troca o grid por flex só nessa section */
  #banho-tosa .split-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  /* Faz o texto vir primeiro e o card de imagem depois */
  #banho-tosa .split-grid > div:first-child {
    order: 2;    /* card (tela da agenda) */
  }

  #banho-tosa .split-grid > div:last-child {
    order: 1;    /* texto da seção */
  }
}


/* Ajuste de espaçamento do cabeçalho no mobile */
@media (max-width: 768px) {

  /* Aumenta o padding lateral do header */
  .site-header .rr-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Dá um pouco mais de respiro vertical */
  .header-inner {
    padding-top: 14px;
    padding-bottom: 14px;
  }
}


/* Submenu no MOBILE: fechado por padrão, abre apenas quando o LI tem .is-open */
@media (max-width: 768px) {

  .primary-menu li .sub-menu {
    position: static;
    min-width: 0;
    margin-left: 16px;
    margin-top: 4px;
    box-shadow: none;
    border-radius: 12px;
    border: 0;
    padding: 0;
    background: transparent;
    display: none;          /* não ocupa espaço quando fechado */
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  /* Quando o LI ganha .is-open (via JS), mostra o submenu */
  #primary-menu > li.is-open > .sub-menu {
    display: block;
  }
}


/* ========== DEPOIMENTOS – PETMASTER ========== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.testimonial-card {
  position: relative;
  border-radius: 18px;
  background: var(--rrsoft-surface);
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 12px 26px rgba(148,163,184,0.22);
  padding: 16px 16px 14px;
  font-size: 13px;
  color: var(--rrsoft-text);
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: 30px;
  line-height: 1;
  color: rgba(148,163,184,0.5);
  pointer-events: none;
}

.testimonial-text {
  margin: 6px 0 10px;
  padding-left: 14px;
}

.testimonial-author {
  margin: 0 0 4px;
  font-size: 12px;
  color: var(--rrsoft-dark);
}

.testimonial-author strong {
  font-size: 13px;
}

.testimonial-tag {
  margin: 0;
  font-size: 11px;
  color: var(--rrsoft-muted);
}

/* Responsivo depoimentos */
@media (max-width: 960px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Paginação do blog */
.blog-pagination {
  margin-top: 18px;
  text-align: center;
}

.blog-pagination .page-numbers {
  display: inline-block;
  margin: 0 3px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  text-decoration: none;
  border: 1px solid rgba(148,163,184,0.6);
  color: var(--rrsoft-muted);
}

.blog-pagination .page-numbers.current {
  background: linear-gradient(135deg, var(--rrsoft-primary), var(--rrsoft-primary-soft));
  border-color: transparent;
  color: #ffffff;
}

.blog-pagination .page-numbers:hover:not(.current) {
  background: rgba(219,234,254,0.8);
  color: var(--rrsoft-primary);
}

/* ========== POST ÚNICO – BLOG PETMASTER ========== */

.single-article {
  max-width: 780px;
  margin: 0 auto;
}

.single-header {
  margin-bottom: 10px;
}

.single-meta {
  font-size: 12px;
  color: var(--rrsoft-muted);
}

.single-meta span {
  display: inline-block;
}

.single-meta-sep {
  margin: 0 6px;
}

.single-meta-cat {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(219,234,254,0.9);
  border: 1px solid rgba(59,130,246,0.4);
  color: #1d4ed8;
}

.single-content-wrapper {
  margin-top: 12px;
}

.single-thumb {
  margin-bottom: 14px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(148,163,184,0.22);
}

.single-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.single-content {
  font-size: 14px;
  line-height: 1.6;
  color: var(--rrsoft-text);
}

.single-content p {
  margin-bottom: 12px;
}

.single-content h2,
.single-content h3 {
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--rrsoft-dark);
}

.single-content ul,
.single-content ol {
  margin: 0 0 12px 18px;
  padding: 0;
}

.single-footer {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(148,163,184,0.4);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.single-back a {
  color: var(--rrsoft-primary);
  text-decoration: none;
}

.single-back a:hover {
  text-decoration: underline;
}

.single-nav {
  display: flex;
  gap: 10px;
}

.single-nav-link {
  color: var(--rrsoft-primary);
  text-decoration: none;
}

.single-nav-link:hover {
  text-decoration: underline;
}

/* Responsivo */
@media (max-width: 768px) {
  .single-article {
    max-width: 100%;
  }

  .single-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========== RODAPÉ – PETMASTER (VERSÃO FUNDO CLARO) ========== */

.site-footer {
  margin-top: 32px;
  background: #f8fafc; /* fundo claro */
  color: var(--rrsoft-text);
  font-size: 13px;
  border-top: 1px solid rgba(148,163,184,0.4);
}

.site-footer .rr-container {
  padding-top: 18px;
  padding-bottom: 16px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(148,163,184,0.35);
  padding-bottom: 14px;
}

.footer-brand .custom-logo {
  max-height: 42px;
  width: auto;
  height: auto;
  margin-bottom: 8px;
}

.footer-logo-text {
  font-weight: 700;
  font-size: 18px;
  color: var(--rrsoft-dark);
}

.footer-tagline {
  margin: 0;
  margin-top: 4px;
  font-size: 12px;
  color: var(--rrsoft-muted);
}

/* Bloco de suporte */
.footer-support-label,
.footer-social-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4f46e5;
  margin: 0 0 6px;
}

.footer-support-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 10px 24px rgba(22,163,74,0.35);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 4px;
}

.footer-support-phone:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(22,163,74,0.5);
}

.footer-support-whatsapp-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #bbf7d0;
  box-shadow: 0 0 0 4px rgba(22,163,74,0.4);
}

.footer-support-phone-number {
  font-size: 14px;
}

.footer-support-note {
  margin: 0;
  font-size: 11px;
  color: var(--rrsoft-muted);
}

/* Redes sociais em fundo claro */
.footer-social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-social-list li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(148,163,184,0.6);
  color: var(--rrsoft-text);
  text-decoration: none;
  font-size: 12px;
}

.footer-social-list li a:hover {
  background: rgba(219,234,254,0.8);
  border-color: rgba(129,140,248,0.9);
}

/* "Ícones" das redes mantém as cores vivas */
.footer-social-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
}

.footer-social-icon.ig {
  background: radial-gradient(circle at 30% 30%, #fdf497 0, #fd5949 45%, #d6249f 70%, #285AEB 100%);
}

.footer-social-icon.yt {
  background: #ef4444;
}

.footer-social-icon.fb {
  background: #2563eb;
}

/* Linha inferior */
.footer-bottom {
  padding-top: 8px;
}

.footer-bottom p {
  margin: 0;
  font-size: 11px;
  color: var(--rrsoft-muted);
}

/* Responsivo */
@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand,
  .footer-support,
  .footer-social {
    max-width: 100%;
  }
}

/* Redes sociais em fundo claro */
.footer-social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-social-list li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(148,163,184,0.6);
  color: var(--rrsoft-text);
  text-decoration: none;
  font-size: 12px;
}

.footer-social-list li a:hover {
  background: rgba(219,234,254,0.8);
  border-color: rgba(129,140,248,0.9);
}

/* Ícones SVG das redes */
.footer-social-svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor; /* herda a cor do texto/link */
}

/* Centralizar rodapé no MOBILE */
@media (max-width: 768px) {

  .footer-grid {
    flex-direction: column;
    align-items: center;     /* centra os blocos */
    text-align: center;      /* texto centralizado */
  }

  .footer-brand,
  .footer-support,
  .footer-social {
    max-width: 100%;
  }

  /* Botão de suporte centralizado */
  .footer-support-phone {
    margin-left: auto;
    margin-right: auto;
  }

  /* Lista de redes sociais centralizada */
  .footer-social-list {
    align-items: center;
  }

  .footer-bottom {
    text-align: center;
  }
}



/* Link de chamada discreto dentro do texto */
.inline-cta-link {
  display: inline;
  font-weight: 500;
  color: var(--rrsoft-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35); /* linha suave */
  padding-bottom: 1px;
  transition: color 0.15s ease-out, border-color 0.15s ease-out;
}

.inline-cta-link:hover,
.inline-cta-link:focus-visible {
  color: #1d4ed8; /* um pouco mais forte, se quiser pode trocar por var(--rrsoft-primary) */
  border-bottom-color: rgba(37, 99, 235, 0.7);
  text-decoration: none; /* continua sem aquele sublinhado padrão feio */
}

/* Em telas bem pequenas, mantém tudo levinho */
@media (max-width: 480px) {
  .inline-cta-link {
    font-size: 0.98em;
  }
}
