/* =====================================================================
   Way Pisos e Revestimentos — Folha de estilo principal
   Tema: Corporativo claro (inspirado em rfpisos.com.br)
   Autor: site institucional (HTML + CSS + JS puro)
   ===================================================================== */

/* ---------- 1. Variáveis de tema (claro, minimalista) ---------- */
:root {
  /* Fundos */
  --bg-0: #ffffff;   /* fundo da página */
  --bg-1: #f4f5f7;   /* seções alternadas (cinza claro) */
  --bg-2: #ffffff;   /* cards, formulário, header sólido */
  --bg-3: #e9ebee;   /* listras dos placeholders */

  /* Texto */
  --text: #17191d;
  --text-dim: #565d68;
  --text-mute: #8b929c;

  /* Destaques (cores da logo) */
  --red: #e30613;
  --red-dark: #b70410;
  --blue: #0077c8;
  --blue-dark: #005a99;

  /* Apoio */
  --border: #e4e6ea;
  --whatsapp: #25d366;
  --whatsapp-dark: #1fbf5b;

  /* Tipografia */
  --font-display: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Medidas */
  --header-h: 112px;
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --transition: 0.2s ease;

  --shadow-card: 0 10px 26px -14px rgba(17, 19, 23, 0.14);
  --shadow-red: 0 0 0 1px var(--red), 0 16px 36px -18px rgba(227, 6, 19, 0.26);
}

/* ---------- 2. Reset básico ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-0);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---------- 3. Utilitários de layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 64px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-head p {
  margin-top: 16px;
  color: var(--text-dim);
}

.text-blue { color: var(--blue); }
.text-red { color: var(--red); }

/* ---------- 4. Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition), background-color var(--transition),
    border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background-color: var(--red);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(227, 6, 19, 0.6);
}
.btn-primary:hover { background-color: var(--red-dark); }

.btn-secondary {
  background-color: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-secondary:hover {
  border-color: var(--blue);
  background-color: rgba(0, 119, 200, 0.08);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #052e16;
}
.btn-whatsapp:hover { background-color: var(--whatsapp-dark); }

.btn-block { width: 100%; }

/* ---------- 5. Cabeçalho ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: background-color var(--transition), border-color var(--transition),
    box-shadow var(--transition);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 20px -12px rgba(20, 33, 61, 0.16);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo img {
  height: 82px;
  width: auto;
  /* a logo já vem com fundo escuro texturizado — arredondamos as bordas para
     ela virar um "chip" sobre o header claro */
  border-radius: 12px;
  box-shadow: 0 4px 16px -6px rgba(20, 33, 61, 0.32);
}
/* Fallback textual caso a imagem da logo não carregue */
.logo__text {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.logo__text .w { color: var(--red); }
.logo__text small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Navegação */
.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 6px 0;
  transition: color var(--transition);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--red);
  transition: width var(--transition);
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
}
.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

/* Botão hambúrguer */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background-color: var(--text);
  transform: translateX(-50%);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.is-open span { background-color: transparent; }
.nav-toggle.is-open span::before { transform: translateX(-50%) rotate(45deg); top: 0; }
.nav-toggle.is-open span::after { transform: translateX(-50%) rotate(-45deg); top: 0; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 100px;
  overflow: hidden;
  background:
    radial-gradient(620px circle at 12% 0%, rgba(227, 6, 19, 0.08), transparent 55%),
    radial-gradient(720px circle at 92% 18%, rgba(0, 119, 200, 0.10), transparent 55%),
    var(--bg-0);
}
.hero__inner {
  max-width: 760px;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero p {
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  color: var(--text-dim);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat b {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.stat span {
  font-size: 0.85rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- 7. Grades de cards ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background-color: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform var(--transition), border-color var(--transition),
    box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 6, 19, 0.5);
  box-shadow: var(--shadow-card);
}
.card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.18), rgba(0, 119, 200, 0.18));
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.card p {
  color: var(--text-dim);
  font-size: 0.95rem;
}
.card ul.card__list {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}
.card ul.card__list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.card ul.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--red);
}
.card__cta {
  margin-top: 24px;
}

