/* ============ Tokens ============ */
:root {
  --bg: #faf9f4;
  --bg-soft: #eef3ec;
  --surface: #ffffff;
  --ink: #10140f;
  --muted: #5c6660;
  --muted-soft: #8a938d;
  --border: rgba(16, 20, 15, 0.12);

  --dark-bg: #0e2b1a;
  --dark-bg-2: #071a10;
  --dark-border: rgba(247, 245, 239, 0.12);
  --on-dark: #f7f5ef;
  --on-dark-muted: #9aa39c;

  --green: #00501f;
  --green-dark: #003814;
  --green-soft: rgba(0, 80, 31, 0.08);
  --gold: #b8862e;

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --radius: 18px;
}

* { box-sizing: border-box; }
/* O cabeçalho fixo tem 88px: sem a folga, ele cobre o início da seção ao clicar no menu. */
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-small { padding: 9px 18px; font-size: 0.85rem; }
.btn-large { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 249, 244, 0.85);
  backdrop-filter: blur(10px);
  z-index: -1;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-img { height: 50px; width: auto; }

.main-nav {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
}
.main-nav a:not(.btn) { color: var(--muted); transition: color .15s ease; }
.main-nav a:not(.btn):hover { color: var(--ink); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .main-nav {
    position: fixed;
    inset: 88px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 20px;
    gap: 4px;
    font-size: 1.1rem;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { display: flex; transform: translateX(0); }
  /* Altura mínima de 44px: tamanho recomendado para tocar com o dedo. */
  .main-nav > a:not(.btn) { display: flex; align-items: center; min-height: 44px; }
  .main-nav .btn { margin-top: 16px; }
}
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}
/* Com 6 itens, o menu só cabe ao lado do logo com menos espaço entre eles nesta faixa. */
@media (min-width: 900px) and (max-width: 1099px) {
  .main-nav { gap: 16px; font-size: 0.88rem; }
  .main-nav .btn { padding-left: 16px; padding-right: 16px; }
}

/* ============ Sections ============ */
.section { padding: 84px 0; position: relative; overflow: hidden; background: var(--bg); color: var(--ink); }
.section-alt { background: var(--bg-soft); }
.section-dark {
  background: linear-gradient(160deg, var(--dark-bg) 0%, var(--dark-bg-2) 100%);
  color: var(--on-dark);
}
.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.kicker--light { color: var(--gold); }
.section h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  max-width: 720px;
  margin-bottom: 20px;
}
.section-lede {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}
.section-lede--light { color: rgba(247, 245, 239, 0.72); }

