/* =========================================================================
   SHELL DAS PÁGINAS INTERNAS — cabeçalho, rodapé e ritmo vertical comuns
   a /plantas, /contato, /preco-a-vista e /definir-precos.
   Usa os mesmos tokens da home (/exatta/styles.css).
   ========================================================================= */

.pagina-interna {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(30, 125, 203, 0.16), transparent 70%),
    radial-gradient(700px 420px at 92% 4%, rgba(242, 107, 33, 0.12), transparent 70%),
    var(--bg);
  color: var(--text-on-dark);
  font-family: var(--font-body);
}

.pagina-interna > main { flex: 1 1 auto; }

/* ---------- Cabeçalho ---------- */
.shell-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--marinho-deep) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-glass);
}

.shell-header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.shell-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  transition: opacity 0.25s var(--ease);
}
.shell-brand:hover { opacity: 0.85; }
.shell-brand img { height: 34px; width: auto; flex-shrink: 0; }
.shell-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: #fff;
  white-space: nowrap;
}

.shell-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.shell-nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-on-dark-muted);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.shell-nav a:hover { color: #fff; background: var(--surface-glass); }
.shell-nav a.is-ativo { color: #fff; background: var(--surface-glass-strong); }

.shell-nav .btn {
  padding: 11px 20px;
  font-size: 0.9rem;
  margin-left: 6px;
}

.shell-nav-links { display: none; }
@media (min-width: 760px) {
  .shell-nav-links { display: flex; gap: 4px; }
}

/* ---------- Cabeçalho da página ---------- */
.shell-main {
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
  padding: clamp(28px, 5vw, 56px) 24px clamp(56px, 8vw, 96px);
}

.shell-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 18px;
}
.shell-breadcrumb a {
  color: var(--text-on-dark-muted);
  transition: color 0.2s var(--ease);
}
.shell-breadcrumb a:hover { color: var(--laranja-claro); }
.shell-breadcrumb [aria-hidden="true"] { opacity: 0.45; }

/* ---------- Rodapé ---------- */
.shell-footer {
  border-top: 1px solid var(--border-glass);
  background: color-mix(in srgb, var(--marinho-deep) 88%, #000);
  padding-block: clamp(36px, 6vw, 56px);
}

.shell-footer-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .shell-footer-inner { grid-template-columns: 1.3fr 1fr 1fr; }
}

.shell-footer img { height: 40px; width: auto; margin-bottom: 16px; }
.shell-footer h4 {
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--laranja-claro);
  margin-bottom: 14px;
  font-weight: 700;
}
.shell-footer p,
.shell-footer li {
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}
.shell-footer ul { display: grid; gap: 8px; }
.shell-footer a { transition: color 0.2s var(--ease); }
.shell-footer a:hover { color: var(--laranja-claro); }

.shell-footer-bottom {
  max-width: var(--container);
  margin: 28px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid var(--border-glass);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
}

/* ---------- Entrada suave do conteúdo ---------- */
@media (prefers-reduced-motion: no-preference) {
  .shell-main > * { animation: shellFade 0.5s var(--ease) both; }
  .shell-main > *:nth-child(2) { animation-delay: 0.05s; }
  .shell-main > *:nth-child(3) { animation-delay: 0.1s; }
  .shell-main > *:nth-child(4) { animation-delay: 0.15s; }
}
@keyframes shellFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Compatibilidade com o layout de contato dentro do shell ---------- */
.shell-main .contato-page {
  min-height: 0;
  background: none;
  padding-block: 0;
}
.shell-main .contato-grid,
.shell-main .contato-wrap {
  max-width: none;
  margin: 0;
  padding-inline: 0;
}
.shell-main .contato-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 12px;
}

/* Campos de moeda em tema escuro (ferramenta de preços) */
.shell-main .campo-moeda {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-glass);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.shell-main .campo-moeda:focus-within {
  border-color: var(--laranja);
  box-shadow: 0 0 0 3px rgba(242, 107, 33, 0.18);
}
.shell-main .campo-moeda > span { color: var(--text-on-dark-muted); }
.shell-main .campo-moeda input { color: var(--text-on-dark); }
.shell-main .campo-hint { color: var(--text-on-dark-muted); }
.shell-main .campo-erro { color: #FFB4A2; }
.shell-main .preco-nota { color: var(--laranja-claro); }
.shell-main .campo { margin-bottom: 18px; }
.shell-main .campo > label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Ferramenta interna de preços — cartões e ritmo consistentes */
.shell-main .contato-wrap { max-width: 780px; }
.shell-main .contato-form,
.shell-main .contato-box {
  display: block;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  margin-top: 24px;
  box-shadow: var(--shadow-card);
}
.shell-main .contato-box h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 12px;
}
.shell-main .contato-box h3 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--laranja-claro);
  margin: 20px 0 8px;
}
.shell-main .contato-box p { color: var(--text-on-dark-muted); margin: 0 0 8px; }
.shell-main .btn-outline {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-on-dark);
  margin-top: 16px;
}
.shell-main .btn-outline:hover { background: var(--surface-glass-strong); }
.shell-main .preco-snippet {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-glass);
  color: var(--text-on-dark);
}
