/*
Theme Name: PhytoAtlas
Description: Tema do catálogo PhytoAtlas (PT-BR, EN, ES). Precisa do plugin PhytoAtlas.
Version: 1.1.0
Author: PhytoAtlas
Requires PHP: 8.0
Text Domain: phytoatlas
*/

/* ------------------------------------------------------------------ fontes */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/inter-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/inter-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/fraunces-latin-opsz-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/fraunces-latin-ext-opsz-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url(assets/fonts/fraunces-latin-opsz-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+2000-206F; }

/* ------------------------------------------------------------------ tokens */
:root {
	--bg: #faf8f3;
	--surface: #ffffff;
	--surface-2: #f4f1ea;
	--ink: #1b231f;
	--ink-2: #3a4540;
	--muted: #66716b;
	--line: #e5e0d4;
	--g-950: #0f2a20;
	--g-900: #16352a;
	--g-800: #1f4636;
	--g-700: #2b5d45;
	--g-500: #4f8a68;
	--g-200: #c6dccb;
	--g-100: #e3efe6;
	--g-50: #f1f6f2;
	--terra: #b5562e;
	--terra-100: #f7e7de;
	--ok: #1f7a3f;
	--ok-100: #e2f2e7;
	--warn: #9a5b00;
	--warn-100: #fbefd6;
	--bad: #b42318;
	--bad-100: #fbe5e2;
	--radius: 16px;
	--radius-s: 10px;
	--shadow: 0 1px 2px rgba(20, 40, 30, .06), 0 6px 20px rgba(20, 40, 30, .06);
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1200px;
	color-scheme: light;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--g-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--g-900); }