/* ============ Grids & Cards ============ */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
/* Tablet: duas colunas; com número ímpar de itens, o último fica centralizado. */
@media (min-width: 640px) and (max-width: 899px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 639px) {
  #linhas .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.card-image {
  display: block;
  width: 168px;
  height: 168px;
  border-radius: 18px;
  background: var(--green-soft);
  margin: 0 auto 22px;
  object-fit: contain;
  padding: 3px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ============ Sustentabilidade (Diferenciais) ============ */
.sustentabilidade-header {
  display: grid;
  gap: 4px;
  margin-bottom: 36px;
}
.sustentabilidade-header h2 { margin-bottom: 18px; }
.sustentabilidade-header .section-lede { margin-bottom: 0; }
.sustentabilidade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.sustentabilidade-col h3 { color: var(--ink); font-size: 1.15rem; margin-bottom: 10px; }
.sustentabilidade-col > p:last-child { color: var(--muted); font-size: 0.95rem; }

.video-tile {
  display: block;
  position: relative;
  border-radius: 16px;
  aspect-ratio: 16 / 10;
  margin-bottom: 24px;
  background:
    radial-gradient(circle at 30% 30%, rgba(184, 134, 46, 0.22), transparent 55%),
    linear-gradient(145deg, #143823 0%, #0a2015 100%);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s ease;
}
.video-tile:hover { border-color: var(--gold); }
.video-tile.is-playing { cursor: default; }
.video-tile-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-tile-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-tile-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(247, 245, 239, 0.95);
  color: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  padding-left: 4px;
}
.video-tile-cta {
  position: absolute;
  right: 18px;
  bottom: 16px;
  background: rgba(14, 43, 26, 0.85);
  border: 1px solid var(--dark-border);
  color: var(--on-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
}

.sustentabilidade-features {
  display: flex;
  flex-direction: column;
}
.feature-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.sustentabilidade-features .feature-row:first-child { border-top: none; padding-top: 0; }
.sustentabilidade-features .feature-row:last-child { padding-bottom: 0; }
.feature-row h3 { color: var(--ink); font-size: 1.05rem; margin-bottom: 6px; }
.feature-row p { color: var(--muted); font-size: 0.9rem; }
.feature-row-media {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  border-radius: 12px;
  object-fit: cover;
}
.feature-row-media--badge {
  object-fit: contain;
  background: var(--surface);
  padding: 4px;
}
@media (max-width: 899px) {
  .sustentabilidade-grid { grid-template-columns: 1fr; gap: 36px; }
}
/* Título à esquerda e texto à direita; embaixo, vídeo e selos com topo e base alinhados. */
@media (min-width: 900px) {
  .sustentabilidade-header { grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
  .sustentabilidade-header h2 { margin-bottom: 0; }
  .sustentabilidade-features { justify-content: space-between; }
  .sustentabilidade-col:first-child { display: flex; flex-direction: column; }
  .sustentabilidade-col:first-child > h3 { margin-top: auto; }
}

/* Portfólio (01/10): foto ocupando toda a largura do cartão, texto embaixo. */
.solution-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--green);
  text-align: left;
}
.solution-media { overflow: hidden; margin-bottom: 8px; background: var(--bg-soft); }
.solution-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.solution-card h3 { color: var(--ink); font-size: 1.02rem; font-family: var(--font-body); font-weight: 700; padding: 0 22px; }
.solution-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.5; margin: 0; padding: 0 22px 24px; }

/* Portfólio: cards entram em cascata e respondem ao passar o mouse.
   A entrada usa animation (e não o transition do .reveal) para o atraso não atrasar também o hover. */
.grid-solutions .solution-card { transition: opacity .6s ease, transform .3s ease, box-shadow .25s ease, border-color .25s ease; }
.grid-solutions .solution-card.is-visible { animation: card-entra .6s ease backwards; }
.grid-solutions .solution-image { transition: transform .3s ease; }
@keyframes card-entra {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 640px) and (max-width: 899px) {
  .grid-solutions .solution-card:nth-child(even).is-visible { animation-delay: 100ms; }
}
@media (min-width: 900px) {
  .grid-solutions .solution-card:nth-child(3n+2).is-visible { animation-delay: 100ms; }
  .grid-solutions .solution-card:nth-child(3n).is-visible { animation-delay: 200ms; }
}
@media (hover: hover) {
  .grid-solutions .solution-card.is-visible:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px -18px rgba(14, 43, 26, 0.45);
    border-color: rgba(0, 80, 31, 0.45);
  }
  .grid-solutions .solution-card:hover .solution-image { transform: scale(1.06); }
}

/* ============ Setores (segmentos) ============ */
.setores-grid { display: grid; gap: 40px; }
/* Foto do setor escolhido: as 6 ficam empilhadas e só a ativa aparece. */
.setores-imagem {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}
.segment-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .45s ease;
}
.segment-image.is-active { opacity: 1; }
@media (min-width: 900px) {
  .setores-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
  .setores-imagem { aspect-ratio: 1 / 1; }
  /* Seis setores em duas linhas de três. */
  .setores-grid .segment-tabs { display: grid; grid-template-columns: repeat(3, max-content); }
}
.segment-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.segment-tab {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.segment-tab:hover { border-color: var(--green); color: var(--green); }
.segment-tab.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.segment-tab:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.segment-panel-priority {
  font-size: 1.1rem;
  color: var(--ink);
  max-width: 640px;
  margin-bottom: 28px;
}
.segment-panel-priority strong { color: var(--green); }

.segment-solutions-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 30px;
  max-width: 480px;
}
@media (min-width: 640px) {
  .segment-solutions-list { grid-template-columns: repeat(2, 1fr); }
}
.segment-solutions-list li {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
}
.segment-solutions-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
  background: var(--dark-bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(9, 27, 17, 0.94) 0%, rgba(9, 27, 17, 0.86) 40%, rgba(9, 27, 17, 0.55) 65%, rgba(9, 27, 17, 0.15) 100%);
}
@media (max-width: 899px) {
  .hero-bg {
    height: 46vh;
    min-height: 280px;
    max-height: 420px;
    object-position: center 30%;
  }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(9, 27, 17, 0.35) 0%, rgba(9, 27, 17, 0.85) 38%, var(--dark-bg) 58%, var(--dark-bg) 100%);
  }
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
}
/* No desktop o texto fica alinhado à esquerda, na linha do logo, deixando o
   toalheiro do vídeo livre à direita. */
