/*
Theme Name: Marceni
Theme URI: https://marceni.com
Author: Marceni
Description: Tema do Marceni — home (landing) + blog, no visual da marca (nogueira/caramelo).
Version: 1.0
Text Domain: marceni
*/

  /* Layout: faixas nogueira (topo, CTA, rodapé) sobre fundo linho; cards brancos; mockups do app em CSS. Identidade quente da marca Marceni. */
  :root {
    --brand: #6d4526;      /* nogueira */
    --brand-ink: #5a3a20;
    --caramel: #c0824c;
    --logo-primary: #9b582f;
    --logo-shadow: #7b3c0d;
    --ink: #32251a;
    --ink-muted: #6f5f4d;
    --accent: #9a5f36;
    --icon: #8a5635;
    --surface: #f4ede2;    /* linho */
    --surface-2: #efe4d4;
    --raised: #ffffff;
    --tile: #f0e2d1;
    --border: #e6d7c3;
    --on-brand: #fdf7ef;
    --on-brand-muted: #e2c6a7;
    --on-caramel: #2a1a0c;
    --ok: #2e8b40;
    --shadow: 0 18px 50px -24px rgba(50,37,26,.45);
    --shadow-sm: 0 6px 20px -12px rgba(50,37,26,.35);
    --radius-card: 16px;
    --radius-tile: 14px;
    --radius-btn: 12px;
    --maxw: 1140px;
    color-scheme: light;
    --font: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  }
  * { box-sizing: border-box; }
  body { background: var(--surface); color: var(--ink); font-family: var(--font); font-weight: 500; line-height: 1.5; -webkit-font-smoothing: antialiased; }
  h1, h2, h3 { margin: 0; font-weight: 800; color: var(--ink); text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; }
  p { margin: 0; }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; }

  .wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .band { width: 100%; }
  .eyebrow { font-size: clamp(12px, 2.6vw, 14px); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-weight: 700; font-size: 16px; padding: 14px 24px; border-radius: var(--radius-btn); border: 1.5px solid transparent; cursor: pointer; transition: transform .12s ease, background .15s ease, box-shadow .15s ease; text-align: center; }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-sm); }
  .btn-primary:hover { background: var(--brand-ink); }
  .btn-ghost { background: transparent; color: var(--brand); border-color: var(--border); }
  .btn-ghost:hover { background: var(--surface-2); }
  .btn-light { background: var(--surface); color: var(--brand); }
  .btn-light:hover { background: #fff; }
  .btn-lg { font-size: 17px; padding: 16px 30px; }

  /* ---------- NAV ---------- */
  .nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(244,237,226,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
  body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: rgba(244,237,226,.92); }
  .nav-in { display: flex; align-items: center; gap: 18px; padding-block: 12px; }
  .brand-lock { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; color: var(--ink); }
  .mmark { width: 34px; height: 34px; border-radius: 9px; background: var(--caramel); display: grid; place-items: center; flex: none; box-shadow: inset 0 -2px 6px rgba(123,60,13,.25); }
  .mmark svg { width: 20px; height: 20px; display: block; }
  .mlogo { height: 34px; width: auto; display: block; flex: none; }
  .foot .mlogo { height: 38px; }
  .mock-shot { padding: 0 !important; line-height: 0; }
  .mock-shot img { display: block; width: 100%; height: auto; }
  /* vitrine de prints reais do produto */
  .showcase { display: grid; grid-template-columns: 1fr 1.12fr; gap: 44px; align-items: center; margin-bottom: 60px; }
  .showcase:last-child { margin-bottom: 0; }
  .showcase.rev .sc-text { order: 2; }
  .showcase .sc-text h2 { font-size: clamp(26px, 4vw, 38px); margin-top: 10px; }
  .showcase .sc-text p { color: var(--ink-muted); font-size: 17.5px; margin-top: 14px; max-width: 42ch; }
  .showcase .sc-shot img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow); display: block; }
  @media (max-width: 820px) { .showcase { grid-template-columns: 1fr; gap: 22px; margin-bottom: 44px; } .showcase.rev .sc-text { order: 0; } }
  .nav-links { display: flex; gap: 22px; margin-left: 14px; }
  .nav-links a { font-size: 15px; font-weight: 600; color: var(--ink-muted); }
  .nav-links a:hover { color: var(--brand); }
  .nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
  .nav-cta .btn { padding: 10px 18px; font-size: 14.5px; }
  .nav-enter { font-weight: 700; color: var(--brand); font-size: 14.5px; padding: 10px 6px; }
  @media (max-width: 820px) { .nav-links { display: none; } }
  @media (max-width: 440px) { .nav-enter { display: none; } }

  /* ---------- HERO ---------- */
  .hero { padding-block: clamp(44px, 8vw, 86px); }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
  @media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
  .hero h1 { font-size: clamp(38px, 7.2vw, 64px); margin-top: 16px; }
  .hero .lead { font-size: clamp(17px, 2.6vw, 21px); color: var(--ink-muted); margin-top: 20px; max-width: 34ch; font-weight: 500; }
  .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .hero-note { margin-top: 16px; font-size: 14px; color: var(--ink-muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }
  .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }

  /* ---------- APP MOCKUP (janela) ---------- */
  .mock { background: var(--raised); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
  .mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
  .mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9c4a8; display: block; }
  .mock-url { margin-left: 10px; font-size: 12px; color: var(--ink-muted); font-weight: 600; background: var(--surface); border: 1px solid var(--border); border-radius: 7px; padding: 4px 12px; }
  .mock-body { padding: 16px; }
  .mock-h { font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
  .mock-h span { font-size: 11px; font-weight: 700; color: var(--on-brand); background: var(--ok); padding: 3px 9px; border-radius: 999px; }
  .kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
  .kcol { background: var(--surface); border: 1px solid var(--border); border-radius: 11px; padding: 8px; min-width: 0; }
  .kcol b { font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); display: block; margin-bottom: 7px; }
  .kcard { background: var(--raised); border: 1px solid var(--border); border-radius: 8px; padding: 7px 8px; margin-bottom: 6px; box-shadow: 0 2px 5px -3px rgba(50,37,26,.3); }
  .kcard i { display: block; height: 6px; border-radius: 3px; background: var(--tile); }
  .kcard i.w1 { width: 72%; } .kcard i.w2 { width: 52%; margin-top: 5px; background: #e9dcc8; }
  .kcard .tag { display: inline-block; margin-top: 6px; font-size: 8.5px; font-weight: 800; padding: 2px 6px; border-radius: 5px; }
  .tag.med { background: #f0e2cf; color: #9a6a23; }
  .tag.cor { background: #e2e6ea; color: #556070; }
  .tag.mon { background: #e4f0e7; color: #2e7a3a; }

  /* ---------- DOR ---------- */
  .pain { background: var(--brand); color: var(--on-brand); }
  .pain-in { padding-block: clamp(40px, 6vw, 60px); display: grid; grid-template-columns: 1fr 1.2fr; gap: 34px; align-items: center; }
  @media (max-width: 820px) { .pain-in { grid-template-columns: 1fr; gap: 22px; } }
  .pain h2 { color: var(--on-brand); font-size: clamp(26px, 4.6vw, 38px); }
  .pain p { color: var(--on-brand-muted); font-size: 17px; margin-top: 14px; max-width: 42ch; }
  .pain-list { display: grid; gap: 12px; }
  .pain-item { display: flex; align-items: center; gap: 13px; background: rgba(253,247,239,.07); border: 1px solid rgba(253,247,239,.14); border-radius: 12px; padding: 14px 16px; font-size: 15.5px; font-weight: 600; color: var(--on-brand); }
  .pain-item svg { width: 20px; height: 20px; flex: none; color: var(--on-brand-muted); }

  /* ---------- SEÇÕES genéricas ---------- */
  .section { padding-block: clamp(52px, 8vw, 90px); }
  .section-head { max-width: 40ch; margin-bottom: 42px; }
  .section-head.center { margin-inline: auto; text-align: center; }
  .section-head h2 { font-size: clamp(28px, 5vw, 44px); margin-top: 12px; }
  .section-head p { color: var(--ink-muted); font-size: 18px; margin-top: 16px; }

  /* passos */
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  @media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 500px) { .steps { grid-template-columns: 1fr; } }
  .step { position: relative; }
  .step-n { font-size: 13px; font-weight: 800; color: var(--caramel); letter-spacing: .1em; }
  .step h3 { font-size: 20px; margin-top: 8px; }
  .step p { color: var(--ink-muted); font-size: 15px; margin-top: 8px; }
  .step-ic { width: 46px; height: 46px; border-radius: var(--radius-tile); background: var(--tile); display: grid; place-items: center; margin-bottom: 14px; }
  .step-ic svg { width: 24px; height: 24px; color: var(--icon); }

  /* recursos */
  .feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  @media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }
  .feat { background: var(--raised); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 26px 24px; box-shadow: var(--shadow-sm); }
  .feat-ic { width: 48px; height: 48px; border-radius: var(--radius-tile); background: var(--tile); display: grid; place-items: center; margin-bottom: 16px; }
  .feat-ic svg { width: 25px; height: 25px; color: var(--icon); }
  .feat h3 { font-size: 19px; }
  .feat p { color: var(--ink-muted); font-size: 15px; margin-top: 9px; }

  /* destaque link cliente */
  .spot { background: var(--surface-2); border-radius: 24px; padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 5vw, 56px); align-items: center; }
  @media (max-width: 860px) { .spot { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
  .spot h2 { font-size: clamp(26px, 4.4vw, 38px); }
  .spot p { color: var(--ink-muted); font-size: 17px; margin-top: 16px; max-width: 42ch; }
  .spot-list { display: grid; gap: 10px; margin-top: 22px; }
  .spot-list li { list-style: none; display: flex; align-items: center; gap: 11px; font-size: 15.5px; font-weight: 600; }
  .spot-list svg { width: 20px; height: 20px; color: var(--ok); flex: none; }
  @media (max-width: 860px) { .spot-list { justify-items: start; text-align: left; display: inline-grid; } }

  /* telefone */
  .phone { width: 300px; max-width: 100%; background: #241812; border-radius: 34px; padding: 11px; box-shadow: var(--shadow); }
  .phone-screen { background: var(--surface); border-radius: 25px; overflow: hidden; }
  .ph-top { background: var(--brand); color: var(--on-brand); padding: 16px 18px 18px; }
  .ph-top .mini { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: var(--on-brand-muted); }
  .ph-top .mini .mmark { width: 20px; height: 20px; border-radius: 6px; }
  .ph-top .mini .mmark svg { width: 12px; height: 12px; }
  .ph-top h4 { color: var(--on-brand); font-size: 17px; margin: 12px 0 3px; font-weight: 800; }
  .ph-top .sub { color: var(--on-brand-muted); font-size: 12px; font-weight: 600; }
  .ph-prog { display: flex; gap: 5px; margin-top: 15px; }
  .ph-prog i { height: 5px; border-radius: 3px; flex: 1; background: rgba(253,247,239,.25); }
  .ph-prog i.on { background: var(--caramel); }
  .ph-body { padding: 15px; }
  .ph-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--ink); }
  .ph-row:last-child { border-bottom: 0; }
  .ph-check { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 11px; font-weight: 800; }
  .ph-check.done { background: var(--ok); color: #fff; }
  .ph-check.now { background: var(--caramel); color: #fff; }
  .ph-check.wait { background: var(--tile); color: var(--ink-muted); }
  .ph-row small { margin-left: auto; font-size: 11px; color: var(--ink-muted); font-weight: 600; }
  .ph-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 13px; }
  .ph-photos i { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, #e9dcc8, #d9c4a8); display: block; }

  /* spot invertido (visual à esquerda) */
  .spot.rev { grid-template-columns: 340px 1fr; }
  @media (max-width: 860px) { .spot.rev { grid-template-columns: 1fr; } }

  /* plano de corte / retalho */
  .cutplan { background: var(--raised); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 16px; width: 100%; max-width: 340px; }
  .cp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
  .cp-head span { font-size: 11px; font-weight: 800; color: #fff; background: var(--ok); padding: 3px 9px; border-radius: 999px; }
  .cp-sheet { aspect-ratio: 4 / 5; background: var(--tile); border: 1px solid var(--border); border-radius: 10px; padding: 7px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1.4fr; gap: 7px; }
  .pc { background: var(--raised); border: 1px solid var(--border); border-radius: 6px; min-width: 0; }
  .pc.c { grid-row: span 2; }
  .pc.leftover { grid-row: span 2; background: #e4f0e7; border: 1.5px solid var(--ok); border-radius: 6px; display: grid; place-items: center; text-align: center; color: #2e7a3a; font-size: 10.5px; font-weight: 700; line-height: 1.3; padding: 4px; }
  .pc.leftover b { font-size: 13px; }
  .cp-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--ok); }
  .cp-note svg { width: 17px; height: 17px; flex: none; }

  /* preços */
  .price-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1040px; margin-inline: auto; align-items: stretch; }
  @media (max-width: 920px) { .price-wrap { grid-template-columns: 1fr; max-width: 460px; } }
  .plan { background: var(--raised); border: 1px solid var(--border); border-radius: 20px; padding: 30px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
  .plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); position: relative; }
  .plan-flag { position: absolute; top: -13px; left: 28px; background: var(--brand); color: var(--on-brand); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 13px; border-radius: 999px; }
  .plan-name { font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
  .plan-price { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; }
  .plan-price b { font-size: 46px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
  .plan-price span { font-size: 16px; color: var(--ink-muted); font-weight: 600; }
  .plan-sub { font-size: 14px; color: var(--ink-muted); font-weight: 600; margin-top: 6px; min-height: 20px; }
  .plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 11px; }
  .plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink); font-weight: 500; }
  .plan li svg { width: 19px; height: 19px; color: var(--ok); flex: none; margin-top: 1px; }
  .plan .btn { margin-top: auto; width: 100%; }
  .price-foot { text-align: center; color: var(--ink-muted); font-size: 14px; font-weight: 600; margin-top: 24px; }

  /* mote / confiança */
  .creed { background: var(--brand); color: var(--on-brand); border-radius: 24px; padding: clamp(32px, 5vw, 56px); text-align: center; }
  .creed .eyebrow { color: var(--on-brand-muted); }
  .creed h2 { color: var(--on-brand); font-size: clamp(26px, 4.6vw, 40px); margin-top: 14px; max-width: 20ch; margin-inline: auto; }
  .creed p { color: var(--on-brand-muted); font-size: 17px; margin-top: 18px; max-width: 54ch; margin-inline: auto; }

  /* FAQ */
  .faq { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
  .faq details { background: var(--raised); border: 1px solid var(--border); border-radius: 14px; padding: 4px 20px; }
  .faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-size: 16.5px; font-weight: 700; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary .pm { width: 22px; height: 22px; flex: none; position: relative; transition: transform .2s ease; }
  .faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; }
  .faq summary .pm::before { top: 10px; left: 3px; right: 3px; height: 2px; }
  .faq summary .pm::after { left: 10px; top: 3px; bottom: 3px; width: 2px; transition: opacity .2s ease; }
  .faq details[open] summary .pm::after { opacity: 0; }
  .faq details[open] summary { color: var(--brand); }
  .faq p { color: var(--ink-muted); font-size: 15.5px; padding: 0 0 20px; max-width: 64ch; }

  /* CTA final */
  .final { background: var(--brand); color: var(--on-brand); }
  .final-in { padding-block: clamp(54px, 8vw, 84px); text-align: center; }
  .final .eyebrow { color: var(--on-brand-muted); }
  .final h2 { color: var(--on-brand); font-size: clamp(30px, 6vw, 52px); margin-top: 14px; }
  .final p { color: var(--on-brand-muted); font-size: 18px; margin-top: 16px; }
  .final .hero-cta { justify-content: center; }

  /* rodapé */
  .foot { background: #2b1c10; color: var(--on-brand-muted); }
  .foot-in { padding-block: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
  .foot .brand-lock { color: var(--on-brand); }
  .foot-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; font-weight: 600; }
  .foot-links a:hover { color: var(--on-brand); }
  .foot-copy { width: 100%; border-top: 1px solid rgba(253,247,239,.12); padding-top: 20px; font-size: 13px; font-weight: 500; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }

  /* ===================== MOVIMENTO ===================== */
  /* entradas ao rolar — sem JS (sem .js-anim) tudo já fica visível */
  .js-anim .section-head,
  .js-anim .pain-item,
  .js-anim .step,
  .js-anim .feat,
  .js-anim .spot,
  .js-anim .plan,
  .js-anim .creed,
  .js-anim .faq details,
  .js-anim .final-in { opacity: 0; transform: translateY(26px); }
  .js-anim .is-in { opacity: 1 !important; transform: none !important; transition: opacity .7s ease, transform .78s cubic-bezier(.2,.75,.25,1); }

  /* stagger nos grupos */
  .js-anim .steps .step:nth-child(2){ transition-delay:.09s } .js-anim .steps .step:nth-child(3){ transition-delay:.18s } .js-anim .steps .step:nth-child(4){ transition-delay:.27s }
  .js-anim .feat-grid .feat:nth-child(3n+2){ transition-delay:.08s } .js-anim .feat-grid .feat:nth-child(3n+3){ transition-delay:.16s }
  .js-anim .pain-list .pain-item:nth-child(2){ transition-delay:.1s } .js-anim .pain-list .pain-item:nth-child(3){ transition-delay:.2s }
  .js-anim .price-wrap .plan:nth-child(2){ transition-delay:.1s }

  /* construção do retalho: as peças montam quando entra na tela */
  .js-anim .spot.rev .pc { opacity: 0; transform: scale(.78); }
  .js-anim .spot.rev.is-in .pc { opacity: 1; transform: none; transition: opacity .42s ease, transform .55s cubic-bezier(.2,.9,.3,1.3); }
  .js-anim .spot.rev.is-in .pc.a{ transition-delay:.15s } .js-anim .spot.rev.is-in .pc.b{ transition-delay:.3s } .js-anim .spot.rev.is-in .pc.c{ transition-delay:.45s } .js-anim .spot.rev.is-in .pc.leftover{ transition-delay:.62s }
  .js-anim .spot.rev .cp-note { opacity: 0; }
  .js-anim .spot.rev.is-in .cp-note { animation: fadeUp .6s ease .85s both; }

  /* barra de progresso do celular enchendo ao entrar */
  .js-anim .spot .ph-prog i.on { transform: scaleX(0); transform-origin: left; }
  .js-anim .spot.is-in .ph-prog i.on { animation: growx .5s ease both; }
  .js-anim .spot.is-in .ph-prog i.on:nth-child(2){ animation-delay:.18s } .js-anim .spot.is-in .ph-prog i.on:nth-child(3){ animation-delay:.36s }

  /* float ambiente (não esconde nada) */
  @keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-9px) } }
  @keyframes floaty-s { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(10px) } }
  @keyframes fadeUp { from{ opacity:0; transform: translateY(10px) } to{ opacity:1; transform:none } }
  @keyframes growx { from{ transform: scaleX(0) } to{ transform: scaleX(1) } }
  .mock { animation: floaty 6.5s ease-in-out infinite; }
  .phone { animation: floaty-s 7.5s ease-in-out infinite; }
  .cutplan { animation: floaty 7s ease-in-out infinite .4s; }

  /* selos pulsando + ponto "agora" piscando */
  @keyframes ring { 0%{ box-shadow: 0 0 0 0 rgba(46,139,64,.5) } 70%,100%{ box-shadow: 0 0 0 8px rgba(46,139,64,0) } }
  .mock-h span, .cp-head span { animation: ring 2.6s ease-out infinite; }
  @keyframes glow { 0%,100%{ opacity:1; transform: scale(1) } 50%{ opacity:.55; transform: scale(.9) } }
  .ph-check.now { animation: glow 1.5s ease-in-out infinite; }

  /* microinterações no hover */
  .feat { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .feat:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -22px rgba(50,37,26,.55); border-color: #d8c4a6; }
  .feat-ic, .step-ic { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
  .feat:hover .feat-ic { transform: rotate(-8deg) scale(1.1); }
  .step:hover .step-ic { transform: translateY(-5px) rotate(6deg); }
  .plan { transition: transform .2s ease, box-shadow .2s ease; }
  .plan:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
  .btn-primary:hover, .btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(50,37,26,.6); }
  .nav-links a { position: relative; }
  .nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; border-radius: 2px; background: var(--brand); transition: right .25s ease; }
  .nav-links a:hover::after { right: 0; }

  /* ---- HERO: título montando + serragem ---- */
  .hero { position: relative; }
  .hero-grid { position: relative; z-index: 1; }
  .dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
  .hero h1 .w { display: inline-block; }
  .hero h1 .w.em { color: var(--brand); }
  /* eyebrow entra suave; cada palavra cai como tábua e assenta com um quique */
  .js-anim .hero .eyebrow { opacity: 0; animation: fadeUp .5s ease .04s both; }
  @keyframes plank { 0% { opacity: 0; transform: translateY(-46px) rotate(-5deg); } 55% { opacity: 1; } 100% { opacity: 1; transform: translateY(0) rotate(0); } }
  .js-anim .hero h1 .w { animation: plank .62s cubic-bezier(.2,1.3,.4,1) both; }
  .js-anim .hero h1 .w:nth-child(1){ animation-delay:.14s } .js-anim .hero h1 .w:nth-child(2){ animation-delay:.21s }
  .js-anim .hero h1 .w:nth-child(3){ animation-delay:.28s } .js-anim .hero h1 .w:nth-child(4){ animation-delay:.35s }
  .js-anim .hero h1 .w:nth-child(5){ animation-delay:.42s } .js-anim .hero h1 .w:nth-child(6){ animation-delay:.52s }
  .js-anim .hero h1 .w:nth-child(7){ animation-delay:.6s } .js-anim .hero h1 .w:nth-child(8){ animation-delay:.68s }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js-anim .section-head, .js-anim .pain-item, .js-anim .step, .js-anim .feat, .js-anim .spot, .js-anim .plan, .js-anim .creed, .js-anim .faq details, .js-anim .final-in, .js-anim .pc, .js-anim .cp-note, .js-anim .ph-prog i.on, .js-anim .hero h1 .w, .js-anim .hero .eyebrow { opacity: 1 !important; transform: none !important; }
    .dust { display: none; }
  }


