/* ============================================================
   MADRESILVA MÓVEIS — Catálogo (linha popular)
   Identidade: Navy #012D64 + Branco + textura de ondas
   Fontes: NewTitle (títulos) / Bricolage Grotesque (texto)
   ============================================================ */

/* ---------- Fontes ---------- */
@font-face {
  font-family: 'NewTitle';
  src: url('../fonts/NewTitle-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NewTitle';
  src: url('../fonts/NewTitle-Medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NewTitle';
  src: url('../fonts/NewTitle-Light.otf') format('opentype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage';
  src: url('../fonts/BricolageGrotesque-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage';
  src: url('../fonts/BricolageGrotesque-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage';
  src: url('../fonts/BricolageGrotesque-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage';
  src: url('../fonts/BricolageGrotesque-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Variáveis ---------- */
:root {
  --navy:        #012D64;
  --navy-700:    #022a5c;
  --navy-900:    #001a3d;
  --blue-soft:   #eef2f7;
  --blue-line:   #d7e0ec;
  --white:       #ffffff;
  --ink:         #14233b;
  --muted:       #5b6b82;
  --green-wa:    #25d366;
  --green-wa-d:  #1da851;
  --blue:        #1f6fd6;
  --blue-d:      #1657ab;
  --radius:      16px;
  --radius-sm:   10px;
  --shadow:      0 8px 30px rgba(1, 45, 100, 0.10);
  --shadow-sm:   0 4px 14px rgba(1, 45, 100, 0.08);
  --maxw:        1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Bricolage', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;     /* evita rolagem/borda lateral por overflow */
  width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'NewTitle', 'Bricolage', sans-serif; line-height: 1.1; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Bricolage', sans-serif; font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { flex: none; }  /* impede o ícone de encolher e sumir dentro do flex */
.btn-primary  { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-900); }
.btn-outline  { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light    { background: #fff; color: var(--navy); }
.btn-wa       { background: var(--green-wa); color: #fff; }
.btn-wa:hover { background: var(--green-wa-d); }
.btn-blue     { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-d); }
.btn-block    { width: 100%; justify-content: center; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  background-image: url('../img/textura.png');
  background-size: cover; background-position: center;
  box-shadow: 0 2px 18px rgba(1,45,100,.25);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 76px;
}
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: #dce6f4; font-weight: 500; font-size: .98rem; position: relative;
  padding: 6px 0; transition: color .2s;
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a.active::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: #fff; border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy);
  background-image: linear-gradient(180deg, rgba(1,45,100,.55), rgba(1,26,61,.85)), url('../img/textura.png');
  background-size: cover; background-position: center;
}
.hero .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; gap: 26px;
  padding-top: 80px; padding-bottom: 88px; text-align: center;
  align-items: center; justify-items: center;
}

/* Hero com vídeo de apresentação */
.hero-video { min-height: min(78vh, 720px); display: flex; align-items: center; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(1,45,100,.55), rgba(1,26,61,.9));
}

/* Cards de produtos flutuantes no hero (lançamentos) */
.hero-floats { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-float {
  position: absolute; display: block;
  width: clamp(120px, 12vw, 168px); aspect-ratio: 1 / 1;
  background: #fff; border-radius: 20px; padding: 6px;
  box-shadow: 0 22px 45px rgba(0, 10, 30, .38);
  --r: 0deg; transform: rotate(var(--r));
  animation: hero-floaty 6s ease-in-out infinite;
}
.hero-float img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.hf-1 { top: 16%;  left: 4%;   --r: -7deg; animation-duration: 6.5s; }
.hf-2 { bottom: 12%; left: 8%;  --r: 5deg;  animation-duration: 7.5s; animation-delay: .9s; }
.hf-3 { top: 22%;  right: 5%;   --r: 7deg;  animation-duration: 7s;   animation-delay: .4s; }
@keyframes hero-floaty {
  0%, 100% { transform: translateY(0) rotate(var(--r)); }
  50%      { transform: translateY(-18px) rotate(var(--r)); }
}
@media (max-width: 1180px) { .hf-1, .hf-2 { left: 1%; } .hf-3 { right: 1%; } }
@media (max-width: 980px)  { .hero-floats { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-float { animation: none; } }
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: 7px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  letter-spacing: .5px; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.9rem, 7.5vw, 5rem); font-weight: 700; max-width: 15ch;
  letter-spacing: -.5px; line-height: 1.02;
}
.hero p { font-size: clamp(1.05rem, 2.4vw, 1.4rem); max-width: 50ch; color: #d7e2f2; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* faixa de selos abaixo do hero */
.trust {
  background: var(--navy-900); color: #cdd9ec;
}
.trust .container {
  display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center;
  padding: 16px 22px; font-size: .92rem;
}
.trust span { display: inline-flex; align-items: center; gap: 9px; }
.trust svg { flex: none; }

/* ============================================================
   SEÇÕES GENÉRICAS
   ============================================================ */
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head .eyebrow {
  color: var(--navy); font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  font-size: .8rem; display: block; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); color: var(--navy); }
.section-head p { color: var(--muted); margin-top: 12px; }

/* ---------- Categorias (chips de filtro) ---------- */
.cat-filter {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 38px;
}
.cat-filter a {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--blue-line);
  font-weight: 500; font-size: .92rem; color: var(--navy);
  transition: all .18s ease; background: #fff;
}
.cat-filter a:hover { border-color: var(--navy); }
.cat-filter a.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Grade de categorias (cards de seção) ---------- */
.cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px;
}
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--navy); color: #fff; min-height: 150px; display: flex;
  align-items: flex-end; padding: 20px;
  background-image: linear-gradient(180deg, rgba(1,45,100,.35), rgba(1,26,61,.92)), url('../img/textura.png');
  background-size: cover; background-position: center;
  box-shadow: var(--shadow-sm); transition: transform .2s ease;
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card h3 { font-size: 1.25rem; }
.cat-card small { display: block; color: #c9d6ea; font-weight: 400; margin-top: 4px; font-family: 'Bricolage'; }

/* ---------- Grade de produtos ---------- */
.produtos-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 24px;
}
.card {
  background: #fff; border: 1px solid var(--blue-line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-media {
  position: relative; aspect-ratio: 1 / 1; background: var(--blue-soft); overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-tag {
  position: absolute; top: 12px; left: 12px; background: var(--navy); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.card-tag.promo { background: #e23744; }
.card-tag.novo  { background: #1f9d57; }
.card-tag.vendido { background: #c8861a; }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: .76rem; color: var(--navy); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.card-title { font-family: 'Bricolage'; font-weight: 600; font-size: 1.06rem; margin: 6px 0 10px; color: var(--ink); line-height: 1.3; }
.card-price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card-price .now { font-size: 1.25rem; font-weight: 700; color: var(--navy); font-family: 'Bricolage'; }
.card-price .old { font-size: .92rem; color: #98a4b6; text-decoration: line-through; }
.card-actions { display: flex; gap: 8px; margin-top: 14px; }
.card-actions .btn { padding: 10px 14px; font-size: .85rem; flex: 1; justify-content: center; }

/* estado vazio */
.empty {
  text-align: center; padding: 60px 20px; color: var(--muted);
  border: 1px dashed var(--blue-line); border-radius: var(--radius);
}

/* ============================================================
   FAIXA CTA (textura)
   ============================================================ */
.cta-band {
  color: #fff; text-align: center;
  background-image: linear-gradient(180deg, rgba(1,45,100,.6), rgba(1,26,61,.9)), url('../img/textura.png');
  background-size: cover; background-position: center;
}
.cta-band .container { padding: 64px 22px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-band h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); max-width: 18ch; }
.cta-band p { max-width: 50ch; color: #d7e2f2; }

/* ============================================================
   PÁGINA DE PRODUTO
   ============================================================ */
.breadcrumb { font-size: .88rem; color: var(--muted); padding: 22px 0 0; }
.breadcrumb a:hover { color: var(--navy); }
.produto-wrap {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; padding: 26px 0 64px;
}
.galeria-main {
  position: relative; aspect-ratio: 1/1; background: var(--blue-soft); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--blue-line); cursor: zoom-in;
}
.galeria-main img { width: 100%; height: 100%; object-fit: cover; }
.galeria-main .zoom-hint {
  position: absolute; bottom: 12px; right: 12px; background: rgba(1,26,61,.82); color: #fff;
  font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; display: flex;
  align-items: center; gap: 6px; pointer-events: none;
}

/* Lightbox (ampliar imagem) */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(1,16,40,.93);
  display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 96%; max-height: 92%; object-fit: contain; border-radius: 8px; box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.lightbox-close {
  position: absolute; top: 16px; right: 22px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.8rem; line-height: 44px;
  text-align: center; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }
.galeria-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.galeria-thumbs img {
  width: 76px; height: 76px; object-fit: cover; border-radius: 10px;
  border: 2px solid transparent; cursor: pointer; background: var(--blue-soft);
}
.galeria-thumbs img.active, .galeria-thumbs img:hover { border-color: var(--navy); }

.produto-info .cat { color: var(--navy); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; font-size: .8rem; }
.badge-novo, .badge-vendido { display:inline-block; margin-left:10px; color:#fff; font-size:.72rem; font-weight:700; letter-spacing:.5px; text-transform:uppercase; padding:4px 11px; border-radius:999px; vertical-align:middle; }
.badge-novo { background:#1f9d57; }
.badge-vendido { background:#c8861a; }
.produto-info h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--ink); margin: 8px 0 16px; font-family: 'Bricolage'; font-weight: 700; }
.produto-preco { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.produto-preco .now { font-size: 2rem; font-weight: 700; color: var(--navy); }
.produto-preco .old { font-size: 1.1rem; color: #98a4b6; text-decoration: line-through; }
.produto-preco .badge-promo { background:#e23744; color:#fff; font-size:.75rem; font-weight:700; padding:4px 10px; border-radius:999px; }
.parcela { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.produto-desc { color: #3a4a63; margin: 6px 0 24px; }
/* Medidas / versões na página de produto */
.medidas-bloco { margin: 8px 0 22px; }
.medidas-titulo { font-family: 'Bricolage'; font-weight: 700; font-size: 1.05rem; color: var(--navy); margin-bottom: 12px; }
.versoes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 12px; }
.versao-card { border: 1.5px solid var(--blue-line); border-radius: var(--radius-sm); padding: 14px 14px 16px; background: #fff; transition: border-color .15s; min-width: 0; }
.versao-card:hover { border-color: var(--navy); }
.versao-nome { display: inline-block; background: var(--navy); color: #fff; font-weight: 600; font-size: .82rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.versao-obs { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; margin: -4px 0 10px; }
.versao-medidas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; text-align: center; }
.versao-medidas > div { background: var(--blue-soft); border-radius: 9px; padding: 9px 2px; min-width: 0; }
.versao-medidas b { display: block; font-family: 'Bricolage'; font-weight: 700; font-size: 1.02rem; color: var(--navy); line-height: 1.15; white-space: nowrap; }
.versao-medidas b small { font-size: .56rem; font-weight: 600; color: var(--muted); margin-left: 1px; }
.versao-medidas span { display: block; margin-top: 3px; font-size: .6rem; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }
.medida-unica { max-width: 360px; }

.especificacoes { border-top: 1px solid var(--blue-line); margin-top: 8px; }
.especificacoes .row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--blue-line); font-size: .95rem; }
.especificacoes .row b { min-width: 130px; color: var(--navy); font-weight: 600; }
.produto-cta { display: flex; gap: 12px; margin: 26px 0 12px; flex-wrap: wrap; }
.produto-cta .btn { flex: 1 1 auto; min-width: 210px; }
.aviso-preco { font-size: .85rem; color: var(--muted); }

/* ============================================================
   CENTRAL DE ATENDIMENTO
   ============================================================ */
.central-hero {
  color: #fff; text-align: center;
  background-image: linear-gradient(180deg, rgba(1,45,100,.55), rgba(1,26,61,.9)), url('../img/textura.png');
  background-size: cover; background-position: center;
}
.central-hero .container { padding: 56px 22px 50px; }
.central-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 10px 0 12px; }
.central-hero p { color: #d7e2f2; max-width: 50ch; margin: 0 auto; }
.central-produto {
  display: inline-block; margin-top: 18px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25); padding: 9px 18px; border-radius: 999px; font-size: .92rem;
}

.central-form { background: #fff; border: 1px solid var(--blue-line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.central-form label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.central-select-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .central-select-row { grid-template-columns: 1fr auto; } }
.central-select-row select {
  width: 100%; min-width: 0; padding: 13px 14px; border: 1.5px solid var(--blue-line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; outline: none; background: #fff; cursor: pointer;
}
.central-select-row select:focus { border-color: var(--navy); }
.central-select-row .btn { justify-content: center; }

.central-resultado { margin-top: 30px; }
.central-aviso { color: var(--muted); margin-bottom: 16px; font-size: 1rem; }
.central-aviso strong { color: var(--navy); }
.rep-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.rep-card { border: 1px solid var(--blue-line); border-radius: var(--radius); padding: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.rep-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rep-card h3 { font-family: 'Bricolage'; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.rep-funcao { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--navy); background: var(--blue-soft); padding: 4px 10px; border-radius: 999px; }
.rep-area { color: var(--muted); font-size: .92rem; margin: 6px 0 2px; }
.rep-fone { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 10px 0 16px; font-family: 'Bricolage'; }
.central-dica { text-align: center; color: var(--muted); margin-top: 26px; font-size: 1rem; }
.central-sem-rep { text-align: center; background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: var(--radius); padding: 34px 24px; }
.central-sem-rep .csr-icon { font-size: 2.4rem; margin-bottom: 8px; }
.central-sem-rep h3 { font-family: 'Bricolage'; font-weight: 700; color: var(--navy); font-size: 1.25rem; margin-bottom: 10px; }
.central-sem-rep p { color: var(--muted); max-width: 44ch; margin: 0 auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-900); color: #b9c6dc; margin-top: 20px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 56px 0 40px; }
.footer-top img { height: 40px; margin-bottom: 16px; }
.footer-top p { font-size: .94rem; max-width: 38ch; }
.footer-top h4 { color: #fff; font-family: 'Bricolage'; font-weight: 600; font-size: 1rem; margin-bottom: 14px; }
.footer-top ul { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: .94rem; }
.footer-top a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; text-align: center; font-size: .85rem; color: #8696b2; }
.footer-bottom a { color: #cdd9ec; }

/* ============================================================
   WhatsApp flutuante
   ============================================================ */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--green-wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ============================================================
   PORTÃO DE LOJISTA (CNPJ) + MENU CONSUMIDOR + PROJETO
   ============================================================ */
.gate-card {
  background: #fff; border: 1px solid var(--blue-line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); text-align: center; max-width: 520px; margin: 0 auto;
}
.gate-card + .gate-card { margin-top: 18px; }
.gate-badge {
  display: inline-block; background: var(--blue-soft); color: var(--navy);
  font-size: .74rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.gate-card h2 { color: var(--navy); font-size: clamp(1.4rem,3.5vw,1.9rem); margin-bottom: 8px; }
.gate-card > p { color: var(--muted); margin-bottom: 20px; }
.gate-field { text-align: left; margin-bottom: 8px; }
.gate-field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 8px; font-size: .95rem; }
.gate-field input {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--blue-line); border-radius: 10px;
  font-family: inherit; font-size: 1.1rem; letter-spacing: .5px; outline: none; text-align: center;
}
.gate-field input:focus { border-color: var(--navy); }
.gate-err { color: #d13b3b; font-size: .9rem; min-height: 20px; margin: 6px 0 4px; font-weight: 600; }
.gate-alt { margin-top: 16px; font-size: .92rem; color: var(--muted); }
.gate-alt a { color: var(--blue); font-weight: 600; cursor: pointer; text-decoration: underline; }
.gate-ok {
  background: #e8f5ec; color: #1f7a44; border: 1px solid #b7e2c4; border-radius: 12px;
  padding: 12px 16px; font-weight: 700; text-align: center; margin-bottom: 22px;
}
.gate-back { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; float: left; margin-bottom: 6px; }
.gate-spin {
  width: 38px; height: 38px; border: 4px solid var(--blue-line); border-top-color: var(--navy);
  border-radius: 50%; margin: 6px auto 0; animation: gate-spin 1s linear infinite;
}
@keyframes gate-spin { to { transform: rotate(360deg); } }

.cons-menu { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; text-align: left; }
.cons-opt {
  display: flex; flex-direction: column; gap: 3px; width: 100%;
  background: #fff; border: 1.5px solid var(--blue-line); border-radius: 12px;
  padding: 15px 18px; cursor: pointer; transition: border-color .15s, transform .12s; font: inherit;
}
.cons-opt:hover { border-color: var(--blue); transform: translateY(-2px); }
.cons-opt strong { color: var(--navy); font-size: 1.02rem; }
.cons-opt span { color: var(--muted); font-size: .88rem; }

/* Formulário de projeto (fotos com medidas) */
.proj-form {
  background: #fff; border: 1px solid var(--blue-line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px;
}
.proj-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
.proj-form label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.proj-form input[type=text], .proj-form textarea, .proj-form input[type=file] {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--blue-line); border-radius: 10px;
  font-family: inherit; font-size: .98rem; outline: none; font-weight: 400; color: var(--ink);
}
.proj-form input[type=file] { padding: 10px 12px; background: var(--blue-soft); cursor: pointer; }
.proj-form input:focus, .proj-form textarea:focus { border-color: var(--navy); }
.proj-form textarea { resize: vertical; }
.proj-hint { font-weight: 400; color: var(--muted); font-size: .82rem; }
.proj-ok {
  background: #e8f5ec; color: #1f7a44; border: 1px solid #b7e2c4; border-radius: 12px;
  padding: 14px 18px; font-weight: 700; text-align: center; margin-bottom: 20px;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 860px) {
  .produto-wrap { grid-template-columns: 1fr; gap: 26px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--navy); padding: 8px 22px 18px; align-items: stretch;
    transform: translateY(-150%); transition: transform .28s ease;
    box-shadow: 0 14px 24px rgba(0,0,0,.25);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav a.active::after { display: none; }
  .nav-toggle { display: block; }
  .header-actions .btn-header-cta { display: none; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .produtos-grid { grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 14px; }
  .card-actions { flex-direction: column; }
  .section { padding: 48px 0; }
}