@media (min-width: 900px) {
  .hero { padding-top: 90px; }
  .hero-inner { max-width: var(--wrap); }
  .hero-inner > * { max-width: 580px; }
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184, 134, 46, 0.4);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.2rem, 7vw, 3.8rem);
  margin-bottom: 24px;
  color: var(--on-dark);
}
.hero-lede {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--on-dark-muted);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
/* Ação principal preenchida em dourado; a secundária só com contorno. */
.hero .btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.hero .btn-primary:hover {
  background: #cf9a3d;
  border-color: #cf9a3d;
  color: var(--ink);
}
.hero .btn-ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(247, 245, 239, 0.35);
}
.hero .btn-ghost:hover {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 540px;
  border-top: 1px solid var(--dark-border);
  padding-top: 28px;
}
.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
}
.hero-stats dd { margin: 4px 0 0; font-size: 0.82rem; color: var(--on-dark-muted); }

.quem-somos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
.quem-somos-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 24px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
  margin: 0;
}
.quem-somos-stats dt {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--green);
}
.quem-somos-stats dd { margin: 6px 0 0; font-size: 0.9rem; line-height: 1.45; color: var(--muted); }
@media (min-width: 900px) {
  .quem-somos-stats { grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; }
  .quem-somos-stats > div { padding: 0 24px; border-left: 1px solid var(--border); }
  .quem-somos-stats > div:first-child { padding-left: 0; border-left: none; }
  .quem-somos-stats dt { font-size: 2rem; }
}

.quem-somos-estoque {
  display: none;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--border);
}
@media (min-width: 900px) {
  .quem-somos-grid { grid-template-columns: 1.1fr 0.9fr; }
  .quem-somos-estoque { display: block; }
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}
.hero-glow--3 { width: 420px; height: 420px; background: rgba(184, 134, 46, 0.14); top: -100px; left: 50%; transform: translateX(-50%); }
.hero-glow--4 { width: 420px; height: 420px; background: rgba(0, 160, 90, 0.18); bottom: -160px; right: -100px; }

/* ============ Linhas de produtos ============ */
.linhas-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}
.linhas-header h2 { max-width: 620px; margin-bottom: 0; color: var(--on-dark); }

