/* Meshtastic Brasil — brand stylesheet (green-on-white identity) */
:root {
  --green:        #4DB06F;  /* primary brand green: buttons, banners, page bg */
  --green-bright: #5ACF82;  /* lighter accent green */
  --green-dark:   #2F8A52;  /* darker green: hovers, secondary buttons */
  --green-deep:   #1A3B25;  /* deepest green */
  --dark:         #414141;  /* header / footer */
  --ink:          #222222;  /* body headings text */
  --text:         #333333;  /* body text */
  --muted:        #6b7280;  /* secondary text */
  --bg-off:       #F9F9F9;  /* subtle off-white inside panels */
  --white:        #FFFFFF;
  --hl:           #E2FF60;  /* hyperlink highlight (from Wix) */
  --font-title: "Maven Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Maven Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shell: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);     /* Maven Pro Regular — default for all body text */
  font-size: 18px;                   /* default size for all non-header text */
  color: var(--text);
  background: var(--green);          /* green page background */
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;                 /* footer reaches the bottom on short pages */
}
main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-title); font-stretch: normal; font-weight: 700; line-height: 1.08; color: var(--ink); }
h1 { font-size: clamp(34px, 4.4vw, 44px); font-weight: 500; color: #000; }   /* page-title default (Maven Pro Medium, matches hero); .hero h1 overrides on hero pages */
a { color: #000; text-decoration: underline; font-weight: 700; overflow-wrap: anywhere; }   /* content hyperlinks: black, underlined, bold (no highlight); break long URLs so they do not overflow on mobile */
a:hover { text-decoration: underline; }
a:has(> img) { background: none; padding: 0; text-decoration: none; }   /* image links (logo, map): no highlight */

/* ---- centering helper (header, footer, inner-page rows) ---- */
.container { width: min(var(--shell), 92%); margin: 0 auto; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; background: var(--dark); z-index: 50; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.nav__brand { display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 16px 0; }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; }
.nav__logo img { height: 42px; width: auto; display: block; }
.nav__name { color: #fff; font-family: var(--font-title); font-weight: 700; font-size: 41px; line-height: 46px; display: flex; align-items: center; }
.nav__tagline { color: #d8dce0; font-family: var(--font-title); font-stretch: normal; font-size: 20px; font-weight: 400; font-style: normal; line-height: 1; }
.nav__links { display: flex; gap: 28px; list-style: none; }
.nav__links a { color: #fff; font-family: var(--font-title); font-size: 20px; font-weight: 400; text-decoration: none; background: none; padding: 0; }
.nav__links a:hover { color: var(--green-bright); text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--green-bright); }
.nav__sub-parent { position: relative; }
.nav__sub-parent > a::after { content: ""; display: inline-block; width: 0.62em; height: 0.62em;
  margin-left: 0.4em; vertical-align: middle; position: relative; top: -0.04em;
  background-color: currentColor; transition: transform .15s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.nav__sub-parent:hover > a::after { transform: rotate(180deg); }
.nav__sub { display: none; position: absolute; top: 100%; left: 0; list-style: none;
  background: var(--dark); padding: 10px 0; min-width: 250px; border-radius: 0 0 8px 8px;
  box-shadow: 0 6px 12px rgba(0,0,0,.25); z-index: 50; }
.nav__sub a { display: block; padding: 8px 18px; font-size: 17px; white-space: nowrap; }
.nav__sub-parent:hover .nav__sub, .nav__sub-parent:focus-within .nav__sub { display: block; }
.nav__toggle { display: none; background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; line-height: 1; }

/* ---- white content panels (index .panel + inner-page .section) ---- */
.panel, .section {
  background: var(--white);
  width: min(var(--shell), 94%);
  margin: 22px auto;
  border-radius: 8px;
  padding: 40px 44px;
  box-shadow: 0 2px 10px rgba(0,0,0,.10);
}
/* neutralize nested .container inside a panel/section so it doesn't re-constrain */
.panel .container, .section .container { width: auto; max-width: none; margin: 0; padding: 0; }
.block + .block { margin-top: 40px; padding-top: 36px; border-top: 1px solid #eee; }
.center { text-align: center; }
.section-intro { margin-bottom: 22px; }   /* one-liner under a section heading */

/* ---- hero ---- */
.hero h1 { font-size: clamp(34px, 4.4vw, 46px); font-weight: 500; color: #000; margin-bottom: 32px; }  /* Maven Pro Medium, black - larger than section h2 */
.hero h1 .os, .hero h1 .pv { color: #000; }
.hero h1 .pv { font-weight: 700; }
.hero h1 .og { color: #000; font-style: italic; }
.hero p { max-width: 760px; line-height: 1.45; margin-bottom: 32px; }  /* inherits default Maven Pro Regular 18px */
.hero p strong { font-weight: 700; }
.hero p em { font-style: italic; }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 6px;
  background: var(--green-dark);
  color: #fff;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .3px;
  margin: 4px 6px 4px 0;
  border: 2px solid var(--green-dark);
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.btn svg.btn__ico {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  stroke: currentColor;
  opacity: .95;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); text-decoration: none; }
/* modifiers kept for existing markup — all share the default button green */
.btn--navy, .btn--blue { background: var(--green-dark); border-color: var(--green-dark); }
.btn--navy:hover, .btn--blue:hover { background: var(--green-deep); border-color: var(--green-deep); }

/* ---- generic section headings (inside white panels) ---- */
.panel h2, .section h2 { color: #000; font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 28px; }
/* breathing room before subsection headings (e.g. "Antes de comprar", "Baterias") */
.section .container > h3, .panel > h3 { margin-top: 38px; }
.section .container > h3:first-child, .panel > h3:first-child { margin-top: 0; }

/* ---- map section ---- */
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.map-grid--top { align-items: start; }
.map-grid img { border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.12); width: 100%; }
.map-grid--top h2 { margin-top: 6px; }
.map-grid--top h2:first-child { margin-top: 0; }
.panel h2.map-title { margin-bottom: 32px; }   /* match hero title gap */
.map-grid--top .h-mqtt { font-size: 18px; font-weight: 400; line-height: 1.45; color: var(--text); }   /* match the hero body paragraph */
.map-grid--top .h-siga { font-size: 22px; font-weight: 400; margin-top: 22px; }  /* matches Wix: 22px regular */
.mqtt-card { margin: 14px 0 20px; max-width: 420px; border: 1px solid #e4e7e5; border-left: 4px solid var(--green); border-radius: 8px; overflow: hidden; }
.mqtt-card > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 14px; }
.mqtt-card > div:nth-child(odd) { background: #f5f9f6; }
.mqtt-card dt { color: #5a5a5a; font-size: 14px; }
.mqtt-card dd { margin: 0; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 14px; font-weight: 600; color: var(--dark); word-break: break-all; text-align: right; }
.map-side { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.map-side .btn { margin: 0; }

/* ---- social list (icon + link) ---- */
.social-list { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.social-list a { display: flex; align-items: center; gap: 14px; color: #000; background: none; padding: 0; }
.social-list a span { text-decoration: underline; }
.social-list img { width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto; }


/* ---- "Monte ou compre o seu" section ---- */
.panel--alt { background: var(--bg-off); }
.panel.panel--alt > h2 { margin-bottom: 56px; }   /* extra gap before the two columns */
.cards.buy-grid { gap: 64px; }   /* override .cards default gap */
.buy-card { display: flex; flex-direction: column; }
.buy-card h3 { text-align: center; color: #000; font-size: 26px; margin-bottom: 18px; }
.buy-card p { margin-bottom: 16px; }
.img-collage, .img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 24px; }
.img-collage img { width: 100%; height: 150px; object-fit: cover; border-radius: 6px; }
.img-pair img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; }
.buy-card .btn { align-self: center; margin-top: auto; min-width: 60%; text-align: center; }
.btn--wide { padding-left: 40px; padding-right: 40px; }

/* ---- notícias (posts) ---- */
.posts { display: flex; flex-direction: column; gap: 18px; }
.posts__status { color: var(--muted); }
.post-card { background: var(--bg-off); padding: 24px; border-radius: 8px; }
.post-card[data-href] { cursor: pointer; transition: box-shadow .15s, transform .15s; }
.post-card[data-href]:hover { box-shadow: 0 4px 16px rgba(0,0,0,.12); transform: translateY(-2px); }
.post-card--thumb { display: flex; gap: 18px; align-items: flex-start; }
.post-card__thumb { width: 150px; height: 105px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.post-card__body { min-width: 0; }
@media (max-width: 600px) { .post-card__thumb { width: 100px; height: 75px; } }
.post-card__title { margin-bottom: 6px; }
.post-card__title a { background: none; padding: 0; text-decoration: none; color: #000; }   /* no yellow highlight on post titles */
.post-card__title a:hover { color: var(--green-dark); text-decoration: underline; }
.post-card__meta { color: #8a96a3; font-size: 14px; margin-bottom: 10px; }
.search-input { display: block; width: 100%; max-width: 520px; margin-top: 16px; padding: 12px 18px; border: 1px solid #cfcfcf; border-radius: 999px; font-family: var(--font-body); font-size: 16px; }
.search-input:focus { outline: none; border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(47,138,82,.15); }
/* Newsletter / unsubscribe form */
.nl-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; margin-top: 12px; }
.nl-input { flex: 1 1 240px; max-width: 320px; padding: 9px 16px; border: 1px solid #cfcfcf; border-radius: 999px; font-family: var(--font-body); font-size: 16px; }
.nl-input:focus { outline: none; border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(47,138,82,.15); }
.nl-form .btn { margin: 0; }
.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-msg { min-height: 1.2em; margin-top: 10px; font-family: var(--font-body); font-weight: 700; }
.nl-msg:not(:empty) { display: inline-block; color: #000; background-color: var(--green); padding: 2px 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* Live node count under the map image */
.node-count { margin: 0; font-size: 17px; text-align: center; }
.node-count a { text-decoration: none; background: none; color: inherit; }
.node-count strong { font-size: 24px; color: var(--dark); font-weight: 700; }
.node-count a:hover strong { text-decoration: underline; }
.search-results__head { color: var(--muted); margin-bottom: 4px; }
mark { background: var(--hl); color: #000; padding: 0 2px; border-radius: 3px; }
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cat-chip {
  display: inline-block; padding: 5px 13px; border-radius: 999px;
  border: 1px solid var(--green-dark); background: transparent; color: var(--green-dark);
  font-family: var(--font-title); font-weight: 700; font-size: 14px; line-height: 1.2; cursor: pointer;
}
.cat-chip:hover { background: var(--green-dark); color: #fff; }
.cat-chip.is-active { background: var(--green-dark); color: #fff; }
/* category label on a card (filled, distinct from outline filter chips) */
.cat-chip--badge { background: var(--green-dark); color: #fff; font-size: 12px; padding: 3px 12px; margin-bottom: 12px; }
.cat-chip--badge:hover { background: var(--green-deep); border-color: var(--green-deep); }
.post-back { background: none; padding: 0; text-decoration: none; color: var(--green-dark); font-weight: 700; }
.post-back:hover { text-decoration: underline; }
.post__title { font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 8px; }   /* largest on the page */
.post__meta { color: #8a96a3; font-size: 14px; margin-bottom: 22px; }
.post__byline { margin-top: 10px; }
.post__body > * + * { margin-top: 14px; }
.post__body h1, .post__body h2 { font-size: clamp(22px, 2.6vw, 28px); }
.post__body h3 { font-size: 20px; }
.post__body h1, .post__body h2, .post__body h3 { margin-top: 26px; color: #000; }
.post__body ul, .post__body ol { margin-left: 22px; }
.post__body img { border-radius: 6px; max-width: 100%; }
.post-video { margin: 18px 0; }
.post-video iframe { width: 100%; max-width: 720px; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; display: block; }
.post__body blockquote { border-left: 4px solid var(--green); background: var(--bg-off); padding: 12px 16px; border-radius: 6px; }
.md-pre { background: var(--green-deep); color: #d6f5e1; padding: 16px; border-radius: 8px; overflow: auto; font-family: ui-monospace, Menlo, monospace; font-size: 14px; }

/* ---- cards grid ---- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards--2 { grid-template-columns: 1fr 1fr; }
.cards--single { grid-template-columns: 1fr; }
/* small reusable utilities */
.section--alt { background: var(--bg-off); }
.mt-20 { margin-top: 20px; }
.card { background: var(--bg-off); padding: 24px; border-radius: 8px; min-width: 0; }
.card h3 { color: var(--ink); margin-bottom: 8px; font-size: 22px; }
.card img { border-radius: 6px; margin-bottom: 12px; width: 100%; }

/* ---- loja page ---- */
.callout { background: #eaf7ee; border-left: 4px solid var(--green); padding: 16px 20px; border-radius: 6px; margin: 18px 0; }
.callout h3 { color: #000; font-size: 20px; margin-bottom: 10px; }
.callout ol { margin-left: 20px; }
.callout li + li { margin-top: 10px; }
.brand-logo { height: 54px; width: auto; margin-bottom: 14px; border-radius: 6px; }
.vendor + .vendor { margin-top: 40px; padding-top: 32px; border-top: 1px solid #e5e5e5; }
.vendor-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 28px 0 12px; }
.vendor-head h3 { font-size: 28px; color: #000; margin: 0; }
.vendor-head .brand-logo { height: auto; max-height: 50px; max-width: 240px; width: auto; margin: 0; object-fit: contain; }
.destaques { font-family: var(--font-title); font-weight: 700; font-size: 20px; color: #000; margin: 18px 0 12px; }
.coupon { display: inline-block; background: var(--hl); color: #000; font-weight: 700; padding: 8px 12px; border-radius: 6px; margin: 6px 0 18px; }
.case-vendor { display: flex; gap: 28px; align-items: center; }
.case-vendor__info { flex: 0 0 240px; }
.case-vendor .case-carousel { flex: 1 1 auto; min-width: 0; margin-top: 0; }
.case-carousel { margin-top: 14px; }
.case-carousel .carousel__viewport { min-width: 0; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none; }
.case-carousel .carousel__viewport::-webkit-scrollbar { display: none; }
.case-carousel .carousel__track { display: flex; gap: 10px; }
.case-carousel .carousel__slide { flex: 0 0 auto; min-width: 0; scroll-snap-align: start; }
.case-carousel .carousel__slide img { height: 260px; width: auto; max-width: none; object-fit: cover; border-radius: 6px; margin: 0; display: block; }
.loja-prompt { font-weight: 700; font-size: 22px; margin-top: 6px; }
.loja-section { scroll-margin-top: 96px; }
[id] { scroll-margin-top: 96px; }   /* land anchors below the sticky header */
/* monte-o-seu / junte-se a rede: numbered steps + figures */
.step-num { display: inline-block; margin: 0 0 6px; padding: 3px 12px; border-radius: 999px; background: var(--green); color: #fff; font-family: var(--font-title); font-weight: 700; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; }
/* page metadata chips (post date / last update) */
.page-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 18px; padding: 0; list-style: none; }
.page-meta li { display: inline-flex; align-items: center; gap: 7px; background: var(--bg-off); border: 1px solid #e2e7e3; border-radius: 999px; padding: 6px 14px; font-size: 14px; color: #555; }
.page-meta__label { font-weight: 700; color: var(--green-dark); }
.lead { font-size: 19px; max-width: 72ch; }
.link-bold { background: none; padding: 0; font-weight: 700; }
.page-meta .meta-ico { width: 15px; height: 15px; flex: 0 0 auto; color: var(--green-dark); }
.monte-fig { display: block; max-width: 100%; border-radius: 8px; margin: 10px 0; }
.monte-figs { display: flex; flex-wrap: wrap; gap: 14px; margin: 10px 0; }
.monte-figs img { flex: 1 1 280px; min-width: 0; max-width: 100%; border-radius: 8px; object-fit: cover; }
.monte-callout { display: flex; align-items: flex-start; gap: 12px; background: #fff7e0; border: 1px solid #f0d175; border-left: 5px solid #e6a200; color: #5b4600; padding: 15px 18px; border-radius: 8px; }
.monte-callout::before { content: "⚠️"; font-size: 20px; line-height: 1.25; flex: 0 0 auto; }
.monte-callout strong { color: #5b4600; }
.loja-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.loja-filter { background: transparent; color: var(--green-dark); }
.loja-filter:hover { background: var(--green-dark); color: #fff; }
.loja-filter.is-active { background: var(--green-dark); color: #fff; }
/* cases vendor links: bold instead of yellow highlight */
.loja-section[data-cat="cases"] .card a { background: none; padding: 0; font-weight: 700; text-decoration: none; color: #000; }
/* radio product cards: stack the Site oficial / AliExpress buttons full-width,
   pinned to the bottom so they align even when titles wrap to extra lines */
.loja-section[data-cat="radios"] .card { display: flex; flex-direction: column; }
.loja-section[data-cat="radios"] .card .btn { margin: 8px 0 0; }
.loja-section[data-cat="radios"] .card a.btn:first-of-type { margin-top: auto; }

/* ---- feature cards with icons ---- */
.feature { text-align: center; background: var(--bg-off); padding: 26px 18px; border-radius: 8px; }
.feature__icon { width: 56px; height: 56px; margin: 0 auto 14px; color: #000; }
.feature__icon svg { width: 100%; height: 100%; display: block; }
.feature h3 { color: #000; margin-bottom: 8px; }

/* ---- newsletter ---- */
.news-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.news-form input { padding: 12px 14px; border: 1px solid #cfcfcf; border-radius: 6px; min-width: 260px; font-size: 15px; }

/* ---- carousel ---- */
.carousel { position: relative; display: flex; align-items: center; gap: 8px; }
.carousel__viewport { overflow: hidden; flex: 1 1 auto; }
.carousel__track { display: flex; transition: transform .4s ease; }
.carousel__slide { min-width: 100%; }
.carousel__slide iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 8px; }
.carousel__prev, .carousel__next {
  flex: 0 0 auto; font-size: 30px; line-height: 1;
  background: var(--green); color: #fff; border: 0; border-radius: 50%;
  width: 44px; height: 44px; cursor: pointer;
}
.carousel__prev:hover, .carousel__next:hover { background: var(--green-dark); }

/* ---- footer ---- */
.site-footer { background: var(--dark); color: #cdd2d6; padding: 48px 0; font-size: 15px; }
.site-footer a { color: var(--green); text-decoration: none; background: none; padding: 0; font-weight: 400; }
.site-footer a:hover { color: var(--green-bright); text-decoration: underline; }
.footer-fine { font-size: 12px; color: #9aa0a6; line-height: 1.45; }
.footer-mark { background-color: var(--hl); color: #000; padding: 3px 4px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.footer-about { display: flex; gap: 16px; align-items: flex-start; }
.footer-pin { flex: 0 0 auto; color: var(--green); }
.footer-pin svg { width: 42px; height: 42px; display: block; }
.footer-about__text > * + * { margin-top: 16px; }
.footer-links a { display: inline-block; text-decoration: underline; line-height: 2; }
.footer-contact__email { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.footer-contact__email a { color: #fff; }
.footer-contact__email a:hover { color: #fff; text-decoration: underline; }
.footer-ico { flex: 0 0 auto; color: var(--green); }
.footer-ico svg { width: 46px; height: 34px; display: block; }
.footer-heading { color: #fff; font-size: 20px; margin-bottom: 16px; }
.social-icons { display: flex; gap: 14px; }
.social-icons img { width: 40px; height: 40px; border-radius: 50%; }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav__links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--dark); flex-direction: column; padding: 16px 20px; gap: 16px;
    box-shadow: 0 6px 10px rgba(0,0,0,.25);
  }
  .nav__links.is-open { display: flex; }
  .nav__sub { display: block; position: static; background: none; box-shadow: none;
    padding: 6px 0 0 16px; min-width: 0; }
  .nav__sub a { padding: 6px 0; font-size: 18px; }
  .nav__toggle { display: block; }
  .panel, .section { padding: 28px 22px; }
  .map-grid { grid-template-columns: 1fr; }
  .cards, .cards--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .case-vendor { flex-direction: column; align-items: stretch; gap: 16px; }
  .case-vendor__info { flex-basis: auto; }
  .case-vendor .case-carousel { margin-top: 0; }
}

/* FAQ accordion (faq.html, generated by scripts/manage_faq.py) */
.faq { max-width: 820px; margin: 8px auto 0; text-align: left; }
.faq-item {
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  margin: 12px 0;
  background: var(--white);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 48px 16px 18px;
  position: relative;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px; font-weight: 700;
  color: var(--green-dark);
  transition: transform .15s;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { color: var(--green-dark); }
.faq-a { padding: 0 18px 16px; }
.faq-a p { margin: 0; color: var(--text); line-height: 1.6; }
.faq-cta { margin-top: 24px; color: var(--muted); }
.faq-intro { margin: 2rem 0 2.4rem; color: var(--muted); line-height: 1.6; }

/* Homepage FAQ teaser: full-width accordion (generated by manage_faq.py) */
.faq--wide { max-width: none; margin-left: 0; margin-right: 0; }

/* Loja affiliate-support note */
.loja-support { background: #eafff1; border-left: 4px solid var(--green); padding: 12px 16px; border-radius: 6px; margin-top: 14px; line-height: 1.55; }

/* Content tables (e.g. frequency-by-region on content pages) */
.content-table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 16px; }
.content-table th, .content-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e3e6ea; }
.content-table th { font-family: var(--font-title); color: var(--ink); background: var(--bg-off); }
.content-table tr:last-child td { border-bottom: 0; }

/* Cookie consent banner (injected by js/main.js) */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 20px;
  background: var(--dark);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  transition: opacity .25s, transform .25s;
}
.cookie-banner.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
.cookie-banner__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #e8eaed;
}
.cookie-banner__text a { color: #fff; }
.cookie-banner__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-banner__btn {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  background: var(--green);
  color: #fff;
  border: 2px solid var(--green);
  transition: background .15s, border-color .15s;
}
.cookie-banner__btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.cookie-banner__btn--ghost {
  background: transparent;
  border-color: #6b7280;
  color: #e8eaed;
}
.cookie-banner__btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #9aa1ab; }

@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; left: 10px; right: 10px; bottom: 10px; }
  .cookie-banner__actions { justify-content: flex-end; }
}

/* ---- regional groups directory (grupos-regionais.html) ---- */
.group-tabs { display: flex; gap: 10px; margin: 8px 0 24px; flex-wrap: wrap; }
.group-tab { font-family: var(--font-title); font-weight: 700; font-size: 17px; cursor: pointer;
  padding: 10px 22px; border-radius: 999px; border: 2px solid var(--green-dark);
  background: var(--white); color: var(--green-dark); }
.group-tab.is-active { background: var(--green-dark); color: var(--white); }
.group-panel { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.group-panel[hidden] { display: none; }   /* class display: grid would otherwise override the hidden attribute */
.group-card { background: var(--bg-off); border-radius: 14px; padding: 22px;
  display: flex; align-items: center; gap: 16px;
  text-decoration: none; color: inherit; font-weight: 400;
  transition: background .15s ease, transform .15s ease; }
.group-card:hover { background: #edf6f0; transform: translateY(-2px); text-decoration: none; }
.group-card__body { flex: 1 1 auto; }
.group-card__body > * + * { margin-top: 6px; }
.group-card__body h3 { color: var(--ink); }
.group-card__arrow { flex: 0 0 auto; color: var(--green-dark); display: flex; }
.group-card__arrow svg { width: 28px; height: 28px; display: block; }
.group-card:hover .group-card__arrow { color: var(--green); }
.group-owner { color: var(--muted); font-size: 15px; }
.group-empty { color: var(--muted); }
