/* ============================================================
   NACIONAL REFRIGERAÇÃO — Design System
   Paleta "câmara fria" + placa de identificação industrial
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  /* Cor */
  --ice-950: #0B2530;
  --ice-900: #0F303D;
  --ice-700: #145169;
  --ice-500: #2C7C99;
  --frost-100: #EAF6F8;
  --frost-050: #F6FBFC;
  --brand-green: #1E8449;
  --brand-green-dark: #146336;
  --brand-yellow: #F2B705;
  --whats-green: #25D366;
  --whats-green-dark: #1DA851;
  --ink: #0B2530;
  --ink-soft: #4C6B75;
  --metal: #C9D3D6;
  --metal-dark: #5C6E74;

  /* Tipo */
  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--frost-050);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ice-950);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 76px;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--brand-green), var(--brand-yellow), var(--ice-500), var(--brand-green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--ice-950);
  flex: none;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  flex: none;
  background: #fff;
  border-radius: 8px;
  padding: 3px 7px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.2px;
  line-height: 1;
  white-space: nowrap;
}

.brand-name span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--metal);
  margin-top: 3px;
  white-space: nowrap;
}

/* O container do header (máx. 1180px) não comporta brand + 8 links + botão em
   uma linha só, então o menu ocupa sempre uma linha própria abaixo do brand. */
nav.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  order: 3;
  width: 100%;
  gap: 8px 20px;
  padding-top: 4px;
}

nav.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--frost-100);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity .15s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active { opacity: 1; }

nav.main-nav a.active { color: var(--brand-yellow); }

/* ---------- Dropdown "Nossos Produtos" (CSS puro: hover / focus-within) ---------- */

.nav-dropdown { position: relative; }

.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--frost-100);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity .15s ease;
}

.nav-drop-btn svg { flex: none; transition: transform .2s ease; }

.nav-drop-btn.active { color: var(--brand-yellow); opacity: 1; }

.nav-dropdown:hover .nav-drop-btn,
.nav-dropdown:focus-within .nav-drop-btn { opacity: 1; }

.nav-dropdown:hover .nav-drop-btn svg,
.nav-dropdown:focus-within .nav-drop-btn svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 252px;
  background: var(--ice-950);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0 0 10px 10px;
  padding: 8px 0;
  display: none;
  z-index: 70;
  box-shadow: 0 12px 20px -14px rgba(0,0,0,0.45);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: 11px 20px;
  color: var(--frost-100);
  text-decoration: none;
  font-size: 14px;
  transition: color .15s ease, background .15s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  color: var(--brand-yellow);
  background: rgba(255,255,255,0.05);
}

/* ---------- Busca de produtos no header ---------- */

.header-search {
  position: relative;
  flex: 1 1 240px;
  max-width: 430px;
  margin: 0 18px;
}

.header-search .search-ic {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--metal);
  pointer-events: none;
}

.header-search input {
  width: 100%;
  min-height: 44px;
  padding: 10px 18px 10px 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
}

.header-search input::placeholder { color: var(--metal); }

.header-search input:focus {
  outline: none;
  border-color: var(--brand-yellow);
  box-shadow: 0 0 0 2px rgba(242,183,5,0.35);
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--ice-950);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 6px;
  max-height: 420px;
  overflow-y: auto;
  z-index: 80;
  box-shadow: 0 12px 20px -14px rgba(0,0,0,0.45);
}

.search-results[hidden] { display: none; }

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--frost-100);
  cursor: pointer;
}

.search-item:hover,
.search-item:focus { background: rgba(255,255,255,0.07); color: var(--brand-yellow); }

.search-item img {
  width: 40px;
  height: 40px;
  flex: none;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 3px;
}

.search-item b { display: block; font-size: 13.5px; font-weight: 600; }

.search-item small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--metal);
  margin-top: 2px;
}

