/*
Theme Name: Moderna Vida
Theme URI: https://modernavida.com/
Author: Moderna Vida
Author URI: https://modernavida.com/
Description: Tema institucional premium e editável para a Moderna Vida, com Home em PHP, painel próprio de edição, formulário de Diagnóstico MV, botão flutuante de WhatsApp, fontes Sora/Manrope e estética glass/cristal.
Version: 2.1.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
Text Domain: moderna-vida
Tags: custom-homepage, one-page, landing-page, business, editable-home
*/

/*
  Moderna Vida — Paleta alquímica oficial
  Azul Dreamer:     #006DFF
  Azul Abismo:      #061526
  Branco Absoluto:  #FFFFFF
  Branco Frio:      #F5F8FF
  Névoa Azul:       #DCEBFF
  Grafite Profundo: #101828
  Cinza Ardósia:    #667085
  Cinza Névoa:      #E4EAF3
  Azul Cristal:     #AECBFF
  Dourado Legado:   #C9A24D
  Ouro Velado:      #8F6B22
  Luz Champagne:    #F3E4B3
*/


/*
  Fontes oficiais carregadas pelo WordPress via functions.php:
  Sora: 100..800
  Manrope: 200..800
*/

:root {
  --azul-dreamer: #006DFF;
  --azul-abismo: #061526;
  --branco-absoluto: #FFFFFF;
  --branco-frio: #F5F8FF;
  --nevoa-azul: #DCEBFF;
  --grafite-profundo: #101828;
  --cinza-ardosia: #667085;
  --cinza-nevoa: #E4EAF3;
  --azul-cristal: #AECBFF;
  --dourado-legado: #C9A24D;
  --ouro-velado: #8F6B22;
  --luz-champagne: #F3E4B3;

  --font-title: 'Sora', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-soft: 0 18px 55px rgba(16, 24, 40, .08);
  --shadow-blue: 0 20px 60px rgba(0, 109, 255, .16);
  --glass-border: 1px solid rgba(174, 203, 255, .72);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-optical-sizing: auto;
  color: var(--grafite-profundo);
  background:
    radial-gradient(circle at 84% 4%, rgba(220, 235, 255, .84), transparent 29rem),
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 1), transparent 24rem),
    var(--branco-absoluto);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { background: var(--azul-dreamer); color: var(--branco-absoluto); }

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--azul-abismo);
  color: var(--branco-absoluto);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 999;
}
.skip-link:focus { top: 16px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  clip: auto;
  overflow: visible;
  background: var(--azul-abismo);
  color: var(--branco-absoluto);
  border-radius: 10px;
  z-index: 999;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}
