/* =========================================================
   ESTILO DO SITE — Jardins Áustria (Japão)
   Cores principais ficam aqui em cima. Troque à vontade.
   ========================================================= */
:root {
  --verde: #1f5d4a;        /* cor principal (verde FGR/Jardins) */
  --verde-claro: #e8f1ed;
  --dourado: #b8955a;      /* destaque */
  --texto: #222;
  --texto-suave: #5b6560;
  --fundo: #ffffff;
  --fundo-alt: #f6f7f5;
  --line: #06c755;         /* verde oficial do LINE */
  --borda: #dfe4e1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", system-ui, sans-serif;
  color: var(--texto);
  background: var(--fundo);
  line-height: 1.8;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--verde); }

/* ---------- Cabeçalho ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--borda);
}
.topo-in {
  max-width: 1080px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.marca { font-weight: 700; color: var(--verde); text-decoration: none; line-height: 1.3; }
.marca small { display: block; font-weight: 400; color: var(--texto-suave); font-size: 12px; }
.menu { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; }
.menu a { text-decoration: none; color: var(--texto); }
.menu a:hover { color: var(--verde); }
@media (max-width: 820px) { .menu { display: none; } }

/* ---------- Seções ---------- */
section { padding: 64px 16px; }
section:nth-of-type(even) { background: var(--fundo-alt); }
.caixa { max-width: 1080px; margin: 0 auto; }
.num-secao { color: var(--dourado); font-weight: 700; letter-spacing: .1em; font-size: 13px; }
h1, h2, h3 { line-height: 1.4; margin: 0 0 16px; }
h2 { font-size: 28px; color: var(--verde); }
h3 { font-size: 19px; }
.lead { font-size: 17px; color: var(--texto-suave); max-width: 760px; }