.search-empty {
  padding: 14px 12px;
  font-size: 13px;
  color: var(--metal);
}

.btn-whats-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--whats-green);
  color: #04220f;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
  white-space: nowrap;
}

.btn-whats-header:hover { background: var(--whats-green-dark); transform: translateY(-1px); }

/* ---------- Mobile menu (hamburger) ----------
   Abaixo de 760px o header vira uma barra compacta (~64px): marca + hamburger.
   Busca, CTA de WhatsApp e navegação (incl. dropdown "Nossos Produtos") entram
   no painel que abre por clique. No desktop .header-menu é display:contents,
   ou seja, é "invisível" para o layout e os filhos continuam exatamente como
   antes (flex direto no .container do header, dropdown por hover). */

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  border-radius: 8px;
}

.menu-toggle .menu-ic-close { display: none; }
.menu-toggle.is-active .menu-ic-open { display: none; }
.menu-toggle.is-active .menu-ic-close { display: block; }

.header-menu { display: contents; }

@media (max-width: 760px) {
  .site-header .container {
    min-height: 64px;
    padding: 10px 16px;
    flex-wrap: nowrap;
  }

  .brand-logo { height: 34px; padding: 2px 5px; }
  .brand-name { font-size: 15.5px; }
  .brand-name span { display: none; }

  .menu-toggle { display: inline-flex; }

  .header-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ice-950);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 18px 16px 22px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: max-height .22s ease, opacity .18s ease, transform .18s ease, visibility 0s linear .22s;
    box-shadow: 0 16px 28px -18px rgba(0,0,0,0.55);
  }

  .header-menu:focus { outline: none; }

  .header-menu.is-open {
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: max-height .22s ease, opacity .18s ease, transform .18s ease;
  }

  .header-search { flex: none; max-width: none; margin: 0; }

  .btn-whats-header { display: inline-flex; width: 100%; justify-content: center; }

  nav.main-nav {
    order: initial;
    width: 100%;
    padding-top: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  nav.main-nav a { min-height: 46px; width: 100%; }

  .nav-dropdown { width: 100%; }

  .nav-drop-btn {
    width: 100%;
    justify-content: space-between;
    min-height: 46px;
  }

  .dropdown-menu {
    position: static;
    display: block;
    width: 100%;
    min-width: 0;
    border: none;
    border-radius: 0;
    background: rgba(255,255,255,0.03);
    padding: 4px 0 4px 14px;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: max-height .2s ease, opacity .18s ease, transform .18s ease, visibility 0s linear .2s;
  }

  .nav-dropdown.is-open .dropdown-menu {
    max-height: 480px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: max-height .2s ease, opacity .18s ease, transform .18s ease;
  }
  .nav-dropdown.is-open .nav-drop-btn svg { transform: rotate(180deg); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: radial-gradient(1100px 480px at 12% -10%, rgba(44,124,153,0.55), transparent 60%),
              radial-gradient(900px 420px at 95% 0%, rgba(30,132,73,0.30), transparent 55%),
              var(--ice-950);
  color: #fff;
  overflow: hidden;
  padding: 104px 0 112px;
}

.hero::before {
  /* frost vignette in corners, like frost on a freezer door glass */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(220px 220px at -40px -40px, rgba(255,255,255,0.14), transparent 70%),
    radial-gradient(260px 260px at 100% 100%, rgba(255,255,255,0.08), transparent 70%);
}

.hero .container { position: relative; }

.hero-grid { display: block; }

.hero-copy { max-width: 660px; }

h1.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.03;
  letter-spacing: -0.5px;
  max-width: 620px;
  margin: 0 0 18px;
}

h1.hero-title em {
  font-style: normal;
  color: var(--brand-yellow);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--metal);
  max-width: 560px;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}

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