.section { padding: 72px 0; }
.section-tight { padding: 28px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(228, 234, 243, 0.55);
  backdrop-filter: blur(20px);
}
.header-grid {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .96;
}
.brand-symbol { width: 44px; height: 44px; object-fit: contain; }
.brand-wordmark { font-size: 18px; color: var(--grafite-profundo); }
.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  color: var(--grafite-profundo);
}
.main-nav ul,
.main-nav .menu-list {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  position: relative;
  opacity: .82;
  transition: opacity .2s ease, color .2s ease;
}
.main-nav a:hover,
.main-nav a.active,
.main-nav .current-menu-item > a { color: var(--azul-dreamer); opacity: 1; }
.main-nav a.active::after,
.main-nav .current-menu-item > a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -25px;
  height: 2px;
  background: var(--azul-dreamer);
  border-radius: 99px;
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--cinza-nevoa);
  background: var(--branco-absoluto);
  border-radius: 14px;
  padding: 10px;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--grafite-profundo);
  border-radius: 99px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--branco-absoluto);
  background: linear-gradient(135deg, var(--azul-dreamer), #0058D1);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { box-shadow: 0 22px 60px rgba(0, 109, 255, .25); }
.btn-secondary {
  color: var(--azul-dreamer);
  background: rgba(255, 255, 255, .74);
  border-color: rgba(0, 109, 255, .42);
}
.btn-secondary:hover { background: var(--branco-frio); border-color: var(--azul-dreamer); }
.btn-dark {
  color: var(--branco-absoluto);
  background: rgba(6, 21, 38, .78);
  border-color: rgba(220, 235, 255, .28);
}
.header-cta { min-height: 44px; padding-inline: 20px; }

.hero { padding-top: 74px; padding-bottom: 50px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .94fr);
  gap: 54px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-title);
  color: var(--azul-dreamer);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  font-size: 12px;
}
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-title);
  font-optical-sizing: auto;
  letter-spacing: -.055em;
  line-height: 1.05;
  color: var(--grafite-profundo);
}
h1 { font-size: clamp(3.2rem, 7vw, 6.2rem); max-width: 770px; }
h1 span { color: var(--azul-dreamer); display: block; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.18rem; letter-spacing: -.035em; }
p { color: var(--cinza-ardosia); }
.hero-text {
  max-width: 505px;
  margin: 26px 0 30px;
  font-size: 18px;
  color: var(--grafite-profundo);
  opacity: .82;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-art {
  min-height: 540px;
  position: relative;
  display: grid;
  place-items: center;
}
.crystal-glow {
  position: absolute;
  inset: 7% -12% 0 3%;
  background:
    radial-gradient(circle at 52% 39%, rgba(255,255,255,.96), transparent 7rem),
    radial-gradient(circle at 58% 50%, rgba(0,109,255,.25), transparent 19rem),
    radial-gradient(circle at 50% 76%, rgba(220,235,255,.80), transparent 24rem);
  filter: blur(2px);
}
.crystal-hourglass {
  position: relative;
  width: min(100%, 610px);
  filter: drop-shadow(0 35px 60px rgba(0, 109, 255, .16));
  animation: floatCrystal 7s ease-in-out infinite;
}
@keyframes floatCrystal {
  0%, 100% { transform: translateY(0) rotate(.2deg); }
  50% { transform: translateY(-12px) rotate(-.2deg); }
}

.metrics-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, .78);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.metric {
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  gap: 0 14px;
  align-items: center;
  padding: 26px 30px;
  border-right: 1px solid var(--cinza-nevoa);
}
.metric:last-child { border-right: 0; }
.metric-icon {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--azul-dreamer);
  background: var(--branco-frio);
  border: 1px solid var(--nevoa-azul);
  font-family: var(--font-title);
  font-weight: 800;
}
.metric strong {
  font-family: var(--font-title);
  color: var(--azul-dreamer);
  font-size: clamp(1.7rem, 3.3vw, 2.65rem);
  letter-spacing: -.06em;
}
.metric small { color: var(--grafite-profundo); font-weight: 700; }

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.panel,
.service-card,
.process-panel,
.contact-form,
.page-card {
  background: rgba(255, 255, 255, .76);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}
.panel { padding: clamp(20px, 4vw, 44px); }
.panel > p { max-width: 570px; }
.signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  margin-top: 34px;
}
.signal-grid span {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--grafite-profundo);
  font-weight: 650;
}
.signal-grid i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--azul-dreamer);
  border: 1px solid var(--azul-cristal);
  border-radius: 12px;
  font-style: normal;
  background: var(--branco-frio);
}
.method-mini { overflow: hidden; position: relative; }
.orbit {
  position: relative;
  min-height: 260px;
  margin: 26px 0 28px;
  display: grid;
  place-items: center;
}
.orbit-ring {
  position: absolute;
  width: 78%;
  height: 105px;
  border: 2px solid rgba(0, 109, 255, .24);
  border-radius: 50%;
  transform: rotate(1deg);
}
.ring-2 {
  width: 62%;
  height: 74px;
  opacity: .72;
  transform: rotate(-5deg);
}
.orbit-logo {
  width: 104px;
  opacity: .88;
  filter: drop-shadow(0 18px 30px rgba(0, 109, 255, .25));
}
.orbit-label {
  position: absolute;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 800;
  color: var(--azul-dreamer);
  text-transform: uppercase;
  letter-spacing: .08em;
}
@media (min-width: 641px) {
  .orbit-mobile-list {
    display: none !important;
  }
  .orbit-label.pilar-1 { top: 10px; left: 50%; transform: translateX(-50%); }
  .orbit-label.pilar-2 { top: 22%; right: 4%; }
  .orbit-label.pilar-3 { top: 58%; right: -2%; }
  .orbit-label.pilar-4 { bottom: 12px; right: 18%; }
  .orbit-label.pilar-5 { bottom: 12px; left: 18%; }
  .orbit-label.pilar-6 { top: 58%; left: -2%; }
  .orbit-label.pilar-7 { top: 22%; left: 4%; }
}

@media (max-width: 640px) {
  .orbit {
    display: none !important;
  }
  .orbit-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 22px 0;
    text-align: left;
  }
  .orbit-mobile-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.6);
    border: var(--glass-border);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-family: var(--font-title);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--grafite-profundo);
  }
  .orbit-mobile-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 109, 255, 0.12);
    color: var(--azul-dreamer);
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
  }
}

