/* =========================================================
   Rei das Antenas | landing page
   Paleta tirada da logo: azul-real, marinho, branco e vermelho de ação
   ========================================================= */

:root {
  --blue: #24408f;          /* azul da logo */
  --blue-600: #1c3274;
  --navy: #111d48;          /* fundo do topo e do contato */
  --navy-2: #182766;
  --red: #d32f2f;           /* só para ações */
  --red-600: #b71f1f;
  --gold: #e3a92b;          /* só na coroa */
  --white: #ffffff;
  --paper: #f2f4f9;         /* cinza-azulado claro */
  --ink: #151b2e;
  --ink-2: #4a5270;
  --line: #dde1ec;

  --radius: 14px;
  --font: "Archivo", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* títulos em itálico largo, ecoando o letreiro da logo */
h1, h2 {
  font-style: italic;
  font-weight: 850;
  font-stretch: 112%;
  line-height: 1.05;
  letter-spacing: -.01em;
}
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); color: var(--navy); }
h3 { font-size: 1.15rem; font-weight: 700; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.4rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn .i { width: 20px; height: 20px; fill: currentColor; }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 6px 18px -8px rgba(211, 47, 47, .7); }
.btn-primary:hover { background: var(--red-600); }
.btn-ghost { color: var(--white); border: 1.5px solid rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--paper); }