.btn-primary {
  background: var(--brand-yellow);
  color: var(--ice-950);
}
.btn-primary:hover { background: #ffcc1f; }

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

.btn-whats-hero {
  background: var(--whats-green);
  color: #04220f;
}
.btn-whats-hero:hover { background: var(--whats-green-dark); }

.hero-indicators {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--metal);
  letter-spacing: 0.2px;
  padding-top: 22px;
  border-top: 1px dashed rgba(255,255,255,0.18);
}

.hero-indicators .hero-indicator-sep { color: rgba(255,255,255,0.3); }

/* ---------- Section headers ---------- */

.section {
  padding: 84px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ice-500);
  margin-bottom: 10px;
  display: block;
}

h2.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 42px);
  margin: 0;
  color: var(--ice-950);
  line-height: 1;
}

.section-desc {
  max-width: 460px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Category grid ---------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cat-card {
  background: #fff;
  border: 1px solid var(--metal);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -18px rgba(11,37,48,0.35);
  border-color: var(--ice-500);
}

.cat-card .cat-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  color: var(--ice-700);
}

.cat-card .cat-icon svg { width: 100%; height: 100%; }

.cat-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  margin: 0 0 6px;
  letter-spacing: 0.2px;
}

.cat-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.cat-card .cat-count {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--metal-dark);
}

/* ---------- Nameplate product card (signature element) ---------- */

.plate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.plate-card {
  background: linear-gradient(180deg, #fff, var(--frost-100) 130%);
  border: 1px solid var(--metal);
  border-radius: 10px;
  position: relative;
  padding: 26px 24px 24px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}

.plate-card .rivet {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--metal-dark) 75%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.plate-card .rivet.tl { top: 12px; left: 12px; }
.plate-card .rivet.tr { top: 12px; right: 12px; }
.plate-card .rivet.bl { bottom: 12px; left: 12px; }
.plate-card .rivet.br { bottom: 12px; right: 12px; }

.plate-photo {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background: var(--frost-050);
  border: 1px solid var(--frost-100);
  box-shadow: inset 0 0 0 1px rgba(201,211,214,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin-bottom: 20px;
  color: var(--ice-500);
  position: relative;
  overflow: hidden;
}

.plate-photo svg { width: 92px; height: 92px; }

.plate-photo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .2s ease;
}

a.plate-card:hover .plate-photo img { transform: scale(1.03); }

.plate-photo .photo-note {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--metal-dark);
  letter-spacing: 0.5px;
}

.plate-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--ice-500);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.plate-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 4px;
  line-height: 1.05;
}

.plate-card .plate-model {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 12.5px;
  margin-bottom: 20px;
  border-top: 1px dashed var(--metal-dark);
}

.spec-table tr {
  border-bottom: 1px dashed var(--metal-dark);
}

.spec-table td {
  padding: 8px 0;
}

.spec-table td:first-child {
  color: var(--ink-soft);
  letter-spacing: 0.3px;
}

.spec-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--ink);
}

.btn-whats-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  background: var(--whats-green);
  color: #04220f;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s ease;
}
.btn-whats-plate:hover { background: var(--whats-green-dark); }

.btn-whats-plate.btn-lg {
  font-size: 16px;
  padding: 16px;
}

/* plate-card used as a clickable link (category pages) */

a.plate-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

a.plate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -18px rgba(11,37,48,0.35);
  border-color: var(--ice-500);
}

.btn-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: 1.5px solid var(--ice-500);
  color: var(--ice-700);
  background: transparent;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px;
  border-radius: 8px;
  transition: background .15s ease, border-color .15s ease;
}

a.plate-card:hover .btn-details {
  background: rgba(44,124,153,0.1);
  border-color: var(--ice-700);
}

/* ---------- Product detail page ---------- */

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}

.product-detail .plate-photo {
  height: auto;
  min-height: 360px;
  max-height: 520px;
  margin-bottom: 0;
}

.product-detail > div:first-child { min-width: 0; }