.method-previa-score {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--cinza-nevoa);
  text-align: center;
}
.method-previa-score .score-title {
  font-family: var(--font-title);
  font-size: 11.5px;
  font-weight: 750;
  color: var(--cinza-ardosia);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.score-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.score-badge {
  background: var(--branco-frio);
  border: 1px solid var(--cinza-nevoa);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cinza-ardosia);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.score-badge strong {
  color: var(--azul-dreamer);
  font-weight: 800;
  font-size: 13px;
}

.section-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 36px;
}
.section-heading p:not(.eyebrow) { font-size: 17px; }
.section-heading.compact { margin-bottom: 28px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card { padding: clamp(18px, 3.5vw, 24px); min-height: 250px; display: flex; flex-direction: column; transition: .25s ease; }
.service-card .service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--azul-dreamer);
  border: 1px solid var(--azul-cristal);
  border-radius: 16px;
  margin-bottom: 22px;
  background: var(--branco-frio);
  font-family: var(--font-title);
  font-size: 22px;
}
.service-card p { font-size: 14px; flex: 1; }
.service-card a { color: var(--azul-dreamer); font-weight: 800; font-family: var(--font-title); font-size: 14px; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-blue); }

.process-panel { padding: 32px; }
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 47px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--azul-dreamer), transparent);
  opacity: .55;
}
.timeline article {
  position: relative;
  text-align: center;
  padding: 8px 10px 0;
}
.timeline article span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 14px;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--azul-dreamer);
  background: var(--branco-absoluto);
  border: 1px solid var(--nevoa-azul);
  position: relative;
  z-index: 1;
}
.timeline img { width: 52px; margin: 0 auto 12px; opacity: .55; }
.timeline p { font-size: 13px; margin-bottom: 0; }