/* ===== BLOG ===== */
.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:28px}
.post-card{background:var(--raised);border:1px solid var(--border);border-radius:16px;overflow:hidden;box-shadow:var(--shadow-sm);display:flex;flex-direction:column}
.post-thumb img{width:100%;height:190px;object-fit:cover;display:block}
.post-body{padding:20px 22px;display:flex;flex-direction:column;gap:8px}
.post-meta{font-size:13px;color:var(--ink-muted);font-weight:600}
.post-card h3{font-size:20px;margin:2px 0;line-height:1.25}
.post-card h3 a{color:var(--ink)} .post-card h3 a:hover{color:var(--brand)}
.post-card p{color:var(--ink-muted);font-size:15px;margin:0}
.post-more{color:var(--brand);font-weight:700;font-size:14.5px;margin-top:4px}
.post-single{max-width:760px;margin-inline:auto}
.post-single h1{font-size:clamp(28px,5vw,42px);margin:6px 0 0}
.post-head .post-meta{margin-bottom:6px}
.post-hero img{width:100%;height:auto;border-radius:14px;margin:18px 0}
.post-content{font-size:18px;line-height:1.75;color:var(--ink)}
.post-content p{margin:1em 0}
.post-content h2{font-size:28px;margin:1.3em 0 .4em}
.post-content h3{font-size:22px;margin:1.1em 0 .3em}
.post-content ul,.post-content ol{margin:1em 0 1em 1.2em}
.post-content img{max-width:100%;height:auto;border-radius:12px}
.post-content a{color:var(--brand);text-decoration:underline}
.post-content blockquote{border-left:4px solid var(--brand);margin:1.2em 0;padding:4px 18px;color:var(--ink-muted)}
.pagination{margin-top:38px;text-align:center}
.pagination .page-numbers{display:inline-block;padding:8px 14px;margin:0 3px;border:1px solid var(--border);border-radius:10px;color:var(--ink);font-weight:700;text-decoration:none}
.pagination .current{background:var(--brand);color:var(--on-brand);border-color:var(--brand)}