.tier-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tier-header { position: relative; padding: 22px 20px 48px; color: #fff; }
/* Curvas inspiradas na embalagem OptiPaper, de ponta a ponta do card: a faixa colorida do topo
   termina em curva (mais alta à esquerda) e outra faixa curva, da mesma cor, fecha a base. */
.tier-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 30px;
  background: var(--surface);
  border-top-left-radius: 100% 100%;
}
.tier-card:has(.tier-header--ultra) { --tier-cor: #1e2a6e; }
.tier-card:has(.tier-header--prime) { --tier-cor: #39abe0; }
.tier-card:has(.tier-header--basic) { --tier-cor: #f4801f; }
.tier-card:has(.tier-header--starter) { --tier-cor: #7b2d82; }
.tier-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 18px;
  background: var(--tier-cor, transparent);
  border-top-left-radius: 100% 100%;
}
.tier-header h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.tier-header p { font-size: 0.82rem; opacity: 0.9; }
.tier-header--starter { background: #7b2d82; }
.tier-header--basic { background: #f4801f; }
.tier-header--prime { background: #39abe0; }
.tier-header--ultra { background: #1e2a6e; }
.tier-body {
  padding: 8px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.tier-desc { color: var(--muted); font-size: 0.9rem; }
.tier-image { display: block; width: 100%; height: 150px; margin: 0 auto; object-fit: contain; }
.tier-divider { border: none; border-top: 1px solid var(--border); margin: 0; }
.tier-products-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.tier-products { display: flex; flex-direction: column; gap: 8px; margin-top: -6px; }
.tier-products li {
  font-size: 0.88rem;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
}
.tier-products li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ============ Problema / compare ============ */
.compare {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
}
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-col {
  border-radius: var(--radius);
  padding: 28px 26px;
}
.compare-col--perceived { background: var(--surface); border: 1px dashed var(--border); }
.compare-col--real { background: var(--dark-bg); color: var(--on-dark); }
.compare-col h3 { font-size: 1.1rem; margin-bottom: 16px; }
.compare-col--perceived h3 { color: var(--muted); }
.compare-col--real h3 { color: var(--gold); }
.compare-col li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(16, 20, 15, 0.08);
  font-size: 0.95rem;
}
.compare-col--real li { border-bottom-color: rgba(247, 245, 239, 0.1); }
.compare-col li:last-child { border-bottom: none; }
.callout {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  max-width: 780px;
  color: var(--ink);
}

/* ============ Método (ciclo) ============ */
.method-inner { position: relative; z-index: 2; }

.method-panel {
  max-width: 1080px;
  margin: 40px auto 0;
  background: rgba(247, 245, 239, 0.04);
  border: 1px solid var(--dark-border);
  border-radius: calc(var(--radius) + 6px);
  padding: 32px 22px;
}

.method-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.method-card {
  background: rgba(247, 245, 239, 0.05);
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  padding: 22px 20px;
}
.method-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.method-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--on-dark);
  margin-bottom: 6px;
}
.method-card p { color: var(--on-dark-muted); font-size: 0.88rem; }

.method-outcome-arrow {
  display: flex;
  justify-content: center;
  color: var(--gold);
  margin: 18px 0;
}
.method-outcome-arrow svg { width: 20px; height: 20px; }

.method-center {
  max-width: 320px;
  margin: 0 auto;
  background: rgba(184, 134, 46, 0.08);
  border: 1px solid rgba(184, 134, 46, 0.35);
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
}
.method-center-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.method-center-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--on-dark);
  line-height: 1.3;
}

.method-loop-note {
  margin: 24px auto 0;
  max-width: 620px;
  text-align: center;
  color: var(--on-dark-muted);
  font-size: 0.9rem;
}

@media (min-width: 860px) {
  .method-steps {
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
  }
  .method-card { flex: 1; }
}

/* ============ Blog ============ */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .25s ease, border-color .25s ease;
}
.blog-card-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s ease; }
/* O corpo fica por cima da foto quando ela aproxima no hover (mesmo efeito do Portfólio). */
.blog-card-body { position: relative; background: var(--surface); display: flex; flex-direction: column; gap: 14px; padding: 26px; flex: 1; }
@media (hover: hover) {
  .blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px -18px rgba(14, 43, 26, 0.45);
    border-color: rgba(0, 80, 31, 0.45);
  }
  .blog-card:hover .blog-card-image { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .blog-card:hover, .blog-card:hover .blog-card-image { transform: none; }
}
.blog-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
}
.blog-card h3 { font-size: 1.05rem; color: var(--ink); }
.blog-link { color: var(--green); font-weight: 700; font-size: 0.9rem; margin-top: auto; }
.blog-more { margin-top: 30px; }
.blog-more a { color: var(--green); font-weight: 700; }

