/* VLB Free - TEMA NOVO (24/10/2026). Familia do site novo do VLB (escuro + emblema 3D), cor propria verde-agua.
   So vale com <body class="tn"> (previa ?tema=novo). Tema escuro de proposito, como o VLB novo. */

body.tn {
  --bg: #06120e; --bg2: #0a1a14; --surface: rgba(255,255,255,.035); --surface-solid: #0f211a;
  --ink: #e7f3ed; --muted: #94b0a4; --line: rgba(160,230,200,.12); --line-strong: rgba(47,208,138,.35);
  --jade: #2fd08a; --jade-deep: #8ff0c4; --sky: #39c6e0; --sun: #f0b65a;
  --ok: #2fd08a; --warn: #e8b04f; --err: #f07070;
  --radius: 14px;
  --glow: 0 0 0 1px var(--line), 0 18px 50px -24px rgba(0,0,0,.8);
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(47,208,138,.16), transparent 60%),
    radial-gradient(800px 480px at 92% 8%, rgba(57,198,224,.12), transparent 60%),
    radial-gradient(700px 600px at 50% 110%, rgba(126,92,230,.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
}
body.tn a { color: var(--jade); }
body.tn a:hover { color: #6fe7b3; }
body.tn h1, body.tn h2, body.tn h3 { color: #f2fbf6; letter-spacing: -.01em; }
body.tn h1 { font-weight: 800; font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.05; }
body.tn h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }

/* pular para o conteudo */
.tn-skip { position: absolute; left: -999px; top: 8px; background: var(--jade); color: #04130d !important; padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.tn-skip:focus { left: 12px; }

/* ---------- cabecalho ---------- */
.tn-top { position: sticky; top: 0; z-index: 50; background: rgba(6,18,14,.72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.tn-top-in { display: flex; align-items: center; gap: 18px; padding-top: 10px; padding-bottom: 10px; }
.tn-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink) !important; flex: none; }
.tn-emb { width: 40px; height: 40px; filter: hue-rotate(-62deg) saturate(1.15) drop-shadow(0 0 10px rgba(47,208,138,.45)); transition: transform .4s ease; }
.tn-brand:hover .tn-emb { transform: rotate(-8deg) scale(1.06); }
.tn-name { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; }
.tn-name b { color: var(--jade); font-weight: 800; }
.tn-nav { display: flex; gap: 4px; flex: 1; justify-content: center; flex-wrap: wrap; }
.tn-nav a, .tn-acts a { color: #cfe5db !important; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.tn-nav a:hover, .tn-acts a:hover { background: rgba(255,255,255,.06); color: #fff !important; }
.tn-nav a[aria-current="page"] { background: rgba(47,208,138,.14); color: var(--jade) !important; }
.tn-nav a.tn-hl { color: var(--sun) !important; }
.tn-acts { display: flex; align-items: center; gap: 4px; flex: none; }
.tn-cta { background: linear-gradient(135deg, var(--jade), #22b7a8); color: #04130d !important; font-weight: 800 !important; box-shadow: 0 6px 20px -8px rgba(47,208,138,.7); }
.tn-cta:hover { filter: brightness(1.08); background: linear-gradient(135deg, var(--jade), #22b7a8) !important; color: #04130d !important; }
.tn-lang { border: 1px solid var(--line-strong); }
@media (max-width: 900px) {
  .tn-top-in { flex-wrap: wrap; gap: 8px; }
  .tn-nav { order: 3; flex-basis: 100%; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -8px; padding: 0 8px 4px; }
  .tn-nav::-webkit-scrollbar { display: none; }
  .tn-acts { margin-left: auto; }
}
@media (max-width: 480px) { .tn-name { font-size: 1rem; } .tn-acts a:not(.tn-cta):not(.tn-lang) { display: none; } }

/* ---------- conteudo ---------- */
body.tn .main { padding-top: 28px; padding-bottom: 56px; }

/* heroi da pagina inicial */
body.tn .hero { position: relative; grid-template-columns: 1.25fr .9fr; gap: 28px; padding: 46px 40px; margin-top: 8px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, rgba(47,208,138,.10), rgba(57,198,224,.05) 45%, rgba(126,92,230,.08)), var(--bg2);
  box-shadow: var(--glow); }
body.tn .hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px); background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%); }
body.tn .hero > * { position: relative; }
body.tn .hero h1 { background: linear-gradient(120deg, #ffffff 30%, #a6f5cf 70%, #7fe0ef); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.tn .hero p { color: #b9d3c8; font-size: 1.15rem; }
body.tn .hero-art { aspect-ratio: 1; border-radius: 50%; box-shadow: none; position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(47,208,138,.28), rgba(57,198,224,.10) 45%, transparent 70%); }
body.tn .hero-art::before { content: ""; position: absolute; inset: 8%; background: url("/assets/img/vlb-emblema-3d-512.webp") center/contain no-repeat;
  filter: hue-rotate(-62deg) saturate(1.15) drop-shadow(0 0 40px rgba(47,208,138,.45)); animation: tn-flutua 7s ease-in-out infinite; }
body.tn .hero-art::after { content: "FREE"; position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); font: 800 .9rem "Sora", sans-serif; letter-spacing: .45em; padding: 6px 10px 6px 16px;
  color: #04130d; background: linear-gradient(135deg, var(--jade), #7fe0ef); border-radius: 999px; box-shadow: 0 8px 26px -10px rgba(47,208,138,.8); }
@keyframes tn-flutua { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { body.tn .hero-art::before { animation: none; } .tn-emb { transition: none; } }
@media (max-width: 820px) {
  body.tn .hero { grid-template-columns: 1fr; padding: 26px 20px 30px; gap: 8px; }
  body.tn .hero-art { display: block; width: 190px; max-width: 60%; margin: 0 auto; grid-row: 1; }
  body.tn .hero .actions .btn { flex: 1 1 auto; text-align: center; }
}

/* botoes */
body.tn .btn { border-radius: 999px; padding: 13px 26px; background: linear-gradient(135deg, var(--jade), #22b7a8); color: #04130d !important; font-weight: 800; box-shadow: 0 10px 28px -12px rgba(47,208,138,.75); transition: transform .15s ease, filter .15s ease; }
body.tn .btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
body.tn .btn-ghost { background: rgba(255,255,255,.03); color: #e7f3ed !important; border: 1px solid var(--line-strong); box-shadow: none; }
body.tn .btn-ghost:hover { background: rgba(47,208,138,.10); }
body.tn .btn-small { padding: 7px 16px; }
body.tn .btn-viewer a { color: var(--sky) !important; }

/* numeros */
body.tn .stats { margin-top: 22px; background: transparent; border: 0; gap: 12px; border-radius: 0; overflow: visible; }
body.tn .stat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px; backdrop-filter: blur(6px); }
body.tn .stat b { color: #f2fbf6; font-size: 2rem; }
body.tn .stat span { color: var(--muted); }
body.tn .stat:first-child { border-color: var(--line-strong); }
body.tn .stat:first-child b::before { background: var(--jade); box-shadow: 0 0 0 4px rgba(47,208,138,.22), 0 0 14px rgba(47,208,138,.8); }

/* cartoes e blocos */
body.tn .section { margin-top: 56px; }
body.tn .tile, body.tn .card, body.tn .tablewrap { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; backdrop-filter: blur(6px); box-shadow: var(--glow); }
body.tn .tile { padding: 22px; transition: transform .2s ease, border-color .2s ease; }
body.tn .tile:hover { transform: translateY(-3px); border-color: var(--line-strong); }
body.tn .tile h3 { color: var(--jade); }
body.tn .tile p { color: #a9c4b8; }
body.tn .grid4 { gap: 14px; }
body.tn .steps li::marker { color: var(--jade); font-weight: 800; }
body.tn .addr { background: rgba(47,208,138,.08); border: 1px dashed var(--line-strong); color: var(--jade-deep); }
body.tn .hint, body.tn small.hint { color: var(--muted); }
body.tn .contador { color: #6f8c80; }

/* formularios */
body.tn label { color: #d9ebe2; }
body.tn input[type=text], body.tn input[type=email], body.tn input[type=password], body.tn input[type=number], body.tn select, body.tn textarea {
  background: rgba(0,0,0,.28); border: 1px solid var(--line); color: var(--ink); border-radius: 12px; padding: 12px 14px; }
body.tn input:focus, body.tn select:focus, body.tn textarea:focus { border-color: var(--jade); outline: 2px solid rgba(47,208,138,.35); outline-offset: 1px; }
body.tn .captcha img { border-color: var(--line); background: #fff; }
body.tn .msg { background: var(--surface-solid); }
body.tn .av img { border-color: transparent; }
body.tn .av input:checked + img { border-color: var(--jade); box-shadow: 0 0 0 3px rgba(47,208,138,.3); }

/* tabelas, chips, mapa */
body.tn .tab th { color: var(--muted); }
body.tn .tab th, body.tn .tab td { border-bottom-color: var(--line); }
body.tn .chip { border-color: var(--line); }
body.tn .mapa { border-color: var(--line); box-shadow: var(--glow); }
body.tn .foto-ilha { border-color: var(--line); }
body.tn .meta dt { color: var(--muted); }

/* ---------- rodape ---------- */
.tn-foot { margin-top: 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(6,18,14,0), rgba(4,12,9,.9)); color: var(--muted); font-size: .93rem; }
.tn-foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-top: 36px; padding-bottom: 26px; }
.tn-foot h3 { font-family: "Sora", sans-serif; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: #cfe5db; margin-bottom: 10px; }
.tn-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.tn-foot a { color: #a9c4b8 !important; text-decoration: none; }
.tn-foot a:hover { color: var(--jade) !important; }
.tn-foot-brand p { margin: 10px 0 0; max-width: 34ch; }
.tn-mail a { color: var(--jade) !important; font-weight: 700; }
.tn-foot-base { border-top: 1px solid var(--line); padding-top: 14px; padding-bottom: 22px; font-size: .85rem; color: #6f8c80; }
@media (max-width: 820px) { .tn-foot-in { grid-template-columns: 1fr 1fr; } .tn-foot-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .tn-foot-in { grid-template-columns: 1fr; } }

/* ---------- fotos reais do grid (24/10/2026: Cinturao Verde, ilha em casa) ---------- */
body.tn .hero { background:
  linear-gradient(90deg, rgba(6,18,14,.96) 0%, rgba(6,18,14,.82) 42%, rgba(6,18,14,.35) 75%, rgba(6,18,14,.15) 100%),
  url("/assets/img/fotos/cinturao-verde-ilha.jpg") center right / cover no-repeat, var(--bg2); }
@media (max-width: 820px) { body.tn .hero { background:
  linear-gradient(180deg, rgba(6,18,14,.55) 0%, rgba(6,18,14,.92) 45%, rgba(6,18,14,.97) 100%),
  url("/assets/img/fotos/cinturao-verde-ilha.jpg") center top / cover no-repeat, var(--bg2); } }

.tn-galeria-cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.tn-galeria-cab > div { max-width: 640px; }
.tn-sobre { margin: 0 0 6px; font: 700 .78rem "Sora", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--jade); }
.tn-fotos { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.tn-foto { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--glow); background: var(--bg2); }
.tn-foto img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; transition: transform .5s ease; }
.tn-foto:hover img { transform: scale(1.04); }
.tn-foto-grande { grid-row: 1 / 3; }
.tn-foto-grande img { aspect-ratio: auto; }
@media (max-width: 820px) { .tn-fotos { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } .tn-foto-grande { grid-column: 1 / -1; grid-row: auto; } .tn-foto-grande img { aspect-ratio: 16/9; } }
@media (prefers-reduced-motion: reduce) { .tn-foto img { transition: none; } }
.tn-fotos .tn-foto:last-child { grid-column: 2 / 4; }
.tn-fotos .tn-foto:last-child img { aspect-ratio: 32/9; }
@media (max-width: 820px) { .tn-fotos .tn-foto:last-child { grid-column: 1 / -1; } .tn-fotos .tn-foto:last-child img { aspect-ratio: 16/9; } }

/* telas medias (notebook): menu numa linha so */
@media (min-width: 901px) and (max-width: 1200px) {
  .tn-top-in { gap: 10px; }
  .tn-nav { flex-wrap: nowrap; gap: 0; }
  .tn-nav a, .tn-acts a { padding: 6px 8px; font-size: .86rem; }
  .tn-name { font-size: 1.05rem; }
}
