/* ============================================================
   DAITANA — tema do blog (identidade Comfort Living)
   Tokens extraídos do CSS oficial da plataforma.
   ============================================================ */
:root{
  --ink:#1B1410; --ink-2:#3A2E26; --muted:#737373;
  --bg:#FAFAFA; --card:#FFFFFF; --cream:#FAF6EE; --cream-2:#F5EFE3;
  --line:#E7E1D5; --line-2:#EFEAE0;
  --yellow:#FCB034; --yellow-deep:#E89A1A; --yellow-soft:#FFE4B0;
  --amber:#E8A537; --orange:#FF4D00; --orange-soft:#FF7A33; --live:#22C55E;
  --shadow-soft:0 1px 2px rgba(20,15,10,.04),0 4px 14px -8px rgba(20,15,10,.1);
  --shadow-lg:0 4px 8px -2px rgba(20,15,10,.06),0 18px 40px -16px rgba(20,15,10,.18);
  --glow:0 12px 28px -12px #fcb034b3; --glow-h:0 16px 34px -12px #fcb034cc;
  --f-display:'Cal Sans','Quicksand',system-ui,sans-serif;
  --f-body:'Quicksand',system-ui,sans-serif;
  --f-mono:'JetBrains Mono','IBM Plex Mono',ui-monospace,monospace;
  --f-bodoni:'Bodoni Moda',Georgia,serif; --f-dmserif:'DM Serif Text',Georgia,serif;
  --f-read:'Newsreader',Georgia,serif;
  --maxw:1240px; --maxw-read:760px; --ease:cubic-bezier(.22,.61,.36,1);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:clip}
body{font-family:var(--f-body);background:var(--bg);color:var(--ink);font-size:16.5px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:clip}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 40px}
.skip-link{position:absolute;left:-9999px}
h1,h2,h3,h4,.display{font-family:var(--f-display);font-weight:400;letter-spacing:-.01em;color:var(--ink)}
.read{font-family:var(--f-read)}
.mono{font-family:var(--f-mono)}

/* ---- componentes base ---- */
.eyebrow{font-family:var(--f-mono);font-size:11.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--orange)}
.chip{display:inline-block;font-family:var(--f-mono);font-size:10.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;padding:5px 11px;border-radius:999px;background:var(--cream);color:var(--ink);border:1px solid var(--line)}
.meta{font-family:var(--f-mono);font-variant-numeric:tabular-nums;font-size:11.5px;color:var(--muted);letter-spacing:.02em;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.meta .rt{color:var(--orange)}
.crumbs{font-family:var(--f-mono);font-size:11.5px;letter-spacing:.04em;color:var(--muted)}
.crumbs a{color:var(--muted)}
.crumbs a:hover{color:var(--orange)}
.crumbs .sep{opacity:.45}
.btn{display:inline-flex;align-items:center;gap:9px;font-family:var(--f-body);font-weight:700;font-size:14.5px;padding:13px 24px;border-radius:999px;cursor:pointer;border:1.5px solid transparent;transition:all .35s var(--ease)}
.btn-primary{background:var(--yellow);color:var(--ink);box-shadow:var(--glow)}
.btn-primary:hover{background:var(--yellow-deep);transform:translateY(-2px);box-shadow:var(--glow-h)}
.btn-ghost{background:var(--card);color:var(--ink);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--ink);gap:13px}
.arrow{transition:transform .35s var(--ease)}
.btn:hover .arrow,.alink:hover .arrow{transform:translateX(4px)}
.alink{font-family:var(--f-body);font-weight:700;font-size:14px;color:var(--orange);display:inline-flex;gap:7px;align-items:center}