.cases {
  background: linear-gradient(135deg, var(--azul-abismo), #0A2340);
  color: var(--branco-absoluto);
}
.cases .eyebrow,
.cases h2,
.cases h3 { color: var(--branco-absoluto); }
.cases p { color: rgba(255, 255, 255, .78); }
.cases-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.cases-copy { padding: 8px 0; }
.case-card {
  border: 1px solid rgba(220, 235, 255, .28);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}
.case-card h3,
.case-card p { padding-inline: 18px; }
.case-card h3 { margin-top: 16px; }
.case-card p { font-size: 13px; margin-bottom: 18px; }
.case-media { height: 152px; background-size: cover; background-position: center; }
.gradient-car { background: radial-gradient(circle at 60% 35%, rgba(0,109,255,.55), transparent 30%), linear-gradient(135deg,#08131f,#27384a); }
.gradient-food { background: radial-gradient(circle at 48% 42%, rgba(201,162,77,.72), transparent 30%), linear-gradient(135deg,#251609,#091929); }
.gradient-wheel { background: radial-gradient(circle at 50% 42%, rgba(255,255,255,.46), transparent 28%), linear-gradient(135deg,#080d14,#36485d); }
.gradient-pizza { background: radial-gradient(circle at 52% 38%, rgba(255,112,0,.68), transparent 32%), linear-gradient(135deg,#180b06,#061526); }

.diagnostic { position: relative; }
.diagnostic::before {
  content: '';
  position: absolute;
  inset: 8% 0 0;
  background: radial-gradient(circle at 28% 30%, rgba(0,109,255,.10), transparent 28rem);
  pointer-events: none;
}
.diagnostic-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 36px;
  align-items: start;
  position: relative;
}
.diagnostic-copy { padding: 18px 0; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 14px;
}
.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--grafite-profundo);
  font-weight: 700;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -2px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--azul-dreamer);
  color: var(--branco-absoluto);
  font-size: 13px;
}
.contact-form { padding: clamp(24px, 4vw, 38px); }
.contact-form h3 { font-size: 2rem; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: var(--grafite-profundo);
  font-size: 14px;
}
.full { grid-column: 1 / -1; }
.optional { color: var(--cinza-ardosia); font-weight: 600; }
input, textarea {
  width: 100%;
  border: 1px solid var(--cinza-nevoa);
  border-radius: 14px;
  padding: 14px 15px;
  color: var(--grafite-profundo);
  background: rgba(255,255,255,.86);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
textarea { resize: vertical; min-height: 116px; }
input:focus, textarea:focus {
  border-color: var(--azul-dreamer);
  box-shadow: 0 0 0 4px rgba(0,109,255,.12);
  background: var(--branco-absoluto);
}
input.error, textarea.error { border-color: #D92D20; box-shadow: 0 0 0 4px rgba(217,45,32,.10); }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-submit { width: 100%; }
.form-status { min-height: 24px; margin: 14px 0 0; font-weight: 800; }
.form-status.ok { color: #027A48; }
.form-status.err { color: #B42318; }

.page-hero { padding: 84px 0 38px; }
.page-hero p { max-width: 720px; font-size: 18px; }
.page-card { padding: clamp(26px, 5vw, 56px); }
.page-content { padding: 0 0 72px; }
.page-card h2, .page-card h3 { margin-top: 32px; }
.page-card p, .page-card li { font-size: 17px; color: var(--cinza-ardosia); }
.page-card a { color: var(--azul-dreamer); font-weight: 800; }

.site-footer {
  background: var(--azul-abismo);
  color: var(--branco-absoluto);
  padding: 30px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
}
.footer-brand .brand-wordmark { color: var(--branco-absoluto); }
.site-footer p { color: rgba(255,255,255,.72); margin: 0; font-size: 13px; }
.footer-links ul,
.footer-menu-list { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; font-size: 13px; font-weight: 700; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(220,235,255,.28);
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--branco-absoluto);
}
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  z-index: 40;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--branco-absoluto);
  background: linear-gradient(135deg, var(--azul-dreamer), #0058D1);
  box-shadow: 0 18px 48px rgba(0, 109, 255, .35);
  font-size: 25px;
  font-family: var(--font-title);
  font-weight: 800;
  transition: transform .22s ease;
}
.floating-whatsapp:hover { transform: translateY(-4px) scale(1.03); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── 404 / Error ── */
.error-center {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  padding: 48px 0 72px;
}
.error-center h1 { margin-bottom: 18px; }
.error-text {
  font-size: 18px;
  color: var(--cinza-ardosia);
  max-width: 520px;
  margin: 0 auto 36px;
}
.error-actions { justify-content: center; }

/* ── Content Grid (archive, blog, search) ── */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.post-card {
  background: rgba(255, 255, 255, .76);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-blue); }
.post-card-media {
  display: block;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--branco-frio), var(--nevoa-azul));
}
.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-placeholder {
  display: grid;
  place-items: center;
}
.post-card-placeholder span {
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--azul-cristal);
  letter-spacing: -.06em;
  opacity: .48;
}
.post-card-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card-cat {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--azul-dreamer);
}
.post-card-body h2 {
  font-size: 1.18rem;
  letter-spacing: -.035em;
  margin-bottom: 8px;
}
.post-card-body h2 a { color: var(--grafite-profundo); }
.post-card-body h2 a:hover { color: var(--azul-dreamer); }
.post-card-body > p {
  font-size: 14px;
  color: var(--cinza-ardosia);
  flex: 1;
}
.post-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--cinza-nevoa);
}
.post-card-footer time {
  font-size: 12px;
  color: var(--cinza-ardosia);
  font-weight: 600;
}
.post-card-link {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  color: var(--azul-dreamer);
}
.post-card-link:hover { text-decoration: underline; }

/* ── Pagination ── */
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 0 56px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
}
.nav-links a,
.nav-links span {
  min-width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  padding: 0 12px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-links a {
  color: var(--grafite-profundo);
  border: 1px solid var(--cinza-nevoa);
  background: var(--branco-absoluto);
}
.nav-links a:hover {
  background: var(--branco-frio);
  border-color: var(--azul-dreamer);
  color: var(--azul-dreamer);
  transform: translateY(-2px);
}
.nav-links .current {
  background: var(--azul-dreamer);
  color: var(--branco-absoluto);
  border: 1px solid var(--azul-dreamer);
}
.nav-links .dots { border: none; color: var(--cinza-ardosia); }
.nav-links .prev,
.nav-links .next { padding: 0 18px; }

/* ── Empty State ── */
.empty-state {
  text-align: center;
  max-width: 560px;
  margin: 24px auto 56px;
  padding: 48px 32px;
  background: rgba(255, 255, 255, .76);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}
.empty-state h2 { margin-bottom: 12px; }
.empty-state p { margin-bottom: 28px; }

/* ── Search Form Premium ── */
.search-form-premium {
  display: flex;
  gap: 12px;
  max-width: 620px;
  margin-top: 28px;
}
.search-form-premium input[type="search"] {
  flex: 1;
  border: 1px solid var(--cinza-nevoa);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 16px;
  color: var(--grafite-profundo);
  background: rgba(255, 255, 255, .86);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-form-premium input[type="search"]:focus {
  border-color: var(--azul-dreamer);
  box-shadow: 0 0 0 4px rgba(0, 109, 255, .12);
  background: var(--branco-absoluto);
}
.search-form-premium .btn { white-space: nowrap; }
#search-title span { color: var(--azul-dreamer); }

/* ── Thank You ── */
.thank-you-panel {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  padding: 48px 38px;
  background: rgba(255, 255, 255, .76);
  border: var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}
.thank-you-panel h1 { margin-bottom: 14px; }
.thank-you-text {
  font-size: 18px;
  color: var(--cinza-ardosia);
  max-width: 500px;
  margin: 0 auto 36px;
}
.thank-you-steps {
  text-align: left;
  max-width: 440px;
  margin: 0 auto 36px;
  padding: 28px 30px;
  background: var(--branco-frio);
  border: 1px solid var(--cinza-nevoa);
  border-radius: var(--radius-lg);
}
.thank-you-steps h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--azul-dreamer);
  margin-bottom: 18px;
}
.thank-you-steps ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.thank-you-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  font-weight: 650;
  color: var(--grafite-profundo);
}
.step-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 13px;
  color: var(--azul-dreamer);
  background: var(--branco-absoluto);
  border: 1px solid var(--nevoa-azul);
}
.thank-you-panel .hero-actions { justify-content: center; }