/* ---------- Capa ---------- */
.capa {
  background: linear-gradient(135deg, #173f33 0%, #1f5d4a 60%, #2e7a62 100%);
  color: #fff; padding: 72px 16px 80px;
}
.capa h1 { font-size: 36px; }
.capa .lead { color: #dbe9e3; }
.capa a { color: #fff; }
@media (max-width: 600px) { .capa h1 { font-size: 27px; } h2 { font-size: 23px; } }

/* ---------- Números-chave ---------- */
.numeros { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 28px 0; }
.numero { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: 16px; }
.numero b { display: block; font-size: 26px; line-height: 1.3; }
.numero > span { font-size: 14px; }
section .numero { background: #fff; border-color: var(--borda); }
section .numero b { color: var(--verde); }
.capa .numero { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }
.capa .numero b { color: #fff; }

/* ---------- Cartões ---------- */
.cartoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.cartao { background: #fff; border: 1px solid var(--borda); border-radius: 12px; padding: 20px; }
.cartao .tag { display: inline-block; background: var(--verde-claro); color: var(--verde); font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; margin-bottom: 8px; }

/* ---------- Passos (fluxo de compra) ---------- */
.passos { counter-reset: passo; list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.passos li { counter-increment: passo; background: #fff; border: 1px solid var(--borda); border-radius: 12px; padding: 16px 16px 16px 64px; position: relative; }
.passos li::before {
  content: counter(passo); position: absolute; left: 16px; top: 16px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--verde); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* ---------- Tabelas ---------- */
.tabela-wrap { overflow-x: auto; margin-top: 20px; }
table { border-collapse: collapse; width: 100%; min-width: 520px; background: #fff; font-size: 15px; }
th, td { border: 1px solid var(--borda); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--verde-claro); color: var(--verde); }
tr.total td { font-weight: 700; background: #fbf7ef; }

/* ---------- Lista de áreas comuns ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.chips li { background: #fff; border: 1px solid var(--borda); border-radius: 99px; padding: 4px 14px; font-size: 14px; }

/* ---------- FAQ ---------- */
details { background: #fff; border: 1px solid var(--borda); border-radius: 10px; padding: 14px 16px; margin-top: 10px; }
summary { font-weight: 700; cursor: pointer; }

/* ---------- Fotos (espaço reservado) ---------- */
.fotos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 20px; }
.foto-vazia {
  aspect-ratio: 4 / 3; border: 2px dashed #c9a9a9; border-radius: 10px; background: #fdf3f3;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px;
  color: #a33; font-size: 13px;
}

/* ---------- Botão LINE ---------- */
.btn-line {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--line); color: #fff !important; text-decoration: none;
  font-weight: 700; padding: 14px 26px; border-radius: 99px; font-size: 17px;
  box-shadow: 0 4px 14px rgba(6,199,85,.35);
}
.btn-line:hover { filter: brightness(1.05); }
.btn-line svg { width: 26px; height: 26px; }
.line-flutuante { position: fixed; right: 16px; bottom: 16px; z-index: 60; padding: 12px 20px; font-size: 15px; }
.qr-vazio { width: 160px; height: 160px; border: 2px dashed #c9a9a9; background: #fdf3f3; color: #a33; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; border-radius: 8px; }

/* ---------- Avisos ---------- */
.nota { font-size: 13px; color: var(--texto-suave); margin-top: 16px; }
.rodape { background: #173f33; color: #cfe0d8; padding: 32px 16px 96px; font-size: 13px; }
.rodape a { color: #fff; }

/* =========================================================
   MODO REVISÃO (para o Igor): abra o site com ?revisao no fim
   do endereço. O português aparece em amarelo abaixo de cada
   trecho em japonês. Com ?pt aparece só o português.
   ========================================================= */
.pt { display: none; }
body.rev .pt {
  display: block; background: #fff6c8; color: #3d3400; border-left: 4px solid #e0b400;
  padding: 4px 8px; margin: 4px 0 8px; font-size: 14px; line-height: 1.6; font-weight: 400;
  font-family: system-ui, sans-serif; border-radius: 4px; text-align: left;
}
body.ptonly .ja { display: none; }
body.ptonly .pt { display: inline; }
body.ptonly div.pt, body.ptonly p.pt { display: block; }

/* Dados que ainda faltam: aparecem em vermelho */
.ph { background: #ffe1e1; color: #a00; border: 1px dashed #a00; padding: 0 4px; border-radius: 3px; }

.barra-revisao { display: none; }
body.rev .barra-revisao, body.ptonly .barra-revisao {
  display: block; background: #e0b400; color: #000; text-align: center; padding: 6px; font-size: 13px; font-family: system-ui, sans-serif;
}

/* No site do cliente, escondemos o que ainda falta (fotos, dados em vermelho).
   Esses itens só aparecem no modo revisão (?revisao). */
.ph, .foto-vazia, .so-revisao { display: none; }
body.rev .ph, body.ptonly .ph { display: inline; }
body.rev .foto-vazia, body.ptonly .foto-vazia { display: flex; }
body.rev .so-revisao, body.ptonly .so-revisao { display: block; }
body:not(.rev):not(.ptonly) .fotos:not(:has(img)) { display: none; }

/* =========================================================
   ESTRUTURA EM ABAS (versão 2)
   ========================================================= */
.capa-inicio {
  min-height: 78vh; display: flex; align-items: flex-end;
  /* Coloque uma foto bonita em img/capa.jpg e ela aparece aqui sozinha */
  background:
    linear-gradient(180deg, rgba(10,35,28,.25) 0%, rgba(10,35,28,.85) 100%),
    url("img/capa.jpg") center / cover no-repeat,
    linear-gradient(135deg, #173f33 0%, #1f5d4a 55%, #b8955a 130%);
  color: #fff; padding: 96px 16px 64px;
}
.capa-inicio h1 { font-size: 38px; }
.capa-inicio .lead { color: #e3eee9; }
@media (max-width: 600px) { .capa-inicio h1 { font-size: 27px; } }

.grade-abas { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 24px; }
.grade-abas a {
  display: flex; gap: 12px; align-items: flex-start; text-decoration: none; color: var(--texto);
  background: #fff; border: 1px solid var(--borda); border-radius: 12px; padding: 14px 16px; transition: border-color .15s, transform .15s;
}
.grade-abas a:hover { border-color: var(--verde); transform: translateY(-2px); }
.grade-abas .n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--verde-claro); color: var(--verde); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; }

/* Botão que abre o menu de abas */
.btn-menu {
  background: var(--verde); color: #fff; border: 0; border-radius: 99px; padding: 8px 16px;
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; display: inline-flex; gap: 8px; align-items: center;
}
.gaveta-fundo { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 80; display: none; }
.gaveta {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; z-index: 90;
  transform: translateX(100%); transition: transform .25s; overflow-y: auto; padding: 16px;
  box-shadow: -8px 0 24px rgba(0,0,0,.15);
}
body.menu-aberto .gaveta { transform: none; }
body.menu-aberto .gaveta-fundo { display: block; }
.gaveta-topo { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.gaveta-topo button { background: none; border: 0; font-size: 28px; cursor: pointer; line-height: 1; }
.gaveta ol { list-style: none; padding: 0; margin: 0; }
.gaveta li a { display: flex; gap: 10px; padding: 10px 8px; border-radius: 8px; text-decoration: none; color: var(--texto); font-size: 15px; line-height: 1.5; }
.gaveta li a:hover, .gaveta li a.ativa { background: var(--verde-claro); color: var(--verde); }
.gaveta li a .n { flex: none; width: 24px; color: var(--dourado); font-weight: 700; }

/* Cada aba só aparece quando escolhida */
.aba { display: none; }
.aba.ativa { display: block; }
.pagina-inicial { display: none; }
.pagina-inicial.ativa { display: block; }
.aba > section { min-height: 60vh; }

.nav-abas { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.nav-abas a { text-decoration: none; border: 1px solid var(--borda); background: #fff; border-radius: 99px; padding: 8px 16px; font-size: 14px; }

.em-breve { background: #fff; border: 2px dashed var(--borda); border-radius: 12px; padding: 28px; text-align: center; color: var(--texto-suave); margin-top: 24px; }
.capa-inicio .numero { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }
.capa-inicio .numero b { color: #fff; }
body.rev .btn-menu .pt, body.rev .btn-line .pt, body.rev .nav-abas .pt { display: inline-block; margin: 0 0 0 6px; }

/* ---------- Aba 1: MyBroker ---------- */
.logo-empresa { height: 48px; width: auto; margin: 4px 0 16px; }
h3.sub { margin-top: 48px; font-size: 22px; color: var(--verde); border-bottom: 2px solid var(--verde-claro); padding-bottom: 6px; }
.destaque-premio { display: flex; gap: 16px; align-items: center; background: linear-gradient(90deg, #fbf3e3, #fff); border: 1px solid #ecdcb8; border-radius: 12px; padding: 16px 20px; margin: 24px 0; }
.destaque-premio .trofeu { font-size: 40px; line-height: 1; }
.destaque-premio b { display: block; font-size: 18px; color: #7a5a1e; }
.cartao.premio .ano { display: inline-block; font-weight: 700; color: var(--dourado); font-size: 14px; }
.linha-tempo { list-style: none; padding: 0; margin: 20px 0 0; border-left: 3px solid var(--verde-claro); }
.linha-tempo li { position: relative; padding: 0 0 18px 24px; }
.linha-tempo li::before { content: ""; position: absolute; left: -8px; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: var(--verde); }
.linha-tempo li b { display: block; color: var(--verde); font-size: 18px; }
.cartao.lider img { width: 100%; max-width: 220px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 12px; margin-bottom: 12px; }
.cartao.lider .cargo { color: var(--dourado); font-weight: 700; font-size: 14px; margin: -8px 0 8px; }
.lista-pais { list-style: none; padding: 0; }
.lista-pais li { padding: 6px 0; border-bottom: 1px solid var(--borda); }
.status { font-size: 12px; padding: 2px 8px; border-radius: 99px; margin-left: 6px; white-space: nowrap; }
.status.ok { background: var(--verde-claro); color: var(--verde); }
.status.novo { background: #fbf3e3; color: #7a5a1e; }
.galeria { display: grid; gap: 12px; margin-top: 20px; }
.galeria.quatro { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.galeria img { width: 100%; border-radius: 12px; border: 1px solid var(--borda); object-fit: cover; }
.galeria.quatro img { aspect-ratio: 4 / 3; }

/* Aba 2: responsáveis */
.resp { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; background: #fff; border: 1px solid var(--borda); border-radius: 16px; padding: 24px; margin-top: 24px; }
.resp img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 12px; }
.resp h3 { margin: 0 0 4px; font-size: 24px; }
.resp h3 small { color: var(--dourado); font-size: 15px; font-weight: 700; }
.resp .chips { margin: 8px 0 14px; }
.destaque-texto { background: var(--verde-claro); border-left: 4px solid var(--verde); padding: 12px 16px; border-radius: 8px; }
.premios-resp { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 8px 0 14px; gap: 10px; }
.premios-resp .cartao { padding: 12px 14px; }
.premios-resp .ano { font-size: 22px; }
.premios-resp p { margin: 2px 0 0; font-size: 14px; }
@media (max-width: 680px) {
  .resp { grid-template-columns: 1fr; padding: 18px; }
  .resp img { max-width: 260px; }
}
