/* =========================================================
   modelo.css — páginas de modelo (T3 Smart, T3, T2, ...)
   Usa as variáveis de :root definidas em style.min.css
   ========================================================= */

.md-page { color: var(--text-dark); font-family: var(--font-family); line-height: 1.65; }
.md-page *, .md-page *::before, .md-page *::after { box-sizing: border-box; }
.md-section a:not(.md-btn), .md-coupon + .md-note a { color: var(--dark-green); font-weight: 600; }
.md-section .md-coupon a { color: #BFF3D6; }
.md-container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.md-narrow { max-width: 820px; margin: 0 auto; }

/* Breadcrumb */
.md-breadcrumb { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 20px; }
.md-breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.md-breadcrumb a:hover { color: var(--text-light); text-decoration: underline; }
.md-breadcrumb span[aria-hidden] { margin: 0 6px; }

/* Hero */
/* Mesmo fundo do .hero da home; padding-top desconta o header fixo */
.md-hero { background: linear-gradient(135deg, var(--dark-green) 0%, var(--secondary-green) 100%); color: var(--text-light); padding: calc(var(--spacing-lg) + 80px) 0 var(--spacing-xl); }
.md-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.md-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.md-meta a { color: var(--primary-green); font-weight: 600; }
.md-hero h1 { font-family: var(--font-family); font-weight: 800; font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.15; color: var(--text-light); margin: 0 0 16px; }
.md-hero .md-lead { font-size: 1.08rem; margin: 0 0 24px; color: rgba(255,255,255,.9); }
.md-hero .md-lead strong { color: var(--text-light); }
.md-hero-img { text-align: center; }
.md-hero-img img { display: block; margin: 0 auto; width: 100%; max-width: 360px; height: auto; border-radius: var(--radius-lg); border: 4px solid rgba(255,255,255,.12); box-shadow: 0 20px 40px rgba(0,0,0,.35); }

/* Veredito rápido */
.md-verdict { background: var(--bg-white); color: var(--text-dark); border: 2px solid var(--primary-green); border-radius: var(--radius-lg); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.md-verdict h2 { font-size: 1.05rem; margin: 0 0 10px; color: var(--dark-green); text-transform: uppercase; letter-spacing: .03em; }
.md-verdict ul { margin: 0; padding-left: 0; list-style: none; }
.md-verdict li { padding: 4px 0 4px 26px; position: relative; }
.md-verdict li::before { content: "\2713"; position: absolute; left: 0; color: var(--primary-green); font-weight: 800; }

/* Sumário */
.md-toc { background: var(--bg-white); color: var(--text-dark); border-radius: var(--radius-md); padding: 18px 22px; margin: 40px auto 0; box-shadow: var(--shadow-md); }
.md-toc p { font-weight: 700; margin: 0 0 8px; }
.md-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.md-toc a { color: var(--dark-green); text-decoration: none; }
.md-toc a:hover { text-decoration: underline; }

/* Seções */
.md-section { padding: 56px 0; }
.md-section.alt { background: var(--bg-light); }
.md-section h2 { font-family: var(--font-family); font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.25; color: var(--text-dark); margin: 0 0 14px; scroll-margin-top: 90px; }
.md-section h3 { font-family: var(--font-family); font-weight: 700; font-size: 1.15rem; color: var(--dark-green); margin: 28px 0 8px; scroll-margin-top: 90px; }
.md-section p { margin: 0 0 14px; }
.md-section ul, .md-section ol { margin: 0 0 14px; padding-left: 22px; }
.md-section li { margin-bottom: 6px; }
.md-note { font-size: .88rem; color: var(--text-gray); }
.md-callout { border-left: 4px solid var(--primary-green); background: #F2FBF6; padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 18px 0; }
.md-callout.warn { border-color: #E9A23B; background: #FFF8EC; }

/* Cards de preço */
.md-price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 22px 0; }
.md-price-card { background: var(--bg-white); border: 1px solid #E3E8E5; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.md-price-card.featured { border: 3px solid #FFD700; box-shadow: 0 8px 28px rgba(255, 215, 0, .25); }
.md-price-card.featured .md-tag { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); color: var(--secondary-green); }
.md-tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 4px 10px; border-radius: var(--radius-full); background: #E6F8EE; color: var(--dark-green); margin-bottom: 10px; align-self: flex-start; }
.md-tag.dark { background: var(--bg-dark); color: var(--text-light); }
.md-price-card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.md-price-from { color: var(--text-gray); text-decoration: line-through; font-size: .95rem; }
.md-price-now { font-family: var(--font-family); font-weight: 800; font-size: 2rem; color: var(--secondary-green); line-height: 1.1; margin: 4px 0; }
.md-price-inst { font-size: .95rem; margin-bottom: 14px; }
.md-price-card ul { padding-left: 0; list-style: none; margin: 0 0 18px; flex: 1; }
.md-price-card li { padding: 3px 0 3px 22px; position: relative; font-size: .95rem; }
.md-price-card li::before { content: "\2713"; position: absolute; left: 0; color: var(--primary-green); font-weight: 800; }
.md-btn { display: inline-block; text-align: center; background: var(--primary-green); color: var(--text-light); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: .95rem; padding: 15px 24px; box-shadow: var(--shadow-sm); border-radius: var(--radius-full); text-decoration: none; transition: background var(--transition-fast), transform var(--transition-fast); }
.md-btn:hover { background: #00b055; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.md-btn.dark { background: var(--bg-dark); }
.md-btn.dark:hover { background: #000; }
.md-cta { text-align: center; margin-top: 32px; }
.md-btn.ghost { background: transparent; color: var(--dark-green); border: 2px solid var(--primary-green); }

/* Cupom inline */
.md-coupon { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; background: var(--secondary-green); color: var(--text-light); border-radius: var(--radius-lg); padding: 18px 22px; margin: 22px 0; }
.md-coupon code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.25rem; font-weight: 700; background: rgba(255,255,255,.12); border: 1px dashed rgba(255,255,255,.6); padding: 6px 14px; border-radius: var(--radius-sm); letter-spacing: .04em; }
.md-coupon button { background: var(--primary-green); color: var(--text-light); border: 0; font: inherit; font-weight: 700; padding: 10px 18px; border-radius: var(--radius-full); cursor: pointer; transition: background var(--transition-fast); }
.md-coupon button:hover { background: #00b055; }
.md-coupon a { color: #BFF3D6; }

/* Tabelas */
.md-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0; border-radius: var(--radius-md); border: 1px solid #E3E8E5; background: var(--bg-white); }
.md-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.md-table th, .md-table td { padding: 11px 14px; text-align: center; border-bottom: 1px solid #EEF1EF; }
.md-table th:first-child, .md-table td:first-child { text-align: left; font-weight: 600; }
.md-table thead th { background: var(--secondary-green); color: var(--text-light); font-weight: 700; font-size: .88rem; }
.md-table thead th small { display: block; font-weight: 400; opacity: .85; }
.md-table tbody tr:nth-child(even) { background: #FAFBFA; }
.md-table caption { caption-side: bottom; padding: 10px 14px; text-align: left; }
.md-table .best { color: var(--dark-green); font-weight: 800; }

/* Simulador */
.md-sim { background: var(--bg-white); border: 1px solid #E3E8E5; border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); margin: 24px 0; }
.md-sim-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.md-sim label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 4px; }
.md-sim input, .md-sim select { width: 100%; padding: 10px 12px; border: 1px solid #CDD5D0; border-radius: var(--radius-sm); font: inherit; background: var(--bg-white); }
.md-sim-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.md-sim-out div { background: var(--bg-light); border-radius: var(--radius-sm); padding: 12px 14px; }
.md-sim-out span { display: block; font-size: .8rem; color: var(--text-gray); }
.md-sim-out strong { font-size: 1.25rem; color: var(--secondary-green); }

/* Ficha técnica */
.md-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; }
.md-spec { background: var(--bg-white); border-radius: var(--radius-md); padding: 16px; border: 1px solid #E3E8E5; }
.md-spec i { color: var(--primary-green); font-size: 1.25rem; margin-bottom: 6px; display: block; }
.md-spec strong { display: block; }
.md-spec span { font-size: .9rem; color: var(--text-gray); }

/* Passo a passo */
.md-steps { counter-reset: s; list-style: none; padding-left: 0 !important; }
.md-steps li { counter-increment: s; position: relative; padding: 4px 0 10px 46px; }
.md-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--primary-green); color: var(--text-light); font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* Vídeo (Short vertical, carregado no clique) */
.md-video { max-width: 320px; margin: 8px auto 28px; aspect-ratio: 9 / 16; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-md); }
.md-video iframe, .md-video-facade { display: block; width: 100%; height: 100%; border: 0; }
.md-video-facade { position: relative; padding: 0; background: #000; cursor: pointer; }
.md-video-facade img { width: 100%; height: 100%; object-fit: cover; }
.md-video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--primary-green); color: var(--text-light); font-size: 1.6rem; padding-left: 4px; transition: transform var(--transition-fast); }
.md-video-facade:hover .md-video-play, .md-video-facade:focus-visible .md-video-play { transform: translate(-50%, -50%) scale(1.1); }

/* Prós e contras */
.md-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.md-proscons > div { background: var(--bg-white); border-radius: var(--radius-lg); padding: 20px 22px; border: 1px solid #E3E8E5; }
.md-proscons h3 { margin-top: 0; }
.md-proscons ul { list-style: none; padding-left: 0; }
.md-proscons li { padding: 4px 0 4px 26px; position: relative; }
.md-pros li::before { content: "+"; position: absolute; left: 4px; color: var(--primary-green); font-weight: 800; }
.md-cons li::before { content: "\2212"; position: absolute; left: 4px; color: var(--accent-red); font-weight: 800; }

/* Autor */
.md-author { display: flex; gap: 18px; align-items: flex-start; background: var(--bg-light); border-radius: var(--radius-lg); padding: 20px 22px; margin-top: 28px; }
.md-author-avatar { flex: 0 0 64px; height: 64px; border-radius: 50%; background: var(--dark-green); color: var(--text-light); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; overflow: hidden; }
.md-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.md-author p { margin: 0 0 6px; }

/* FAQ */
.md-faq details { background: var(--bg-white); border: 1px solid #E3E8E5; border-radius: var(--radius-md); margin-bottom: 10px; }
.md-faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; position: relative; padding-right: 44px; }
.md-faq summary::-webkit-details-marker { display: none; }
.md-faq summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 1.4rem; color: var(--primary-green); }
.md-faq details[open] summary::after { content: "\2212"; }
.md-faq details > div { padding: 0 20px 16px; }

/* Responsivo */
@media (max-width: 900px) {
  .md-hero-grid { grid-template-columns: 1fr; }
  .md-hero-img { order: -1; }
  .md-hero-img img { max-width: 300px; }
  .md-sim-grid { grid-template-columns: 1fr 1fr; }
  .md-specs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .md-price-grid, .md-proscons, .md-sim-out { grid-template-columns: 1fr; }
  .md-sim-grid, .md-specs { grid-template-columns: 1fr; }
  .md-toc ol { columns: 1; }
  .md-section { padding: 40px 0; }
  .md-hero { padding-top: calc(var(--spacing-md) + 80px); }
  .md-hero-img img { max-width: 240px; }
}

/* =========================================================
   Página /maquininha-verde (prefixo mv-)
   ========================================================= */
.mv-hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.mv-hero-cta p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.85); }
.mv-hero-fig { margin: 0; }
.mv-hero-fig img { max-width: 480px; border: 0; box-shadow: none; border-radius: 0; }
.mv-hero-fig figcaption { margin-top: 8px; font-size: .85rem; color: rgba(255,255,255,.75); }
.md-hero-grid:has(.mv-hero-fig) { grid-template-columns: 1fr 1fr; }

/* Resposta rápida logo abaixo do hero */
.mv-answer-section { padding: 32px 0 16px; }
.mv-answer h2 { font-size: 1.15rem; text-transform: none; letter-spacing: 0; }

/* Cards dos modelos */
.mv-models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 22px 0; }
.mv-model img { display: block; width: 100%; max-width: 160px; height: auto; margin: 0 auto 12px; }
.mv-model h3 a { color: inherit; }
.mv-for { font-size: .92rem; margin: -6px 0 16px !important; }
.mv-model ul { flex: 0 1 auto; }
.mv-model .md-btn { margin-top: auto; }

.mv-table-small { min-width: 0; }
.mv-vs { margin: 18px 0; }
.mv-vs p { margin: 0; }

/* CTA final */
.mv-final { background: linear-gradient(135deg, var(--dark-green) 0%, var(--secondary-green) 100%); color: var(--text-light); text-align: center; padding: 56px 0; }
.mv-final h2 { font-family: var(--font-family); font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2rem); color: var(--text-light); margin: 0 0 10px; }
.mv-final p { margin: 0 0 20px; color: rgba(255,255,255,.9); }
.mv-final-link a { color: #BFF3D6; font-weight: 600; }
.mv-final .mv-final-disclaimer { font-size: .82rem; color: rgba(255,255,255,.65); margin: 24px 0 0; }

/* Botão fixo no celular */
.mv-sticky { display: none; }
@media (max-width: 767px) {
  .mv-sticky { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 900; text-align: center; background: var(--primary-green); color: var(--text-light); font-weight: 700; padding: 15px 18px; border-radius: var(--radius-full); box-shadow: 0 8px 24px rgba(0,0,0,.3); text-decoration: none; transform: translateY(150%); transition: transform var(--transition-normal); }
  .mv-sticky.is-visible { transform: translateY(0); }
  .mv-final { padding-bottom: 90px; }
}

@media (max-width: 900px) {
  .md-hero-grid:has(.mv-hero-fig) { grid-template-columns: 1fr; }
  .md-hero-img.mv-hero-fig { order: 0; }
  .mv-models { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .mv-models { grid-template-columns: 1fr; }
  .mv-hero-fig img { max-width: 100%; }
  .mv-hero-cta, .mv-hero-cta .md-btn { width: 100%; }
}
