/* 20 opções de visual. Cada bloco só vale com a classe vis-N no body. */

/* 1. Banner em tela cheia */
body.vis-1 .slide{min-height:100vh;min-height:100svh}

/* 2. Zoom lento no banner */
body.vis-2 .slide{overflow:hidden}
body.vis-2 .slide.is-active>img{animation:visZoom 11s ease-out both}
@keyframes visZoom{from{transform:scale(1)}to{transform:scale(1.12)}}

/* 3. Onda no fim do banner */
body.vis-3 .hero{border-bottom:0}
body.vis-3 .hero::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:60px;z-index:1;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 30C240 70 480 0 720 20s480 55 720 8V60H0Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}

/* 4. Cartões de vidro nos projetos */
/* main .section.section-tint: vence a textura de pontos (16), que apagava o fundo e sumia com o texto branco. */
body.vis-4 main .section.section-tint{background:linear-gradient(rgba(5,24,16,.58),rgba(5,24,16,.68)),url(fundos/floresta-raios.webp) center/cover no-repeat,#13265e}
body.vis-4 .section-tint .section-head :is(h2,p){color:#fff}
body.vis-4 .grid-projects .card{background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.28);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
body.vis-4 .grid-projects .card :is(h3,p){color:#fff}
body.vis-4 .grid-projects .card:hover{background:rgba(7,17,45,.55)}

/* 5. Cartões em formato de folha */
body.vis-5 :is(.card,.news-card,.contact-card){border-radius:42px 8px 42px 8px}

/* 6. Projetos em mosaico */
@media (min-width:1061px){
	body.vis-6 .grid-projects{grid-template-columns:repeat(5,minmax(0,1fr))}
	body.vis-6 .grid-projects .card:first-child{grid-column:span 2;grid-row:span 1}
	body.vis-6 .grid-projects .card:first-child .card-img{flex:1;min-height:240px}
	body.vis-6 .grid-projects .card:first-child .card-img img{height:100%;aspect-ratio:auto}
	body.vis-6 .grid-projects .card:first-child .card-body{flex:0 0 auto}
}

/* 7. Agricultura Familiar em círculos */
body.vis-7 .grid-6 .card{background:transparent;border:0;box-shadow:none;overflow:visible}
body.vis-7 .grid-6 .card-img img{width:150px;height:150px;max-width:100%;border:4px solid var(--old-green);box-shadow:0 12px 30px rgba(0,0,0,.45)}
body.vis-7 .grid-6 .card :is(h3,p){color:#fff}

/* 8. Campo em movimento */
body.vis-8 .section-dark>img{animation:visDrift 28s ease-in-out infinite alternate}
@keyframes visDrift{from{transform:scale(1.04)}to{transform:scale(1.18) translateY(-3%)}}

/* 9. Títulos em degradê */
body.vis-9 .section:not(.section-dark) .section-head h2{background:linear-gradient(90deg,#13265e,#1b7fd6 45%,#2f8f14);-webkit-background-clip:text;background-clip:text;color:transparent}
body.vis-9 .section-dark .section-head h2{background:linear-gradient(90deg,#fff,#8fd620);-webkit-background-clip:text;background-clip:text;color:transparent}

/* 10. Linha de destaque nos títulos */
body.vis-10 .section-head h2::after{content:"";display:block;width:110px;height:5px;margin:14px auto 0;border-radius:5px;background:linear-gradient(90deg,var(--cyan),var(--lime))}

/* 11. Botões em formato de folha */
body.vis-11 :is(.btn,.grid-projects .more){border-radius:22px 4px 22px 4px}

/* 12. Brilho nos botões */
body.vis-12 .btn{position:relative;overflow:hidden}
body.vis-12 .btn::before{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-20deg);transition:left .55s}
body.vis-12 .btn:is(:hover,:focus-visible)::before{left:125%}

/* 13. Topo em cápsula */
body.vis-13 .site-header>.wrap::before{transform:none;border-radius:999px}

/* 14. Topo verde floresta */
body.vis-14 .site-header>.wrap::before{background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.05)),rgba(12,58,24,.52)}
body.vis-14 .site-header.is-sticky-on>.wrap::before{background-color:rgba(16,70,28,.96)}
body.vis-14 .nav-cta{background:#fff;color:#1c5c10}
@media (max-width:1240px){body.vis-14 .site-nav{background:#10461c}}

/* 15. Capa interna curva */
body.vis-15 .page-hero{clip-path:ellipse(125% 100% at 50% 0)}

/* 16. Textura de pontos */
body.vis-16 .section:not(.section-dark),body.vis-16 .content-wrap{background-image:radial-gradient(rgba(19,38,94,.11) 1.2px,transparent 1.3px);background-size:22px 22px}

/* 17. Notícias em fundo escuro (só a seção das notícias, a última) */
body.vis-17.home main>.section:last-child:not(.section-dark):not(.section-tint){background:linear-gradient(135deg,#0d1b45,#13265e)}
body.vis-17.home main>.section:last-child:not(.section-dark):not(.section-tint) .section-head :is(h2,p){background:none;color:#fff}

/* 18. Rodapé com onda */
body.vis-18 .site-footer{position:relative;margin-top:56px}
body.vis-18 .site-footer::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:56px;margin-bottom:-1px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath fill='%23214462' d='M0 34C260-6 520 64 780 34S1220 0 1440 28V56H0Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}

/* 19. Borda colorida nos cartões */
body.vis-19 :is(.grid-projects .card,.news-card,.grid-6 .card){border:3px solid transparent}
body.vis-19 :is(.grid-projects .card,.news-card,.grid-6 .card):is(:hover,:focus-within){border-image:none;box-shadow:0 0 0 3px #12c3ee,0 0 0 6px #8fd620,var(--shadow)}

/* 20. Paleta terra e mata */
body.vis-20{--navy:#233b27;--old-navy:#2c4a33;--green:#4d7c1f;--green-dark:#3b6016;--old-green:#8aab2a;--lime:#c3d95a;--tint:#f3eee0;--line:#e4dcc7;--ink:#2b2a22;--muted:#5e5b4b;background:#fbf8ef}
body.vis-20 .copyright{background:#1b2e1f}
body.vis-20 .site-header>.wrap::before{background-color:rgba(35,59,39,.6)}
body.vis-20 .site-header.is-sticky-on>.wrap::before{background-color:rgba(35,59,39,.96)}