/* ---- ticker / conversor FX (Banco do Canadá, ao vivo) ---- */
.ticker{background:var(--ink);color:var(--cream-2);overflow:hidden}
.ticker .wrap{display:flex;justify-content:space-between;align-items:center;gap:16px;height:40px}
.fx{display:flex;align-items:center;gap:14px;min-width:0;flex:1;font-family:var(--f-mono);font-variant-numeric:tabular-nums;font-size:11.5px;letter-spacing:.03em}
.fx .live{display:inline-flex;align-items:center;gap:6px;flex:none;text-transform:uppercase;font-weight:600;letter-spacing:.1em}
.fx .dot{width:7px;height:7px;border-radius:50%;background:var(--live);animation:pulse 2s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 #22c55e80}70%{box-shadow:0 0 0 6px #22c55e00}100%{box-shadow:0 0 0 0 #22c55e00}}
.fx .fx-lead{flex:none;color:var(--cream-2);opacity:.7;font-weight:500}
.fx-track{position:relative;overflow:hidden;flex:1;min-width:0;display:flex;-webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.fx-track .fx-msg{opacity:.55}
.fx-run{display:flex;gap:22px;align-items:center;white-space:nowrap;padding-right:22px;animation:fx-marquee 42s linear infinite;will-change:transform}
.fx[data-state="ready"] .fx-track:hover .fx-run,.fx-track:focus-within .fx-run{animation-play-state:paused}
@keyframes fx-marquee{from{transform:translateX(0)}to{transform:translateX(-100%)}}
.fx-item{display:inline-flex;align-items:center;gap:6px}
.fx-item .fx-cur{color:var(--cream-2);opacity:.78;font-weight:600}
.fx-item .fx-val{color:var(--yellow);font-weight:600}
.fx-item .fx-tr{font-size:9px;line-height:1}
.fx-item .fx-tr.up{color:#34D399}
.fx-item .fx-tr.down{color:#F87171}
.fx-item .fx-tr.flat{color:#9b8e7c}
.fx-src{flex:none;color:var(--cream-2);opacity:.5;font-size:10.5px;transition:opacity .3s}
.fx-src:hover{opacity:.85;text-decoration:underline}
@media (prefers-reduced-motion:reduce){
  .fx-run{animation:none}
  .fx-track{overflow-x:auto;-webkit-mask-image:none;mask-image:none;scrollbar-width:none}
  .fx-track::-webkit-scrollbar{display:none}
  .fx-run+.fx-run{display:none}
}
.langs{display:flex;gap:3px}
.langs a{font-family:var(--f-mono);padding:4px 9px;border-radius:999px;font-size:11.5px;font-weight:600;color:var(--cream-2);opacity:.65;transition:all .3s}
.langs a:hover{opacity:1}
.langs a.on{background:var(--yellow);color:var(--ink);opacity:1}

/* ---- header ---- */
.site-header{position:sticky;top:0;z-index:100;background:rgba(250,250,250,.88);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;gap:24px;height:76px}
.nav .logo img,.nav .logo .custom-logo{height:46px;width:auto}
.nav .logo .site-name{font-family:var(--f-display);font-size:24px;color:var(--ink)}
.primary-menu{margin-left:10px}
.primary-menu .menu-list,.primary-menu ul{display:flex;gap:24px;align-items:center;list-style:none;margin:0;padding:0}
.primary-menu li{position:relative;margin:0;padding:0}
.primary-menu a{font-size:14.5px;font-weight:600;padding:6px 0;opacity:.82;transition:opacity .3s;position:relative;display:inline-block}
.primary-menu a::after{content:"";position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--yellow);border-radius:2px;transition:width .35s var(--ease)}
.primary-menu a:hover{opacity:1}
.primary-menu a:hover::after{width:100%}
.primary-menu .sub-menu{display:none;position:absolute;top:100%;left:0;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:10px;min-width:220px;box-shadow:var(--shadow-lg);flex-direction:column;gap:2px}
.primary-menu li:hover>.sub-menu,.primary-menu li:focus-within>.sub-menu{display:flex}
.primary-menu .sub-menu a{padding:8px 12px;border-radius:8px;opacity:.9}
.primary-menu .sub-menu a:hover{background:var(--cream)}
.primary-menu .has-sub>a{display:inline-flex;align-items:center;gap:3px}
.primary-menu .caret{font-size:9px;opacity:.55}
.nav-right{margin-left:auto;display:flex;align-items:center;gap:14px}
.search-pill{display:flex;align-items:center;gap:8px;background:var(--cream);border:1px solid var(--line);border-radius:999px;padding:9px 15px;color:var(--muted);font-family:var(--f-mono);font-size:12px;min-width:190px}
.search-pill input{border:none;background:none;outline:none;font-family:var(--f-body);font-size:13.5px;color:var(--ink);width:100%}
.search-pill button{border:none;background:none;cursor:pointer;color:var(--muted);font-size:14px}

/* ---- hero (front) ---- */
.hero{padding:46px 0 28px}
.hero-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:34px}
.feature{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow-soft);display:flex;flex-direction:column;transition:box-shadow .4s,transform .4s var(--ease)}
.feature:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px)}
.feature .thumb{height:300px;position:relative;background:linear-gradient(150deg,var(--yellow-soft),var(--amber) 60%,var(--ink));overflow:hidden}
.feature .thumb img{width:100%;height:100%;object-fit:cover}
.feature .thumb .badge{position:absolute;top:18px;left:18px;background:var(--ink);color:var(--cream-2)}
.feature .fbody{padding:28px 30px 30px}
.feature h2,.feature h3{font-size:clamp(26px,2.9vw,38px);line-height:1.12;margin:14px 0 12px}
.feature .exc{font-family:var(--f-read);font-size:17px;color:var(--ink-2);line-height:1.55;margin-bottom:18px}
.feature .frow{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.rail h4{font-family:var(--f-mono);font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--ink);display:flex;align-items:center;gap:9px;margin-bottom:6px}
.rail h4::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--orange)}
.ritem{display:flex;gap:15px;padding:18px 0;border-bottom:1px solid var(--line)}
.ritem:last-child{border-bottom:none}
.ritem .rn{font-family:var(--f-mono);font-weight:700;font-variant-numeric:tabular-nums;font-size:23px;color:var(--yellow-deep);line-height:1;width:32px;flex:none;padding-top:3px}
.ritem h3{font-size:18px;line-height:1.18;margin-bottom:7px}
.ritem:hover h3{color:var(--orange)}