@media (max-width: 860px) {
  .product-detail { grid-template-columns: 1fr; }
  .product-detail .plate-photo { min-height: 280px; }
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.gallery-thumbs button {
  width: 64px;
  height: 64px;
  flex: none;
  padding: 4px;
  border-radius: 6px;
  border: 2px solid var(--frost-100);
  background: var(--frost-050);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s ease;
}

.gallery-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumbs button:hover { border-color: var(--metal-dark); }
.gallery-thumbs button.active { border-color: var(--brand-yellow); }

/* ---------- Feature badge (e.g. "Inverter · Baixo Consumo") ---------- */

.plate-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--brand-green-dark);
  background: rgba(30,132,73,0.1);
  border: 1px solid rgba(30,132,73,0.35);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.plate-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  flex: none;
}

/* ---------- Color selector (product variants) ---------- */

.color-selector {
  margin-bottom: 20px;
}

.color-selector-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ice-500);
  margin-bottom: 10px;
  display: block;
}

.color-swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-swatch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  border: 2px solid var(--metal);
  background: #fff;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.color-swatch:hover { border-color: var(--ice-500); }

.color-swatch:focus-visible {
  outline: none;
  border-color: var(--ice-700);
  box-shadow: 0 0 0 2px var(--brand-yellow);
}

.color-swatch.active {
  border-color: var(--ice-700);
  box-shadow: 0 0 0 2px var(--brand-yellow);
  background: var(--frost-100);
}

.color-swatch .swatch-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(11,37,48,0.2);
  flex: none;
}

/* ---------- About / info blocks ---------- */

.info-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .info-grid { grid-template-columns: 1fr; }
}

.info-card {
  background: var(--ice-950);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
}

.info-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.info-row:first-child { border-top: none; padding-top: 0; }

.info-row .ic { flex: none; width: 22px; height: 22px; color: var(--brand-yellow); margin-top: 2px; }
.info-row b { display: block; font-size: 14px; margin-bottom: 2px; }
.info-row span { color: var(--metal); font-size: 13.5px; line-height: 1.5; }
.info-row .foot-hours-table { margin-left: 0; width: 100%; margin-top: 4px; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--metal);
  height: 100%;
  min-height: 340px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; min-height: 340px; }

/* ---------- Footer ----------
   Rodapé como "placa de identificação" da loja: títulos de coluna em
   Big Shoulders com filete amarelo, dados de contato em IBM Plex Mono
   e horário formatado como mini spec-table (mesma linguagem das placas
   de produto). 4 colunas -> 2 (tablet) -> 1 (celular). */

footer.site-footer {
  background: var(--ice-950);
  color: var(--metal);
  padding: 60px 0 28px;
  margin-top: 40px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr 1fr;
  gap: 40px 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}

.foot-col { min-width: 0; }

.foot-brand .brand { margin-bottom: 16px; }
.foot-brand .brand-name,
.foot-brand .brand-name span { white-space: normal; }

.foot-about {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--metal);
}

.foot-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 18px;
}

.foot-title::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  background: var(--brand-yellow);
  border-radius: 2px;
  margin-top: 8px;
}

.foot-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--metal);
  text-decoration: none;
  font-size: 13.5px;
  transition: color .15s ease;
}

.foot-list a:hover,
.foot-list a:focus { color: var(--brand-yellow); }

.foot-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
}

.foot-contact li > div { min-width: 0; }

.foot-ic {
  flex: none;
  width: 17px;
  height: 17px;
  color: var(--brand-yellow);
  margin-top: 2px;
}

.foot-contact b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #fff;
  margin-bottom: 3px;
}

.foot-contact a,
.foot-contact span {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.55;
  color: var(--metal);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .15s ease;
}

.foot-contact a:hover,
.foot-contact a:focus { color: var(--brand-yellow); }

/* endereço de e-mail é longo; um pouco menor para caber inteiro na coluna */
.foot-contact a[href^="mailto:"] { font-size: 12px; }