h1, h2, h3 { font-family: var(--serif); font-optical-sizing: auto; color: var(--g-950); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
em { font-style: italic; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--g-900); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; border-radius: 4px; }
.pa-ico { width: 20px; height: 20px; flex: none; }
.pa-muted { color: var(--muted); }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }
.kicker { display: inline-block; font: 600 .74rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--terra); margin-bottom: .6rem; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 20px; font: 600 .95rem/1 var(--sans); cursor: pointer; text-decoration: none; transition: background .15s, color .15s, box-shadow .15s; }
.btn-primary { background: var(--g-900); color: #fff; }
.btn-primary:hover { background: var(--g-700); color: #fff; }
.btn-ghost { background: var(--g-100); color: var(--g-900); }
.btn-ghost:hover { background: var(--g-200); color: var(--g-950); }

/* ------------------------------------------------------------------ cabeçalho */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--g-950); flex: none; }
.logo-text { font: 600 1.45rem/1 var(--serif); letter-spacing: -.02em; }
.logo-text b { font-weight: 600; color: var(--g-700); }
.search { position: relative; display: flex; align-items: center; flex: 1; max-width: 560px; margin: 0 auto; }
.search .pa-ico { position: absolute; left: 16px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 46px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 999px; padding: 0 18px 0 46px; font: 400 .98rem var(--sans); color: var(--ink); transition: border-color .15s, background .15s, box-shadow .15s; }
.search input::placeholder { color: #8a938d; }
.search input:focus { outline: none; background: #fff; border-color: var(--g-500); box-shadow: 0 0 0 4px var(--g-100); }
.search-big { max-width: 640px; margin: 0; }
.search-big input { height: 56px; font-size: 1.05rem; padding-right: 130px; background: #fff; box-shadow: var(--shadow); }
.search-big .btn { position: absolute; right: 6px; height: 44px; }
.langs { display: flex; gap: 2px; background: var(--surface-2); border-radius: 999px; padding: 4px; flex: none; }
.langs a { font: 600 .78rem/1 var(--sans); letter-spacing: .04em; color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 999px; }
.langs a:hover { color: var(--g-900); }
.langs a.on { background: var(--g-900); color: #fff; }
.catnav { background: var(--g-900); }
.catnav-row { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.catnav-row::-webkit-scrollbar { display: none; }
.catnav a { color: #dfeee3; text-decoration: none; font: 500 .95rem/1 var(--sans); padding: 15px 16px; white-space: nowrap; border-bottom: 3px solid transparent; }
.catnav a:hover { color: #fff; }
.catnav a.on { color: #fff; border-bottom-color: #8fc79a; }

/* ------------------------------------------------------------------ trilha */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 16px; padding: 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #a7aea9; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--g-700); text-decoration: underline; }

/* ------------------------------------------------------------------ home */
.hero { background: radial-gradient(1200px 400px at 85% -10%, #dcebdf 0%, transparent 60%), linear-gradient(180deg, #eef4ef 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-bottom: 26px; }
.hero .chips-links { margin-top: 22px; }
.pom { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px 16px 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.pom:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(20,40,30,.06), 0 14px 32px rgba(20,40,30,.10); color: var(--ink); }
.pom .kicker { margin: 4px 0 6px; }
.pom-img { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--g-50); margin-bottom: 8px; }
.pom-img img { width: 100%; height: 100%; object-fit: cover; }
.pom strong { font: 600 1.3rem/1.2 var(--serif); color: var(--g-950); }
.pom em { color: var(--muted); font-size: .95rem; }
.pom .btn { margin-top: 10px; align-self: flex-start; }
.block { margin: 56px 0; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.block-head a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.tile { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--g-950); font-weight: 600; transition: border-color .15s, background .15s, transform .15s; }
.tile .pa-ico { width: 26px; height: 26px; color: var(--g-700); }
.tile:hover { border-color: var(--g-500); background: var(--g-50); color: var(--g-950); transform: translateY(-1px); }
.tiles-cat { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
.tiles-cat .tile { padding: 22px 20px; font-family: var(--serif); font-size: 1.1rem; }
.trust { background: var(--g-900); color: #e6f0e8; border-radius: 24px; padding: 40px; }
.trust h2 { color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-item { display: flex; flex-direction: column; gap: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 20px; color: #d6e6da; text-decoration: none; }
.trust-item .pa-ico { width: 28px; height: 28px; color: #8fc79a; margin-bottom: 6px; }
.trust-item strong { color: #fff; font-size: 1.05rem; }
a.trust-item:hover { background: rgba(255,255,255,.1); color: #fff; }
.newsletter { text-align: center; background: var(--terra-100); border-radius: 24px; padding: 40px 24px; }

/* ------------------------------------------------------------------ chips e selos */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.chips li { display: inline-flex; align-items: center; gap: 6px; background: var(--g-50); color: var(--g-800); border: 1px solid var(--g-100); border-radius: 999px; padding: 5px 11px 5px 9px; font-size: .82rem; font-weight: 500; line-height: 1.2; }
.chips .pa-ico { width: 16px; height: 16px; }
.chips-links li { padding: 0; background: none; border: 0; }
.chips-links a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--g-900); text-decoration: none; font-weight: 500; font-size: .92rem; }
.chips-links a:hover { border-color: var(--g-500); background: var(--g-50); }
.chips-links .pa-ico { width: 18px; height: 18px; color: var(--g-700); }
.pet { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 11px 4px 8px; font-size: .8rem; font-weight: 600; line-height: 1.2; }
.pet .pa-ico { width: 16px; height: 16px; }
.pet .pet-ico { margin-left: -4px; width: 14px; height: 14px; stroke-width: 2.4; }
.pet-seguro { background: var(--ok-100); color: var(--ok); }
.pet-irritante { background: var(--warn-100); color: var(--warn); }
.pet-toxico { background: var(--bad-100); color: var(--bad); }
.pet-desconhecido { background: var(--surface-2); color: var(--muted); }
.pet-big { font-size: .95rem; padding: 8px 16px 8px 12px; }
.pet-big .pa-ico { width: 20px; height: 20px; }
.pet-src { font-weight: 500; color: inherit; opacity: .85; margin-left: 4px; }

/* ------------------------------------------------------------------ cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.grid-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.card-plant, .card-guide { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card-plant:hover, .card-guide:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(20,40,30,.05), 0 14px 30px rgba(20,40,30,.10); border-color: var(--g-200); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-img { aspect-ratio: 4 / 3; background: var(--g-50); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card-plant:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-size: 1.18rem; margin: 0; }
.card-sci { margin: -4px 0 2px; color: var(--muted); font-size: .9rem; }
.card-body .pet { align-self: flex-start; margin-top: auto; }
.card-excerpt { color: var(--ink-2); font-size: .94rem; margin: 0; }
.pa-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 160px; background: repeating-linear-gradient(135deg, var(--g-50), var(--g-50) 12px, #ebf3ed 12px, #ebf3ed 24px); color: var(--g-500); }
.pa-placeholder .pa-ico { width: 44px; height: 44px; opacity: .7; }

/* ------------------------------------------------------------------ ficha da planta */
.plant-head { max-width: 900px; margin-bottom: 26px; }
.plant-head h1 { margin-bottom: .25em; }
.plant-head .sci { font-weight: 400; color: var(--g-700); font-size: .62em; white-space: nowrap; }
.aka { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.intro p { font-size: 1.08rem; color: var(--ink-2); }
.plant-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: start; }
.gallery-main { margin: 0; border-radius: 20px; overflow: hidden; background: var(--g-50); position: relative; }
.gallery-main img, .gallery-main .pa-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-main figcaption { font-size: .8rem; color: var(--muted); background: var(--surface); padding: 8px 12px; border-top: 1px solid var(--line); }
.gallery-thumbs { list-style: none; display: flex; gap: 10px; margin: 12px 0 0; padding: 0; overflow-x: auto; }
.gallery-thumbs button { border: 2px solid transparent; padding: 0; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; width: 84px; flex: none; }
.gallery-thumbs button.on { border-color: var(--g-700); }
.gallery-thumbs img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.quick h2, .facts h2, .scales h2 { font-size: 1.3rem; margin-bottom: 14px; }
.quick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.quick-list li { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.quick-list li:last-child { border-bottom: 0; }
.quick-list .pa-ico { width: 24px; height: 24px; color: var(--g-700); margin-top: 2px; }
.quick-list strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
.quick-list span { display: block; color: var(--ink); line-height: 1.45; }
.quick-list li.pet-seguro .pa-ico { color: var(--ok); }
.quick-list li.pet-toxico .pa-ico { color: var(--bad); }
.quick-list li.pet-irritante .pa-ico { color: var(--warn); }
.quick-list li[class*="pet-"] { background: none; }
.plant-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 28px; align-items: start; }
.facts dl { margin: 0; display: grid; }
.facts dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 500; }
.facts dd a { color: var(--g-800); }
.scale-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.scale-list li { display: grid; grid-template-columns: 24px 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 10px; padding: 10px 12px; background: var(--g-50); border-radius: 12px; }
.scale-list .pa-ico { grid-row: span 2; color: var(--g-700); width: 24px; height: 24px; }
.scale-label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.scale-word { grid-column: 2 / 4; font-weight: 600; color: var(--g-950); font-size: .95rem; line-height: 1.3; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 14px; height: 14px; border-radius: 4px; background: #fff; border: 1.5px solid var(--g-200); }
.dots i.on { background: var(--g-700); border-color: var(--g-700); }
.pet-row { margin-top: 16px; }
.plant-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; margin-top: 48px; align-items: start; }
.toc { position: sticky; top: 140px; font-size: .92rem; }
.toc-title { font: 600 .75rem/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; }
.toc a:hover, .toc a.on { color: var(--g-900); border-left-color: var(--g-700); }
.prose { max-width: 740px; }
.prose h2 { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .4em; font-family: var(--sans); font-size: 1.06rem; font-weight: 700; color: var(--g-900); letter-spacing: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--g-500); }
.sec { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.sec:last-child { border-bottom: 0; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 15px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--g-700); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 18px 6px; color: var(--ink-2); }
.sources ol { padding-left: 1.2em; font-size: .95rem; }
.trust-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); background: var(--g-50); border-radius: 12px; padding: 12px 14px; margin-top: 18px; }
.trust-line .pa-ico { color: var(--g-700); }
.related { margin: 24px 0 64px; }

/* ------------------------------------------------------------------ listas */
.archive { padding-bottom: 64px; }
.archive-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.archive-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--g-100); color: var(--g-800); display: flex; align-items: center; justify-content: center; flex: none; margin-top: 6px; }
.archive-icon .pa-ico { width: 32px; height: 32px; }
.archive-head .lead { margin-bottom: .4em; }
.archive .chips-links { margin: 0 0 28px; }
.archive .search-big { margin-top: 14px; }
.empty { display: flex; align-items: center; gap: 14px; color: var(--ink-2); }
.empty .pa-ico { width: 32px; height: 32px; color: var(--g-500); }
.empty p { margin: 0; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 40px 0 0; }
.pagination-info { color: var(--muted); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ guias e páginas */
.guide, .page { padding-bottom: 64px; }
.guide-head { max-width: 780px; margin-bottom: 24px; }
.guide-img { margin: 0 0 32px; max-width: 980px; border-radius: 20px; overflow: hidden; }
.guide-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.guide-img figcaption { font-size: .8rem; color: var(--muted); padding: 8px 2px; }
.prose-guide { max-width: 760px; }
.prose-guide h2 { margin-top: 1.6em; }

/* ------------------------------------------------------------------ rodapé */
.site-footer { background: var(--g-950); color: #c5d6ca; margin-top: 64px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-top: 52px; padding-bottom: 36px; }
.site-footer h2 { font: 600 .78rem/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: #8fc79a; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #e3eee6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-text b { color: #8fc79a; }
.footer-about p { margin-top: 14px; max-width: 34ch; }
.footer-about .small { display: flex; gap: 8px; font-size: .85rem; color: #a8bfae; }
.footer-about .small .pa-ico { width: 18px; height: 18px; color: #e8b48f; flex: none; margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; padding-bottom: 26px; color: #97ad9e; font-size: .88rem; }
.langs-footer { background: rgba(255,255,255,.06); }
.langs-footer a { color: #c5d6ca; }
.langs-footer a.on { background: #8fc79a; color: var(--g-950); }

/* ------------------------------------------------------------------ responsivo */
@media (max-width: 1020px) {
	.plant-body { grid-template-columns: 1fr; gap: 24px; }
	.toc { position: static; }
	.toc ol { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
	.toc a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; margin: 0; background: var(--surface); font-size: .86rem; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.hero-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 36px; }
	.pom { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; }
	.pom .kicker { width: 100%; }
	.pom-img { width: 120px; flex: none; margin: 0; }
	.pom strong, .pom em { display: block; }
	.pom .btn { display: none; }
	.plant-top, .plant-facts { grid-template-columns: 1fr; }
	.trust-grid { grid-template-columns: 1fr; }
	.trust { padding: 28px 20px; }
}
@media (max-width: 720px) {
	body { font-size: 16px; }
	.wrap { padding: 0 16px; }
	.header-row { flex-wrap: wrap; gap: 10px 14px; padding-top: 10px; padding-bottom: 12px; min-height: 0; }
	.header-row .search { order: 3; flex-basis: 100%; max-width: none; }
	.header-row .langs { margin-left: auto; }
	.search input { height: 44px; }
	.search-big input { height: 52px; padding-right: 18px; }
	.search-big .btn { display: none; }
	.catnav a { padding: 13px 12px; font-size: .9rem; }
	.box { padding: 18px; }
	.facts dl > div { grid-template-columns: 120px 1fr; }
	.scale-list { grid-template-columns: 1fr; }
	.grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.card-body { padding: 12px 12px 14px; }
	.card-title { font-size: 1.02rem; }
	.card-sci { font-size: .82rem; }
	.chips li { font-size: .74rem; padding: 4px 8px 4px 7px; }
	.archive-head { gap: 14px; }
	.archive-icon { width: 48px; height: 48px; border-radius: 14px; }
	.archive-icon .pa-ico { width: 24px; height: 24px; }
	.footer-grid { grid-template-columns: 1fr; gap: 26px; }
	.plant-head .sci { white-space: normal; display: block; margin-top: 6px; }
	.block { margin: 40px 0; }
}
@media (max-width: 380px) {
	.grid-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.site-header, .site-footer, .toc, .related, .gallery-thumbs { display: none; }
	body { background: #fff; }
}

/* ------------------------------------------------------------------ preenchimento automático */
.search .sug { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 2px 6px rgba(20,40,30,.06), 0 18px 40px rgba(20,40,30,.14); padding: 6px; max-height: min(70vh, 520px); overflow-y: auto; }
.sug-head { font: 600 .72rem/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 10px 6px; }
.sug-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.sug-item:hover, .sug-item.on { background: var(--g-50); color: var(--ink); }
.sug-item img, .sug-ph { width: 52px; height: 39px; border-radius: 8px; object-fit: cover; flex: none; background: var(--g-100); }
.sug-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.sug-txt strong { font-weight: 600; color: var(--g-950); }
.sug-txt em { font-size: .85rem; color: var(--muted); }
.sug-txt small { font-size: .78rem; color: var(--g-700); }
.sug-txt mark { background: #fbeec2; color: inherit; border-radius: 3px; padding: 0 1px; }
.sug-guide strong { font-weight: 500; }
.sug-all { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; font-weight: 600; color: var(--g-700); font-size: .92rem; }
.sug-none { padding: 12px 10px; color: var(--muted); font-size: .92rem; }