/* ============ Dúvidas frequentes ============ */
.duvidas-inner { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .duvidas-inner { grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
}
.duvidas-lista { border-top: 1px solid var(--border); }
.duvida { border-bottom: 1px solid var(--border); }
.duvida summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 18px 0;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
}
.duvida summary::-webkit-details-marker { display: none; }
.duvida summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--green);
  transition: transform .2s ease;
}
.duvida[open] summary::after { transform: rotate(45deg); }
.duvida summary:hover { color: var(--green); }
.duvida summary:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.duvida p { color: var(--muted); font-size: 0.97rem; line-height: 1.6; padding: 0 32px 20px 0; }

/* ============ Contato ============ */
.contact-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 44px;
}
/* Sem isso, a opção mais longa do <select> alarga a coluna além da tela no celular. */
.contact-inner > * { min-width: 0; }
.contact-copy h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 18px; }
/* Só no desktop: preenche o vazio ao lado do formulário. No celular é uma coluna só. */
.contact-copy-image {
  display: none;
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  margin-top: 32px;
}
@media (min-width: 900px) {
  .contact-inner { grid-template-columns: 1fr 1fr; align-items: start; }
  /* A coluna do texto estica até a altura do formulário e a foto ocupa o resto,
     pra terminar alinhada com a base do quadro de envio. */
  .contact-copy { align-self: stretch; display: flex; flex-direction: column; }
  .contact-copy-image { display: block; max-width: none; flex: 1 1 0; min-height: 240px; aspect-ratio: auto; margin-top: 0; }
}
.contact-form {
  background: rgba(247, 245, 239, 0.05);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row--split { flex-direction: row; gap: 14px; }
.form-row--split > div { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.contact-form label { font-size: 0.85rem; color: var(--on-dark-muted); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg-soft);
  border: 1px solid rgba(0, 80, 31, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form-note { font-size: 0.8rem; color: var(--on-dark-muted); text-align: center; }
/* Campo que o visitante precisa corrigir e a mensagem que explica o quê. */
.contact-form [aria-invalid="true"] { border-color: #e8795a; box-shadow: 0 0 0 3px rgba(232, 121, 90, 0.35); }
.form-note.is-erro { color: #ffb8a3; font-size: 0.9rem; font-weight: 600; }
.form-check { display: flex; align-items: flex-start; gap: 10px; }
.contact-form .form-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--green);
}
.contact-form .form-check label { line-height: 1.45; cursor: pointer; }

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 520px) {
  .form-row--split { flex-direction: column; }
}

/* ============ Footer ============ */
/* Rodapé "A2" aprovado em 01/10: marca + Navegação + Fale com a gente, com
   razão social/CNPJ e Política de privacidade na linha de baixo. */
.site-footer { background: var(--bg-soft); border-top: 4px solid var(--green); padding-top: 56px; color: #3f4943; }
.footer-inner {
  display: grid;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1.6fr 1fr 1.3fr; gap: 48px; }
}
@media (min-width: 1100px) {
  .footer-inner { gap: 64px; }
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-tagline { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.3; color: var(--ink); max-width: 300px; }
.footer-area { margin: 0; font-size: 0.92rem; line-height: 1.5; max-width: 300px; }
.footer-social {
  width: 44px;
  height: 44px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.footer-social:hover { background: var(--green-dark); }
.footer-social { color: #fff; }
.footer-social svg { width: 20px; height: 20px; }
.footer-title { margin: 0 0 6px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.footer-nav { display: flex; flex-direction: column; gap: 11px; font-size: 0.92rem; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; font-size: 0.92rem; }
.footer-nav a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: var(--green); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact-item svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; color: var(--green); }
.footer-contact-item span, .footer-contact-item a { line-height: 1.45; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  padding: 20px;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-bottom p { margin: 0; }
/* Até a largura em que o conteúdo já termina antes do botão fixo do WhatsApp. */
@media (max-width: 1379px) {
  .footer-bottom { padding-right: 84px; }
}
.footer-bottom a { font-weight: 600; }
/* No celular: links em duas colunas, área de toque de 44px e a linha de baixo
   livre do botão fixo do WhatsApp. */
@media (max-width: 759px) {
  .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 0; }
  .footer-nav .footer-title { grid-column: 1 / -1; margin-bottom: 8px; }
  .footer-nav a { min-height: 40px; display: flex; align-items: center; }
  .footer-contact { gap: 4px; }
  .footer-contact .footer-title { margin-bottom: 8px; }
  .footer-contact-item { min-height: 44px; align-items: center; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; padding-right: 84px; padding-bottom: 28px; }
}

/* ============ WhatsApp float ============ */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(16, 20, 15, 0.28);
  z-index: 150;
  transition: transform 0.15s ease, background 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); background: #1fb959; }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
/* No celular os números do topo terminam antes do botão do WhatsApp, que fica
   fixo no canto e cobria o texto "investimento inicial em comodato". */
@media (max-width: 899px) {
  .hero-stats { padding-right: 64px; }
}
@media (max-width: 520px) {
  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ============ Blog listing ============ */
.blog-hero { padding: 150px 0 60px; background: var(--bg); }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.breadcrumb a { color: var(--green); font-weight: 700; }
.blog-index-grid { margin-top: 40px; }

/* ============ Article page ============ */
.article-hero { padding: 150px 0 40px; background: var(--bg); }
.article-hero-inner { max-width: 760px; margin: 0 auto; }
.article-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); margin: 14px 0 18px; }
.article-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 0.88rem; }
.article-meta span:not(:last-child)::after { content: "·"; margin-left: 14px; color: var(--border); }

.article-featured-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 520px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0 auto 40px;
}
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 90px;
}
.article-body h2 {
  font-size: 1.5rem;
  margin: 2.2em 0 0.7em;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.3em;
}
.article-body ul {
  margin: 0 0 1.3em;
  padding-left: 0;
}
.article-body ul li {
  color: var(--muted);
  font-size: 1.05rem;
  padding-left: 28px;
  position: relative;
  margin-bottom: 0.6em;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.article-callout {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  background: var(--bg-soft);
  border-left: 3px solid var(--green);
  border-radius: 10px;
  padding: 24px 26px;
  margin: 2em 0;
}
.article-cta {
  background: var(--dark-bg);
  color: var(--on-dark);
  border-radius: var(--radius);
  padding: 36px 32px;
  margin-top: 3em;
  text-align: center;
}
.article-cta h3 { color: var(--on-dark); font-size: 1.3rem; margin-bottom: 10px; }
.article-cta p { color: var(--on-dark-muted); margin-bottom: 22px; }

/* Cartões de ficha técnica nos artigos do blog (foto do produto, dados da ficha e o PDF). */
.fichas-grid { display: grid; gap: 18px; margin: 1.4em 0 1.6em; }
@media (min-width: 640px) { .fichas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ficha-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.ficha-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-bottom: 1px solid var(--border); }
.ficha-card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.ficha-card-body h3 { font-size: 1.08rem; line-height: 1.3; margin: 0; }
.ficha-specs { margin: 0 0 4px; display: grid; gap: 6px; font-size: 0.9rem; }
.ficha-specs div { display: grid; grid-template-columns: 128px 1fr; gap: 10px; }
.ficha-specs dt { color: var(--muted-soft); }
.ficha-specs dd { margin: 0; color: var(--ink); }
.ficha-download { margin-top: auto; align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; }

.related-posts { background: var(--bg-soft); padding: 70px 0 90px; }
.related-posts h2 { font-size: 1.4rem; margin-bottom: 24px; }

/* ============ Privacy policy table ============ */
.tabela-rolavel { overflow-x: auto; margin: 0 0 1.3em; }
/* A tabela tem 480px de largura mínima: abaixo disso ela rola para o lado. */
.article-body .tabela-dica { display: none; font-size: 0.85rem; color: var(--green); font-weight: 600; margin-bottom: 0.6em; }
@media (max-width: 519px) { .article-body .tabela-dica { display: block; } }
.privacy-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 0.95rem; }
.privacy-table th, .privacy-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--muted); }
.privacy-table th { color: var(--ink); font-weight: 700; }

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .grid-solutions .solution-card.is-visible { animation: none; }
  .grid-solutions .solution-card.is-visible:hover,
  .grid-solutions .solution-card:hover .solution-image { transform: none; }
}
