/* Página «Vinha viva»: fotografias de vinhas biológicas e biodinâmicas, pilares, Portugal e ilhas, atlas, práticas e vigilância
   no mesmo ar das outras páginas: cartões suaves, texto de 16 px, sem linhas nem bordas. */

/* Cabeçalho: fotografia no lugar da ilustração */
html body.vinha-foto #main .grape-stage { background-image: url("/images/vinha/hero.webp") !important; background-size: cover !important; background-position: 46% 55% !important; }
html body.vinha-foto .hero-credito { position: absolute; right: 0; bottom: -1.3rem; width: min(19rem, 100%); margin: 0; text-align: right; z-index: 2; }
html body.vinha-foto .vineyard-reading-bridge { max-width: 42rem; }
html body.vinha-foto .vineyard-reading-bridge p { color: #55242f; font-size: 1.12rem; line-height: 1.75; }

/* Cabeçalhos das secções */
html body #main .section-heading { margin: 3.5rem 0 1.6rem; }
html body #main .section-heading h2 { margin: 0 0 0.5rem; color: #20342a; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.1; letter-spacing: -0.02em; }
html body #main .section-heading p { max-width: 52rem; color: #3f4a43; font-size: 1.05rem; line-height: 1.65; }
html body #main .reading-divider { color: #20342a; }

/* Fotografias */
html body.vinha-foto figure.foto img { border-radius: 18px; }
html body.vinha-foto figure.foto figcaption { margin-top: 0.55rem; color: #55605a; font-size: 0.85rem; line-height: 1.45; }
html body.vinha-foto figure.foto .credito { margin-top: 0.15rem; color: #7d8a80; font-size: 0.78rem; }
html body #main .pilares-vinha { margin: 2.2rem 0 1rem; }
html body #main .pilares-vinha .section-heading { margin-top: 1rem; }
html body #main .pillars-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
html body #main .pillar { --tom: #2f6b3a; display: flex; flex-direction: column; padding: 1.1rem 1.1rem 1.7rem; border: 0; border-radius: 24px; background: color-mix(in srgb, var(--tom) 8%, #fff); }
html body #main .pillar:nth-child(1) { --tom: #7a4d2b; }
html body #main .pillar:nth-child(2) { --tom: #b0476a; }
html body #main .pillar:nth-child(3) { --tom: #1f6f8b; }
html body #main .pillar:nth-child(4) { --tom: #2f6b3a; }
html body #main .pillar-foto:empty { display: none; }
html body #main .pillar-foto figure.foto img { aspect-ratio: 16 / 10; border-radius: 16px; }
html body #main .pillar-foto figure.foto figcaption { padding: 0 0.3rem; }
html body #main .pillar-index { display: block; margin: 1.1rem 0.4rem 0.3rem; color: var(--tom); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; }
html body #main .pillar h3 { margin: 0 0.4rem 0.5rem; color: #20342a; font-family: Georgia, serif; font-size: 1.5rem; line-height: 1.15; }
html body #main .pillar p { margin: 0 0.4rem; color: #3f4a43; font-size: 1.02rem; line-height: 1.65; }
html body #main .vinha-faixa { margin-top: 1.4rem; }
html body #main .vinha-faixa:empty { display: none; }
html body #main .vinha-faixa figure.foto img { aspect-ratio: 2 / 1; object-position: 50% 66%; border-radius: 22px; }

/* Portugal, Açores e Madeira */
html body #main .region-context-row { margin: 0.4rem 0 1.4rem; }
html body #main .region-line { color: #55605a; font-size: 0.85rem; letter-spacing: 0.08em; }
html body #main .region-line strong { color: #6d1b32; }
html body #main .stat-strip { gap: 1.1rem; margin: 0 0 1.8rem; }
html body #main .stat { --tom: #6d1b32; position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 10rem; padding: 1.4rem 1.4rem 1.5rem; border: 0; border-radius: 20px; background: color-mix(in srgb, var(--tom) 10%, #fff); box-shadow: none; }
html body #main .stat-native { --tom: #2f6b3a; }
html body #main .stat-region { --tom: #a8730d; }
html body #main .stat-country { --tom: #1f6f8b; }
html body #main .stat::before { content: ""; 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 .stat strong { margin: 0 0 0.2rem; color: var(--tom); font-family: Georgia, serif; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; }
html body #main .stat span { color: #3f4a43; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; }
html body #main .stat-documented { --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 .stat-native { --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 .stat-region { --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%2044s14-13%2014-24a14%2014%200%200%200-28%200c0%2011%2014%2024%2014%2024zM24%2025a5%205%200%201%200%20.1%200'/%3E%3C/svg%3E"); }
html body #main .stat-country { --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%206a18%2018%200%201%200%20.1%200M6%2024h36M24%206c-8%209-8%2027%200%2036M24%206c8%209%208%2027%200%2036'/%3E%3C/svg%3E"); }
html body #main .vinha-paisagens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin: 0 0 1.8rem; }
html body #main .vinha-paisagens > div:empty { display: none; }
html body #main .vinha-paisagens figure.foto img { aspect-ratio: 4 / 3; }
html body #main .regional-box { padding: clamp(1.4rem, 3vw, 2.2rem); border: 0; border-radius: 26px; background: #f6f1e8; }
html body #main .regional-head h2 { margin: 0 0 0.3rem; color: #20342a; font-family: Georgia, serif; font-size: 1.7rem; }
html body #main .regional-head p { color: #55605a; font-size: 1rem; line-height: 1.55; }
html body #main .btn-clean { color: #6d1b32 !important; font-size: 0.85rem !important; letter-spacing: 0.08em; }
html body #main .empty-state { padding: 1.4rem; border: 0; border-radius: 16px; background: rgba(255, 255, 255, 0.7); color: #55605a; font-size: 1rem; }
html body.vinha-foto #main .hero .vineyard-reading-bridge { max-width: 44rem !important; }
html body.vinha-foto #main .hero .hero-credito { width: min(19rem, 100%) !important; }
html body.vinha-foto #main .bio-hero-followup .vineyard-reading-bridge, html body.vinha-foto #main .bio-hero-followup .vineyard-reading-bridge p { max-width: 44rem !important; }

/* Atlas de castas */
html body #main .atlas-tools { gap: 0.8rem; margin-bottom: 1rem; }
html body #main .atlas-tools input, html body #main .atlas-tools select { height: 3.1rem; padding: 0 1.1rem; border: 0 !important; border-radius: 999px !important; background: #f6f1e8 !important; color: #20342a; font-size: 1rem; box-shadow: none; }
html body #main .quick-filters { gap: 0.6rem; margin-bottom: 1.2rem; }
html body #main .quick-filter { min-height: 2.6rem !important; padding: 0 1.2rem !important; border: 0 !important; background: #f6f1e8 !important; color: #6b5a3a !important; font-size: 0.92rem !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; }
html body #main .quick-filter.active { background: #6d1b32 !important; color: #fff !important; }
html body #main .result-count { color: #6d1b32; font-size: 0.8rem; letter-spacing: 0.1em; }
html body #main .castas-grid { gap: 1.1rem; }
html body #main .casta-card { --tom: #6d1b32; min-height: 0; padding: 1.3rem 1.3rem 1.4rem; border: 0; border-radius: 20px; background: color-mix(in srgb, var(--tom) 5%, #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 .casta-card:has(.vine-vignette.branco) { --tom: #7d6c14; }
html body #main .casta-card:hover, html body #main .casta-card:focus { border: 0; 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 .casta-name { color: #20342a; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700; }
html body #main .casta-origin { color: var(--tom); font-size: 0.74rem; letter-spacing: 0.14em; }
html body #main .casta-card p { margin: 0.7rem 0 0; color: #3f4a43; font-size: 1rem; line-height: 1.55; }
html body #main .casta-card .card-tags .tag { padding: 0.3rem 0.8rem; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.85); color: #55605a; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; }
html body #main .atlas-note { color: #55605a; font-size: 0.9rem; }
html body #main .atlas-more .btn-clean, html body #main .catalog-more .btn-clean { padding: 0.8rem 1.6rem !important; border-radius: 999px; background: #6d1b32 !important; color: #fff !important; font-size: 0.95rem !important; letter-spacing: 0.02em; text-transform: none; }

/* Práticas biológicas */
html body #main .practice-grid { gap: 1.2rem; align-items: start; }
html body #main .practice-card { --tom: #4c7a34; padding: 0.9rem 0.9rem 1.5rem; border: 0; border-radius: 24px; background: color-mix(in srgb, var(--tom) 8%, #fff); }
html body #main .practice-card[data-tom="adubo-verde"] { --tom: #4c7a34; }
html body #main .practice-card[data-tom="composto"] { --tom: #8a5a3c; }
html body #main .practice-card[data-tom="rega"] { --tom: #1f6f8b; }
html body #main .practice-card[data-tom="sebe"] { --tom: #b0476a; }
html body #main .practice-card[data-tom="poda"] { --tom: #6d1b32; }
html body #main .practice-card[data-tom="solo-raiz"] { --tom: #7a4d2b; }
html body #main .practice-foto:empty { display: none; }
html body #main .practice-foto figure.foto img { aspect-ratio: 3 / 2; border-radius: 16px; }
html body #main .practice-foto figure.foto figcaption { padding: 0 0.3rem; font-size: 0.8rem; }
html body #main .practice-card h3 { margin: 1rem 0.4rem 0.3rem; color: #20342a; font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.2; }
html body #main .practice-card .practice-meta { display: block; margin: 0 0.4rem 0.6rem; color: var(--tom); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
html body #main .practice-card > p { margin: 0 0.4rem; color: #3f4a43; font-size: 1rem; line-height: 1.6; }
html body #main .practice-card details { margin: 0.9rem 0.4rem 0; border: 0; }
html body #main .practice-card summary { display: inline-block; padding: 0.55rem 1.1rem; border-radius: 999px; background: var(--tom); color: #fff; font-size: 0.92rem; font-weight: 700; cursor: pointer; list-style: none; }
html body #main .practice-card summary::-webkit-details-marker { display: none; }
html body #main .practice-card ol { counter-reset: passo; margin: 0.9rem 0 0; padding: 0; list-style: none; }
html body #main .practice-card li { counter-increment: passo; position: relative; margin: 0 0 0.6rem; padding: 0.1rem 0 0 2.1rem; color: #3f4a43; font-size: 1rem; line-height: 1.5; }
html body #main .practice-card li::before { content: counter(passo); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: color-mix(in srgb, var(--tom) 18%, #fff); color: var(--tom); font-size: 0.78rem; font-weight: 800; }

/* Vigilância e proteção biológica */
html body #main .pest-grid { gap: 1.2rem; }
html body #main .catalog-card { overflow: hidden; border: 0; border-radius: 22px; background: #f6f1e8; box-shadow: none; }
html body #main .catalog-card img { aspect-ratio: 3 / 2; }
html body #main .catalog-card-body { padding: 1.1rem 1.2rem 1.3rem; }
html body #main .catalog-card-body small { color: #6d1b32; font-size: 0.74rem; letter-spacing: 0.12em; }
html body #main .catalog-card-body h3 { margin: 0.35rem 0 0.25rem; color: #20342a; font-family: Georgia, serif; font-size: 1.25rem; line-height: 1.2; }
html body #main .catalog-card-body p { color: #55605a; font-size: 0.95rem; font-style: italic; }
html body #main .safety-note { margin-top: 1.6rem; padding: 1.4rem 1.6rem; border-radius: 20px; background: #e6f0e3; color: #2f4a37; font-size: 1.02rem; line-height: 1.65; }
html body #main .safety-note strong { color: #2f6b3a; }
html body #main #toggle-pests { padding: 0.8rem 1.6rem !important; border-radius: 999px; background: #6d1b32 !important; color: #fff !important; font-size: 0.95rem !important; letter-spacing: 0.02em; text-transform: none; }

@media (max-width: 1100px) { html body #main .vinha-paisagens { grid-template-columns: repeat(2, minmax(0, 1fr)); } html body #main .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { html body #main .pillars-grid, html body #main .vinha-paisagens, html body #main .stat-strip { grid-template-columns: minmax(0, 1fr); } html body #main .vinha-faixa figure.foto img { aspect-ratio: 3 / 2; } }

/* Calendário vivo em quatro etapas, cada uma com fotografia e três fases simples. */
html body #main .vine-calendar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; align-items: start; }
html body #main .etapa { --tom: #4a6178; padding: 1.1rem 1.1rem 1.6rem; border-radius: 24px; background: color-mix(in srgb, var(--tom) 8%, #fff); }
html body #main .etapa[data-n="1"] { --tom: #4a6178; }
html body #main .etapa[data-n="2"] { --tom: #b0476a; }
html body #main .etapa[data-n="3"] { --tom: #7d3350; }
html body #main .etapa[data-n="4"] { --tom: #a8730d; }
html body #main .etapa-foto:empty { display: none; }
html body #main .etapa-foto figure.foto img { aspect-ratio: 16 / 10; border-radius: 16px; }
html body #main .etapa-foto figure.foto figcaption { padding: 0 0.3rem; }
html body #main .etapa-corpo { padding: 1.1rem 0.4rem 0; }
html body #main .etapa-num { display: block; color: var(--tom); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
html body #main .etapa h3 { margin: 0.3rem 0 1rem; color: #20342a; font-family: Georgia, serif; font-size: 1.7rem; line-height: 1.15; }
html body #main .fases { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.9rem; }
html body #main .fase { --tom: #4a6178; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: 0.9rem; margin: 0; padding: 0.9rem 1rem 1rem 0.9rem; border-radius: 16px; background: rgba(255, 255, 255, 0.72); }
html body #main .fase::before { content: ""; grid-row: 1 / span 2; width: 2.4rem; height: 2.4rem; background-color: var(--tom); -webkit-mask: var(--ico) center / 80% no-repeat; mask: var(--ico) center / 80% no-repeat; }
html body #main .fase-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.2rem 0.8rem; }
html body #main .fase h4 { margin: 0; color: #20342a; font-family: Georgia, serif; font-size: 1.2rem; line-height: 1.2; }
html body #main .fase-top b { color: var(--tom); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
html body #main .fase p { margin: 0.3rem 0 0; color: #3f4a43; font-size: 1rem; line-height: 1.55; }
html body #main .fase[data-n="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 .fase[data-n="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 .fase[data-n="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 .fase[data-n="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 .fase[data-n="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 .fase[data-n="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 .fase[data-n="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 .fase[data-n="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 .fase[data-n="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 .fase[data-n="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 .fase[data-n="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 .fase[data-n="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"); }
@media (max-width: 900px) { html body #main .vine-calendar { grid-template-columns: minmax(0, 1fr); } }

/* Princípios: uma fotografia por cartão */
html body #main .method-grid article { padding: 0.9rem 0.9rem 1.5rem; }
html body #main .method-grid article::before { content: none; }
html body #main .metodo-foto:empty { display: none; }
html body #main .metodo-foto figure.foto img { aspect-ratio: 4 / 3; border-radius: 16px; }
html body #main .metodo-foto figure.foto figcaption { padding: 0 0.2rem; font-size: 0.78rem; }
html body #main .method-grid b { margin: 1rem 0.4rem 0.4rem; }
html body #main .method-grid p { margin: 0 0.4rem; }