/* ── CTA Final ── */
.cta-final {
  padding: 56px 0 84px;
}
.cta-final-panel {
  background: linear-gradient(135deg, var(--azul-abismo), #0A2340);
  color: var(--branco-absoluto);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(220, 235, 255, .16);
  padding: clamp(42px, 7vw, 76px) clamp(24px, 5vw, 56px);
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.cta-final-panel .eyebrow {
  color: var(--azul-cristal);
}
.cta-final-panel h2 {
  color: var(--branco-absoluto);
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}
.cta-final-text {
  color: rgba(255, 255, 255, .82);
  max-width: 640px;
  margin: 0 auto 34px;
  font-size: 17px;
}
.cta-final-actions {
  justify-content: center;
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 420px; order: -1; }
  .crystal-hourglass { width: min(88%, 500px); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .cases-copy { grid-column: 1 / -1; }
  .content-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .header-grid { grid-template-columns: auto auto; justify-content: space-between; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 86px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: rgba(255,255,255,.96);
    border: var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul,
  .main-nav .menu-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .main-nav a { padding: 14px; display: block; }
  .main-nav a.active::after,
  .main-nav .current-menu-item > a::after { display: none; }
  .metrics-card,
  .two-columns,
  .diagnostic-grid { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--cinza-nevoa); }
  .metric:last-child { border-bottom: 0; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .timeline article { text-align: left; display: grid; grid-template-columns: 48px 70px 1fr; align-items: center; gap: 10px; }
  .timeline article p { grid-column: 3; margin-top: -18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links ul,
  .footer-menu-list { flex-direction: column; }
  .content-grid { grid-template-columns: 1fr; }
  .search-form-premium { flex-direction: column; }
  .thank-you-panel { padding: 36px 24px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 50px 0; }
  .hero { padding-top: 38px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4.6rem); }
  .hero-actions, .btn { width: 100%; }
  .hero-art { min-height: 310px; }
  .signal-grid, .service-grid, .cases-grid, .form-grid { grid-template-columns: 1fr; }
  .case-media { height: 180px; }
  .error-center { padding: 32px 0 48px; }
  .error-actions { flex-direction: column; }
  .thank-you-steps { padding: 22px 20px; }
  .floating-whatsapp { right: 16px; bottom: 16px; width: 48px; height: 48px; }
}

body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
.wp-site-blocks { padding: 0; }

/* ── Case Templates Styles ── */
.case-hero {
  padding: 84px 0 38px;
}
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 18px;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 750;
  color: var(--cinza-ardosia);
}
.case-meta span strong {
  color: var(--grafite-profundo);
}
.case-detail {
  margin-bottom: 32px;
}
.case-detail h2 {
  font-size: 1.68rem;
  margin-bottom: 12px;
  letter-spacing: -.035em;
}
.case-detail p {
  font-size: 15.5px;
  line-height: 1.6;
}
.case-results {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--cinza-nevoa);
}
.case-results h2 {
  font-size: 1.68rem;
  margin-bottom: 18px;
  letter-spacing: -.035em;
}
.case-result-card {
  background: var(--branco-frio);
  border: 1px solid var(--nevoa-azul);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-bottom: 30px;
}
.case-result-card span {
  display: block;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--azul-dreamer);
  margin-bottom: 8px;
}
.case-result-card strong {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--azul-dreamer);
  line-height: 1.1;
  letter-spacing: -.05em;
  display: block;
}
.case-testimonial {
  background: rgba(0, 109, 255, .03);
  border-left: 4px solid var(--azul-dreamer);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 28px;
  margin: 36px 0;
}
.case-testimonial blockquote {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-style: italic;
  line-height: 1.65;
  color: var(--grafite-profundo);
}
.case-testimonial cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-title);
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--grafite-profundo);
}
.case-testimonial cite span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  color: var(--cinza-ardosia);
  margin-top: 2px;
}
.case-service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  list-style: none;
  padding: 0;
}
.case-service-list li {
  background: var(--branco-frio);
  border: 1px solid var(--cinza-nevoa);
  border-radius: 10px;
  padding: 6px 14px;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  color: var(--azul-dreamer);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ─────────────────────────────────────────────
   Correções MV — mobile, CTAs, serviços e cases
   ───────────────────────────────────────────── */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body { position: relative; }

.btn,
a.btn,
button.btn {
  text-decoration: none;
  line-height: 1.15;
}
.btn-primary,
a.btn-primary,
button.btn-primary,
.page-card a.btn-primary,
.thank-you-panel a.btn-primary,
.library-cta a.btn-primary,
.sticky-panel a.btn-primary,
.detail-hero-panel a.btn-primary,
.prose-section a.btn-primary {
  color: var(--branco-absoluto) !important;
}
.btn-primary span,
a.btn-primary span,
button.btn-primary span {
  color: currentColor;
}

.hp {
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  transform: translateX(-120vw) !important;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--azul-dreamer);
  border: 1px solid var(--azul-cristal);
  border-radius: 18px;
  margin-bottom: 22px;
  background: linear-gradient(180deg, var(--branco-absoluto), var(--branco-frio));
  box-shadow: 0 14px 34px rgba(0, 109, 255, .10);
}
.service-icon svg {
  width: 25px;
  height: 25px;
  display: block;
}
.service-card > span.service-icon {
  font-size: 0;
}
.service-card h3,
.library-card h2,
.library-card h2 a {
  overflow-wrap: anywhere;
}