/* ---- pillars ---- */
.pillars{background:var(--cream);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:30px 0}
.pillars .wrap{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.pillars .lbl{font-family:var(--f-mono);font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-right:6px}
.pill{display:inline-flex;align-items:center;gap:9px;background:var(--card);border:1px solid var(--line);border-radius:999px;padding:10px 16px;font-weight:600;font-size:14px;transition:all .3s var(--ease)}
.pill:hover{border-color:var(--ink);transform:translateY(-2px);box-shadow:var(--shadow-soft)}
.pill .n{font-family:var(--f-mono);font-variant-numeric:tabular-nums;font-size:11px;color:var(--muted)}

/* ---- seções ---- */
section.block,.block{padding:clamp(56px,7vw,92px) 0}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:38px;flex-wrap:wrap}
.sec-head h2{font-size:clamp(28px,3.4vw,42px);line-height:1.08}
.sec-head h2 em{font-family:var(--f-bodoni);font-style:italic;color:var(--orange);font-weight:500}
.sec-head .eyebrow{display:block;margin-bottom:12px}

/* ---- funil ---- */
.funnel{background:var(--ink);color:var(--cream-2)}
.funnel h2{color:var(--cream-2)}
.funnel .eyebrow{color:var(--yellow)}
.funnel .sub{font-family:var(--f-read);color:#cebfa6;max-width:30em;margin-top:10px}
.fcols{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:42px}
.fstage{background:#241a13;border:1px solid #3a2e2466;border-radius:16px;padding:30px 28px;transition:all .4s var(--ease)}
.fstage:hover{border-color:var(--yellow);transform:translateY(-4px)}
.fstage .tag{font-family:var(--f-mono);font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--yellow)}
.fstage h3{color:var(--cream-2);font-size:23px;margin:14px 0 16px;line-height:1.12}
.fstage a.fl{display:flex;gap:10px;align-items:center;padding:11px 0;border-top:1px solid #ffffff14;font-size:14.5px;color:#e7dfcc;font-weight:500;transition:color .3s}
.fstage a.fl:hover{color:var(--yellow)}
.fstage a.fl .d{color:var(--orange);font-family:var(--f-mono);font-size:12px}

/* ---- grade / cards ---- */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;transition:transform .45s var(--ease),box-shadow .45s var(--ease)}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg)}
.card .thumb{height:178px;position:relative;overflow:hidden;background:linear-gradient(150deg,var(--yellow-soft),var(--amber))}
.card .thumb img{width:100%;height:100%;object-fit:cover}
.card .thumb .badge{position:absolute;top:14px;left:14px;z-index:2}
.cbody{padding:22px 24px 24px;display:flex;flex-direction:column;flex:1}
.cbody h3{font-size:21px;line-height:1.16;margin:12px 0 auto}
.cbody h3 a:hover{color:var(--orange)}
.cbody .exc{font-family:var(--f-read);font-size:14.5px;color:var(--muted);line-height:1.5;margin:10px 0 16px}
.cbody .meta{margin-top:4px}
.more{text-align:center;margin-top:48px}