/* ---------- Navegação ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-inner { display: flex; align-items: center; gap: 2rem; height: 72px; }

.brand { text-decoration: none; }
.brand-mark {
  position: relative;
  display: inline-block;
  padding: .35rem .8rem .3rem;
  border-radius: 8px;
  background: var(--blue);
  border: 1.5px solid rgba(255, 255, 255, .85);
  font-style: italic;
  font-weight: 900;
  font-stretch: 105%;
  font-size: .95rem;
  line-height: .95;
  color: var(--white);
}
.crown {
  position: absolute;
  top: -11px;
  left: -8px;
  width: 22px;
  fill: var(--gold);
  transform: rotate(-18deg);
}

.nav-links { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 500; opacity: .85; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-phone {
  text-decoration: none;
  font-weight: 700;
  padding: .55rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}
.nav-phone:hover { background: rgba(255, 255, 255, .14); }

.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; margin: 6px auto; background: var(--white); transition: transform .25s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-mobile { display: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 70% 80% at 85% 30%, var(--navy-2), transparent 70%),
    var(--navy);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); max-width: 15ch; }
.hero-lead { margin-top: 1.4rem; max-width: 46ch; font-size: 1.15rem; color: rgba(255, 255, 255, .78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-address { margin-top: 1.4rem; font-size: .95rem; color: rgba(255, 255, 255, .6); }

/* medidor de sinal */
.signal { position: relative; display: grid; justify-items: center; }
.signal-art { width: min(100%, 300px); }
.antenna line, .ground { stroke: rgba(255, 255, 255, .9); stroke-width: 6; }
.tip { fill: var(--red); }
.wave { stroke: var(--white); stroke-width: 6; stroke-dasharray: 220; stroke-dashoffset: 220; opacity: .9; }
.signal.on .w1 { animation: draw .6s var(--ease) .2s forwards, breathe 3.2s ease-in-out 1.6s infinite; }
.signal.on .w2 { animation: draw .6s var(--ease) .45s forwards, breathe 3.2s ease-in-out 1.9s infinite; }
.signal.on .w3 { animation: draw .6s var(--ease) .7s forwards, breathe 3.2s ease-in-out 2.2s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes breathe { 50% { opacity: .35; } }

/* antena balançando de leve, como ao vento, presa pela base */
.antenna, .tip {
  transform-box: view-box;
  transform-origin: 160px 262px;
}
.signal.on .antenna, .signal.on .tip { animation: sway 4.5s ease-in-out 1.4s infinite; }
@keyframes sway {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-2.5deg); }
  75% { transform: rotate(2.5deg); }
}
/* ponta da antena pisca como um transmissor */
.signal.on .tip { animation: sway 4.5s ease-in-out 1.4s infinite, blinkTip 1.6s steps(1) 1.4s infinite; }
@keyframes blinkTip { 50% { fill: #ff6b6b; } }

/* número do medidor dá um leve "pulo" ao mudar */
.meter-head strong.tick { animation: tick .35s var(--ease); }
@keyframes tick { 40% { transform: translateY(-3px); color: var(--blue); } }

.meter {
  width: min(100%, 300px);
  margin-top: -1rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55);
}
.meter-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .9rem; color: var(--ink-2); }
.meter-head strong { font-size: 1.4rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 34px; margin: .6rem 0 .5rem; }
.bars i { flex: 1; border-radius: 3px; background: var(--line); transition: background .3s; }
.bars i:nth-child(1) { height: 20%; }
.bars i:nth-child(2) { height: 40%; }
.bars i:nth-child(3) { height: 60%; }
.bars i:nth-child(4) { height: 80%; }
.bars i:nth-child(5) { height: 100%; }
.bars i.lit { background: var(--blue); }
.meter-status { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.meter-status.ok { color: #1f7a3d; }

/* ---------- Seções ---------- */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section-tint { background: var(--paper); }
.section-head { margin-bottom: 2.5rem; }
.section-head p { margin-top: .6rem; color: var(--ink-2); }

/* ---------- Serviços: cards interativos ---------- */
.services {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-areas:
    "feat a b"
    "feat c c";
  gap: 1rem;
  align-items: start;
}
.service-feature { grid-area: feat; }
.services .service:nth-child(2) { grid-area: a; }
.services .service:nth-child(3) { grid-area: b; }
.services .service:nth-child(4) { grid-area: c; }

.service {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.service:hover { border-color: var(--blue); box-shadow: 0 18px 40px -26px rgba(17, 29, 72, .55); transform: translateY(-3px); }
.service.open { border-color: var(--blue); }

.service-toggle {
  position: relative;
  display: grid;
  gap: .25rem;
  width: 100%;
  padding: 1.6rem 3.5rem 1.6rem 1.6rem;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--paper);
  transition: background .25s;
}
.service-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.service:hover .service-icon, .service.open .service-icon { background: var(--blue); }
.service:hover .service-icon svg, .service.open .service-icon svg { stroke: var(--white); }
.service-title { font-size: 1.2rem; font-weight: 750; line-height: 1.25; color: var(--navy); }
.service-sub { font-size: .95rem; color: var(--ink-2); }

/* card de destaque: antenas são a especialidade */
.service-feature { background: var(--blue); border-color: var(--blue); color: var(--white); }
.service-feature .service-toggle { padding: 2.2rem 4rem 2rem 2rem; }
.service-feature .service-icon { width: 76px; height: 76px; background: rgba(255, 255, 255, .12); }
.service-feature .service-icon svg { width: 46px; height: 46px; stroke: var(--white); }
.service-feature .service-title { font-size: clamp(1.5rem, 2.6vw, 2rem); font-style: italic; font-weight: 850; font-stretch: 110%; color: var(--white); }
.service-feature .service-sub { color: rgba(255, 255, 255, .75); }
.service-feature:hover { border-color: var(--navy); }
.service-feature:hover .service-icon, .service-feature.open .service-icon { background: rgba(255, 255, 255, .2); }

/* sinal de + que vira − */
.plus { position: absolute; top: 1.6rem; right: 1.4rem; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .5; transition: transform .3s var(--ease), opacity .2s; }
.plus::before, .plus::after { content: ""; position: absolute; inset: 50% 6px auto; height: 1.5px; margin-top: -.75px; background: currentColor; }
.plus::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.service:hover .plus { opacity: 1; }
.service.open .plus { transform: rotate(180deg); opacity: 1; }
.service.open .plus::after { transform: rotate(0deg); }

/* conteúdo que abre */
.service-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.service-inner { overflow: hidden; min-height: 0; }
.service.open .service-body { grid-template-rows: 1fr; }
.service-body ul { list-style: none; padding: 0 1.6rem; }
.service-body li { position: relative; padding: .45rem 0 .45rem 1.3rem; border-top: 1px solid var(--line); font-size: .98rem; }
.service-body li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 7px; height: 7px; border-radius: 2px; background: var(--red); }
.service-feature .service-body ul { padding: 0 2rem; }
.service-feature .service-body li { border-color: rgba(255, 255, 255, .18); }
.service-cta { display: inline-block; margin: .8rem 1.6rem 1.6rem; font-weight: 700; color: var(--red); text-underline-offset: 4px; }
.service-feature .service-cta { margin-inline: 2rem; color: var(--white); }

/* animações dos ícones no hover */
.ic-wave { animation: none; }
.service:hover .ic-wave { animation: wavePulse 1.1s ease-in-out infinite; }
@keyframes wavePulse { 50% { opacity: .2; } }
.ic-lens { transition: transform .5s var(--ease); }
.service:hover .ic-lens { transform: translateX(-12px); }
.ic-gate { transition: transform .7s var(--ease); }
.service:hover .ic-gate { transform: translateX(14px); }
.ic-pulse { stroke-dasharray: 40; stroke-dashoffset: 0; }
.service:hover .ic-pulse { animation: trace 1s linear infinite; }
@keyframes trace { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }

/* ---------- Loja ---------- */
.shop { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.shop-copy p { margin: 1rem 0 1.8rem; max-width: 42ch; color: var(--ink-2); }
.shop-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.shop-list li {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--navy);
}
.shop-list li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--blue); }

