/*
Theme Name: Terra Nova
Theme URI: https://terranova.com.br
Author: Expmark
Description: Tema sob medida para a Terra Nova Empreendimentos Imobiliários, construído a partir do layout no Figma. Inclui cadastro de Loteamentos, Imóveis e Depoimentos, busca com filtros, formulário de contato e textos editáveis em Aparência → Personalizar.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: terra-nova
*/

/* ---------- Fontes locais ---------- */
@font-face{font-family:"Manrope";font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/manrope-latin-400-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:"Manrope";font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/manrope-latin-ext-400-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:"Manrope";font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/manrope-latin-500-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:"Manrope";font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/manrope-latin-ext-500-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:"Manrope";font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/manrope-latin-600-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:"Manrope";font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/manrope-latin-ext-600-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:"Manrope";font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/manrope-latin-700-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:"Manrope";font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/manrope-latin-ext-700-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:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/inter-latin-500-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:500;font-display:swap;src:url(assets/fonts/inter-latin-ext-500-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:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/inter-latin-700-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:700;font-display:swap;src:url(assets/fonts/inter-latin-ext-700-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}

/* ---------- Tokens (Figma) ---------- */
:root{
  --tn-green:#77a900;
  --tn-olive:#5b6609;
  --tn-green-2:#89b22d;
  --tn-green-3:#a2c63a;
  --tn-gray:#f5f5f5;
  --tn-line:#e3e3e3;
  --tn-input:#ccc;
  --tn-black:#000;
  --tn-white:#fff;
  --tn-radius:16px;
  --tn-container:1160px;
  --tn-gutter:24px;
  --tn-font:"Manrope",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --tn-font-alt:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--tn-black);font-family:var(--tn-font);font-size:16px;line-height:1.4;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
p{margin:0 0 1.4em}
p:last-child{margin-bottom:0}
h1,h2,h3,h4{margin:0;font-weight:700;line-height:1.2}
button,input,select,textarea{font:inherit;color:inherit}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link:focus{position:fixed;top:8px;left:8px;z-index:1000;background:#fff;padding:10px 16px;border-radius:8px;clip:auto;width:auto;height:auto}
:focus-visible{outline:2px solid var(--tn-green);outline-offset:2px}

.tn-container{width:100%;max-width:calc(var(--tn-container) + var(--tn-gutter)*2);margin:0 auto;padding:0 var(--tn-gutter)}
.tn-section-title{font-size:36px;text-align:center}
.tn-page-title{font-size:48px;line-height:1.37}
.tn-page-title--md{font-size:42px;line-height:1.36}
.tn-main{padding-top:40px;padding-bottom:60px}

/* ---------- Botões ---------- */
.tn-btn{display:inline-flex;align-items:center;justify-content:center;gap:20px;height:50px;padding:0 30px;border-radius:25px;border:0;background:var(--tn-green);color:#fff;font-family:var(--tn-font);font-weight:700;font-size:16px;cursor:pointer;transition:filter .2s,transform .2s;white-space:nowrap}
.tn-btn:hover{filter:brightness(1.08)}
.tn-btn:active{transform:translateY(1px)}
.tn-btn--white{background:#fff;color:#000}
.tn-btn--white:hover{filter:brightness(.95)}
.tn-btn svg{flex:none}
.tn-btn--icon-left{gap:16px}

/* ---------- Header ---------- */
.tn-header{position:relative;z-index:50;background:#fff;height:90px}
.tn-header__inner{display:flex;align-items:center;justify-content:space-between;height:90px}
.tn-logo{display:flex;align-items:center;height:50px}
.tn-logo img,.tn-logo .custom-logo{height:50px;width:auto;max-width:180px;object-fit:contain}
.tn-logo__text{font-family:var(--tn-font);font-weight:800;font-size:20px;letter-spacing:.02em;color:var(--tn-olive);line-height:1}
.tn-logo__text small{display:block;font-size:7px;font-weight:600;letter-spacing:.06em;color:var(--tn-olive);margin-top:3px}
.tn-footer .tn-logo__text,.tn-footer .tn-logo__text small{color:#fff}
.tn-nav{display:flex;align-items:center;gap:38px}
.tn-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:39px}
.tn-nav a{font-family:var(--tn-font-alt);font-weight:500;font-size:16px;color:#000;transition:color .2s}
.tn-nav a:hover,.tn-nav .current-menu-item>a,.tn-nav .current_page_item>a,.tn-nav .current-menu-ancestor>a{color:var(--tn-green)}
.tn-nav .tn-btn{height:42px;border-radius:21px;padding:0 40px;font-family:var(--tn-font-alt);font-weight:500;color:#fff}
.tn-nav .tn-btn:hover{color:#fff}
.tn-menu-toggle{display:none;background:none;border:0;padding:8px;margin-right:-8px;cursor:pointer}

/* ---------- Busca ---------- */
.tn-search{display:flex;height:50px;border-radius:25px;background:#fff;position:relative}
.tn-search--gray{background:var(--tn-gray)}
.tn-search__field{position:relative;flex:1 1 0;min-width:0}
.tn-search__field+.tn-search__field::before{content:"";position:absolute;left:0;top:0;bottom:0;width:1px;background:var(--tn-line);z-index:1}
.tn-search--gray .tn-search__field+.tn-search__field::before{background:#ddd}
.tn-search select{appearance:none;-webkit-appearance:none;width:100%;height:50px;border:0;background:transparent;padding:0 44px 0 20px;font-family:var(--tn-font);font-weight:600;font-size:14px;color:#000;cursor:pointer;border-radius:0}
.tn-search__field:first-child select{border-radius:25px 0 0 25px}
.tn-search__field::after{content:"";position:absolute;right:22px;top:50%;width:15px;height:8px;margin-top:-4px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='8' viewBox='0 0 15 8' fill='none'%3E%3Cpath d='M1 1l6.5 6L14 1' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain}
.tn-search__submit{flex:0 0 193px;display:flex;align-items:center;justify-content:center;gap:10px;border:0;background:var(--tn-green);color:#fff;border-radius:0 25px 25px 0;font-family:var(--tn-font);font-weight:600;font-size:16px;cursor:pointer;transition:filter .2s}
.tn-search__submit:hover{filter:brightness(1.08)}

/* ---------- Hero ---------- */
.tn-hero{position:relative;color:#fff;background:#3a4a1c;overflow:hidden}
.tn-hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tn-hero__bg--empty{background:linear-gradient(135deg,#55701e 0%,#2f3c12 100%)}
.tn-hero::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.59)}
.tn-hero .tn-container{position:relative;z-index:1;padding-top:110px;padding-bottom:120px}
.tn-hero h1{font-size:64px;line-height:84px;max-width:780px}
.tn-hero__text{margin-top:32px;max-width:547px;font-size:20px;line-height:normal}
.tn-hero__text strong{font-weight:700}
.tn-hero .tn-btn{margin-top:40px;width:262px}
.tn-hero .tn-search{margin-top:60px}

/* ---------- Cards de loteamento ---------- */
.tn-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.tn-lot{display:flex;flex-direction:column;background:var(--tn-gray);border-radius:var(--tn-radius);overflow:hidden;transition:transform .25s,box-shadow .25s}
.tn-lot:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,.08)}
.tn-lot__img{aspect-ratio:360/200;background:#dfe6cf;overflow:hidden}
.tn-lot__img img{width:100%;height:100%;object-fit:cover}
.tn-lot__body{padding:20px 10px;text-align:center}
.tn-lot__title{font-size:20px;font-weight:700}
.tn-lot__city{margin-top:10px;font-weight:500}
.tn-lot__more{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #d9d9d9;padding:14px 30px 15px;font-weight:700;margin-top:auto}
.tn-lot__more svg{transition:transform .2s}
.tn-lot:hover .tn-lot__more svg{transform:translateX(4px)}

/* ---------- Home: seções ---------- */
.tn-lots{padding:88px 0 0}
.tn-lots .tn-section-title{margin-bottom:60px}
.tn-lots .tn-grid{grid-template-columns:repeat(auto-fit,minmax(0,360px));justify-content:center}
.tn-lots__cta{display:flex;justify-content:center;margin-top:80px}
.tn-lots__cta .tn-btn{width:298px}

.tn-why{padding:60px 0 107px}
.tn-why .tn-section-title{margin-bottom:90px}
.tn-why__card{position:relative;border:1px solid var(--tn-line);border-radius:var(--tn-radius);padding:51px 20px 30px;text-align:center;min-height:187px}
.tn-why__icon{position:absolute;top:-30px;left:50%;transform:translateX(-50%);width:60px;height:60px;border-radius:50%;background:var(--tn-olive);display:flex;align-items:center;justify-content:center;color:#fff}
.tn-why__card h3{font-size:16px}
.tn-why__card p{margin-top:18px}
.tn-why .tn-grid{row-gap:70px}

.tn-stats{background:var(--tn-green);color:#fff;padding:60px 0;min-height:290px}
.tn-stats__inner{display:flex;justify-content:space-between;align-items:flex-start;gap:40px}
.tn-stats h2{font-size:36px;line-height:normal;max-width:330px}
.tn-stats .tn-btn{margin-top:22px;width:200px;gap:30px}
.tn-stats__boxes{display:grid;grid-template-columns:repeat(3,240px);gap:20px;margin-top:10px}
.tn-stat{background:var(--tn-olive);border-radius:var(--tn-radius);height:147px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-top:26px;text-align:center}
.tn-stat strong{font-size:40px;line-height:55px}
.tn-stat span{margin-top:5px;font-size:20px;font-weight:500}

.tn-testimonials{padding:56px 0 60px}
.tn-testimonials .tn-section-title{margin-bottom:42px}
.tn-testi{margin:0;background:var(--tn-gray);border-radius:var(--tn-radius);padding:28px 30px 30px 31px;display:flex;gap:20px;min-height:319px}
.tn-testi__avatar{flex:none;width:40px;height:40px;border-radius:50%;overflow:hidden;background:#d8dfc8;display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--tn-olive)}
.tn-testi__avatar img{width:100%;height:100%;object-fit:cover}
.tn-testi__text{margin:0}
.tn-testi__name{margin-top:20px;font-weight:700}

.tn-cta{background:var(--tn-green);color:#fff;position:relative;overflow:hidden}
.tn-cta__inner{min-height:324px;display:flex;align-items:center}
.tn-cta__content{width:50%;padding:60px 40px 60px 0}
.tn-cta h2{font-size:42px;line-height:normal;max-width:470px}
.tn-cta .tn-btn{margin-top:40px;width:293px}
.tn-cta__img{position:absolute;top:0;bottom:0;left:calc(50% + 20px);right:0;background:#9cbf55}
.tn-cta__img img{width:100%;height:100%;object-fit:cover}

/* ---------- Footer ---------- */
.tn-footer{background:#000;color:#fff}
.tn-footer__top{display:grid;grid-template-columns:290px 290px 290px 1fr;padding-top:40px;padding-bottom:34px}
.tn-footer .tn-logo{height:auto}
.tn-footer .tn-logo img,.tn-footer .tn-logo .custom-logo{height:60px;max-width:160px}
.tn-footer h3{font-size:16px;margin-bottom:20px}
.tn-footer ul{list-style:none;margin:0;padding:0}
.tn-footer li+li{margin-top:10px}
.tn-footer a:hover{color:var(--tn-green-3)}
.tn-footer address{font-style:normal;max-width:280px}
.tn-footer__phone{display:block;margin-top:15px}
.tn-footer__bottom{border-top:1px solid #333;font-size:14px}
.tn-footer__bottom .tn-container{display:flex;justify-content:space-between;gap:20px;padding-top:19px;padding-bottom:20px}

.tn-social{list-style:none;margin:20px 0 0;padding:0;display:flex;gap:10px}
.tn-footer .tn-social{margin-top:22px}
.tn-footer .tn-social li+li{margin-top:0}
.tn-social a{width:38px;height:38px;border-radius:50%;background:var(--tn-green);color:#fff;display:flex;align-items:center;justify-content:center;transition:filter .2s,transform .2s}
.tn-social a:hover,.tn-footer .tn-social a:hover{color:#fff;filter:brightness(1.12);transform:translateY(-2px)}
.tn-social--contact{margin-top:16px}
.tn-wa-float{position:fixed;right:30px;bottom:30px;z-index:60;width:60px;height:60px;border-radius:50%;background:var(--tn-green);display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(0,0,0,.2);transition:transform .2s}
.tn-wa-float:hover{transform:scale(1.06)}

/* ---------- Sobre ---------- */
.tn-about__grid{display:grid;grid-template-columns:557px 560px;justify-content:space-between;gap:40px;margin-top:40px}
.tn-about__text{padding-left:3px}
.tn-about__highlights{list-style:none;margin:35px 0 0;padding:0 0 0 3px}
.tn-about__highlights li{font-size:24px;font-weight:700;line-height:33px}
.tn-about__highlights li+li{margin-top:13px}
.tn-about__img{border-radius:var(--tn-radius);overflow:hidden;aspect-ratio:560/424;background:#dfe6cf}
.tn-about__img img{width:100%;height:100%;object-fit:cover}
.tn-mvv{margin-top:60px}
.tn-mvv__card{border-radius:var(--tn-radius);padding:30px;color:#fff;min-height:195px}
.tn-mvv__card:nth-child(1){background:var(--tn-olive)}
.tn-mvv__card:nth-child(2){background:var(--tn-green-2)}
.tn-mvv__card:nth-child(3){background:var(--tn-green-3)}
.tn-mvv__card h2{font-size:20px}
.tn-mvv__card p{margin-top:10px;font-weight:500}
.tn-location{display:grid;grid-template-columns:300px 1fr;margin-top:60px}
.tn-location h2{font-size:24px}
.tn-location address{font-style:normal;margin-top:20px}
.tn-location .tn-btn{margin-top:44px;width:200px;gap:20px}
.tn-map{border-radius:var(--tn-radius);overflow:hidden;height:300px;background:#e8ecdf}
.tn-map iframe,.tn-map img{width:100%;height:100%;border:0;object-fit:cover;display:block}

/* ---------- Loteamentos (arquivo) ---------- */
.tn-archive-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:40px}
.tn-pill-select{position:relative;width:260px}
.tn-pill-select select{appearance:none;-webkit-appearance:none;width:100%;height:50px;border:0;border-radius:25px;background:var(--tn-gray);padding:0 46px 0 20px;font-weight:600;font-size:14px;cursor:pointer}
.tn-pill-select::after{content:"";position:absolute;right:25px;top:50%;width:15px;height:8px;margin-top:-4px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='8' viewBox='0 0 15 8' fill='none'%3E%3Cpath d='M1 1l6.5 6L14 1' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain}
.tn-empty{padding:60px 0;text-align:center;color:#555}

/* ---------- Imóveis (arquivo) ---------- */
.tn-breadcrumb{font-family:var(--tn-font-alt);font-weight:500;font-size:14px}
.tn-breadcrumb a:hover{color:var(--tn-green)}
.tn-breadcrumb span{margin:0 4px}
.tn-props-title{font-size:36px;margin-top:18px}
.tn-props-head .tn-search{margin-top:40px}
.tn-props{margin-top:60px;row-gap:40px}
.tn-prop{display:flex;flex-direction:column;border-bottom:1px solid #d9d9d9;padding-bottom:30px}
.tn-prop__img{position:relative;border-radius:var(--tn-radius);overflow:hidden;aspect-ratio:359/233;background:#dfe6cf}
.tn-prop__img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.tn-prop:hover .tn-prop__img img{transform:scale(1.04)}
.tn-code{position:absolute;top:10px;right:10px;background:#fff;border-radius:12px;height:24px;padding:0 13px;display:flex;align-items:center;font-weight:700;font-size:12px}
.tn-prop__title{margin-top:20px;font-family:var(--tn-font);font-weight:400;font-size:20px;line-height:27px;min-height:54px}
.tn-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.tn-tag{background:var(--tn-green);color:#fff;border-radius:4px;height:28px;padding:0 10px;display:inline-flex;align-items:center;font-size:14px}
.tn-prop__price{margin-top:20px;font-size:24px;font-weight:700}
.tn-pagination{display:flex;justify-content:center;gap:10px;margin-top:60px}
.tn-pagination .page-numbers{min-width:28px;height:32px;padding:0 8px;border:1px solid #ccc;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;font-size:14px}
.tn-pagination .page-numbers.current{background:var(--tn-green);border-color:var(--tn-green);color:#fff}
.tn-pagination a.page-numbers:hover{border-color:var(--tn-green);color:var(--tn-green)}

/* ---------- Imóvel (single) ---------- */
.tn-single__title{font-size:36px;margin-top:60px}
.tn-gallery{display:grid;grid-template-columns:860px 258px;justify-content:space-between;gap:20px;margin-top:35px}
.tn-gallery__main{border-radius:var(--tn-radius);overflow:hidden;aspect-ratio:860/640;background:#dfe6cf}
.tn-gallery__main img{width:100%;height:100%;object-fit:cover}
.tn-gallery__thumbs{display:flex;flex-direction:column;gap:20px;height:0;min-height:100%;overflow-y:auto;scrollbar-width:thin}
.tn-gallery__thumbs button{display:block;padding:0;border:0;border-radius:var(--tn-radius);overflow:hidden;aspect-ratio:258/145;cursor:pointer;background:#dfe6cf;opacity:.85;transition:opacity .2s,outline-color .2s;outline:2px solid transparent;outline-offset:-2px}
.tn-gallery__thumbs button:hover,.tn-gallery__thumbs button.is-active{opacity:1}
.tn-gallery__thumbs button.is-active{outline-color:var(--tn-green)}
.tn-gallery__thumbs img{width:100%;height:100%;object-fit:cover}
.tn-gallery--single{grid-template-columns:1fr}
.tn-gallery--single .tn-gallery__main{aspect-ratio:1160/560}
.tn-locline{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:31px 0 30px;border-bottom:1px solid #d9d9d9}
.tn-locline p,.tn-pricebox p{margin:0}
.tn-locline__place{display:flex;align-items:center;gap:19px;font-family:var(--tn-font-alt);font-weight:500;font-size:24px}
.tn-locline__place svg{color:var(--tn-green);flex:none}
.tn-locline .tn-code{position:static;background:var(--tn-olive);color:#fff;height:30px;border-radius:15px;font-size:14px;padding:0 14px}
.tn-single__grid{display:grid;grid-template-columns:660px 460px;justify-content:space-between;gap:40px;margin-top:42px}
.tn-features{display:grid;grid-template-columns:repeat(4,150px);gap:20px}
.tn-feature{background:var(--tn-gray);border-radius:8px;height:99px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;font-family:var(--tn-font-alt);font-weight:500;font-size:14px;line-height:1.2;padding:8px}
.tn-specs{display:grid;grid-template-columns:repeat(3,1fr);row-gap:12px;column-gap:20px;border-top:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:20px 0;margin-top:40px;font-size:14px}
.tn-specs strong{font-weight:700}
.tn-desc{margin-top:40px}
.tn-desc p:first-child strong:only-child{display:block}
.tn-pricebox{background:var(--tn-gray);border-radius:8px;padding:30px 30px;text-align:center;align-self:start}
.tn-pricebox__type{font-weight:700;text-transform:uppercase}
.tn-pricebox__price{font-family:var(--tn-font-alt);font-weight:700;font-size:36px;margin-top:20px}
.tn-pricebox .tn-btn{width:100%;max-width:400px;margin-top:22px;font-family:var(--tn-font-alt);font-weight:500;gap:20px}

/* ---------- Ofereça ---------- */
.tn-offer__title{max-width:653px}
.tn-offer__grid{display:grid;grid-template-columns:657px 460px;justify-content:space-between;gap:40px;margin-top:60px}
.tn-offer__img{border-radius:var(--tn-radius);overflow:hidden;aspect-ratio:657/535;background:#dfe6cf}
.tn-offer__img img{width:100%;height:100%;object-fit:cover}
.tn-offer__text h2{font-size:24px;line-height:normal;margin-bottom:40px}
.tn-carousel{position:relative;margin-top:60px}
.tn-carousel__track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 80px)/3);gap:40px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.tn-carousel__track::-webkit-scrollbar{display:none}
.tn-carousel__item{scroll-snap-align:start;border-radius:var(--tn-radius);overflow:hidden;aspect-ratio:360/264;background:#dfe6cf}
.tn-carousel__item img{width:100%;height:100%;object-fit:cover}
.tn-carousel__btn{position:absolute;top:50%;width:50px;height:50px;margin-top:-25px;border-radius:50%;border:0;background:var(--tn-olive);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2;transition:filter .2s}
.tn-carousel__btn:hover{filter:brightness(1.15)}
.tn-carousel__btn--prev{left:-25px}
.tn-carousel__btn--next{right:-25px}
.tn-contact-band{background:var(--tn-green);color:#fff;margin-top:60px}
.tn-contact-band__inner{display:grid;grid-template-columns:600px 300px 1fr;align-items:center;min-height:194px;padding:40px var(--tn-gutter)}
.tn-contact-band h2{font-size:42px;line-height:normal}
.tn-contact-item{display:flex;align-items:center;gap:20px}
.tn-contact-item__icon{flex:none;width:60px;height:60px;border-radius:50%;background:#fff;color:var(--tn-green);display:flex;align-items:center;justify-content:center}
.tn-contact-item strong{display:block}
.tn-contact-item a:hover{text-decoration:underline}

/* ---------- Contato ---------- */
.tn-contact__grid{display:grid;grid-template-columns:360px 660px;justify-content:space-between;gap:40px;margin-top:52px}
.tn-contact__info h2{font-size:16px}
.tn-contact__block{margin-top:42px}
.tn-contact__block address{font-style:normal;margin-top:5px}
.tn-contact__line{display:flex;align-items:center;gap:11px;margin:6px 0 0}
.tn-contact__line:first-of-type{margin-top:10px}
.tn-contact__line svg{flex:none}
.tn-contact__line a:hover{color:var(--tn-green)}
.tn-form__group{margin-bottom:20px}
.tn-form label{display:block;font-weight:700;margin-bottom:2px}
.tn-form input,.tn-form textarea{width:100%;height:50px;border:1px solid var(--tn-input);border-radius:8px;background:#fff;padding:0 16px;font-size:16px;transition:border-color .2s}
.tn-form textarea{height:141px;padding:11px 16px;resize:vertical}
.tn-form input::placeholder,.tn-form textarea::placeholder{color:#000;opacity:.5}
.tn-form input:focus,.tn-form textarea:focus{outline:0;border-color:var(--tn-green)}
.tn-form__actions{display:flex;justify-content:flex-end}
.tn-form__actions .tn-btn{width:171px;font-weight:600}
.tn-form__hp{position:absolute;left:-9999px}
.tn-alert{padding:14px 18px;border-radius:8px;margin-bottom:20px;font-weight:600}
.tn-alert--ok{background:#eef6de;color:#3f5a00}
.tn-alert--err{background:#fdecec;color:#8a1c1c}

/* ---------- Página padrão ---------- */
.tn-content{max-width:var(--tn-container);margin-top:28px}
.tn-content h2{font-size:36px;margin:40px 0 20px}
.tn-content h3{font-size:24px;margin:32px 0 16px}
.tn-content a{color:var(--tn-green);text-decoration:underline}
.tn-content ul,.tn-content ol{padding-left:1.3em;margin:0 0 1.4em}
.tn-content img{border-radius:var(--tn-radius)}

/* ---------- Responsivo ---------- */
@media (max-width:1240px){
  .tn-gallery{grid-template-columns:3fr 1fr}
  .tn-about__grid,.tn-offer__grid{grid-template-columns:1fr 1fr}
  .tn-single__grid{grid-template-columns:1fr 380px}
  .tn-features{grid-template-columns:repeat(4,1fr)}
  .tn-contact__grid{grid-template-columns:320px 1fr}
  .tn-contact-band__inner{grid-template-columns:1.5fr 1fr 1fr}
  .tn-stats__inner{flex-direction:column}
  .tn-stats__boxes{grid-template-columns:repeat(3,1fr);width:100%}
  .tn-footer__top{grid-template-columns:1fr 1fr 1fr 1.3fr;gap:20px}
}
@media (max-width:1024px){
  .tn-nav{gap:24px}
  .tn-nav ul{gap:22px}
  .tn-nav a{font-size:15px}
  .tn-nav .tn-btn{padding:0 22px}
  .tn-grid{grid-template-columns:repeat(2,1fr);gap:30px}
  .tn-why .tn-grid{row-gap:70px}
  .tn-hero h1{font-size:52px;line-height:66px}
  .tn-single__grid{grid-template-columns:1fr}
  .tn-pricebox{max-width:460px}
  .tn-location{grid-template-columns:1fr;gap:30px}
  .tn-contact-band__inner{grid-template-columns:1fr 1fr;gap:30px}
  .tn-contact-band h2{grid-column:1/-1}
  .tn-carousel__track{grid-auto-columns:calc((100% - 30px)/2);gap:30px}
}
@media (max-width:900px){
  .tn-menu-toggle{display:block}
  .tn-nav{position:absolute;top:90px;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;gap:0;padding:10px 30px 30px;box-shadow:0 16px 30px rgba(0,0,0,.08);display:none}
  .tn-nav.is-open{display:flex}
  .tn-nav ul{flex-direction:column;gap:0}
  .tn-nav li a{display:block;padding:14px 0;border-bottom:1px solid var(--tn-line);font-size:16px}
  .tn-nav .tn-btn{margin-top:20px;height:50px;border-radius:25px}
  .tn-search{flex-direction:column;height:auto;background:#fff;border-radius:var(--tn-radius);padding:20px;gap:10px}
  .tn-search--gray{background:var(--tn-gray)}
  .tn-search__field+.tn-search__field::before{display:none}
  .tn-search select,.tn-search__field:first-child select{height:50px;border:1px solid var(--tn-line);border-radius:8px;background:#fff}
  .tn-search__submit{flex:none;height:50px;border-radius:25px}
  .tn-about__grid,.tn-offer__grid,.tn-contact__grid{grid-template-columns:1fr}
  .tn-gallery{grid-template-columns:1fr}
  .tn-gallery__thumbs{flex-direction:row;overflow-x:auto;height:auto;min-height:0}
  .tn-gallery__thumbs button{flex:0 0 40%}
}
@media (max-width:720px){
  :root{--tn-gutter:30px}
  .tn-grid{grid-template-columns:1fr;gap:40px}
  .tn-section-title{font-size:36px;line-height:49px}
  .tn-page-title{font-size:36px}
  .tn-page-title--md{font-size:32px}
  .tn-hero{min-height:0}
  .tn-hero .tn-container{padding-top:60px;padding-bottom:60px}
  .tn-hero h1{font-size:36px;line-height:49px;max-width:320px}
  .tn-hero__text{font-size:16px;margin-top:38px}
  .tn-hero .tn-btn{margin-top:40px}
  .tn-lots{padding-top:60px}
  .tn-lots .tn-section-title{margin-bottom:40px}
  .tn-lots__cta{margin-top:40px}
  .tn-why{padding:60px 0}
  .tn-why .tn-section-title{margin-bottom:70px}
  .tn-stats{text-align:center}
  .tn-stats__inner{align-items:center}
  .tn-stats h2{margin:0 auto}
  .tn-stats .tn-btn{display:none}
  .tn-stats__boxes{grid-template-columns:1fr;gap:40px}
  .tn-testimonials .tn-grid{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:100%;overflow-x:auto;scroll-snap-type:x mandatory;gap:20px;scrollbar-width:none}
  .tn-testimonials .tn-grid>*{scroll-snap-align:start}
  .tn-testi{min-height:320px}
  .tn-cta__inner{flex-direction:column;min-height:0}
  .tn-cta__content{width:100%;padding:60px 0 40px;text-align:center}
  .tn-cta h2{font-size:24px;margin:0 auto}
  .tn-cta .tn-btn{margin-top:40px}
  .tn-cta__img{position:relative;left:auto;height:297px;margin:0 calc(var(--tn-gutter)*-1)}
  .tn-footer__top{grid-template-columns:1fr;gap:40px;padding-top:40px}
  .tn-footer .tn-logo{justify-content:center}
  .tn-footer .tn-social{justify-content:flex-start}
  .tn-footer__bottom .tn-container{flex-direction:column;align-items:center;text-align:center;font-size:12px}
  .tn-wa-float{right:20px;bottom:20px;width:56px;height:56px}
  .tn-features{grid-template-columns:repeat(2,1fr)}
  .tn-specs{grid-template-columns:1fr 1fr}
  .tn-single__title{font-size:28px;margin-top:40px}
  .tn-locline p,.tn-pricebox p{margin:0}
.tn-locline__place{font-size:18px}
  .tn-archive-head{flex-direction:column}
  .tn-pill-select{width:100%}
  .tn-contact-band__inner{grid-template-columns:1fr}
  .tn-contact-band h2{font-size:32px}
  .tn-carousel__track{grid-auto-columns:85%;gap:20px}
  .tn-carousel__btn{display:none}
  .tn-content h2{font-size:28px}
}