/* ---- newsletter ---- */
.nl{background:var(--cream)}
.nl-box{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:clamp(36px,5vw,64px);display:grid;grid-template-columns:1.1fr .9fr;gap:46px;align-items:center;box-shadow:var(--shadow-soft)}
.nl-box h2{font-size:clamp(26px,3.2vw,38px);line-height:1.1}
.nl-box h2 em{font-family:var(--f-bodoni);font-style:italic;color:var(--orange);font-weight:500}
.nl-box p{font-family:var(--f-read);margin-top:12px;color:var(--ink-2);font-size:16px}
.nl-form{display:flex;flex-direction:column;gap:11px}
.nl-form input{padding:15px 17px;border:1.5px solid var(--line);border-radius:999px;font-family:inherit;font-size:14.5px;background:var(--bg);color:var(--ink)}
.nl-form input:focus{outline:none;border-color:var(--yellow-deep)}
.nl-form .btn-primary{justify-content:center}
.nl-form small{font-family:var(--f-mono);font-size:11px;color:var(--muted);text-align:center;letter-spacing:.02em}
.nl-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0;pointer-events:none}
.nl-status{font-family:var(--f-mono);font-size:12px;text-align:center;min-height:1.1em;margin:0;letter-spacing:.02em}
.nl-status.ok{color:#1c7c4a}
.nl-status.err{color:#c0392b}

/* ---- faixa concierge (secundária) ---- */
.cta-band{background:linear-gradient(120deg,var(--ink),#2a1f18)}
.cta-band .wrap{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:40px 40px;flex-wrap:wrap}
.cta-band .ct{flex:1;min-width:280px}
.cta-band .eyebrow{color:var(--yellow)}
.cta-band h3{color:var(--cream-2);font-size:clamp(22px,2.4vw,30px);margin-top:8px;line-height:1.15}
.cta-band h3 em{font-family:var(--f-bodoni);font-style:italic;color:var(--yellow);font-weight:500}
.cta-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.cta-band .cta-ghost{background:transparent;color:var(--cream-2);border-color:rgba(232,223,204,.4)}
.cta-band .cta-ghost:hover{border-color:var(--cream-2);background:rgba(232,223,204,.08)}

/* ============================================================
   ARTIGO (single) — leitura
   ============================================================ */
.article{padding:46px 0 0}
.article-head{max-width:var(--maxw-read);margin:0 auto 30px;text-align:center}
.article-head .chip{margin-bottom:18px}
.article-head h1{font-size:clamp(30px,4.2vw,52px);line-height:1.08;margin-bottom:18px}
.article-head .dek{font-family:var(--f-read);font-size:20px;color:var(--ink-2);line-height:1.5;margin-bottom:22px}
.article-head .meta{justify-content:center}
.article-hero{max-width:var(--maxw);margin:10px auto 40px;border-radius:18px;overflow:hidden;box-shadow:var(--shadow-lg);aspect-ratio:16/8;background:linear-gradient(150deg,var(--yellow-soft),var(--amber) 60%,var(--ink))}
.article-hero img{width:100%;height:100%;object-fit:cover}
.answer-box{max-width:var(--maxw-read);margin:0 auto 34px;background:var(--cream);border:1px solid var(--line);border-left:4px solid var(--yellow);border-radius:12px;padding:22px 26px}
.answer-box .lbl{font-family:var(--f-mono);font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--orange);display:block;margin-bottom:8px}
.answer-box p{font-family:var(--f-read);font-size:18px;color:var(--ink);margin:0}

/* corpo do artigo (the_content) */
.prose{max-width:var(--maxw-read);margin:0 auto;font-family:var(--f-read);font-size:19px;line-height:1.75;color:#2a221c}
.prose p{margin:0 0 1.25em}
.prose h2{font-family:var(--f-display);font-size:30px;line-height:1.15;margin:1.8em 0 .55em}
.prose h3{font-family:var(--f-display);font-size:23px;margin:1.5em 0 .5em}
.prose h2 a,.prose h3 a{color:inherit}
.prose a{color:var(--orange);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.prose ul,.prose ol{margin:0 0 1.25em 1.2em}
.prose li{margin:.4em 0}
.prose img{border-radius:12px;margin:1.6em 0;box-shadow:var(--shadow-soft)}
.prose blockquote{border-left:3px solid var(--yellow);background:var(--cream);padding:18px 24px;border-radius:0 12px 12px 0;margin:1.6em 0;font-style:italic;color:var(--ink)}
.prose table{width:100%;border-collapse:collapse;margin:1.6em 0;font-family:var(--f-body);font-size:15.5px}
.prose th,.prose td{border:1px solid var(--line);padding:11px 14px;text-align:left}
.prose th{background:var(--cream);font-weight:700;font-family:var(--f-mono);font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.prose td{font-variant-numeric:tabular-nums}
.prose figure{margin:1.6em 0}
.prose code{font-family:var(--f-mono);background:var(--cream);padding:2px 6px;border-radius:5px;font-size:.85em}

.article-footer{max-width:var(--maxw-read);margin:40px auto 0;padding:26px 0;border-top:1px solid var(--line)}
.tags{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:30px}
.tags .chip:hover{border-color:var(--ink)}
.author-box{display:flex;gap:18px;align-items:flex-start;background:var(--cream);border:1px solid var(--line);border-radius:16px;padding:24px 26px}
.author-box .ava{width:64px;height:64px;border-radius:50%;flex:none;background:linear-gradient(150deg,var(--amber),var(--orange));overflow:hidden}
.author-box .ava img{width:100%;height:100%;object-fit:cover}
.author-box .lbl{font-family:var(--f-mono);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--orange);font-weight:600}
.author-box h4{font-size:20px;margin:3px 0 6px}
.author-box p{font-family:var(--f-read);font-size:15px;color:var(--ink-2);line-height:1.55}
.author-box .author-meta{flex:1;min-width:0}
.author-box h4 a:hover{color:var(--orange)}
.author-role{font-family:var(--f-mono);font-size:11px;letter-spacing:.06em;color:var(--orange);margin:2px 0 8px;text-transform:uppercase}
.author-links{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:12px}
.author-links a{font-family:var(--f-body);font-weight:600;font-size:13.5px;color:var(--ink);border-bottom:2px solid var(--yellow);padding:4px 0;min-height:32px;display:inline-flex;align-items:center}
.author-links a:hover{color:var(--orange)}
/* arquivo da autora */
.author-head{background:var(--ink);border-bottom:none}
.author-head .eyebrow{color:var(--yellow)}
.author-head h1{color:var(--cream-2)}
.author-head .author-role{color:var(--yellow)}
.author-hero{display:flex;gap:30px;align-items:center;flex-wrap:wrap}
.author-hero .ava-lg{width:120px;height:120px;border-radius:50%;overflow:hidden;flex:none;border:3px solid rgba(252,176,52,.5)}
.author-hero .ava-lg img{width:100%;height:100%;object-fit:cover}
.author-hero .author-bio{font-family:var(--f-read);font-size:17px;color:rgba(247,242,233,.82);max-width:46em;margin:10px 0 18px}
.author-head .author-links{margin-top:0}
.author-head .author-links .btn-ghost{background:transparent;color:var(--cream-2);border-color:rgba(232,223,204,.4)}
.author-head .author-links .btn-ghost:hover{border-color:var(--cream-2)}
.related{margin-top:18px}
.post-nav{max-width:var(--maxw-read);margin:34px auto 0;display:flex;justify-content:space-between;gap:18px;border-top:1px solid var(--line);padding-top:22px}
.post-nav a{flex:1;font-family:var(--f-display);font-size:16px;color:var(--ink);line-height:1.25;transition:color .3s}
.post-nav a:hover{color:var(--orange)}
.post-nav a[rel=next]{text-align:right}

/* ============================================================
   ARQUIVO / PÁGINAS DE LISTAGEM
   ============================================================ */
.page-head{background:var(--cream);border-bottom:1px solid var(--line);padding:56px 0}
.page-head .eyebrow{display:block;margin-bottom:12px}
.page-head h1{font-size:clamp(32px,4vw,52px);line-height:1.06}
.page-head .desc{font-family:var(--f-read);font-size:18px;color:var(--ink-2);max-width:42em;margin-top:14px}
.page-head .crumbs{font-family:var(--f-mono);font-size:11.5px;letter-spacing:.04em;color:var(--muted);margin-bottom:14px}
.page-head .crumbs a:hover{color:var(--orange)}

.pagination{display:flex;justify-content:center;gap:8px;margin-top:54px;font-family:var(--f-mono)}
.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:var(--card);font-size:13.5px;font-weight:600;transition:all .3s}
.pagination .page-numbers:hover{border-color:var(--ink)}
.pagination .page-numbers.current{background:var(--yellow);border-color:var(--yellow);color:var(--ink)}

/* 404 / vazio */
.notfound{text-align:center;padding:clamp(70px,12vw,150px) 0}
.notfound .code{font-family:var(--f-mono);font-size:13px;letter-spacing:.2em;color:var(--orange);text-transform:uppercase}
.notfound h1{font-size:clamp(40px,7vw,90px);margin:14px 0 16px}
.notfound p{font-family:var(--f-read);font-size:19px;color:var(--ink-2);max-width:32em;margin:0 auto 28px}

/* ---- footer ---- */
.site-footer{background:var(--ink);color:#b3a591;padding:70px 0 32px;margin-top:0}
.foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px;padding-bottom:46px;border-bottom:1px solid #ffffff14}
.foot-brand img{height:54px;width:auto;max-width:260px;object-fit:contain;display:block}
.foot-brand p{font-family:var(--f-read);margin-top:16px;max-width:25em;font-size:14.5px;line-height:1.7}
.fcol h5{font-family:var(--f-mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--yellow);margin-bottom:16px;font-weight:600}
.fcol ul,.fcol li{list-style:none;margin:0;padding:0}
.fcol a{display:block;font-size:14px;padding:6px 0;color:#b3a591;font-weight:500;transition:color .3s}
.fcol a:hover{color:var(--cream-2)}
.foot-bot{display:flex;justify-content:space-between;padding-top:26px;font-family:var(--f-mono);font-size:11.5px;flex-wrap:wrap;gap:12px;letter-spacing:.03em;color:#8a7d6c}

/* ---- robustez: reafirma a tipografia do tema (à prova de CSS global de plugins) ---- */
.site-header .primary-menu a{font-family:var(--f-body);font-size:14.5px;font-weight:600;line-height:1.4}
.hero .feature h2,.hero .feature h2 a{font-family:var(--f-display);line-height:1.12;font-weight:400}
.rail .ritem h3{font-family:var(--f-display);line-height:1.18;font-weight:400}
.site-footer .fcol h5{font-family:var(--f-mono)}

/* ---- animação de entrada ---- */
.reveal{opacity:0;transform:translateY(20px);animation:rise .8s var(--ease) forwards}
@keyframes rise{to{opacity:1;transform:none}}
.d1{animation-delay:.04s}.d2{animation-delay:.13s}.d3{animation-delay:.22s}

/* ============================================================
   MOBILE NAV (hambúrguer + drawer) + toque/acessibilidade
   ============================================================ */
.nav-toggle{display:none;width:46px;height:46px;align-items:center;justify-content:center;flex-direction:column;gap:5px;background:none;border:1px solid var(--line);border-radius:12px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--ink);border-radius:2px;transition:transform .3s var(--ease),opacity .2s}
body.menu-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
body.menu-open .nav-toggle span:nth-child(2){opacity:0}
body.menu-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.m-nav{position:fixed;inset:0;z-index:200;overflow:hidden;visibility:hidden;pointer-events:none;transition:visibility .4s}
body.menu-open .m-nav{visibility:visible;pointer-events:auto}
.m-scrim{position:absolute;inset:0;background:rgba(20,15,10,.55);opacity:0;transition:opacity .35s var(--ease)}
body.menu-open .m-scrim{opacity:1}

.m-drawer{position:absolute;top:0;right:0;bottom:0;width:min(86vw,380px);background:var(--ink);color:var(--cream-2);
  padding:calc(22px + env(safe-area-inset-top)) 26px calc(26px + env(safe-area-inset-bottom)) 26px;
  transform:translateX(100%);transition:transform .4s var(--ease);
  overflow-y:auto;display:flex;flex-direction:column;gap:18px;box-shadow:-20px 0 60px -24px rgba(0,0,0,.6)}
body.menu-open .m-drawer{transform:none}
body.menu-open{overflow:hidden}
.m-drawer-head{display:flex;align-items:center;justify-content:space-between}
.m-drawer-logo img,.m-drawer-logo .custom-logo{height:40px;width:auto}
.m-close{background:none;border:none;color:var(--cream-2);font-size:32px;line-height:1;cursor:pointer;width:46px;height:46px;border-radius:10px}
.m-search .search-pill{display:flex;width:100%;background:#2a201a;border-color:#3a2e24;color:var(--sand)}
.m-search .search-pill input{color:var(--cream-2)}
.m-menu .m-menu-list{list-style:none;margin:0;padding:0;border-top:1px solid rgba(232,223,204,.14)}
.m-menu .m-menu-list li{border-bottom:1px solid rgba(232,223,204,.14)}
.m-menu .m-menu-list a{display:flex;align-items:center;min-height:54px;font-family:var(--f-display);font-size:21px;color:var(--cream-2);padding:6px 2px;transition:color .2s}
.m-menu .m-menu-list a:active,.m-menu .m-menu-list a:hover{color:var(--yellow)}
.m-menu .m-menu-list .m-sub-label{font-family:var(--f-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#9b8e7c;padding:16px 2px 4px;border-bottom:none}
.m-drawer-cta{justify-content:center;margin-top:4px}
.m-langs{margin-top:auto;padding-top:10px}
.m-langs .langs a{padding:10px 16px;font-size:14px;min-width:48px;text-align:center;opacity:.85}
.m-langs .langs a.on{opacity:1}

/* feedback de toque + sem delay de 300ms */
a,button,.btn,.pill,.card{touch-action:manipulation}
.btn:active{transform:scale(.97)}
.pill:active{transform:scale(.98)}
.card:active{transform:scale(.995)}
.alink:active,.glink:active,.primary-menu a:active{opacity:.7}
.ticker .langs a{min-height:30px;display:inline-flex;align-items:center}

/* acessibilidade: respeitar redução de movimento */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
  .reveal{opacity:1!important;transform:none!important}
}

/* ---- responsivo ---- */
@media(max-width:980px){
  .hero-grid{grid-template-columns:1fr;gap:28px}
  .fcols,.grid{grid-template-columns:1fr 1fr}
  .nl-box{grid-template-columns:1fr;gap:26px}
  .foot-grid{grid-template-columns:1fr 1fr}
  .primary-menu,.search-pill,.nav-cta{display:none}
  .nav-toggle{display:inline-flex}
}
@media(max-width:600px){
  .wrap{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}
  .fcols,.grid,.foot-grid{grid-template-columns:1fr}
  .feature .thumb{height:220px}
  .fx .fx-lead,.fx .fx-src{display:none}
  .ticker .wrap{gap:10px}
  .sec-head{flex-direction:column;align-items:flex-start}
  .article .crumbs{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
}