/* ---------- Como funciona ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.steps li { counter-increment: step; position: relative; padding-top: 4.2rem; }
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-style: italic;
  font-weight: 900;
  font-stretch: 115%;
  font-size: 3rem;
  line-height: 1;
  color: var(--blue);
}
.steps li::after { content: ""; position: absolute; top: 1.5rem; left: 3.4rem; right: -1rem; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps p { margin-top: .4rem; color: var(--ink-2); max-width: 32ch; }

/* ---------- Estrelas (preenchidas conforme --rating, de 0 a 5) ---------- */
.stars {
  --size: 1rem;
  display: inline-block;
  width: calc(var(--size) * 5);
  height: var(--size);
  background: linear-gradient(90deg, var(--gold) calc(var(--rating) / 5 * 100%), rgba(255, 255, 255, .25) 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x;
  vertical-align: -2px;
}
.reviews .stars, .quote .stars { background: linear-gradient(90deg, var(--gold) calc(var(--rating) / 5 * 100%), var(--line) 0); }
.stars-lg { --size: 1.6rem; }

/* selo de nota no topo */
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-top: 1.6rem;
  padding: .55rem .9rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: .95rem;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  transition: background .2s;
}
.hero-rating:hover { background: rgba(255, 255, 255, .12); }
.hero-rating strong { color: var(--white); }
.hero-rating + .hero-address { margin-top: .9rem; }

/* ---------- Avaliações ---------- */
.reviews-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: 3rem; align-items: start; }
.score { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; }
.score strong { font-style: italic; font-weight: 900; font-stretch: 115%; font-size: 3.6rem; line-height: 1; color: var(--navy); }
.score-note { margin-top: .3rem; color: var(--ink-2); }
.reviews-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.btn-outline { color: var(--navy); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--blue); }

.quotes { display: grid; gap: 1rem; }
.quote {
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  background: var(--white);
}
.quote blockquote { margin: .7rem 0 .6rem; font-size: 1.1rem; font-weight: 500; line-height: 1.5; color: var(--ink); }
.quote figcaption { font-size: .9rem; color: var(--ink-2); }

/* ---------- Dúvidas ---------- */
.faq-wrap { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 1.2rem 2.5rem 1.2rem 0;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--blue); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 2.5rem 1.3rem 0; color: var(--ink-2); max-width: 65ch; }

/* ---------- Contato ---------- */
.contact { background: var(--navy); color: var(--white); padding: clamp(4rem, 9vw, 6rem) 0; }
.contact h2 { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: stretch; }
.contact-copy > p { margin-top: .8rem; color: rgba(255, 255, 255, .75); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0; }
.contact-info { display: grid; gap: 1.1rem; }
.contact-info dt { font-size: .9rem; color: rgba(255, 255, 255, .6); }
.contact-info dd { font-weight: 600; }
.contact-info a { text-underline-offset: 4px; }
.map { min-height: 340px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .15); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.25); }