/* Card com faixa de destaque azul */
.card--blue:hover {
  border-color: rgba(0, 119, 200, 0.6);
}
.card--blue .card__icon {
  background: linear-gradient(135deg, rgba(0, 119, 200, 0.22), rgba(0, 119, 200, 0.05));
}
.card--blue ul.card__list li::before { background-color: var(--blue); }

/* ---------- 8. Faixa CTA ---------- */
.cta-band {
  background:
    radial-gradient(520px circle at 18% 50%, rgba(227, 6, 19, 0.09), transparent 60%),
    radial-gradient(520px circle at 82% 50%, rgba(0, 119, 200, 0.11), transparent 60%),
    var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.cta-band p {
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ---------- 9. Página: cabeçalho interno ---------- */
.page-hero {
  padding: calc(var(--header-h) + 70px) 0 60px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(500px circle at 85% 0%, rgba(0, 119, 200, 0.12), transparent 60%),
    var(--bg-1);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
}
.page-hero p {
  margin-top: 14px;
  color: var(--text-dim);
  max-width: 620px;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-mute);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--text); }

/* ---------- 10. Catálogo de produtos ---------- */
.catalog-group { margin-bottom: 72px; }
.catalog-group:last-child { margin-bottom: 0; }
.catalog-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.catalog-group__head h2 {
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  letter-spacing: -0.02em;
}
.catalog-group__head span {
  color: var(--text-mute);
  font-size: 0.9rem;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  margin: 0 6px 6px 0;
}

/* Subseção dentro de um grupo de catálogo (ex: Linha Residencial) */
.subsection { margin-top: 8px; }
.subsection__title {
  font-size: clamp(1.15rem, 2.6vw, 1.35rem);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.subsection__lead {
  color: var(--text-dim);
  max-width: 720px;
  margin-bottom: 26px;
  font-size: 0.95rem;
}

/* Abas (tabs) */
.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  background-color: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 30px;
  max-width: 100%;
}
.tab {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dim);
  background: transparent;
  padding: 9px 22px;
  border-radius: 999px;
  transition: background-color var(--transition), color var(--transition);
}
.tab:hover { color: var(--text); }
.tab.is-active {
  color: #fff;
  background-color: var(--blue);
}
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fade-in 0.25s ease; }

/* Seta animada apontando para as abas de marcas */
.tabs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 30px;
}
.tabs-row .tabs { margin-bottom: 0; }
.tabs-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 700;
  font-size: 1.1rem;
  margin-left: 66px; /* começa mais longe para não cobrir as abas no fim do movimento */
  white-space: nowrap;
  animation:
    tabs-hint-nudge 1.1s ease-in-out infinite,
    tabs-hint-blink 1.2s steps(1) infinite;
}
.tabs-hint__arrow {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}
@keyframes tabs-hint-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-84px); }
}
/* Pisca alternando cores: vermelho, azul, amarelo, verde */
@keyframes tabs-hint-blink {
  0%   { color: var(--red); }
  25%  { color: var(--blue); }
  50%  { color: #f5b800; }
  75%  { color: #1fa34a; }
}
/* Em telas estreitas a dica cai para baixo das abas: seta aponta para cima */
@media (max-width: 640px) {
  .tabs-hint { animation-name: tabs-hint-nudge-up, tabs-hint-blink; margin-left: 0; margin-top: 40px; }
  .tabs-hint__arrow { width: 44px; height: 44px; }
  .tabs-hint__arrow { transform: rotate(90deg); }
  @keyframes tabs-hint-nudge-up {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-48px); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .tabs-hint { animation: none; }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Lista de produtos com ficha técnica (Linha Residencial) */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(430px, 100%), 1fr));
  gap: 24px;
}
.product-card {
  background-color: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  border-color: rgba(0, 119, 200, 0.5);
  box-shadow: var(--shadow-card);
}
.product-card__photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) - 6px);
  background-color: #fff;
  object-fit: contain;
  object-position: center;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.product-card__head h4 {
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.product-card__desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 10px;
}

