/* ==========================================================================
   WJR Turismo — folha de estilo do site
   Servida como arquivo estático (sem hash) porque duas camadas a consomem:
   as páginas estáticas geradas pelo Astro e as páginas dinâmicas em PHP
   (loja, categorias, produtos e home). Alterar aqui muda os dois lados.
   Paleta e tipografia extraídas do tema Flatsome original.
   ========================================================================== */

:root {
  --blue: #00539c;
  --blue-dark: #0a3d68;
  --blue-deep: #0d3b66;
  --orange: #e88524;
  --orange-dark: #d0741a;
  --green: #62bb46;
  --green-dark: #4fa036;

  --ink: #3d3d3d;
  --body: #777777;
  --muted: #9a9a9a;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --danger: #d64545;

  --head: Montserrat, "Segoe UI", system-ui, -apple-system, sans-serif;
  --sans: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1140px;
  --radius: 4px;
  --shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 6px 20px rgba(0, 0, 0, .05);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1 0 auto; }

h1, h2, h3, h4, h5 {
  font-family: var(--head);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1.2em; }

a { color: var(--blue); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--orange); }

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

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.section { padding: 60px 0; }
.section--soft { background: var(--bg-soft); }

.grid { display: grid; gap: 30px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
}

/* ---------- section heading (Flatsome "divider" style) ---------- */
.section-title { display: flex; align-items: center; gap: 20px; margin-bottom: 34px; }
.section-title::before,
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-title span {
  font-family: var(--head);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.section-title--boxed span { border: 1px solid var(--line); padding: 10px 22px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--head); font-size: .82rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 13px 26px; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; text-align: center; line-height: 1.2;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn--orange { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn--orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.btn--whatsapp { background: var(--green); color: #fff; border-color: var(--green); border-radius: 99px; }
.btn--whatsapp:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn--outline-white:hover { background: #fff; color: var(--ink); }
.btn--outline-orange { background: transparent; color: var(--orange); border-color: var(--orange); border-radius: 99px; }
.btn--outline-orange:hover { background: var(--orange); color: #fff; }
/* Contorno escuro sobre fundo claro. Usado em "Recusar todos": mesmo tamanho e
   peso do botão de aceitar, porque recusar não pode ser mais difícil. */
.btn--ghost-escuro { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--ghost-escuro:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 34px; font-size: .9rem; }

/* ---------- page title bar ---------- */
.page-head { background: var(--blue); color: #fff; padding: 26px 0; }
.page-head h1 { color: #fff; margin: 0 0 4px; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.breadcrumb {
  font-family: var(--head); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.85); display: flex; flex-wrap: wrap; gap: .5em;
}
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden] { opacity: .5; }

/* ---------- rich text (conteúdo importado do WordPress) ---------- */
.rte { color: var(--body); }
.rte h2, .rte h3, .rte h4 { margin-top: 1.6em; }
.rte h3 { font-size: 1.25rem; }
.rte img { border-radius: var(--radius); margin: 1.4em 0; }
.rte ul, .rte ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.rte li { margin-bottom: .5em; }
.rte strong { color: var(--ink); font-weight: 700; }
.rte a { text-decoration: underline; text-underline-offset: 2px; }
.rte table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.rte td, .rte th { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.rte iframe { max-width: 100%; border-radius: var(--radius); }

/* ---------- utilities ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--blue); color: #fff; padding: 12px 20px; }
.skip:focus { left: 0; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.hdr { position: relative; z-index: 60; }

.hdr__top { background: var(--blue); color: #fff; }
/* A barra azul carrega só o idioma e os contatos — o acesso ao WhatsApp fica
   no botão flutuante, presente em todas as páginas. */
.hdr__top-in { display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-height: 48px; }
.hdr__social { display: flex; align-items: center; gap: 14px; }
.hdr__social a { color: #fff; display: inline-flex; opacity: .9; }
.hdr__social a:hover { opacity: 1; color: #fff; }
.hdr__lang {
  font-family: var(--head); font-size: .74rem; letter-spacing: .04em;
  padding-right: 12px; margin-right: 2px; border-right: 1px solid rgba(255,255,255,.28);
  color: #fff;
}

.hdr__main { background: #fff; border-bottom: 1px solid var(--line); }
.hdr__main-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; }
.hdr__logo img { width: clamp(200px, 26vw, 290px); height: auto; }

.hdr__phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--blue);
}
.hdr__phone:hover { color: var(--orange); }

.hdr__toggle {
  display: none; flex-direction: column; gap: 5px; justify-content: center;
  width: 46px; height: 42px; padding: 0 10px;
  background: var(--orange); border: 0; border-radius: var(--radius); cursor: pointer;
}
.hdr__toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.hdr__toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr__toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.hdr__toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hdr__nav { background: var(--orange); }
.hdr__nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.hdr__nav a {
  display: block; padding: 13px 14px; color: #fff;
  font-family: var(--head); font-size: .8rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
}
.hdr__nav a:hover, .hdr__nav a[aria-current='page'] { background: rgba(0,0,0,.14); color: #fff; }

@media (max-width: 900px) {
  .hdr__phone { display: none; }
  .hdr__toggle { display: flex; }
  .hdr__nav { display: none; }
  .hdr__nav.is-open { display: block; }
  .hdr__nav ul { flex-direction: column; gap: 0; padding: 6px 0; }
  .hdr__nav a { padding: 13px 20px; border-bottom: 1px solid rgba(255,255,255,.16); }
  .hdr__nav li:last-child a { border-bottom: 0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.ftr { margin-top: auto; }
.ftr__main { background: var(--orange); color: #fff; padding: 54px 0 46px; }
.ftr__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.ftr__main p { color: rgba(255,255,255,.94); font-size: .93rem; }
.ftr__main strong { color: #fff; }

.ftr__h {
  font-size: .84rem; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; margin: 0 0 18px; padding-bottom: 12px; position: relative;
}
.ftr__h::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: rgba(255,255,255,.55); }

.ftr__links, .ftr__news { list-style: none; margin: 0; padding: 0; }
.ftr__links li { margin-bottom: 9px; }
.ftr__links a, .ftr__news a { color: rgba(255,255,255,.94); font-size: .93rem; }
.ftr__links a:hover, .ftr__news a:hover { color: #fff; text-decoration: underline; }

.ftr__news li { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.ftr__date {
  flex: 0 0 auto; width: 38px; text-align: center; line-height: 1.15;
  border: 1px solid rgba(255,255,255,.5); padding: 5px 2px;
  font-family: var(--head); font-size: .64rem; text-transform: uppercase;
}
.ftr__date b { display: block; font-size: .95rem; }

.ftr__phone { color: #fff; font-family: var(--head); font-weight: 700; font-size: 1.15rem; }
.ftr__phone:hover { color: #fff; text-decoration: underline; }
.ftr__main .btn--whatsapp { margin-top: 8px; }

.ftr__bar { background: var(--blue); color: rgba(255,255,255,.85); padding: 18px 0; }
.ftr__bar-in { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.ftr__bar p { margin: 0; font-size: .86rem; }
.ftr__bar strong { color: #fff; }
.ftr__social { display: flex; gap: 18px; }
.ftr__social a { color: rgba(255,255,255,.85); font-size: .86rem; }
.ftr__social a:hover { color: #fff; }

@media (max-width: 900px) { .ftr__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Product card
   ========================================================================== */
.card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.card__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.05); }

.card__body { padding: 16px 16px 18px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.card__cat { margin: 0 0 6px; font-family: var(--head); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card__title { font-size: 1rem; margin: 0 0 10px; line-height: 1.35; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--orange); }
/* margin-top auto empurra o preço para baixo, alinhando os botões dos cards
   mesmo com títulos de alturas diferentes. As laterais ficam em zero para o
   texto continuar centralizado. */
.card__price { margin: auto 0 14px; padding-top: 2px; font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--blue); }
.card__cta { width: 100%; padding: 11px 14px; font-size: .74rem; }

/* ==========================================================================
   Category sidebar
   ========================================================================== */
.side__h {
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  margin: 0 0 16px; padding-bottom: 12px; position: relative;
}
.side__h::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--orange); }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li { border-bottom: 1px solid var(--line); }
.side a { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 11px 0; color: var(--body); font-size: .94rem; }
.side a:hover { color: var(--orange); }
.side a[aria-current='page'] { color: var(--blue); font-weight: 600; }
.side b { font-weight: 400; color: var(--muted); font-size: .82rem; }

/* ==========================================================================
   Shop / category listing
   ========================================================================== */
.shop { display: grid; grid-template-columns: 230px 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .shop { grid-template-columns: 1fr; gap: 28px; } }
.shop__count { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.cat-desc { font-size: 1rem; max-width: 70ch; margin-bottom: 1.2em; }

/* ==========================================================================
   Product detail
   ========================================================================== */
.prod { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: start; }
@media (max-width: 900px) { .prod { grid-template-columns: 1fr; gap: 30px; } }

.prod__main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--bg-soft); }

.prod__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.prod__thumb {
  width: 78px; height: 78px; padding: 0; overflow: hidden; cursor: pointer;
  border: 2px solid var(--line); border-radius: var(--radius); background: none;
  transition: border-color .15s ease;
}
.prod__thumb img { width: 100%; height: 100%; object-fit: cover; }
.prod__thumb:hover { border-color: var(--orange); }
.prod__thumb.is-active { border-color: var(--blue); }

.prod__info h1 { margin-bottom: .35em; }
.prod__price { font-family: var(--head); font-weight: 700; font-size: clamp(1.5rem, 3vw, 1.9rem); color: var(--blue); margin: 0 0 .6em; line-height: 1.2; }
.prod__price small { font-size: .55em; font-weight: 400; color: var(--muted); display: inline; }
.prod__range { white-space: nowrap; }
.prod__excerpt { font-size: 1rem; margin-bottom: 1.4em; }

.opts { margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.opts__h {
  margin: 0; padding: 12px 16px; background: var(--bg-soft);
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.opts__list { list-style: none; margin: 0; padding: 0; }
.opts__list li {
  display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center;
  padding: 11px 16px; border-bottom: 1px solid var(--line);
}
.opts__list li:last-child { border-bottom: 0; }
.opts__label { font-size: .9rem; color: var(--ink); line-height: 1.35; }
.opts__price { font-family: var(--head); font-weight: 700; font-size: .95rem; color: var(--blue); white-space: nowrap; }
.opts__pick {
  background: none; border: 1px solid var(--green); color: var(--green-dark);
  font-family: var(--head); font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 99px; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.opts__pick:hover { background: var(--green); color: #fff; }
@media (max-width: 520px) {
  .opts__list li { grid-template-columns: 1fr auto; }
  .opts__pick { grid-column: 1 / -1; justify-self: start; }
}

.prod__cta { margin-bottom: 12px; }
.prod__phone { font-size: .9rem; color: var(--muted); margin-bottom: 1.6em; }

.meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .88rem; }
.meta dt { font-family: var(--head); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.meta dd { margin: 0; }

/* A descrição ocupa toda a largura do container, sem sobra à direita. */
.prod__desc { max-width: none; }

/* ==========================================================================
   Home sections
   ========================================================================== */
.hero { position: relative; min-height: clamp(400px, 56vw, 600px); display: grid; align-items: center; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 30%; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.72) 42%, rgba(255,255,255,0) 72%); }
.hero__in { position: relative; padding-block: 50px; }
.hero__text { max-width: 560px; }
.hero h1 { color: var(--blue); text-transform: uppercase; font-weight: 700; margin-bottom: .35em; }
.hero p { font-size: clamp(1rem, 2vw, 1.22rem); color: var(--blue); margin-bottom: 1.6em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 700px) {
  .hero__overlay { background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.8) 60%, rgba(255,255,255,.55) 100%); }
  .hero__text { max-width: none; }
}

.promo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.promo:hover img { transform: scale(1.06); }
.promo__in {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 6px; padding: 0 20px 40px; text-align: center; color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,.12) 30%, rgba(0,0,0,.6) 100%);
}
.promo__kicker { font-family: var(--head); font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; }
.promo__title { font-family: var(--head); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.3rem); text-transform: uppercase; line-height: 1.1; margin-bottom: 14px; }

.feat { display: flex; gap: 16px; align-items: flex-start; }
.feat__icon { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--orange); color: var(--orange); display: grid; place-items: center; }
.feat h2 { font-size: 1.12rem; margin-bottom: .4em; }
.feat p { margin: 0; font-size: .93rem; }

/* Category tiles: the source images are finished artwork, so they are shown
   whole with the label underneath instead of overlaid. */
.cat {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}
.cat:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.cat__media { display: block; aspect-ratio: 5 / 6; overflow: hidden; background: var(--orange); }
.cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat:hover .cat__media img { transform: scale(1.05); }
.cat__in { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 12px 16px; }
.cat__name { font-family: var(--head); font-weight: 700; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); }
.cat__count { font-size: .82rem; color: var(--muted); margin-top: 3px; }
.cat:hover .cat__name { color: var(--orange); }

.how h3 { text-transform: uppercase; font-size: 1.05rem; letter-spacing: .02em; }
.how p { margin: 0; font-size: .95rem; }

.band { background: var(--blue-deep); color: #fff; padding: 68px 0; }
.band__in { max-width: 760px; margin-inline: auto; text-align: center; }
.band h2 { color: #fff; text-transform: uppercase; margin-bottom: .5em; }
.band p { color: rgba(255,255,255,.9); font-size: 1.05rem; margin-bottom: 1.8em; }

.quote { position: relative; padding: 90px 0; display: grid; align-items: center; }
.quote__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote__overlay { position: absolute; inset: 0; background: rgba(0, 40, 75, .55); }
.quote__in { position: relative; text-align: center; max-width: 720px; margin-inline: auto; }
.quote h2 { color: #fff; text-transform: uppercase; font-weight: 700; }
.quote p { color: rgba(255,255,255,.94); font-size: 1.08rem; margin-bottom: 1.8em; }

.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post:hover .post__media img { transform: scale(1.05); }
.post__date {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: #fff; color: var(--orange); border: 1px solid var(--line);
  padding: 6px 8px; text-align: center; line-height: 1.1;
  font-family: var(--head); font-size: .68rem; text-transform: uppercase;
}
.post__date b { display: block; font-size: 1rem; color: var(--ink); }
.post__body { padding: 18px 20px 22px; }
.post__body h3 { font-size: 1.1rem; margin-bottom: .5em; }
.post__body h3 a { color: var(--ink); }
.post__body h3 a:hover { color: var(--orange); }
.post__body p { margin: 0; font-size: .93rem; }

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: inline-flex; align-items: center; gap: 0;
  height: 58px; padding: 0 14px;
  background: var(--green); color: #fff;
  border: 0; border-radius: 99px; cursor: pointer;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .26);
  transition: gap .22s ease, padding .22s ease, background .18s ease, transform .18s ease;
}
.fab:hover, .fab:focus-visible { background: var(--green-dark); gap: 10px; padding: 0 22px 0 16px; }
.fab:active { transform: scale(.96); }
.fab__label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-family: var(--head); font-size: .84rem; font-weight: 700; letter-spacing: .03em;
  transition: max-width .22s ease;
}
.fab:hover .fab__label, .fab:focus-visible .fab__label { max-width: 190px; }
.fab::before {
  content: ''; position: absolute; inset: 0; border-radius: 99px;
  box-shadow: 0 0 0 0 rgba(98, 187, 70, .6);
  animation: fab-pulse 2.6s ease-out infinite;
}
@keyframes fab-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(98, 187, 70, .55); }
  70%  { box-shadow: 0 0 0 16px rgba(98, 187, 70, 0); }
  100% { box-shadow: 0 0 0 0 rgba(98, 187, 70, 0); }
}
@media (max-width: 560px) {
  .fab { right: 14px; bottom: 14px; height: 54px; padding: 0 12px; }
  .fab:hover, .fab:focus-visible { gap: 0; padding: 0 12px; }
  .fab__label { display: none; }
}

/* ==========================================================================
   WhatsApp modal
   ========================================================================== */
.wam {
  border: 0; padding: 0; border-radius: 10px; width: min(440px, calc(100vw - 32px));
  box-shadow: 0 20px 60px rgba(0,0,0,.3); color: var(--body); background: #fff;
}
.wam::backdrop { background: rgba(10, 30, 50, .62); }
.wam[open] { animation: wam-in .2s ease-out; }
@keyframes wam-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }

.wam__box { padding: 28px; position: relative; }
.wam__x {
  position: absolute; top: 10px; right: 12px;
  width: 34px; height: 34px; border: 0; background: transparent;
  font-size: 1.7rem; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 50%;
}
.wam__x:hover { background: var(--bg-soft); color: var(--ink); }

.wam__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; padding-right: 28px; }
.wam__icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.wam__head h2 { margin: 0 0 4px; font-size: 1.22rem; }
.wam__intro { margin: 0; font-size: .9rem; line-height: 1.45; }

.wam__context {
  margin: 0 0 18px; padding: 10px 14px; background: var(--bg-soft);
  border-left: 3px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .88rem;
}
.wam__context span { color: var(--muted); }
.wam__context strong { color: var(--ink); }

.wam__field { display: block; margin-bottom: 16px; }
.wam__field > span {
  display: block; margin-bottom: 6px;
  font-family: var(--head); font-size: .78rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
}
.wam__field input {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.wam__field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(98, 187, 70, .18); }
.wam__field input[aria-invalid='true'] { border-color: var(--danger); }
.wam__field input[aria-invalid='true']:focus { box-shadow: 0 0 0 3px rgba(214, 69, 69, .16); }

.wam__err { display: none; margin-top: 6px; font-size: .82rem; font-style: normal; color: var(--danger); }
.wam__err.is-shown { display: block; }
.wam__submit { margin-top: 6px; }
.wam__privacy { margin: 14px 0 0; font-size: .76rem; color: var(--muted); text-align: center; line-height: 1.4; }
@media (max-width: 420px) { .wam__box { padding: 22px 18px; } }

/* ==========================================================================
   Forms (contato / cotação)
   ========================================================================== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block; margin-bottom: 6px;
  font-family: var(--head); font-size: .76rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink);
}
.field b { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(98,187,70,.18);
}
.field [aria-invalid='true'] { border-color: var(--danger); }

.form-err { color: var(--danger); font-size: .9rem; margin-bottom: 14px; }
.form-note { margin: 12px 0 0; font-size: .78rem; color: var(--muted); text-align: center; }

/* ==========================================================================
   Two-column content pages
   ========================================================================== */
.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 46px; align-items: start; }
@media (max-width: 900px) { .page-body { grid-template-columns: 1fr; gap: 30px; } }
.lede { font-size: 1.1rem; color: var(--ink); line-height: 1.6; margin-bottom: 1.4em; }

.aside { position: sticky; top: 20px; }
@media (max-width: 900px) { .aside { position: static; } }
.aside__card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.aside__card h2 { font-size: 1.02rem; margin-bottom: 1em; }
.aside__card p { font-size: .92rem; }
.aside__card ul { margin: 0; padding-left: 1.1em; font-size: .9rem; }
.aside__card li { margin-bottom: .6em; }
.aside__phone { margin: 12px 0 0; text-align: center; }
.aside__phone a { font-family: var(--head); font-weight: 700; font-size: 1.15rem; }
.aside__social { display: flex; gap: 16px; margin: 0; }

/* ==========================================================================
   Blog
   ========================================================================== */
.bpost { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bpost__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.bpost__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bpost:hover .bpost__media img { transform: scale(1.05); }
.bpost__body { padding: 22px 24px 26px; }
.bpost__body time { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bpost__body h2 { font-size: 1.25rem; margin: .5em 0 .6em; }
.bpost__body h2 a { color: var(--ink); }
.bpost__body h2 a:hover { color: var(--orange); }
.bpost__body p { font-size: .95rem; }
.bpost__more { font-family: var(--head); font-size: .82rem; font-weight: 600; }

.art { max-width: 820px; }
.art__head { margin-bottom: 26px; }
.art__head h1 { margin-bottom: .3em; }
.art__meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: .84rem; color: var(--muted); margin: 0; }
.art__hero { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 32px; }
.art__cta { margin-top: 44px; padding: 28px; text-align: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.art__cta h2 { font-size: 1.2rem; margin-bottom: .4em; }
.art__cta p { margin-bottom: 1.4em; }

.more { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 560px) { .more { grid-template-columns: 1fr; } }
.more a { display: flex; gap: 16px; align-items: center; color: var(--ink); }
.more a:hover { color: var(--orange); }
.more img { width: 120px; height: 84px; object-fit: cover; border-radius: var(--radius); flex: 0 0 auto; }
.more span { font-family: var(--head); font-size: .98rem; line-height: 1.35; }

/* ==========================================================================
   Banner de consentimento (LGPD)
   Barra inferior: não cobre o conteúdo e deixa aceitar e recusar com o mesmo
   peso visual — recusar não pode ser mais difícil do que aceitar.
   ========================================================================== */
.cc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; border-top: 3px solid var(--orange);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, .14);
  padding: 18px 0;
  animation: cc-sobe .25s ease-out;
}
@keyframes cc-sobe { from { transform: translateY(100%); } }

.cc__in {
  display: flex; align-items: center; gap: 22px;
  flex-wrap: wrap; justify-content: space-between;
}
.cc__texto { flex: 1 1 420px; min-width: 0; margin: 0; font-size: .92rem; line-height: 1.55; }
.cc__texto strong { color: var(--ink); display: block; margin-bottom: 3px; font-family: var(--head); }
.cc__texto a { text-decoration: underline; text-underline-offset: 2px; }

.cc__acoes { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cc__acoes .btn { padding: 11px 22px; font-size: .76rem; }

/* Recusar tem o mesmo destaque de aceitar; "preferências" é o terciário. */
.cc__link {
  background: none; border: 0; cursor: pointer; padding: 11px 6px;
  font-family: var(--head); font-size: .76rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--body); text-decoration: underline; text-underline-offset: 3px;
}
.cc__link:hover { color: var(--blue); }

/* ---- painel de preferências ---- */
.cc__prefs { width: 100%; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.cc__grupo {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.cc__grupo:last-of-type { border-bottom: 0; }
.cc__grupo input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); flex: 0 0 auto; }
.cc__grupo input:disabled { accent-color: var(--muted); }
.cc__grupo div { min-width: 0; }
.cc__grupo b { display: block; color: var(--ink); font-family: var(--head); font-size: .92rem; }
.cc__grupo span { display: block; font-size: .86rem; margin-top: 2px; }
.cc__prefs-acoes { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .cc { padding: 16px 0; max-height: 82vh; overflow-y: auto; }
  .cc__in { gap: 14px; }
  .cc__acoes { width: 100%; }
  .cc__acoes .btn { flex: 1 1 140px; }
}

/* Link no rodapé para reabrir as preferências depois da escolha. */
.ftr__bar .cc__reabrir {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: rgba(255,255,255,.85); font: inherit; font-size: .86rem;
  text-decoration: underline; text-underline-offset: 2px;
}
.ftr__bar .cc__reabrir:hover { color: #fff; }

/* ==========================================================================
   404
   ========================================================================== */
.nf { text-align: center; padding-block: 90px; }
.nf__code { font-family: var(--head); font-size: clamp(4rem, 14vw, 8rem); font-weight: 700; color: var(--line); line-height: 1; margin: 0; }
.nf h1 { margin-top: .1em; }
.nf__text { max-width: 52ch; margin-inline: auto; margin-bottom: 2em; }
.nf__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