/* ---------- Rodapé ---------- */
.footer { background: #0b1433; color: rgba(255, 255, 255, .65); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; }
.footer a { color: var(--white); text-underline-offset: 4px; }

/* ---------- Barra fixa do celular ---------- */
.mobile-bar { display: none; }

/* ---------- Entrada dos cards ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].visible { opacity: 1; transform: none; }
.service[data-reveal].visible { transition: opacity .6s var(--ease) var(--d, 0s), transform .3s var(--ease), border-color .25s, box-shadow .3s var(--ease); }

/* =========================================================
   Abertura: antena montada como Lego e tela que se abre
   ========================================================= */
.intro { display: none; }
.js-intro .intro { display: block; position: fixed; inset: 0; z-index: 200; pointer-events: none; animation: introOff .1s linear 3.3s forwards; }
@keyframes introOff { to { visibility: hidden; } }

.intro-half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--navy); }
.intro-top { top: 0; animation: openUp .85s cubic-bezier(.7, 0, .2, 1) 2.45s forwards; }
.intro-bottom { bottom: 0; animation: openDown .85s cubic-bezier(.7, 0, .2, 1) 2.45s forwards; }
@keyframes openUp { to { transform: translateY(-101%); } }
@keyframes openDown { to { transform: translateY(101%); } }

.intro-stage { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .6rem; animation: stageOut .35s ease 2.25s forwards; }
@keyframes stageOut { to { opacity: 0; transform: scale(.96); } }