/* Selos de característica */
.badge {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background-color: rgba(0, 119, 200, 0.10);
  border: 1px solid rgba(0, 119, 200, 0.35);
  color: var(--blue);
  white-space: nowrap;
}
.badge--new {
  background-color: rgba(227, 6, 19, 0.10);
  border-color: rgba(227, 6, 19, 0.4);
  color: var(--red);
}

/* Ficha técnica */
.spec-list {
  margin: 20px 0 22px;
  border-top: 1px solid var(--border);
}
.spec-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.86rem;
}
.spec-list dt { color: var(--text-mute); }
.spec-list dd { color: var(--text); text-align: right; font-weight: 500; }

/* Padrões (placeholders prontos para receber fotos) */
.swatches { margin-bottom: 22px; }
.swatches__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 12px;
}
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
}
.swatch {
  margin: 0;
  font-size: 0.74rem;
  color: var(--text-dim);
}
/* funciona tanto para <span class="swatch__img"> (placeholder) quanto para
   <img class="swatch__img"> quando as fotos forem adicionadas */
.swatch__img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 6px;
  background: repeating-linear-gradient(
    45deg,
    var(--bg-3),
    var(--bg-3) 6px,
    var(--bg-1) 6px,
    var(--bg-1) 12px
  );
}
.swatch figcaption { text-align: center; line-height: 1.3; }
.product-card > .btn { margin-top: auto; }

@media (max-width: 520px) {
  .product-list { grid-template-columns: 1fr; }
  .swatch-grid { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
}

/* ---------- 11. Galeria ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: repeating-linear-gradient(
    45deg,
    var(--bg-2),
    var(--bg-2) 12px,
    var(--bg-1) 12px,
    var(--bg-1) 24px
  );
  color: var(--text-mute);
  transition: border-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.gallery-item:hover img { transform: scale(1.05); }
/* placeholder textual (onde ainda não há foto) */
.gallery-item > span {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}
.gallery-item > span b {
  color: var(--text-dim);
  font-size: 1rem;
  margin-bottom: 4px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(10, 12, 16, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}
.lightbox__btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  line-height: 1;
  transition: background-color var(--transition);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox__close { top: 18px; right: 20px; width: 44px; height: 44px; font-size: 1.5rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 1.6rem; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
@media (max-width: 620px) {
  .lightbox__nav { display: none; }
}

/* ---------- 12. Sobre ---------- */
.about-lead {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--text);
  max-width: 760px;
}
.about-text p {
  color: var(--text-dim);
  margin-top: 18px;
  max-width: 760px;
}

/* ---------- 13. Contato ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.info-list { display: grid; gap: 22px; }
.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-item .card__icon { margin-bottom: 0; flex-shrink: 0; }
.info-item b { display: block; margin-bottom: 2px; }
.info-item span { color: var(--text-dim); font-size: 0.95rem; }

.form {
  background-color: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dim);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  background-color: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 119, 200, 0.18);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-hint {
  font-size: 0.82rem;
  color: var(--text-mute);
  margin-top: 14px;
  text-align: center;
}

/* ---------- 14. Rodapé ---------- */
.footer {
  background-color: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__brand .logo { margin-bottom: 16px; }
.footer__brand p {
  color: var(--text-dim);
  font-size: 0.92rem;
  max-width: 320px;
}
.footer h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a,
.footer__col li {
  color: var(--text-dim);
  font-size: 0.92rem;
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--red); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-mute);
  font-size: 0.85rem;
}

/* ---------- 15. Botão flutuante WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.55);
  animation: wa-pulse 2.4s infinite;
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- 16. Responsivo ---------- */
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 24px;
    margin-left: 0;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: 0 24px 40px -22px rgba(20, 33, 61, 0.22);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__links a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .nav__links a::after { display: none; }
  .nav .btn { margin-top: 18px; }
}