.card-arrow-link {
  width: 100%;
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--cinza-nevoa);
  color: var(--azul-dreamer) !important;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none !important;
}
.card-arrow-link span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-arrow-link i {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(0, 109, 255, .22);
  background: var(--branco-frio);
  font-style: normal;
  color: var(--azul-dreamer);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.card-arrow-link:hover i {
  transform: translateX(3px);
  background: var(--azul-dreamer);
  border-color: var(--azul-dreamer);
  color: var(--branco-absoluto);
}
.dark-card-link {
  color: var(--branco-absoluto) !important;
  border-top-color: rgba(220, 235, 255, .20);
}
.dark-card-link i {
  color: var(--branco-absoluto);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(220, 235, 255, .28);
}
.dark-card-link:hover i { background: var(--branco-absoluto); color: var(--azul-dreamer); }

.case-card { display: flex; flex-direction: column; height: 100%; }
.case-media-link { display: block; color: inherit; }
.case-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px;
}
.case-card-body h3,
.case-card-body p { padding-inline: 0; }
.case-card-body h3 { margin: 0 0 10px; }
.case-card-body p { margin: 0 0 18px; flex: 1; }
.case-card-body strong { color: var(--azul-cristal); }

.library-hero .hero-text { max-width: 760px; }
.library-hero-actions { margin-top: 30px; }
.library-page { position: relative; }
.library-intro {
  display: grid;
  gap: 22px;
  margin-bottom: 34px;
  padding: clamp(24px, 4vw, 36px);
  background: rgba(255, 255, 255, .72);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}
