/* ===== Trevo Home v2 (.thv2) — seções institucionais da home ===== */
.thv2{--thv2-cream:#f6f2e9;--thv2-ink:#17241b;--thv2-forest:var(--trevo-primary,#12321e);--thv2-leaf:var(--trevo-accent,#63bd52);--thv2-shadow:#0b2013;font-family:var(--trevo-font-text,"Nunito Sans",system-ui,sans-serif);color:var(--thv2-ink);overflow-x:hidden}
.thv2 *,.thv2 *::before,.thv2 *::after{box-sizing:border-box}
.thv2 section{margin:0}
.thv2 figure{margin:0}
.thv2 img{display:block;max-width:100%}
.thv2-wrap{max-width:1360px;margin:0 auto;padding-left:28px;padding-right:28px}
.thv2-center{text-align:center}
.thv2-kicker{margin:0 0 16px;font-size:13px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--thv2-leaf)}
.thv2-kicker--dark{color:#3f6b49}
.thv2-kicker--onaccent{color:rgba(18,50,30,.62)}
.thv2-kicker--line{display:flex;align-items:center;gap:12px}
.thv2-kicker--line::before{content:"";width:44px;height:2px;background:var(--thv2-leaf)}
.thv2-h1,.thv2-h2,.thv2-card__title,.thv2-quote p,.thv2-servlist__t{font-family:var(--trevo-font-display,Fraunces,serif)}
.thv2-h1{margin:0;max-width:15em;font-weight:900;font-size:clamp(36px,5vw,72px);line-height:1;letter-spacing:-.025em;color:var(--thv2-cream);text-wrap:balance}
.thv2-h1 mark,.thv2-mark--dark{padding:0 .1em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.thv2-h1 mark{background:var(--thv2-leaf);color:var(--thv2-forest)}
.thv2-mark--dark{background:var(--thv2-forest);color:var(--thv2-leaf)}
.thv2-h2{margin:0;font-weight:900;font-size:clamp(30px,3.9vw,54px);line-height:1.05;letter-spacing:-.02em;color:var(--thv2-ink);text-wrap:balance}
.thv2-h2--light{color:var(--thv2-cream)}
.thv2-accent{color:var(--thv2-leaf)}
.thv2-accent-dark{color:#3f9b32}
.thv2-text{margin:24px auto 0;max-width:44em;font-size:clamp(16px,1.2vw,18px);line-height:1.75;color:#3c4c40;text-wrap:pretty}
.thv2-text--strong{font-weight:600;color:rgba(18,50,30,.86)}
.thv2-btn,.thv2-btn:visited{display:inline-block;font-weight:700;font-size:13px;letter-spacing:.06em;text-transform:uppercase;padding:14px 26px;border-radius:2px;text-decoration:none;transition:transform .15s,box-shadow .15s,background .15s,color .15s}
.thv2-btn--accent,.thv2-btn--accent:visited{background:var(--thv2-leaf);color:var(--thv2-forest);box-shadow:5px 5px 0 var(--thv2-shadow)}
.thv2-btn--accent:hover{transform:translate(2px,2px);box-shadow:3px 3px 0 var(--thv2-shadow);color:var(--thv2-forest)}
.thv2-btn--ghost,.thv2-btn--ghost:visited{color:var(--thv2-cream);border:1.5px solid rgba(246,242,233,.5);padding:13px 24px}
.thv2-btn--ghost:hover{border-color:var(--thv2-leaf);color:var(--thv2-leaf)}
.thv2-btn--dark,.thv2-btn--dark:visited{background:var(--thv2-forest);color:var(--thv2-cream);box-shadow:5px 5px 0 rgba(11,32,19,.35)}
.thv2-btn--dark:hover{transform:translate(2px,2px);box-shadow:3px 3px 0 rgba(11,32,19,.35);color:var(--thv2-cream)}
.thv2-btn--outline,.thv2-btn--outline:visited{color:var(--thv2-ink);border:1.5px solid rgba(23,36,27,.35);padding:13px 24px}
.thv2-btn--outline:hover{border-color:#3f9b32;color:#3f9b32}
.thv2-btn--card,.thv2-btn--card:visited{display:block;text-align:center;font-size:12px;letter-spacing:.08em;background:var(--thv2-ink);color:var(--thv2-cream);padding:12px 16px;margin-top:auto}
.thv2-btn--card:hover{background:var(--thv2-leaf);color:var(--thv2-forest)}
.thv2 .thv2-btn:focus-visible{outline:3px solid rgba(99,189,82,.55);outline-offset:3px}

/* hero */
.thv2-hero{position:relative;min-height:min(78vh,720px);display:flex;align-items:flex-end;overflow:hidden;background:var(--thv2-forest)}
.thv2-hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.thv2-hero__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(18,50,30,.55) 0%,rgba(18,50,30,.25) 35%,rgba(18,50,30,.9) 70%,rgba(18,50,30,.97) 100%);pointer-events:none}
.thv2-hero__hatch{position:absolute;top:0;right:0;width:180px;height:100%;opacity:.55;background:repeating-linear-gradient(135deg,rgba(99,189,82,.5) 0 2px,transparent 2px 14px);pointer-events:none}
.thv2-hero__inner{position:relative;width:100%;padding-top:clamp(56px,9vw,120px);padding-bottom:clamp(40px,5vw,64px);display:flex;flex-direction:column;align-items:center;text-align:center}
.thv2-hero__inner .thv2-kicker--line{justify-content:center}
.thv2-hero__row{margin-top:30px;display:flex;flex-direction:column;align-items:center;gap:28px;max-width:720px}
.thv2-hero__row .thv2-actions{justify-content:center}
.thv2-lead{margin:0;font-size:clamp(16px,1.15vw,17px);line-height:1.65;color:#dbe6de;text-wrap:pretty}
.thv2-actions{display:flex;gap:14px;flex-wrap:wrap}

/* barra */
.thv2-bar{background:var(--thv2-leaf);color:var(--thv2-forest);padding:18px 0}
.thv2-bar__inner{display:flex;gap:clamp(20px,4vw,64px);flex-wrap:wrap;justify-content:space-between;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.thv2-bar a,.thv2-bar a:visited{color:var(--thv2-forest);text-decoration:none}
.thv2-bar a:hover{text-decoration:underline}

/* sobre */
.thv2-sobre{background:var(--thv2-cream);padding:clamp(56px,7vw,110px) 0}
.thv2-sobre__grid{margin-top:clamp(40px,5vw,64px);display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:20px;align-items:start}
.thv2-ph{position:relative;overflow:hidden}
.thv2-ph img{width:100%;height:100%;object-fit:cover}
.thv2-ph--a,.thv2-ph--c{height:clamp(300px,30vw,400px);margin-top:clamp(0px,3vw,48px)}
.thv2-ph--b{height:clamp(340px,36vw,480px);overflow:visible}
.thv2-ph--b img{position:relative;z-index:1}
.thv2-ph--hatch::before{content:"";position:absolute;top:-14px;left:-14px;width:96px;height:96px;background:repeating-linear-gradient(45deg,var(--thv2-ink) 0 1.5px,transparent 1.5px 9px);z-index:0}

/* serviços */
.thv2-serv{position:relative;background:var(--thv2-forest);color:var(--thv2-cream);padding:clamp(56px,7vw,110px) 0}
.thv2-serv::before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(135deg,rgba(99,189,82,.09) 0 1px,transparent 1px 26px)}
.thv2-serv__grid{position:relative;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:clamp(32px,4vw,64px);align-items:start}
.thv2-serv__sub{margin:16px 0 0;font-size:15px;line-height:1.6;color:#a9bfb0}
.thv2-frame{position:relative;margin:34px 0 30px;height:clamp(280px,30vw,400px);padding:14px;border:1.5px solid rgba(246,242,233,.22)}
.thv2-frame img{width:100%;height:100%;object-fit:cover}
.thv2-frame__corner{position:absolute;bottom:-1.5px;right:-1.5px;width:110px;height:110px;background:repeating-linear-gradient(45deg,var(--thv2-leaf) 0 2px,transparent 2px 10px);clip-path:polygon(100% 0,100% 100%,0 100%);pointer-events:none}
.thv2-servlist{margin:0;padding:0;list-style:none}
.thv2-servlist li{border-top:1px solid rgba(246,242,233,.18)}
.thv2-servlist li:last-child{border-bottom:1px solid rgba(246,242,233,.18)}
.thv2-servlist a,.thv2-servlist a:visited{display:flex;align-items:baseline;gap:22px;padding:26px 6px;color:var(--thv2-cream);text-decoration:none}
.thv2-servlist a:hover{background:rgba(99,189,82,.1)}
.thv2-servlist__n{font-size:12px;font-weight:700;letter-spacing:.16em;color:var(--thv2-leaf);flex:none}
.thv2-servlist__body{flex:1}
.thv2-servlist__t{display:block;font-weight:900;font-size:clamp(24px,2.4vw,34px);line-height:1.1}
.thv2-servlist__d{display:block;margin-top:8px;font-size:16px;line-height:1.6;color:#a9bfb0}
.thv2-servlist__arrow{font-size:18px;color:var(--thv2-leaf);flex:none}

/* cultura */
.thv2-cultura{background:var(--thv2-leaf);color:var(--thv2-forest);padding:clamp(56px,7vw,110px) 0}
.thv2-cultura__grid{display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(32px,5vw,72px);align-items:center}
.thv2-ph--cultura{height:clamp(320px,38vw,500px)}
.thv2-cultura .thv2-text{margin-left:0;max-width:34em}
.thv2-cultura .thv2-btn{margin-top:30px}

/* loja */
.thv2-loja{background:var(--thv2-forest);color:var(--thv2-cream);padding:clamp(56px,7vw,110px) 0}
.thv2-loja__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;padding-bottom:26px;border-bottom:1px solid rgba(246,242,233,.18)}
.thv2-loja__sub{margin:0;max-width:26em;font-size:15px;line-height:1.65;color:#a9bfb0}
.thv2-products{margin-top:34px;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.thv2-card{background:var(--thv2-cream);color:var(--thv2-ink);padding:16px;display:flex;flex-direction:column;gap:12px}
.thv2-card__img{display:block;height:190px;background:#fff;overflow:hidden}
.thv2-card__img img{width:100%;height:100%;object-fit:contain}
.thv2-card__brand{margin:0;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#7d8d81}
.thv2-card__title{margin:0;font-weight:700;font-size:19px;line-height:1.2}
.thv2-card__title a,.thv2-card__title a:visited{color:var(--thv2-ink);text-decoration:none}
.thv2-card__price{margin:0;font-size:15px;font-weight:700;color:var(--thv2-ink)}
.thv2-card__price del{opacity:.55;font-weight:400;margin-right:6px}
.thv2-card__price ins{text-decoration:none}
.thv2-loja .thv2-center{margin-top:34px}

/* galeria */
.thv2-galeria{background:var(--thv2-cream);padding:clamp(56px,7vw,100px) 0 0}
.thv2-galeria__grid{margin-top:clamp(32px,4vw,56px);display:grid;grid-template-columns:1.15fr 1fr 1fr;grid-auto-rows:230px;gap:6px}
.thv2-galeria__grid figure{overflow:hidden}
.thv2-galeria__grid img{width:100%;height:100%;object-fit:cover}
.thv2-galeria__tall{grid-row:span 2}

/* depoimentos */
.thv2-dep{background:var(--thv2-cream);padding:clamp(56px,7vw,110px) 0}
.thv2-dep .thv2-h2{max-width:24em;margin-left:auto;margin-right:auto}
.thv2-stars{color:#f5b400;font-size:15px;letter-spacing:2px}
.thv2-dep__score{margin:18px auto 0;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;font-size:15px;color:#3c4c40}
.thv2-dep__score strong{font-family:var(--trevo-font-display,Fraunces,serif);font-weight:900;font-size:26px;color:var(--thv2-ink)}
.thv2-dep__grid{margin-top:clamp(32px,4vw,56px);display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:6px}
.thv2-quote{margin:0;background:#fff;border:1.5px solid rgba(23,36,27,.14);padding:28px 24px;display:flex;flex-direction:column}
.thv2-quote p{margin:14px 0 0;font-weight:700;font-size:18px;line-height:1.45;color:var(--thv2-ink);text-wrap:pretty}
.thv2-quote footer{margin-top:auto;padding-top:22px;display:flex;align-items:center;gap:12px}
.thv2-quote footer>span:last-child{display:flex;flex-direction:column;gap:2px}
.thv2-quote footer strong{font-size:13px;letter-spacing:.04em;color:var(--thv2-ink)}
.thv2-quote footer small{font-size:12px;color:#7d8d81}
.thv2-quote__av{width:44px;height:44px;flex:none;border-radius:50%;background:var(--thv2-forest);color:var(--thv2-leaf);display:inline-flex;align-items:center;justify-content:center;font-family:var(--trevo-font-display,Fraunces,serif);font-weight:900;font-size:18px}
.thv2-dep .thv2-center:last-child{margin-top:28px}

/* cta */
.thv2-cta{background:var(--thv2-leaf);color:var(--thv2-forest);padding:clamp(44px,5.5vw,76px) 0}
.thv2-cta__inner{display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.thv2-cta .thv2-text{margin:14px 0 0;max-width:none}

/* página Conheça a Trevo */
.thv2-hero--short{min-height:min(56vh,520px)}
.thv2-pillars{margin:36px 0 28px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.thv2-pillar{padding:24px 22px;border:1.5px solid rgba(246,242,233,.18);background:rgba(11,32,19,.35)}
.thv2-pillar__t{margin:10px 0 8px;font-family:var(--trevo-font-display,Fraunces,serif);font-weight:900;font-size:22px;line-height:1.15;color:var(--thv2-cream)}
.thv2-pillar p{margin:0;font-size:14px;line-height:1.6;color:#a9bfb0}
.thv2-serv .thv2-serv__sub{max-width:640px}
.thv2-serv .thv2-btn{margin-top:22px}
.thv2-onde{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.thv2-onde .thv2-text a,.thv2-onde .thv2-text a:visited{color:#2f7a25;font-weight:700;text-decoration:none}
.thv2-onde .thv2-text{margin-left:0}
.thv2-onde .thv2-actions{margin-top:24px}
.thv2-ph--onde{height:clamp(300px,34vw,460px)}

/* responsivo */
@media (max-width:1100px){.thv2-products{grid-template-columns:repeat(2,1fr)}}
@media (max-width:820px){
  .thv2-wrap{padding-left:20px;padding-right:20px}
  .thv2-hero__hatch{display:none}
  .thv2-bar__inner{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;font-size:13px}
  .thv2-products{gap:10px}
  .thv2-card{padding:10px;gap:8px}
  .thv2-card__img{height:150px}
  .thv2-card__title{font-size:16px}
  .thv2-galeria__grid{grid-template-columns:1fr 1fr;grid-auto-rows:170px}
  /* mobile compacto */
  .thv2-hero{min-height:0}
  .thv2-hero__inner{padding-top:48px;padding-bottom:36px}
  .thv2-hero__row{margin-top:22px;gap:20px}
  .thv2-sobre,.thv2-serv,.thv2-cultura,.thv2-loja,.thv2-dep{padding:48px 0}
  .thv2-galeria{padding:48px 0 0}
  .thv2-sobre__grid{margin-top:28px;grid-template-columns:1fr 1fr;gap:12px}
  .thv2-ph--a,.thv2-ph--c{height:200px;margin-top:0}
  .thv2-ph--b{grid-column:1/-1;height:240px;order:-1}
  .thv2-frame{margin:24px 0 20px;height:220px;padding:10px}
  .thv2-servlist a{gap:14px;padding:16px 4px}
  .thv2-servlist__t{font-size:22px}
  .thv2-servlist__d{margin-top:4px;font-size:16px}
  .thv2-ph--cultura{height:240px}
  .thv2-ph--onde{height:240px}
  .thv2-onde{gap:24px;grid-template-columns:1fr}
  .thv2-pillars{grid-template-columns:1fr;gap:12px}
  .thv2-cultura__grid{grid-template-columns:1fr}
  .thv2-dep__grid{margin-top:24px}
  .thv2-quote{padding:22px}
  .thv2-cta{padding:48px 0}
}
@media (max-width:420px){.thv2-bar__inner{grid-template-columns:1fr;gap:8px}}
@media (prefers-reduced-motion:reduce){.thv2-btn{transition:none}}

/* página que hospeda o shortcode: full-bleed e sem título duplicado */
body.trevo-home-v2 main.trevo-page{max-width:none;width:auto;margin:0;padding:0}
body.trevo-home-v2 main.trevo-page>.wp-block-post-title{display:none}
body.trevo-home-v2 main.trevo-page > .entry-content{width:auto;max-width:none;margin:0;padding:0}
body.trevo-home-v2 .entry-content > .thv2{max-width:none;width:auto;margin:0}
body.trevo-home-v2 .entry-content>.thv2{margin:0}

/* ===== Header do design (só na Home v2; header do tema fica oculto nessa página) ===== */
body.trevo-home-v2 .wp-site-blocks > header.wp-block-template-part{display:none}
.thv2-header{position:sticky;top:0;z-index:60;background:rgba(18,50,30,.96);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:2px solid var(--thv2-leaf)}
.thv2-header__inner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:12px;padding-bottom:12px}
.thv2-header__logo{display:flex;align-items:center}
.thv2-header__logo img{height:38px;width:auto}
.thv2-nav{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.thv2-nav a,.thv2-nav a:visited{font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#c9d8ce;text-decoration:none;transition:color .15s}
.thv2-nav a:hover,.thv2-nav a:focus-visible{color:var(--thv2-leaf)}
.thv2-nav a.thv2-nav__cta,.thv2-nav a.thv2-nav__cta:visited{letter-spacing:.06em;background:var(--thv2-leaf);color:var(--thv2-forest);padding:11px 20px;border-radius:2px;box-shadow:3px 3px 0 var(--thv2-shadow)}
.thv2-nav a.thv2-nav__cta:hover{color:var(--thv2-forest);transform:translate(1px,1px);box-shadow:2px 2px 0 var(--thv2-shadow)}
.thv2-menu-toggle{display:none}
@media (max-width:820px){
  .thv2-header__inner{flex-wrap:nowrap}
  .thv2-menu-toggle{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--thv2-cream);padding:10px 0;min-height:44px}
  .thv2-menu-toggle__ico{display:inline-block;width:22px;height:2px;background:var(--thv2-leaf);box-shadow:0 -7px 0 var(--thv2-leaf),0 7px 0 var(--thv2-leaf)}
  .thv2-nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--thv2-forest);flex-direction:column;align-items:stretch;gap:0;padding:8px 20px 22px;border-bottom:2px solid var(--thv2-leaf);box-shadow:0 18px 30px rgba(0,0,0,.35)}
  .thv2-nav a{padding:15px 0;border-top:1px solid rgba(246,242,233,.12);font-size:16px}
  .thv2-nav a.thv2-nav__cta{margin-top:14px;text-align:center;border-top:0;padding:14px 20px}
  .thv2-menu:checked ~ .thv2-nav{display:flex}
}