@media (max-width: 620px) {
  .section { padding: 68px 0; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 28px; }
  .card { padding: 26px; }
  .footer__bottom { flex-direction: column; }
}

/* =====================================================================
   17. HOME — layout inspirado em referência (hero 2 colunas, cartões
   flutuantes, barra de marcas, feature cards, promoções, faixa escura)
   ===================================================================== */

/* ---- Hero em 2 colunas ---- */
.home-hero {
  padding: calc(var(--header-h) + 70px) 0 90px;
  background:
    radial-gradient(640px circle at 8% 0%, rgba(0, 119, 200, 0.10), transparent 55%),
    radial-gradient(560px circle at 100% 100%, rgba(227, 6, 19, 0.06), transparent 55%),
    var(--bg-0);
}
.home-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.home-hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.home-hero .lead {
  font-size: clamp(1rem, 2.2vw, 1.16rem);
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 30px;
}
.home-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* moldura de imagem do hero (troque --hero-src por url('images/hero.jpg')) */
.hero-media {
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3.4;
  background-color: var(--bg-3);
  background-image:
    linear-gradient(180deg, rgba(20, 24, 32, 0.04), rgba(20, 24, 32, 0.14)),
    var(--hero-src, repeating-linear-gradient(115deg, #d9dde3, #d9dde3 26px, #cfd3da 26px, #cfd3da 52px));
  background-size: cover;
  background-position: center;
}

/* ---- Cartões flutuantes de contato rápido ---- */
.quick-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 760px;
  margin: -52px auto 6px;
  position: relative;
  z-index: 5;
}
.quick-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 3px solid var(--red);
}
.quick-card:nth-child(2) { border-top-color: var(--blue); }
.quick-card b { font-size: 1.02rem; }
.quick-card span { color: var(--text-dim); font-size: 0.88rem; flex: 1; }
.quick-card .btn { align-self: flex-start; }

/* ---- Barra de marcas ---- */
.brandbar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
  padding: 24px 0;
}
.brandbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 30px;
}
.brandbar__label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.brand-chip {
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
  color: var(--text);
  opacity: 0.72;
  transition: opacity var(--transition);
}
.brand-chip:hover { opacity: 1; }
.brand-chip i { font-style: normal; color: var(--blue); }

/* ---- Feature cards grandes ("Os Pisos") ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(0, 119, 200, 0.4);
}
.feature-card__media {
  aspect-ratio: 16 / 7.5;
  background-image:
    linear-gradient(135deg, rgba(227, 6, 19, 0.10), rgba(0, 119, 200, 0.12)),
    var(--card-src, repeating-linear-gradient(100deg, #dfe2e7, #dfe2e7 22px, #d5d9df 22px, #d5d9df 44px));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.feature-card__media .pill {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.feature-card__body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.feature-card__body h3 { font-size: 1.28rem; letter-spacing: -0.01em; }
.feature-card__body p { color: var(--text-dim); font-size: 0.94rem; flex: 1; }
.feature-card__body .btn { align-self: flex-start; }

/* ---- Promoções / destaques ---- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.promo-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.promo-card--blue { border-left-color: var(--blue); }
.promo-card__tag {
  align-self: flex-start;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.promo-card--blue .promo-card__tag { color: var(--blue); }
.promo-card h3 { font-size: 1.1rem; }
.promo-card p { color: var(--text-dim); font-size: 0.9rem; flex: 1; }
.promo-card__price { font-size: 0.88rem; color: var(--text-mute); }
.promo-card__price b { color: var(--text); font-size: 1.05rem; }

/* ---- Galeria (prévia na Home) ---- */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-preview .gallery-item { aspect-ratio: 1 / 1; }