.library-intro p {
  max-width: 860px;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--grafite-profundo);
  opacity: .82;
}
.library-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.library-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--branco-frio);
  border: 1px solid var(--nevoa-azul);
  color: var(--azul-dreamer);
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 800;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  margin-bottom: 54px;
}
.library-card {
  min-width: 0;
  background: rgba(255, 255, 255, .76);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.library-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
  border-color: rgba(0, 109, 255, .24);
}
.service-library-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  min-height: 310px;
}
.service-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.service-card-head .service-icon { margin-bottom: 0; }
.library-card-kicker {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0, 109, 255, .08);
  color: var(--azul-dreamer);
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.library-card h2 {
  margin-top: 16px;
  margin-bottom: 10px;
  font-size: 1.35rem;
}
.library-card h2 a { color: var(--grafite-profundo); }
.library-card h2 a:hover { color: var(--azul-dreamer); }
.library-card-subtitle {
  color: var(--grafite-profundo) !important;
  font-weight: 750;
  opacity: .80;
  margin-bottom: 10px;
}
.library-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--cinza-ardosia);
}
.library-card-media {
  display: block;
  height: 210px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--branco-frio), var(--nevoa-azul));
}
.library-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.library-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}
.metric-pill {
  display: grid;
  gap: 4px;
  margin: 4px 0 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--branco-frio);
  border: 1px solid var(--nevoa-azul);
}
.metric-pill span {
  font-family: var(--font-title);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--azul-dreamer);
}
.metric-pill strong {
  font-family: var(--font-title);
  color: var(--grafite-profundo);
  font-size: 14px;
}
.library-cta {
  max-width: 760px;
  margin: 60px auto 0;
  text-align: center;
  padding: clamp(34px, 6vw, 54px);
  background: linear-gradient(135deg, var(--azul-abismo), #0A2340);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(220, 235, 255, .18);
  box-shadow: var(--shadow-soft);
}
.library-cta h2 { color: var(--branco-absoluto); margin-bottom: 14px; }
.library-cta p:not(.eyebrow) {
  color: rgba(255,255,255,.80);
  max-width: 560px;
  margin: 0 auto 28px;
}
.library-cta .eyebrow { color: var(--azul-cristal); }

.detail-hero-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  background: rgba(255, 255, 255, .72);
  border: var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}
.detail-hero-icon {
  width: clamp(72px, 12vw, 96px);
  height: clamp(72px, 12vw, 96px);
  border-radius: 26px;
  margin: 0;
}
.detail-hero-icon svg { width: 42px; height: 42px; }
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: start;
}
.detail-main,
.sticky-panel {
  min-width: 0;
  background: rgba(255, 255, 255, .76);
  border: var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}
.detail-main { padding: clamp(24px, 5vw, 48px); }
.sticky-panel {
  position: sticky;
  top: 112px;
  padding: 26px;
}
.sticky-panel .btn { width: 100%; margin-top: 24px; }
.sidebar-block { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--cinza-nevoa); }
.detail-featured-image {
  margin-bottom: 34px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--glass-border);
  box-shadow: var(--shadow-soft);
}
.detail-featured-image img { width: 100%; height: auto; display: block; }
.detail-section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--cinza-nevoa);
}
.detail-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.detail-label {
  display: inline-flex;
  margin-bottom: 12px;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--azul-dreamer);
}
.prose-section h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 4vw, 2rem);
}
.prose-section p,
.case-flow-card p {
  color: var(--cinza-ardosia);
  font-size: 16px;
  line-height: 1.7;
}
.visual-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 14px;
  margin-top: 22px;
}
.visual-step-card,
.case-flow-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--cinza-nevoa);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--branco-absoluto), var(--branco-frio));
}
.visual-step-card strong,
.case-flow-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--azul-dreamer);
  color: var(--branco-absoluto);
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 850;
}
.visual-step-card p { margin: 0; color: var(--grafite-profundo); font-weight: 720; line-height: 1.45; }
.compact-check-list { margin-top: 18px; gap: 12px; }
.compact-check-list li { font-size: 14.5px; font-weight: 700; }
.premium-faq-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.premium-faq-list details {
  background: var(--branco-frio);
  border: 1px solid var(--cinza-nevoa);
  border-radius: var(--radius-md);
  padding: 18px;
}
.premium-faq-list summary {
  cursor: pointer;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--grafite-profundo);
  outline: none;
  line-height: 1.35;
}
.premium-faq-list p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; }
.case-detail-hero-panel {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
}
.hero-result-card { margin: 0; }
.case-flow {
  display: grid;
  gap: 18px;
}
.case-flow-card h2 { margin-bottom: 12px; }
.case-flow-card p { margin: 0; }
.text-link {
  display: inline-flex;
  justify-content: center;
  margin-top: 16px;
  width: 100%;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 800;
  color: var(--azul-dreamer) !important;
}

@media (max-width: 880px) {
  .detail-grid,
  .case-detail-hero-panel {
    grid-template-columns: 1fr;
  }
  .sticky-panel { position: static; }
  .detail-hero-panel { grid-template-columns: 1fr; text-align: left; }
  .detail-hero-icon { width: 72px; height: 72px; border-radius: 22px; }
  .detail-hero-icon svg { width: 34px; height: 34px; }
}