.foot-hours { margin-top: 6px; }

.foot-hours-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0 4px;
}

.foot-hours-head .foot-ic { margin-top: 0; }

.foot-hours-head b {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #fff;
}

.foot-hours-table {
  width: calc(100% - 29px);
  margin-left: 29px;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.foot-hours-table tr { border-bottom: 1px dashed rgba(143,160,166,0.4); }
.foot-hours-table tr:last-child { border-bottom: none; }

.foot-hours-table td {
  padding: 6px 0;
  color: var(--metal);
}

.foot-hours-table td:last-child {
  text-align: right;
  color: var(--frost-100);
}

footer.site-footer .foot-bottom {
  font-size: 12.5px;
  color: var(--metal);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 980px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .foot-list a { min-height: 44px; }
}

/* ---------- Sticky WhatsApp button (mobile-friendly) ---------- */

.floating-whats {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: calc(20px + env(safe-area-inset-right, 0px));
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whats-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.4);
  color: #04220f;
  text-decoration: none;
  transition: transform .15s ease;
}
.floating-whats svg { width: 28px; height: 28px; }

/* ---------- Category page header ---------- */

.cat-hero {
  background: var(--ice-950);
  color: #fff;
  padding: 56px 0 48px;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--metal);
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}
.breadcrumb a { color: var(--metal); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-yellow); }

.cat-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 12px;
  line-height: 1;
}

.cat-hero p {
  color: var(--metal);
  max-width: 560px;
  font-size: 15px;
  line-height: 1.6;
}

/* Grades: 3 colunas no desktop, 2 no tablet, 1 no celular */

@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .plate-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .cat-grid { grid-template-columns: 1fr; }
  .plate-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero { padding: 40px 0 40px; }
  .section { padding: 56px 0; }

  /* CTAs do hero em largura total, empilhados, com toque confortável */
  .hero-actions { flex-direction: column; margin-bottom: 24px; }
  .hero-actions .btn { width: 100%; justify-content: center; min-height: 44px; }
  .hero-sub { margin-bottom: 24px; }
  .hero-indicators { padding-top: 16px; }
}

/* ---------- Estados de foco e toque (acessibilidade) ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2.5px solid var(--brand-yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

.header-search input:focus-visible {
  outline: none; /* já tem substituto próprio (borda + sombra) definido acima */
}

.color-swatch:focus-visible {
  outline: none; /* já tem substituto próprio (borda + sombra) definido acima */
}

a:active,
button:active {
  opacity: 0.85;
}

.btn:active,
.btn-whats-header:active,
.btn-whats-plate:active,
.floating-whats:active,
.color-swatch:active,
.gallery-thumbs button:active,
.menu-toggle:active,
.nav-drop-btn:active,
.cat-card:active {
  transform: scale(0.97);
  opacity: 1;
}

a.plate-card:active {
  transform: translateY(-2px) scale(0.99);
  opacity: 1;
}

/* ---------- Telas muito pequenas (iPhone SE e similares) ---------- */

@media (max-width: 420px) {
  .container { padding: 0 16px; }

  h1.hero-title { font-size: 32px; }
  .hero-sub { font-size: 15.5px; }

  .section { padding: 36px 0; }
  h2.section-title { font-size: 26px; }
  .section-desc { font-size: 14px; }

  .cat-card { padding: 20px 18px; }
  .plate-card { padding: 20px 16px 18px; }
  .plate-card h3 { font-size: 20px; }

  .cat-hero { padding: 40px 0 34px; }
  .cat-hero h1 { font-size: 28px; }
  .cat-hero p { font-size: 14px; }

  .foot-grid { gap: 28px; }
  .brand-name { font-size: 14px; }
}

/* ---------- prefers-reduced-motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  a.plate-card:hover,
  .cat-card:hover,
  .btn:hover,
  .btn-whats-header:hover {
    transform: none;
  }
}
