/* Vinha viva · No mundo: «Dimensão global» e «Clima e terroir» em cartões suaves, com ícones e cor por perfil climático; texto de 16 px, sem linhas. */
html body #main #panorama-global .section-block:nth-of-type(-n+3) { border-top: 0 !important; }
html body #main #panorama-global .section-block:nth-of-type(-n+2) .section-head p { color: #3f4a43; font-size: 1.05rem; line-height: 1.65; }
html body #main #panorama-global .section-block:nth-of-type(-n+2) .eyebrow { color: #7a3048; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; }
html body #main #vine-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
html body #main #vine-metrics article { --tom: #7a3048; --tom-suave: #f5e6ea; position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 12.5rem; padding: 1.5rem 1.4rem 1.6rem; border: 0; border-radius: 20px; background: var(--tom-suave); transition: transform 0.2s ease, box-shadow 0.2s ease; }
html body #main #vine-metrics article:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -22px var(--tom); }
html body #main #vine-metrics article::before { content: ""; position: absolute; top: 1.3rem; left: 1.4rem; width: 3rem; height: 3rem; background-color: var(--tom); -webkit-mask: var(--ico) center / 78% no-repeat; mask: var(--ico) center / 78% no-repeat; }
html body #main #vine-metrics article strong { display: block; margin: 0 0 0.3rem; color: var(--tom); font-family: Georgia, serif; font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
html body #main #vine-metrics article span { color: #3f4a43; font-size: 1.05rem; line-height: 1.4; }
html body #main #vine-metrics article:nth-child(1) { --tom: #7a3048; --tom-suave: #f5e6ea; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='15'%20cy='22'%20r='5'/%3E%3Ccircle%20cx='26'%20cy='22'%20r='5'/%3E%3Ccircle%20cx='37'%20cy='22'%20r='5'/%3E%3Ccircle%20cx='20'%20cy='32'%20r='5'/%3E%3Ccircle%20cx='31'%20cy='32'%20r='5'/%3E%3Ccircle%20cx='25'%20cy='42'%20r='4'/%3E%3Cpath%20d='M26%2017V8c5%200%209-2%2011-6'/%3E%3C/svg%3E"); }
html body #main #vine-metrics article:nth-child(2) { --tom: #2f6b3a; --tom-suave: #e6f0e3; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='10'%20y='6'%20width='28'%20height='36'%20rx='4'/%3E%3Cpath%20d='M17%2016h14M17%2024h14M17%2032h8'/%3E%3C/svg%3E"); }
html body #main #vine-metrics article:nth-child(3) { --tom: #1f6f8b; --tom-suave: #d8ebf2; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='24'%20cy='24'%20r='18'/%3E%3Cpath%20d='M6%2024h36M24%206c-8%209-8%2027%200%2036M24%206c8%209%208%2027%200%2036'/%3E%3C/svg%3E"); }
html body #main #vine-metrics article:nth-child(4) { --tom: #a8730d; --tom-suave: #f8eed2; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='18'%20cy='18'%20r='7'/%3E%3Cpath%20d='M18%205v3M5%2018h3M9%209l2%202M27%209l-2%202'/%3E%3Cpath%20d='M16%2042a8%208%200%200%201%200-16%2011%2011%200%200%201%2021%203%207%207%200%200%201-1%2013z'/%3E%3C/svg%3E"); }
html body #main .climate-filters { justify-content: flex-start; gap: 0.6rem; margin-bottom: 1.4rem; }
html body #main .climate-filters button { --tom: #2f6b3a; padding: 0.7rem 1.15rem !important; border: 0 !important; background: color-mix(in srgb, var(--tom) 12%, #fff) !important; color: color-mix(in srgb, var(--tom) 80%, #000) !important; font-size: 0.95rem !important; font-weight: 700 !important; }
html body #main .climate-filters button:hover { background: color-mix(in srgb, var(--tom) 22%, #fff) !important; }
html body #main .climate-filters button.active { background: var(--tom) !important; color: #fff !important; }
html body #main #climate-panel { --tom: #2f6b3a; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr); gap: 1.1rem; align-items: stretch; }
html body #main .climate-intro { position: relative; display: flex; flex-direction: column; padding: 2rem 1.9rem; border-radius: 22px; background: linear-gradient(155deg, color-mix(in srgb, var(--tom) 92%, #fff), color-mix(in srgb, var(--tom) 70%, #000)); color: #fff; overflow: hidden; }
html body #main .climate-intro::after { content: ""; position: absolute; right: -1.6rem; bottom: -1.6rem; width: 11rem; height: 11rem; background-color: rgba(255, 255, 255, 0.1); -webkit-mask: var(--ico-clima) center / contain no-repeat; mask: var(--ico-clima) center / contain no-repeat; }
html body #main .climate-intro > span { color: rgba(255, 255, 255, 0.78); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; }
html body #main .climate-intro h3 { margin: 0.5rem 0 1rem; color: #fff; font-family: Georgia, serif; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.1; }
html body #main .climate-regions { position: relative; display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
html body #main .climate-regions li { margin: 0; padding: 0.3rem 0.75rem; border-radius: 999px; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 0.92rem; font-weight: 600; }
html body #main .climate-intro p { position: relative; margin: auto 0 0; color: rgba(255, 255, 255, 0.88); font-size: 1rem; line-height: 1.6; }
html body #main .climate-details { gap: 1.1rem; }
html body #main .climate-details article { --t: #1f6f8b; position: relative; padding: 1.4rem 1.4rem 1.5rem; border: 0; border-radius: 20px; background: color-mix(in srgb, var(--t) 11%, #fff); }
html body #main .climate-details article::before { content: ""; display: block; width: 2.6rem; height: 2.6rem; margin-bottom: 0.7rem; background-color: var(--t); -webkit-mask: var(--ico) center / 80% no-repeat; mask: var(--ico) center / 80% no-repeat; }
html body #main .climate-details b { display: block; color: var(--t); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; }
html body #main .climate-details p { margin: 0.45rem 0 0; color: #3f4a43; font-size: 1rem; line-height: 1.6; }
html body #main .climate-details article:nth-child(1) { --t: #1f6f8b; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M24%205s11%2012%2011%2020a11%2011%200%200%201-22%200c0-8%2011-20%2011-20z'/%3E%3Cpath%20d='M19%2028a5%205%200%200%200%205%205'/%3E%3C/svg%3E"); }
html body #main .climate-details article:nth-child(2) { --t: #2f6b3a; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M24%2042V24'/%3E%3Cpath%20d='M24%2024c-9%200-14-5-14-14%209%200%2014%205%2014%2014zM24%2030c8%200%2013-4%2013-12-8%200-13%204-13%2012z'/%3E%3C/svg%3E"); }
html body #main .climate-details article:nth-child(3) { --t: #b5541f; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M24%206%204%2040h40z'/%3E%3Cpath%20d='M24%2019v10M24%2035v0.5'/%3E%3C/svg%3E"); }
html body #main .climate-details article:nth-child(4) { --t: #7a3048; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='24'%20cy='20'%20r='5'/%3E%3Cpath%20d='M24%2015c-3-7%200-10%204-10%200%204-1%207-4%2010zM24%2025c3%207%200%2010-4%2010%200-4%201-7%204-10zM29%2020c7-3%2010%200%2010%204-4%200-7-1-10-4zM19%2020c-7%203-10%200-10-4%204%200%207%201%2010%204z'/%3E%3Cpath%20d='M24%2030v12'/%3E%3C/svg%3E"); }
html body #main #climate-panel[data-clima="atlantic"], html body #main .climate-filters button[data-clima="atlantic"] { --tom: #2f6b7a; }
html body #main #climate-panel[data-clima="continental"], html body #main .climate-filters button[data-clima="continental"] { --tom: #8a5a2b; }
html body #main #climate-panel[data-clima="mediterranean"], html body #main .climate-filters button[data-clima="mediterranean"] { --tom: #b5651d; }
html body #main #climate-panel[data-clima="mountain"], html body #main .climate-filters button[data-clima="mountain"] { --tom: #5c6b8a; }
html body #main #climate-panel[data-clima="arid"], html body #main .climate-filters button[data-clima="arid"] { --tom: #a67c00; }
html body #main #climate-panel[data-clima="maritime"], html body #main .climate-filters button[data-clima="maritime"] { --tom: #1f6f8b; }
html body #main #climate-panel[data-clima="humid-subtropical"], html body #main .climate-filters button[data-clima="humid-subtropical"] { --tom: #2f7a4b; }
html body #main #climate-panel[data-clima="cool"], html body #main .climate-filters button[data-clima="cool"] { --tom: #4a7fa5; }
html body #main #climate-panel { --ico-clima: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='18'%20cy='18'%20r='7'/%3E%3Cpath%20d='M18%205v3M5%2018h3M9%209l2%202M27%209l-2%202'/%3E%3Cpath%20d='M16%2042a8%208%200%200%201%200-16%2011%2011%200%200%201%2021%203%207%207%200%200%201-1%2013z'/%3E%3C/svg%3E"); }
@media (max-width: 1100px) { html body #main #vine-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } html body #main #climate-panel { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { html body #main #vine-metrics { grid-template-columns: minmax(0, 1fr); } html body #main #vine-metrics article { min-height: 11.5rem; } html body #main .climate-details { grid-template-columns: minmax(0, 1fr); } }

/* Vinha viva · Calendário vivo e Manual técnico: cartões suaves por fase e por tema, ícones, texto de 16 px, sem linhas. */
html body #main #panorama-global .section-block:nth-of-type(-n+4) { border-top: 0 !important; }
html body #main #panorama-global .section-block:nth-of-type(-n+4) .section-head p { color: #3f4a43; font-size: 1.05rem; line-height: 1.65; }
html body #main #panorama-global .section-block:nth-of-type(-n+4) .eyebrow { color: #7a3048; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; }
html body #main .hemi-controls { justify-content: flex-start; gap: 0.6rem; margin-bottom: 1.4rem; }
html body #main .hemi-controls button { padding: 0.7rem 1.15rem !important; border: 0 !important; background: #f5e6ea !important; color: #7a3048 !important; font-size: 0.95rem !important; font-weight: 700 !important; }
html body #main .hemi-controls button:hover { background: #ecd0d8 !important; }
html body #main .hemi-controls button.active { background: #7a3048 !important; color: #fff !important; }
html body #main .vine-calendar { gap: 1.1rem; }
html body #main .vine-calendar > article { --tom: #4a6178; position: relative; padding: 1.4rem 1.4rem 1.5rem; border: 0; border-radius: 20px; background: color-mix(in srgb, var(--tom) 11%, #fff); transition: transform 0.2s ease, box-shadow 0.2s ease; }
html body #main .vine-calendar > article:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -22px var(--tom); }
html body #main .vine-calendar > article::before { content: ""; display: block; width: 2.8rem; height: 2.8rem; margin-bottom: 0.8rem; background-color: var(--tom); -webkit-mask: var(--ico) center / 80% no-repeat; mask: var(--ico) center / 80% no-repeat; }
html body #main .calendar-top { display: flex; flex-direction: column; gap: 0.3rem; align-items: flex-start; color: var(--tom); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; }
html body #main .calendar-top b { padding: 0.2rem 0.65rem; border-radius: 999px; background: color-mix(in srgb, var(--tom) 16%, #fff); font-size: 0.78rem; letter-spacing: 0.06em; }
html body #main .vine-calendar h3 { margin: 0.7rem 0 0.4rem; color: #20342a; font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.15; }
html body #main .vine-calendar p { color: #3f4a43; font-size: 1rem; line-height: 1.6; }
html body #main .vine-calendar > article:nth-child(1) { --tom: #4a6178; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M24%205v38M7%2014l34%2020M41%2014L7%2034M18%208l6%204%206-4M18%2040l6-4%206%204'/%3E%3C/svg%3E"); }
html body #main .vine-calendar > article:nth-child(2) { --tom: #4c8a3c; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M24%2042V22M24%2028c-9%200-14-5-14-14%209%200%2014%205%2014%2014zM24%2022c0-8%205-13%2014-13%200%209-5%2013-14%2013z'/%3E%3C/svg%3E"); }
html body #main .vine-calendar > article:nth-child(3) { --tom: #2f6b3a; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%208l24%2024M36%208L12%2032M10%2036a4%204%200%201%200%200%20.1M38%2036a4%204%200%201%200%200%20.1'/%3E%3C/svg%3E"); }
html body #main .vine-calendar > article:nth-child(4) { --tom: #8a8a1f; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M24%2042V26M24%2026c-7-1-10-6-9-14%206%201%209%205%209%2014zM24%2026c7-1%2010-6%209-14-6%201-9%205-9%2014zM24%2012c-2-3-2-6%200-8%202%202%202%205%200%208z'/%3E%3C/svg%3E"); }
html body #main .vine-calendar > article:nth-child(5) { --tom: #b0476a; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M24%2020m-5%200a5%205%200%201%200%2010%200a5%205%200%201%200-10%200M24%2015c-3-7%200-10%204-10%200%204-1%207-4%2010zM24%2025c3%207%200%2010-4%2010%200-4%201-7%204-10zM29%2020c7-3%2010%200%2010%204-4%200-7-1-10-4zM19%2020c-7%203-10%200-10-4%204%200%207%201%2010%204zM24%2030v12'/%3E%3C/svg%3E"); }
html body #main .vine-calendar > article:nth-child(6) { --tom: #5a7d2e; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M24%2014a8%208%200%201%200%20.1%200M24%2014V6M24%206c3%200%206-1%208-3M30%2034a5%205%200%201%200%20.1%200'/%3E%3C/svg%3E"); }
html body #main .vine-calendar > article:nth-child(7) { --tom: #c08a1c; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M24%2024m-8%200a8%208%200%201%200%2016%200a8%208%200%201%200-16%200M24%205v6M24%2037v6M5%2024h6M37%2024h6M10%2010l4%204M34%2034l4%204M38%2010l-4%204M14%2034l-4%204'/%3E%3C/svg%3E"); }
html body #main .vine-calendar > article:nth-child(8) { --tom: #7d3350; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M15%2022a5%205%200%201%200%20.1%200M26%2022a5%205%200%201%200%20.1%200M37%2022a5%205%200%201%200%20.1%200M20%2032a5%205%200%201%200%20.1%200M31%2032a5%205%200%201%200%20.1%200M25%2042a4%204%200%201%200%20.1%200M26%2017V8c5%200%209-2%2011-6'/%3E%3C/svg%3E"); }
html body #main .vine-calendar > article:nth-child(9) { --tom: #a8730d; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M24%205s11%2012%2011%2020a11%2011%200%200%201-22%200c0-8%2011-20%2011-20zM19%2028a5%205%200%200%200%205%205'/%3E%3C/svg%3E"); }
html body #main .vine-calendar > article:nth-child(10) { --tom: #7a3048; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%2020h36l-4%2022H10zM14%2020l6-12M34%2020l-6-12'/%3E%3C/svg%3E"); }
html body #main .vine-calendar > article:nth-child(11) { --tom: #a3472f; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M10%2038C10%2020%2022%208%2040%208c0%2018-12%2030-30%2030zM10%2038l16-16'/%3E%3C/svg%3E"); }
html body #main .vine-calendar > article:nth-child(12) { --tom: #3f7373; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M10%206h28v36H10zM17%2020l5%205%209-10M17%2034h14'/%3E%3C/svg%3E"); }
html body #main .manual-nav { justify-content: flex-start; gap: 0.6rem; margin-bottom: 1.4rem; }
html body #main .manual-nav button { --tom: #7a4d2b; padding: 0.7rem 1.15rem !important; border: 0 !important; background: color-mix(in srgb, var(--tom) 12%, #fff) !important; color: color-mix(in srgb, var(--tom) 80%, #000) !important; font-size: 0.95rem !important; font-weight: 700 !important; }
html body #main .manual-nav button:hover { background: color-mix(in srgb, var(--tom) 22%, #fff) !important; }
html body #main .manual-nav button.active { background: var(--tom) !important; color: #fff !important; }
html body #main .manual-panel { --tom: #7a4d2b; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%2030c6-3%2010-3%2014%200s10%203%2014%200%208-3%208-3M6%2040c6-3%2010-3%2014%200s10%203%2014%200%208-3%208-3M24%2022V8M24%2014c-6%200-9-3-9-8%205%200%209%203%209%208z'/%3E%3C/svg%3E"); }
html body #main .manual-panel > header { position: relative; display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 0.5rem; margin-bottom: 1.1rem; padding: 1.8rem 1.9rem; border-radius: 22px; background: linear-gradient(155deg, color-mix(in srgb, var(--tom) 92%, #fff), color-mix(in srgb, var(--tom) 68%, #000)); overflow: hidden; }
html body #main .manual-panel > header::after { content: ""; position: absolute; right: -1.2rem; bottom: -1.4rem; width: 10rem; height: 10rem; background-color: rgba(255, 255, 255, 0.12); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
html body #main .manual-panel > header h3 { position: relative; margin: 0; color: #fff; font-family: Georgia, serif; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.1; }
html body #main .manual-panel > header span { position: relative; color: rgba(255, 255, 255, 0.9); font-size: 1.05rem; line-height: 1.5; }
html body #main .manual-cards { counter-reset: gesto; gap: 1.1rem; }
html body #main .manual-cards article { counter-increment: gesto; position: relative; padding: 1.4rem 1.4rem 1.6rem; border: 0; border-radius: 20px; background: color-mix(in srgb, var(--tom) 10%, #fff); }
html body #main .manual-cards article::before { content: counter(gesto); display: grid; place-items: center; width: 2.1rem; height: 2.1rem; margin-bottom: 0.8rem; border-radius: 50%; background: var(--tom); color: #fff; font-size: 0.9rem; font-weight: 800; }
html body #main .manual-cards h4 { margin: 0 0 0.5rem; color: #20342a; font-family: Georgia, serif; font-size: 1.25rem; line-height: 1.2; }
html body #main .manual-cards p { margin: 0; color: #3f4a43; font-size: 1rem; line-height: 1.6; }
html body #main .manual-panel[data-key="soil"], html body #main .manual-nav button[data-key="soil"] { --tom: #7a4d2b; }
html body #main .manual-panel[data-key="soil"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%2030c6-3%2010-3%2014%200s10%203%2014%200%208-3%208-3M6%2040c6-3%2010-3%2014%200s10%203%2014%200%208-3%208-3M24%2022V8M24%2014c-6%200-9-3-9-8%205%200%209%203%209%208z'/%3E%3C/svg%3E"); }
html body #main .manual-panel[data-key="irrigation"], html body #main .manual-nav button[data-key="irrigation"] { --tom: #1f6f8b; }
html body #main .manual-panel[data-key="irrigation"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M24%205s11%2012%2011%2020a11%2011%200%200%201-22%200c0-8%2011-20%2011-20zM19%2028a5%205%200%200%200%205%205'/%3E%3C/svg%3E"); }
html body #main .manual-panel[data-key="canopy"], html body #main .manual-nav button[data-key="canopy"] { --tom: #2f6b3a; }
html body #main .manual-panel[data-key="canopy"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M10%2038C10%2020%2022%208%2040%208c0%2018-12%2030-30%2030zM10%2038l16-16'/%3E%3C/svg%3E"); }
html body #main .manual-panel[data-key="biodiversity"], html body #main .manual-nav button[data-key="biodiversity"] { --tom: #8a6d1f; }
html body #main .manual-panel[data-key="biodiversity"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M24%2024c0-6%204-10%2010-10s8%204%208%208-4%208-10%208zM24%2024c-4%204-12%204-16%200%202-6%208-8%2016%200zM24%2036V24'/%3E%3C/svg%3E"); }
html body #main .manual-panel[data-key="health"], html body #main .manual-nav button[data-key="health"] { --tom: #a3472f; }
html body #main .manual-panel[data-key="health"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M24%205L8%2011v11c0%2010%207%2017%2016%2021%209-4%2016-11%2016-21V11zM17%2024l5%205%209-10'/%3E%3C/svg%3E"); }
html body #main .manual-panel[data-key="harvest"], html body #main .manual-nav button[data-key="harvest"] { --tom: #7a3048; }
html body #main .manual-panel[data-key="harvest"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M15%2022a5%205%200%201%200%20.1%200M26%2022a5%205%200%201%200%20.1%200M37%2022a5%205%200%201%200%20.1%200M20%2032a5%205%200%201%200%20.1%200M31%2032a5%205%200%201%200%20.1%200M25%2042a4%204%200%201%200%20.1%200M26%2017V8c5%200%209-2%2011-6'/%3E%3C/svg%3E"); }
@media (max-width: 1100px) { html body #main .vine-calendar, html body #main .manual-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { html body #main .vine-calendar, html body #main .manual-cards { grid-template-columns: minmax(0, 1fr); } }
html body #main .manual-nav button, html body #main .hemi-controls button { text-transform: none !important; letter-spacing: 0 !important; }

/* Vinha viva · Castas, Proteção biológica e Princípios: cartões suaves por cor da uva e por problema, ícones, texto de 16 px, sem linhas. */
html body #main #panorama-global .section-block:nth-of-type(-n+6) { border-top: 0 !important; }
html body #main #panorama-global .section-block:nth-of-type(-n+6) .section-head p { color: #3f4a43; font-size: 1.05rem; line-height: 1.65; }
html body #main #panorama-global .section-block:nth-of-type(-n+6) .eyebrow { color: #7a3048; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; }
html body #main .grape-showcase { gap: 1.1rem; }
html body #main .grape-showcase > article { --tom: #7a3048; position: relative; padding: 1.5rem 1.4rem 1.6rem; border: 0; border-radius: 20px; background: color-mix(in srgb, var(--tom) 9%, #fff); transition: transform 0.2s ease, box-shadow 0.2s ease; }
html body #main .grape-showcase > article[data-cor="branco"] { --tom: #8a7a1f; }
html body #main .grape-showcase > article:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -22px var(--tom); }
html body #main .grape-top { position: relative; padding-left: 0; }
html body #main .grape-top::before { content: ""; position: absolute; top: 0; right: 0; width: 2.6rem; height: 2.6rem; background-color: var(--tom); opacity: 0.85; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M15%2022a5%205%200%201%200%20.1%200M26%2022a5%205%200%201%200%20.1%200M37%2022a5%205%200%201%200%20.1%200M20%2032a5%205%200%201%200%20.1%200M31%2032a5%205%200%201%200%20.1%200M25%2042a4%204%200%201%200%20.1%200M26%2017V8c5%200%209-2%2011-6'/%3E%3C/svg%3E") center / 80% no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M15%2022a5%205%200%201%200%20.1%200M26%2022a5%205%200%201%200%20.1%200M37%2022a5%205%200%201%200%20.1%200M20%2032a5%205%200%201%200%20.1%200M31%2032a5%205%200%201%200%20.1%200M25%2042a4%204%200%201%200%20.1%200M26%2017V8c5%200%209-2%2011-6'/%3E%3C/svg%3E") center / 80% no-repeat; }
html body #main .grape-top span { display: inline-block; padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--tom); color: #fff; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
html body #main .grape-top b { margin: 0.7rem 2.8rem 0.5rem 0; color: #20342a; font-size: 1.4rem; line-height: 1.15; }
html body #main .grape-showcase > article > p { display: block; margin: 0; color: #3f4a43; font-size: 1rem; line-height: 1.6; -webkit-line-clamp: unset; overflow: visible; }
html body #main .grape-showcase dl { display: grid; gap: 0.5rem; margin: 1.1rem 0 0; }
html body #main .grape-showcase dl div { padding: 0.65rem 0.9rem; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.7); }
html body #main .grape-showcase dt { color: var(--tom); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
html body #main .grape-showcase dd { margin: 0.15rem 0 0; color: #20342a; font-size: 0.95rem; line-height: 1.4; }
html body #main .global-catalogue { margin-top: 2.2rem; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 24px; background: #f6f1e8; }
html body #main .global-catalogue .eyebrow { color: #7a3048; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; }
html body #main .global-catalogue h3 { color: #20342a; font-family: Georgia, serif; font-size: 1.5rem; }
html body #main .global-catalogue h3 strong { color: #7a3048; font-size: 1.9rem; }
html body #main .grape-search span { color: #7a3048; font-size: 0.78rem; letter-spacing: 0.1em; }
html body #main .grape-search input { height: 3rem; border: 0; background: #fff; font-size: 1rem; box-shadow: 0 0 0 2px rgba(122, 48, 72, 0.12) inset; }
html body #main .catalogue-filters button { padding: 0.6rem 1.1rem !important; border: 0 !important; background: #fff !important; color: #6b5a3a !important; font-size: 0.95rem !important; font-weight: 700 !important; }
html body #main .catalogue-filters button.active { background: #7a3048 !important; color: #fff !important; }
html body #main .catalogue-note { color: #55605a; font-size: 0.95rem; }
html body #main .catalogue-results { color: #7a3048; font-size: 0.8rem; letter-spacing: 0.1em; }
html body #main .global-grape-grid { gap: 0.7rem; }
html body #main .global-grape-grid a { --tom: #8a7f6a; padding: 0.8rem 1rem; border: 0; border-radius: 14px; background: #fff; border-left: 0; box-shadow: inset 4px 0 0 var(--tom); transition: transform 0.15s ease; }
html body #main .global-grape-grid a:hover { transform: translateY(-1px); }
html body #main .global-grape-grid a[data-cor="tinto"] { --tom: #7a3048; }
html body #main .global-grape-grid a[data-cor="branco"] { --tom: #b8a22a; }
html body #main .global-grape-grid a[data-cor="rosa"] { --tom: #d27a94; }
html body #main .global-grape-grid a b { color: #20342a; font-size: 1.02rem; }
html body #main .global-grape-grid a span { color: #55605a; font-size: 0.88rem; }
html body #main .catalogue-more { padding: 0.8rem 1.6rem !important; border: 0 !important; background: #7a3048 !important; color: #fff !important; font-size: 1rem !important; font-weight: 700; }
html body #main .diagnostic-grid { gap: 1.1rem; }
html body #main .diagnostic-grid article { --tom: #1f6f8b; position: relative; padding: 1.5rem 1.4rem 1.6rem; border: 0; border-radius: 20px; background: color-mix(in srgb, var(--tom) 10%, #fff); transition: transform 0.2s ease, box-shadow 0.2s ease; }
html body #main .diagnostic-grid article:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -22px var(--tom); }
html body #main .diagnostic-grid article::before { content: ""; display: block; width: 2.8rem; height: 2.8rem; margin-bottom: 0.7rem; background-color: var(--tom); -webkit-mask: var(--ico) center / 80% no-repeat; mask: var(--ico) center / 80% no-repeat; }
html body #main .diagnostic-grid article > span { color: var(--tom); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; }
html body #main .diagnostic-grid article h3 { margin: 0.3rem 0 0.5rem; color: #20342a; font-family: Georgia, serif; font-size: 1.4rem; line-height: 1.15; }
html body #main .diagnostic-grid article p { margin: 0; color: #3f4a43; font-size: 1rem; line-height: 1.6; }
html body #main .diagnostic-grid article b { display: block; margin: 1rem 0 0.35rem; color: var(--tom); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; }
html body #main .diagnostic-grid article b + p { padding: 0.7rem 0.9rem; border-radius: 12px; background: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
html body #main .diagnostic-note { padding: 1rem 1.2rem; border-radius: 14px; background: #f6f1e8; color: #55605a; font-size: 1rem; }
html body #main .diagnostic-grid article:nth-child(1) { --tom: #1f6f8b; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M24%205s11%2012%2011%2020a11%2011%200%200%201-22%200c0-8%2011-20%2011-20zM19%2026h10M24%2021v10'/%3E%3C/svg%3E"); }
html body #main .diagnostic-grid article:nth-child(2) { --tom: #6b7280; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M10%2032a8%208%200%200%201%201-16%2011%2011%200%200%201%2021%203%207%207%200%200%201-1%2013zM14%2040h2M22%2040h2M30%2040h2'/%3E%3C/svg%3E"); }
html body #main .diagnostic-grid article:nth-child(3) { --tom: #8a5a2b; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M24%208a14%2014%200%201%200%20.1%200M18%2022c2-3%206-3%208%200M20%2030c3%202%206%201%208-1M24%208V3'/%3E%3C/svg%3E"); }
html body #main .diagnostic-grid article:nth-child(4) { --tom: #c08a1c; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M24%2014c-5%200-8%205-8%2011s3%2013%208%2013%208-7%208-13-3-11-8-11zM24%2014V8M16%2020l-8-4M32%2020l8-4M16%2030l-8%204M32%2030l8-4'/%3E%3C/svg%3E"); }
html body #main .diagnostic-grid article:nth-child(5) { --tom: #2f7a4b; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M8%2030c0-8%208-14%2018-14l10%206-6%206zM26%2016l8-8M14%2036l-4%206M22%2036l-2%206M30%2034l2%208'/%3E%3C/svg%3E"); }
html body #main .diagnostic-grid article:nth-child(6) { --tom: #7a4d2b; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%2042V22M28%2042V22M20%2022c-6-2-8-8-8-14M28%2022c6-2%208-8%208-14M16%2042h16'/%3E%3C/svg%3E"); }
html body #main .diagnostic-grid article:nth-child(7) { --tom: #b0476a; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%2020m-11%200a11%2011%200%201%200%2022%200a11%2011%200%201%200-22%200M28%2028l14%2014'/%3E%3C/svg%3E"); }
html body #main .diagnostic-grid article:nth-child(8) { --tom: #8a8a1f; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M10%2040C10%2022%2022%2010%2040%2010c0%2018-12%2030-30%2030zM10%2040l16-16M30%206v8M26%2010h8'/%3E%3C/svg%3E"); }
html body #main .method-box { margin: 2rem 0; padding: clamp(1.6rem, 3vw, 2.6rem); border: 0; border-radius: 26px; background: #f6f1e8; }
html body #main .method-box > .eyebrow { color: #7a3048; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; }
html body #main .method-box h2 { color: #20342a; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.1; }
html body #main .method-grid { gap: 1.1rem; margin-top: 1.6rem; }
html body #main .method-grid article { --tom: #7a4d2b; padding: 1.5rem 1.4rem 1.6rem; border-radius: 20px; background: color-mix(in srgb, var(--tom) 15%, #fff); }
html body #main .method-grid article::before { content: ""; display: block; width: 2.8rem; height: 2.8rem; margin-bottom: 0.7rem; background-color: var(--tom); -webkit-mask: var(--ico) center / 80% no-repeat; mask: var(--ico) center / 80% no-repeat; }
html body #main .method-grid b { display: block; margin-bottom: 0.4rem; color: #20342a; font-family: Georgia, serif; font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
html body #main .method-grid p { margin: 0; color: #3f4a43; font-size: 1rem; line-height: 1.6; }
html body #main .source-links { gap: 0.6rem; margin-top: 1.6rem; padding-top: 0; border-top: 0; }
html body #main .source-links a { padding: 0.5rem 0.95rem; border-radius: 999px; background: #fff; color: #7a3048; font-size: 0.82rem; letter-spacing: 0.04em; }
html body #main .method-grid article:nth-child(1) { --tom: #7a4d2b; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%2030c6-3%2010-3%2014%200s10%203%2014%200%208-3%208-3M6%2040c6-3%2010-3%2014%200s10%203%2014%200%208-3%208-3M24%2022V8M24%2014c-6%200-9-3-9-8%205%200%209%203%209%208z'/%3E%3C/svg%3E"); }
html body #main .method-grid article:nth-child(2) { --tom: #1f6f8b; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M24%205s11%2012%2011%2020a11%2011%200%200%201-22%200c0-8%2011-20%2011-20zM19%2028a5%205%200%200%200%205%205'/%3E%3C/svg%3E"); }
html body #main .method-grid article:nth-child(3) { --tom: #2f6b3a; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M10%2038C10%2020%2022%208%2040%208c0%2018-12%2030-30%2030zM10%2038l16-16'/%3E%3C/svg%3E"); }
html body #main .method-grid article:nth-child(4) { --tom: #a8730d; --ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20fill='none'%20stroke='%23000'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M24%2024c0-6%204-10%2010-10s8%204%208%208-4%208-10%208zM24%2024c-4%204-12%204-16%200%202-6%208-8%2016%200zM24%2036V24'/%3E%3C/svg%3E"); }
@media (max-width: 1100px) { html body #main .grape-showcase, html body #main .diagnostic-grid, html body #main .method-grid, html body #main .global-grape-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { html body #main .grape-showcase, html body #main .diagnostic-grid, html body #main .method-grid, html body #main .global-grape-grid { grid-template-columns: minmax(0, 1fr); } }

/* Castas em destaque mais elegantes (sem painéis empilhados) e o ponto redondo tinto/branco do atlas; catálogo mundial sem faixa à esquerda. */
html body #main .grape-showcase > article { --tom: #6d1b32; --ponto: #6d1b32; padding: 1.7rem 1.6rem 1.8rem; border-radius: 18px; background: color-mix(in srgb, var(--tom) 4%, #fff); box-shadow: 0 1px 2px rgba(32, 52, 42, 0.06), 0 18px 34px -30px rgba(32, 52, 42, 0.5); }
html body #main .grape-showcase > article[data-cor="branco"] { --tom: #7d6c14; --ponto: #d7b936; }
html body #main .grape-showcase > article:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(32, 52, 42, 0.06), 0 22px 38px -28px rgba(32, 52, 42, 0.55); }
html body #main .grape-top { display: block; padding-right: 1.6rem; }
html body #main .grape-top::before { content: none; }
html body #main .grape-top::after { content: ""; position: absolute; top: 0.2rem; right: 0; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--ponto); }
html body #main .grape-top span { padding: 0; border-radius: 0; background: none; color: var(--tom); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; }
html body #main .grape-top b { margin: 0.45rem 0 0.6rem; color: #20342a; font-size: 1.55rem; letter-spacing: -0.01em; }
html body #main .grape-showcase > article > p { color: #4a554e; font-size: 1rem; line-height: 1.65; }
html body #main .grape-showcase dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1rem; margin: 1.3rem 0 0; }
html body #main .grape-showcase dl div { padding: 0; border-radius: 0; background: none; }
html body #main .grape-showcase dl div:nth-child(1), html body #main .grape-showcase dl div:nth-child(3), html body #main .grape-showcase dl div:nth-child(4) { grid-column: auto; }
html body #main .grape-showcase dl div:nth-child(2), html body #main .grape-showcase dl div:nth-child(5) { grid-column: 1 / -1; }
html body #main .grape-showcase dt { color: #8a8f8b; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; }
html body #main .grape-showcase dd { margin: 0.2rem 0 0; color: #20342a; font-size: 0.97rem; line-height: 1.45; }
html body #main .global-grape-grid a { position: relative; padding: 0.85rem 2.6rem 0.85rem 1.1rem; box-shadow: none; }
html body #main .global-grape-grid a::after { content: ""; position: absolute; top: 50%; right: 1.1rem; width: 0.8rem; height: 0.8rem; margin-top: -0.4rem; border-radius: 50%; background: var(--ponto, transparent); }
html body #main .global-grape-grid a[data-cor="tinto"] { --ponto: #6d1b32; }
html body #main .global-grape-grid a[data-cor="branco"] { --ponto: #d7b936; }
html body #main .global-grape-grid a[data-cor="rosa"] { --ponto: #d98aa2; }
html body #main .grape-showcase dl div:nth-child(2) { order: 4; }
html body #main .grape-showcase dl div:nth-child(5) { order: 5; }
html body #main .grape-showcase dl { row-gap: 0.9rem; }
html body #main .grape-showcase dt, html body #main .grape-showcase dd { margin-top: 0; line-height: 1.4; }
html body #main .grape-showcase dd { margin-top: 0.15rem; }

/* Ficha de casta (Portugal e esboço mundial): hero elegante, tom pela cor da uva, painel de identidade e caixas suaves, sem linhas. */
html body #main #casta-detail-view { --tom: #6d1b32; --tom-suave: #f6e9ed; --ponto: #6d1b32; padding-bottom: 2rem; }
html body #main #casta-detail-view .detail-hero[data-cor="branco"] { --tom: #7d6c14; --tom-suave: #f6f1d8; --ponto: #d7b936; }
html body #main #casta-detail-view .detail-hero { gap: clamp(1.6rem, 4vw, 3.2rem); align-items: start; }
html body #main #casta-detail-view .category-label { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--tom); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
html body #main #casta-detail-view .category-label::before { content: ""; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--ponto); }
html body #main #casta-detail-view .detail-hero h1 { margin: 0.6rem 0 1rem; color: #20342a; font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1; letter-spacing: -0.03em; }
html body #main #casta-detail-view .detail-intro { max-width: 46rem; color: #3f4a43; font-size: 1.1rem; line-height: 1.7; }
html body #main #casta-detail-view .profile-grid { gap: 0.9rem; margin: 1.6rem 0 1rem; }
html body #main #casta-detail-view .profile-cell { padding: 1.1rem 1.2rem; border: 0; border-radius: 16px; background: var(--tom-suave); }
html body #main #casta-detail-view .profile-cell span { color: var(--tom); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; }
html body #main #casta-detail-view .profile-cell strong { margin-top: 0.3rem; color: #20342a; font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.15; }
html body #main #casta-detail-view .detail-deep { margin: 1.1rem 0 0; }
html body #main #casta-detail-view .detail-deep .btn-clean { padding: 0.75rem 1.4rem; border: 0; border-radius: 999px; background: var(--tom); color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; }
html body #main #casta-detail-view .detail-panel { padding: 1.8rem 1.8rem 1.6rem; border: 0; border-radius: 22px; background: var(--tom-suave); }
html body #main #casta-detail-view .detail-panel h3 { margin: 0 0 1rem; color: var(--tom); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; }
html body #main #casta-detail-view .detail-panel p { margin: 0 0 0.85rem; color: #3f4a43; font-size: 1rem; line-height: 1.55; }
html body #main #casta-detail-view .detail-panel p strong { display: block; margin-bottom: 0.1rem; color: #8a8f8b; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
html body #main #casta-detail-view .detail-back { display: inline-block; margin: 1.6rem 0 0.4rem; padding: 0.6rem 1.1rem; border-radius: 999px; background: #f2eee6; color: #6b5a3a; font-size: 0.9rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
html body #main #casta-detail-view .detail-back:hover { background: #e9e2d3; color: #20342a; }
html body #main #casta-detail-view .detail-columns { gap: 1.1rem; margin-top: 1.4rem; }
html body #main #casta-detail-view .detail-box { padding: 1.6rem 1.6rem 1.7rem; border: 0; border-radius: 20px; background: #f8f6f1; }
html body #main #casta-detail-view .detail-box h3 { margin: 0 0 0.8rem; color: #20342a; font-family: Georgia, serif; font-size: 1.3rem; }
html body #main #casta-detail-view .detail-box p { margin: 0 0 0.6rem; color: #3f4a43; font-size: 1rem; line-height: 1.6; }
html body #main #casta-detail-view .detail-box p strong { color: #20342a; }
html body #main #casta-detail-view .detail-box p a { color: var(--tom) !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; border-bottom: 0; }
html body #main #casta-detail-view .card-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
html body #main #casta-detail-view .related-casta { padding: 0.55rem 1.1rem; border: 0; border-radius: 999px; background: #fff; color: #6d1b32; font-family: Georgia, serif; font-size: 1rem; font-weight: 700; cursor: pointer; box-shadow: 0 1px 2px rgba(32, 52, 42, 0.1); }
html body #main #casta-detail-view .related-casta:hover { background: #6d1b32; color: #fff; }
@media (max-width: 900px) { html body #main #casta-detail-view .detail-hero { grid-template-columns: minmax(0, 1fr); } html body #main #casta-detail-view .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } html body #main #casta-detail-view .detail-columns { grid-template-columns: minmax(0, 1fr); } }
html body #main #casta-detail-view .detail-deep button.btn-clean { padding: 0.8rem 1.5rem !important; border: 0 !important; background: var(--tom) !important; color: #fff !important; font-family: inherit !important; font-size: 1rem !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; box-shadow: none !important; }