@media (max-width: 640px) {
  .hero-art { overflow: hidden; }
  .crystal-glow { inset: 0; }
  .crystal-hourglass { max-width: 100%; }
  .main-nav {
    left: 14px;
    right: 14px;
    max-width: calc(100vw - 28px);
  }
  h1, h2, h3, p, a, button { overflow-wrap: break-word; }
  .library-intro,
  .service-library-card,
  .library-card-body,
  .detail-main,
  .sticky-panel,
  .detail-hero-panel {
    padding: 22px;
  }
  .library-badges { gap: 8px; }
  .library-badges span { max-width: 100%; }
  .library-card-media { height: 176px; }
  .card-arrow-link { align-items: center; gap: 10px; }
  .card-arrow-link i { width: 42px; height: 42px; flex-basis: 42px; }
  .service-icon { width: 48px; height: 48px; border-radius: 16px; }
  .service-icon svg { width: 23px; height: 23px; }
  .visual-steps { grid-template-columns: 1fr; }
  .case-meta { flex-direction: column; gap: 8px; }
  .case-testimonial { padding: 22px; }
}

/* ── WordPress Dropdown Submenus ── */
@media (min-width: 881px) {
  .menu-item-has-children {
    position: relative;
  }
  
  .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    visibility: hidden;
    min-width: 240px;
    max-width: 320px;
    max-height: 380px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 109, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 12px;
    margin: 0;
    list-style: none;
    z-index: 100;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    display: block !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 109, 255, 0.2) transparent;
  }
  
  .sub-menu::-webkit-scrollbar {
    width: 5px;
  }
  .sub-menu::-webkit-scrollbar-track {
    background: transparent;
  }
  .sub-menu::-webkit-scrollbar-thumb {
    background-color: rgba(0, 109, 255, 0.2);
    border-radius: 99px;
  }

  .menu-item-has-children:hover .sub-menu,
  .menu-item-has-children:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  
  .sub-menu li {
    display: block !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .sub-menu a {
    display: block !important;
    padding: 10px 14px;
    color: var(--grafite-profundo) !important;
    text-decoration: none !important;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease, color 0.2s ease;
    opacity: 0.85;
  }
  
  .sub-menu a:hover,
  .sub-menu a:focus {
    background: rgba(0, 109, 255, 0.08);
    color: var(--azul-dreamer) !important;
    opacity: 1;
  }

  .sub-menu a.active::after,
  .sub-menu .current-menu-item > a::after {
    display: none !important;
  }

  .menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
  }
  .menu-item-has-children:hover > a::after {
    transform: rotate(-135deg) translateY(-1px);
  }
}

@media (max-width: 880px) {
  .sub-menu {
    display: block !important;
    margin: 4px 0 10px;
    padding-left: 18px;
    border-left: 1.5px solid rgba(0, 109, 255, 0.15);
    list-style: none;
  }
  .sub-menu li {
    display: block !important;
    margin: 0;
  }
  .sub-menu a {
    padding: 10px 14px;
    display: block !important;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--cinza-ardosia) !important;
    opacity: 0.9;
  }
  .sub-menu a:hover,
  .sub-menu a:focus {
    color: var(--azul-dreamer) !important;
  }
}

/* ── Estilos do Bloco R2 ── */

/* FAQ premium details dropdown style */
.premium-faq-list details {
  background: var(--branco-absoluto);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
}

.premium-faq-list details[open] {
  border-color: rgba(0, 109, 255, 0.35);
  box-shadow: 0 12px 24px rgba(0, 109, 255, 0.08);
}

.premium-faq-list summary {
  padding: 16px 20px;
  font-family: var(--font-title);
  font-weight: 750;
  font-size: 15px;
  color: var(--grafite-profundo);
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
}

.premium-faq-list summary::-webkit-details-marker {
  display: none !important;
}

.premium-faq-list summary:hover {
  color: var(--azul-dreamer);
}

.premium-faq-list summary::after {
  content: '+';
  font-size: 18px;
  font-weight: 400;
  color: var(--azul-dreamer);
  transition: transform 0.2s ease;
}

.premium-faq-list details[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.premium-faq-list p {
  padding: 0 20px 20px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--cinza-ardosia);
}

/* Warnings and custom callouts */
.warning-glass {
  background: rgba(201, 162, 77, 0.04) !important;
  border: 1px solid rgba(201, 162, 77, 0.25) !important;
}

.pilar-relacionado-box,
.pilares-trabalhados-box {
  background: rgba(0, 109, 255, 0.05) !important;
  border: 1px dashed rgba(0, 109, 255, 0.25) !important;
  transition: background 0.25s ease;
}
.pilar-relacionado-box:hover,
.pilares-trabalhados-box:hover {
  background: rgba(0, 109, 255, 0.08) !important;
}