/* ---- Faixa de contato escura (contraste dentro do tema claro) ---- */
.contact-dark {
  background:
    radial-gradient(600px circle at 15% 15%, rgba(0, 119, 200, 0.22), transparent 60%),
    radial-gradient(600px circle at 88% 95%, rgba(227, 6, 19, 0.18), transparent 60%),
    #14161b;
  color: #fff;
  border-top: 1px solid var(--border);
}
.contact-dark h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.contact-dark .sub {
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin-bottom: 34px;
}
.contact-dark__row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  margin-bottom: 34px;
}
.contact-dark__item { display: flex; gap: 12px; align-items: center; }
.contact-dark__item .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-dark__item b { display: block; font-size: 0.95rem; }
.contact-dark__item span { color: rgba(255, 255, 255, 0.62); font-size: 0.84rem; }
.contact-dark__item a { color: #fff; }

@media (max-width: 980px) {
  .home-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { aspect-ratio: 16 / 10; }
  .feature-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .gallery-preview { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --header-h: 88px; }
  .logo img { height: 60px; border-radius: 10px; }
}
@media (max-width: 620px) {
  .quick-cards { grid-template-columns: 1fr; margin-top: -30px; }
}

/* =====================================================================
   18. LAYOUT "LOJA" — inspirado em lojadepisovinilico.com.br
   Página em caixa, barra de contato no topo, menu escuro, títulos finos
   centralizados com sublinhado azul, rodapé cinza em duas colunas.
   ===================================================================== */
:root {
  --red: #d71f26;
  --red-dark: #b3161c;
  --blue: #2f86c4;
  --blue-dark: #1f6aa0;
  --dark: #2b2b2b;
  --footer-bg: #474c52;
  --text: #333;
  --text-dim: #666;
  --bg-1: #f5f6f7;
  --header-h: 0px;
  --radius: 3px;
  --radius-sm: 3px;
  --font-body: "Roboto", "Segoe UI", Arial, sans-serif;
  --font-display: "Roboto", "Segoe UI", Arial, sans-serif;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
}
html { background: #e9eaec; }
body {
  max-width: 1240px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
  font-size: 15px;
}
h1, h2, h3, h4 { font-family: var(--font-display); }
.btn { border-radius: var(--radius-sm); font-weight: 500; }
.btn-primary { box-shadow: none; }

/* ---- Barra de contato ---- */
.topbar {
  background: var(--red);
  color: #fff;
  font-size: 12.5px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  min-height: 38px;
}
.topbar__tag { align-self: center; }
.topbar__links { display: flex; }
.topbar__links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}
.topbar__links a:hover { background: rgba(0, 0, 0, 0.12); }
.topbar__links .topbar__phone {
  background: #fff;
  color: var(--dark);
  font-weight: 500;
}
.topbar__links .topbar__phone:hover { background: #f1f1f1; }

/* ---- Cabeçalho (estático) com menu escuro ---- */
.header,
.header.scrolled {
  position: relative;
  height: auto;
  padding: 14px 0;
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid #eee;
  box-shadow: none;
}
.header .container { justify-content: space-between; gap: 24px; }
.header .logo img { height: 64px; border-radius: 6px; box-shadow: none; }
.nav { background: var(--dark); gap: 0; }
.nav__links { gap: 0; }
.nav__links a {
  display: block;
  padding: 12px 15px;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
}
.nav__links a::after { display: none; }
.nav__links a:hover,
.nav__links a.active { background: #111; color: #fff; }
.nav .btn {
  border-radius: 0;
  padding: 12px 18px;
  font-size: 13px;
}
.nav .btn:hover { transform: none; }

/* ---- Títulos de seção: finos, centralizados, sublinhado azul ---- */
.section-head h2,
.ref-title h2 {
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: #444;
  letter-spacing: 0;
}
.ref-title { text-align: center; margin-bottom: 34px; }
.ref-title p { color: var(--blue); font-size: 13.5px; margin-top: 6px; }
.ref-title::after,
.section-head::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin: 16px auto 0;
  background: var(--blue);
}
.section-head { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { margin-left: auto; margin-right: auto; }

/* ---- Topo das páginas internas ---- */
.page-hero {
  padding: 46px 0 38px;
  background: var(--bg-1);
  border-bottom: 1px solid #e5e5e5;
}
.catalog-group__head h2 { font-weight: 400; color: #444; }
.page-hero h1 {
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #444;
  letter-spacing: 0;
}

/* ---- Banner da home ---- */
.banner {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background: #333;
  overflow: hidden;
}
.banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.6));
}
.banner__content { position: relative; z-index: 1; padding: 60px 20px; max-width: 760px; }
.banner h1 {
  font-weight: 300;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.15;
  letter-spacing: 0;
}
.banner h1, .banner p { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
.banner p { margin: 14px auto 28px; font-size: 1.05rem; opacity: 0.92; }
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 24px;
  border-radius: 999px;
  background: #3a3a3a;
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  transition: background-color var(--transition);
}
.btn-pill:hover { background: var(--red); }
.btn-pill b { font-size: 1.2em; line-height: 1; }

/* ---- Caixas de marcas com cantos coloridos ---- */
.brands { padding: 30px 0 46px; }
.brands__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.brand-box {
  position: relative;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #333;
  background: #fff;
}
.brand-box i { font-style: normal; color: var(--blue); }
.brand-box::before,
.brand-box::after {
  content: "";
  position: absolute;
  width: 45%;
  height: 100%;
  border: 0 solid rgba(215, 31, 38, 0.55);
}
.brand-box::before { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.brand-box::after { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }

/* ---- 3 colunas de produtos ---- */
.prod-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  border-top: 1px solid #e5e5e5;
  padding-top: 20px;
}
.prod-col h3 {
  font-weight: 400;
  font-size: 17px;
  color: #444;
  text-align: center;
  margin-bottom: 16px;
}
.prod-col a { display: block; overflow: hidden; }
.prod-col img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.prod-col a:hover img { transform: scale(1.04); }

.ref-text {
  border-top: 1px solid #e5e5e5;
  margin-top: 28px;
  padding-top: 24px;
  text-align: center;
}
.ref-text h3 { font-weight: 500; font-size: 17px; color: #222; margin-bottom: 18px; }
.ref-text p {
  font-size: 13.5px;
  color: var(--text-dim);
  max-width: 980px;
  margin: 0 auto 12px;
}

/* ---- Seção azul-clara "por que escolher" ---- */
.benefits {
  padding: 56px 0 64px;
  background-color: #e9f0f4;
  background-image:
    linear-gradient(rgba(47, 134, 196, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 134, 196, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.benefit-card {
  display: block;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition);
}
.benefit-card:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14); }
.benefit-card__media { position: relative; }
.benefit-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.benefit-card__plus {
  position: absolute;
  right: 14px;
  bottom: -15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  transition: background-color var(--transition);
}
.benefit-card:hover .benefit-card__plus { background: var(--red); }
.benefit-card__label {
  padding: 24px 14px 18px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #333;
}

/* ---- Obras em caixas com borda cinza ---- */
.works {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.works a { border: 4px solid #ddd; overflow: hidden; transition: border-color var(--transition); }
.works a:hover { border-color: var(--blue); }
.works img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---- Faixa de orçamento ---- */
.cta-strip { background: var(--dark); color: #fff; padding: 34px 0; }
.cta-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-strip h2 { font-weight: 300; font-size: 1.6rem; letter-spacing: 0; }
.cta-strip p { color: rgba(255, 255, 255, 0.7); font-size: 14px; margin-top: 4px; }

/* ---- Rodapé cinza em duas colunas ---- */
.footer {
  background: var(--footer-bg);
  color: #d5d8db;
  padding: 0;
  border-top: 0;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.footer__cols > div { padding: 44px 28px 36px; }
.footer__cols > div:first-child {
  position: relative;
  border-right: 1px solid var(--red);
}
.footer__cols > div:first-child::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}
.footer h4 {
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 22px;
}
.footer h4::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin-top: 10px;
  background: #fff;
}
.footer p { font-size: 13px; line-height: 1.7; margin-bottom: 30px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__inline { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; margin-bottom: 30px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 28px;
  text-align: center;
  font-size: 12px;
  color: #b5b9bd;
  display: block;
  margin: 0;
}

/* ---- Responsivo ---- */
@media (max-width: 980px) {
  .brands__row { grid-template-columns: repeat(3, 1fr); }
  .works { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .header { z-index: 50; }
  .nav {
    position: absolute;
    inset: 100% 0 auto 0;
    transform: none;
    display: none;
    padding: 0;
    background: var(--dark);
    border: 0;
  }
  .nav.is-open { display: flex; }
  .nav__links a { border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 14px 20px; }
  .nav .btn { margin: 0; }
  .topbar__tag { display: none; }
  .topbar .container { justify-content: center; }
  .prod-cols, .benefit-grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__cols > div:first-child { border-right: 0; border-bottom: 1px solid var(--red); }
  .footer__cols > div:first-child::after { display: none; }
}
@media (max-width: 520px) {
  .brands__row, .works { grid-template-columns: repeat(2, 1fr); }
  .topbar__links a { padding: 0 10px; }
  .topbar__links .topbar__mail { display: none; }
  .banner { min-height: 380px; }
}

/* ---------- 19. Autonivelante Protec (servicos.html) ---------- */
.section--alt {
  background-color: var(--bg-1);
  border-top: 1px solid var(--border);
}
.protec {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px;
  align-items: start;
}
.protec__pack {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.protec__pack img { width: 100%; height: auto; display: block; }
.protec__lead { color: var(--text-dim); margin-bottom: 22px; }
.protec__info .spec-list { margin-bottom: 6px; }
.protec__note { color: var(--text-mute); font-size: 0.82rem; margin-bottom: 22px; }
.protec__tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 8px;
}
.protec__tables h4 { font-size: 0.95rem; margin-bottom: 10px; }
.protec__table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 0.88rem;
}
.protec__table th,
.protec__table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.protec__table tr:last-child td { border-bottom: 0; }
.protec__table th { background: var(--blue); color: #fff; font-weight: 600; }
.protec__table td:last-child { font-weight: 600; color: var(--text); text-align: right; white-space: nowrap; }
.protec__nao {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 24px;
}
.protec__nao summary { cursor: pointer; font-weight: 600; }
.protec__nao .card__list { margin-top: 12px; }
.protec__photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.protec__photos figure { margin: 0; }
.protec__photos img {
  width: 100%;
  aspect-ratio: 3 / 4; /* fotos de obra em retrato */
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  box-shadow: var(--shadow-card);
}
.protec__photos figcaption { color: var(--text-dim); font-size: 0.88rem; margin-top: 10px; }
.photo-credits { color: var(--text-mute); font-size: 0.75rem; margin-top: 20px; }
.photo-credits a { text-decoration: underline; }
@media (max-width: 900px) {
  .protec { grid-template-columns: 1fr; gap: 28px; }
  .protec__pack { position: static; max-width: 420px; margin: 0 auto; }
  .protec__photos { grid-template-columns: 1fr; }
  .protec__photos figure { max-width: 380px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  .protec__tables { grid-template-columns: 1fr; }
}

/* ---------- 20. Mapa (contato.html) ---------- */
.map-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 4.9; /* altura reduzida 30% (era 16 / 7) */
  background: var(--bg-3);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) {
  .map-frame { aspect-ratio: 4 / 3.5; } /* era 4 / 5 */
}