.lego { width: min(58vw, 230px); overflow: visible; }
.brick { opacity: 0; transform-box: view-box; transform-origin: 120px 160px; animation: snap .6s cubic-bezier(.3, 1.4, .5, 1) calc(.25s + var(--i) * .18s) forwards; }
@keyframes snap {
  0%   { opacity: 0; transform: translate(var(--fx), -170px) rotate(var(--r)); }
  55%  { opacity: 1; transform: translate(0, 5px) rotate(0); }
  75%  { transform: translate(0, -3px); }
  100% { opacity: 1; transform: none; }
}
.b-base rect { fill: var(--blue); }
.b-base .studs rect { fill: #3a5bc0; }
.b-mast rect { fill: var(--white); }
.b-bar rect { fill: #e8ecf6; }
.b-bar .studs rect { fill: #c9d2ea; }
.b-tip rect { fill: var(--red); }
.b-tip rect + rect { fill: #e35757; }
.lego-waves path { stroke: var(--white); stroke-width: 7; opacity: 0; animation: waveOn .3s ease forwards; }
.lego-waves path:nth-child(1) { animation-delay: 1.75s; }
.lego-waves path:nth-child(2) { animation-delay: 1.9s; }
.lego-waves path:nth-child(3) { animation-delay: 2.05s; }
@keyframes waveOn { to { opacity: .9; } }

.intro-brand { font-style: italic; font-weight: 900; font-stretch: 112%; font-size: clamp(2rem, 6vw, 3rem); color: var(--white); line-height: 1; opacity: 0; animation: rise .6s var(--ease) 1.35s forwards; }
.intro-sub { color: rgba(255, 255, 255, .6); font-size: .95rem; opacity: 0; animation: rise .6s var(--ease) 1.55s forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* entrada do topo: começa logo depois da abertura */
.js-intro { --d0: 2.6s; }
.js-intro .hero-copy > *, .js-intro .signal { animation: rise .8s var(--ease) calc(var(--d0) + var(--k, 0) * .09s) both; }
.js-intro .hero-copy > :nth-child(1) { --k: 0; }
.js-intro .hero-copy > :nth-child(2) { --k: 1; }
.js-intro .hero-copy > :nth-child(3) { --k: 2; }
.js-intro .hero-copy > :nth-child(4) { --k: 3; }
.js-intro .hero-copy > :nth-child(5) { --k: 4; }
.js-intro .signal { --k: 2; }

/* =========================================================
   Catálogo de produtos
   ========================================================= */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.filters button {
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filters button:hover { border-color: var(--blue); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.product {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--white);
  border: 1.5px solid var(--line);
  overflow: hidden;
  transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease);
  animation: rise .45s var(--ease) backwards;
  animation-delay: calc(var(--n, 0) * .04s);
}
.product:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -26px rgba(17, 29, 72, .6); }
.product.picked { border-color: var(--blue); }
.product-img { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--paper); }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img svg { width: 56px; height: 56px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.product-body { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem 1.1rem; flex: 1; }
.product-cat { font-size: .82rem; color: var(--ink-2); }
.product h3 { font-size: 1.05rem; color: var(--navy); line-height: 1.3; }
.product p { font-size: .92rem; color: var(--ink-2); }
.product-action { margin-top: auto; padding-top: .8rem; }
.add-btn {
  width: 100%;
  padding: .7rem;
  border-radius: 9px;
  border: 1.5px solid var(--blue);
  background: none;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.add-btn:hover { background: var(--blue); color: var(--white); }
.stepper { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; border-radius: 9px; background: var(--navy); color: var(--white); overflow: hidden; }
.stepper button { height: 42px; border: 0; background: none; color: inherit; font: inherit; font-size: 1.3rem; font-weight: 700; cursor: pointer; }
.stepper button:hover { background: rgba(255, 255, 255, .1); }
.stepper output { text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper output.bump { animation: tick .3s var(--ease); }

/* ---------- Interatividade dos cards do catálogo ---------- */
.products { perspective: 1100px; }
.product { transform-style: preserve-3d; will-change: transform; }
.product.tilting { transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-4px); transition: transform .08s linear, border-color .25s, box-shadow .3s var(--ease); box-shadow: 0 26px 40px -26px rgba(17, 29, 72, .55); }
.product-img { position: relative; overflow: hidden; }
.product-img img { transition: transform .6s var(--ease); }
.product:hover .product-img img { transform: scale(1.07); }
.product-img svg { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.product:hover .product-img svg { transform: scale(1.15) rotate(-6deg); }
/* brilho que acompanha o mouse */
.glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .45), transparent 55%); }
.product.tilting .glare { opacity: 1; }
/* selo de "escolhido" com a quantidade */
.picked-badge {
  position: absolute;
  top: .6rem;
  right: .6rem;
  display: flex;
  align-items: center;
  gap: .2rem;
  padding: .25rem .55rem .25rem .35rem;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: .85rem;
  font-weight: 800;
  transform: scale(0);
  transition: transform .35s cubic-bezier(.3, 1.6, .5, 1);
}
.picked-badge svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.product.picked .picked-badge { transform: scale(1); }
.product.picked .product-img { background: #e6ebf8; }
/* toque no celular: o card "afunda" de leve */
.product:active { transform: scale(.985); }
/* bolinha que voa até a barra do orçamento */
.fly-dot { position: fixed; z-index: 120; width: 22px; height: 22px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(211, 47, 47, .25); pointer-events: none; transform: translate(-50%, -50%); }
/* créditos das fotos */
.photo-credits { margin-top: 2.4rem; font-size: .8rem; color: var(--ink-2); }
.photo-credits summary { cursor: pointer; font-weight: 600; }
.photo-credits ul { margin: .6rem 0 0 1.1rem; display: grid; gap: .2rem; }
.photo-credits a { color: inherit; }

/* barra do orçamento */
.quote-bar {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem;
  border-radius: 14px;
  background: var(--navy);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45);
  transform: translateX(-50%);
  animation: barIn .45s var(--ease);
}
.quote-bar[hidden] { display: none; }
@keyframes barIn { from { opacity: 0; transform: translate(-50%, 20px); } }
.quote-open { display: flex; align-items: center; gap: .7rem; padding: .6rem .9rem; border: 0; border-radius: 10px; background: none; color: var(--white); font: inherit; font-weight: 600; cursor: pointer; }
.quote-open:hover { background: rgba(255, 255, 255, .08); }
.quote-count { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 .4rem; border-radius: 999px; background: var(--red); font-weight: 800; }
.quote-count.bump { animation: tick .35s var(--ease); }
.quote-send { padding: .75rem 1.1rem; }

/* gaveta do orçamento */
.quote-drawer { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: flex-end; background: rgba(10, 16, 40, .45); animation: fadeIn .25s ease; }
.quote-drawer[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.quote-panel { display: flex; flex-direction: column; width: min(100%, 420px); height: 100%; background: var(--white); animation: slideIn .35s var(--ease); }
@keyframes slideIn { from { transform: translateX(100%); } }
.quote-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.quote-head h3 { font-size: 1.3rem; color: var(--navy); }
.quote-close { width: 40px; height: 40px; border: 0; border-radius: 8px; background: var(--paper); font-size: 1.5rem; cursor: pointer; }
.quote-list { list-style: none; flex: 1; overflow-y: auto; padding: .6rem 1.4rem; }
.quote-list li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.quote-list .stepper { grid-template-columns: 36px 34px 36px; }
.quote-list .stepper button { height: 36px; font-size: 1.1rem; }
.quote-list strong { color: var(--navy); font-weight: 600; }
.quote-note { display: grid; gap: .35rem; padding: .8rem 1.4rem; font-size: .9rem; color: var(--ink-2); }
.quote-note textarea { width: 100%; padding: .7rem; border: 1.5px solid var(--line); border-radius: 9px; font: inherit; resize: vertical; }
.quote-note textarea:focus { outline: none; border-color: var(--blue); }
.quote-foot { display: grid; gap: .6rem; padding: 1rem 1.4rem 1.4rem; border-top: 1px solid var(--line); }
.quote-foot .btn { justify-content: center; }

/* ---------- Acesso ao catálogo: botão do menu e faixa em destaque ---------- */
.nav-links .nav-catalog {
  padding: .45rem .95rem;
  border-radius: 8px;
  background: var(--red);
  opacity: 1;
  font-weight: 700;
  transition: background .2s;
}
.nav-links .nav-catalog:hover, .nav-links .nav-catalog[aria-current="page"] { background: var(--red-600); }
.btn-lg { padding: 1.1rem 1.8rem; font-size: 1.1rem; }

.catalog-cta { background: var(--blue); color: var(--white); }
.catalog-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.2rem 0; }
.catalog-cta h2 { color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.catalog-cta p { margin-top: .4rem; max-width: 52ch; color: rgba(255, 255, 255, .8); }
.catalog-cta .btn { flex: none; }

/* ---------- Página do catálogo ---------- */
.breadcrumb { padding-top: 1.6rem; font-size: .9rem; color: var(--ink-2); }
.breadcrumb a { color: var(--blue); text-underline-offset: 3px; }
.catalog-page { padding-top: 1.4rem; }
.catalog-page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--navy); }
.catalog-page .section-head p { max-width: 60ch; }

.btn-whats { background: #1f9d55; color: var(--white); }
.btn-whats:hover { background: #17834a; }
.not-found { background: var(--navy); color: var(--white); }
.not-found-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3rem 0; }
.not-found h2 { color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.not-found p { margin-top: .5rem; max-width: 54ch; color: rgba(255, 255, 255, .78); }
.not-found .btn { flex: none; }

.whats-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 75;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1f9d55;
  color: var(--white);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
  transition: transform .2s var(--ease), bottom .3s var(--ease);
}
.whats-float:hover { transform: scale(1.06); }
.whats-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero-grid, .shop, .contact-grid, .reviews-grid { grid-template-columns: 1fr; }
  .signal { order: -1; }
  .signal-art { width: 240px; }
  .services { grid-template-columns: 1fr 1fr; grid-template-areas: "feat feat" "a b" "c c"; }
}

@media (max-width: 760px) {
  .nav-links, .nav-phone { display: none; }
  .menu-btn { display: block; }
  .menu-mobile {
    display: grid;
    max-height: 0;
    overflow: hidden;
    background: var(--navy);
    transition: max-height .35s var(--ease);
  }
  .menu-mobile.open { max-height: 300px; }
  .menu-mobile a { padding: 1rem 1.25rem; text-decoration: none; font-weight: 600; border-top: 1px solid rgba(255, 255, 255, .08); }

  .services { grid-template-columns: 1fr; grid-template-areas: "feat" "a" "b" "c"; }
  .shop-list { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .product-body { padding: .8rem; }
  .product p { display: none; }
  .quote-bar { bottom: .9rem; width: calc(100% - 1.5rem); justify-content: space-between; }
  .quote-send { display: none; }
  .has-quote .whats-float { bottom: 6rem; }
  /* filtros numa fileira só, deslizando para o lado */
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -1.25rem; padding: 0 1.25rem .4rem; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .catalog-cta-inner, .not-found-inner { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .catalog-cta .btn, .not-found .btn { width: 100%; justify-content: center; }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps li { padding: 0 0 0 4rem; }
  .steps li::after { display: none; }
  .footer-inner { flex-direction: column; }

  body { padding-bottom: 68px; }
  .mobile-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr .8fr;
    gap: .5rem;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--line);
  }
  .mobile-bar a { padding: .85rem; border-radius: 10px; text-align: center; font-weight: 700; text-decoration: none; }
  .mb-wa { background: var(--red); color: var(--white); }
  .mb-call { background: var(--paper); color: var(--navy); }
  .mb-cat { background: var(--blue); color: var(--white); }
}

@media (prefers-reduced-motion: reduce) {
  .intro { display: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .wave { stroke-dashoffset: 0; }
}
