/* AWAY Brigada — tema para corpo de bombeiros e brigadas de incêndio.
   Cores vêm do Personalizar tema via variáveis --b-accent, --b-dark e --b-light. */

:root {
  --b-accent: #e8590c;
  --b-dark: #221c1a;
  --b-light: #f7f3f1;
  --b-width: 1200px;
  --b-font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --b-accent-strong: color-mix(in srgb, var(--b-accent) 82%, #000);
  --b-accent-soft: color-mix(in srgb, var(--b-accent) 12%, #fff);
  --b-text: #5d5653;
  --b-heading: var(--b-dark);
  --b-border: #e9e1dc;
  --b-shadow: 0 18px 40px -22px rgba(34, 28, 26, .35);
  --b-header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--b-text); font-family: var(--b-font); font-size: 17px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4, h5 { color: var(--b-heading); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--b-accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

.b-skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--b-accent); color: #fff; padding: 10px 16px; font-weight: 700; }
.b-skip:focus { left: 8px; }

.b-container, .away-container { width: min(calc(100% - 40px), var(--b-width)); margin-inline: auto; }
.b-container--narrow { max-width: 860px; }
.b-icon { flex: none; display: inline-block; vertical-align: middle; }
.b-hl { color: var(--b-accent); }

/* Botões */
.b-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border: 2px solid var(--b-accent); background: var(--b-accent); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: color .25s, border-color .25s; }
.b-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--b-dark); transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.b-btn:hover::before, .b-btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.b-btn:hover, .b-btn:focus-visible { border-color: var(--b-dark); }
.b-btn--light { background: #fff; border-color: #fff; color: var(--b-dark); }
.b-btn--light:hover { color: #fff; }
.b-btn--dark { background: var(--b-dark); border-color: var(--b-dark); }
.b-btn--dark::before { background: #fff; }
.b-btn--dark:hover { color: var(--b-dark); border-color: #fff; }
.b-btn--outline { background: transparent; color: var(--b-accent); }
.b-btn--outline::before { background: var(--b-accent); }
.b-btn--outline:hover { color: #fff; border-color: var(--b-accent); }
.b-btn--sm { min-height: 44px; padding: 0 18px; font-size: 13px; }
.b-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.b-link { display: inline-flex; align-items: center; gap: 8px; color: var(--b-accent); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.b-link .b-icon { transition: transform .25s; }
.b-link:hover .b-icon { transform: translateX(4px); }

/* Barra superior */
.b-topbar { background: var(--b-dark); color: rgba(255, 255, 255, .82); font-size: 14px; }
.b-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.b-topbar-info { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.b-topbar-info li, .b-topbar-info a { display: inline-flex; align-items: center; gap: 8px; }
.b-topbar-info .b-icon { color: var(--b-accent); }
.b-topbar a:hover { color: #fff; }
.b-social { display: flex; align-items: center; gap: 8px; }
.b-social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: inherit; transition: background .2s, color .2s; }
.b-social a:hover { background: var(--b-accent); color: #fff; }
.b-social--top span { margin-right: 4px; }
.b-social--top a { width: 30px; height: 30px; }

/* Cabeçalho */
.b-header { position: relative; z-index: 60; background: #fff; box-shadow: 0 1px 0 var(--b-border); }
.b-has-sticky .b-header { position: sticky; top: 0; }
.b-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); }
.b-header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--b-header-h); }
.b-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--b-dark); font-weight: 800; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; }
.b-brand img { max-height: 54px; width: auto; }
.b-brand-mark { display: grid; place-items: center; width: 46px; height: 46px; background: var(--b-accent); color: #fff; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.b-nav { margin-left: auto; }
.b-nav > ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.b-nav li { position: relative; }
.b-nav a, .b-sub-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border: 0; background: none; color: var(--b-dark); font-weight: 600; font-size: 16px; cursor: pointer; transition: color .2s; }
.b-nav a:hover, .b-nav a.is-current, .b-sub-toggle:hover, .b-sub-toggle.is-current { color: var(--b-accent); }
.b-sub { position: absolute; top: 100%; left: 0; min-width: 230px; margin: 0; padding: 10px 0; list-style: none; background: #fff; border-top: 3px solid var(--b-accent); box-shadow: var(--b-shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.b-has-sub:hover > .b-sub, .b-has-sub:focus-within > .b-sub, .b-has-sub.is-open > .b-sub { opacity: 1; visibility: visible; transform: none; }
.b-sub a { display: block; padding: 9px 22px; font-size: 15px; }
.b-header-actions { display: flex; align-items: center; gap: 12px; }
.b-header-cta strong { margin-left: 4px; }
.b-menu-toggle { display: none; place-items: center; width: 46px; height: 46px; border: 0; background: var(--b-accent); color: #fff; cursor: pointer; }
.b-menu-close { display: none; }
.b-menu-toggle[aria-expanded="true"] .b-menu-open { display: none; }
.b-menu-toggle[aria-expanded="true"] .b-menu-close { display: block; }

/* Carrossel de abertura */
.b-hero { position: relative; min-height: clamp(560px, 82vh, 780px); background: var(--b-dark); color: #fff; overflow: hidden; display: grid; }
.b-slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.b-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.b-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); transition: transform 7s ease; }
.b-slide.is-active .b-slide-bg { transform: scale(1); }
.b-slide-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 14, 12, .9) 0%, rgba(20, 14, 12, .65) 45%, rgba(20, 14, 12, .2) 100%); }
.b-slide-bg--empty { background:
    radial-gradient(60% 80% at 85% 90%, color-mix(in srgb, var(--b-accent) 70%, transparent) 0%, transparent 60%),
    radial-gradient(40% 50% at 70% 20%, color-mix(in srgb, var(--b-accent) 30%, transparent) 0%, transparent 70%),
    linear-gradient(135deg, var(--b-dark) 0%, color-mix(in srgb, var(--b-dark) 70%, #000) 100%); }
.b-slide-bg--empty::before { content: ""; position: absolute; right: -4%; bottom: -12%; width: min(52vw, 640px); aspect-ratio: 1; opacity: .12; background: currentColor; -webkit-mask: url("../img/flame.svg") center / contain no-repeat; mask: url("../img/flame.svg") center / contain no-repeat; color: #fff; }
.b-slide-content { position: relative; z-index: 2; padding: 96px 0 120px; }
.b-slide-content > * { max-width: 680px; }
.b-slide.is-active .b-slide-content > * { animation: b-rise .9s both; }
.b-slide.is-active .b-slide-content > :nth-child(2) { animation-delay: .12s; }
.b-slide.is-active .b-slide-content > :nth-child(3) { animation-delay: .24s; }
.b-slide.is-active .b-slide-content > :nth-child(4) { animation-delay: .36s; }
@keyframes b-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.b-hero h1, .b-slide-title { color: #fff; font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; line-height: 1.08; margin-bottom: 22px; }
.b-slide-text { font-size: clamp(17px, 1.6vw, 19px); color: rgba(255, 255, 255, .88); margin-bottom: 34px; }
.b-slider-arrows { position: absolute; z-index: 3; right: max(20px, calc((100% - var(--b-width)) / 2)); bottom: 72px; display: flex; gap: 14px; }
.b-slider-arrows button, .b-track-nav button { display: grid; place-items: center; width: 56px; height: 56px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; backdrop-filter: blur(4px); transition: background .2s; }
.b-slider-arrows button:hover { background: var(--b-accent); }
.b-slider-dots { position: absolute; z-index: 3; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; gap: 8px; }
.b-slider-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .3s, background .3s; }
.b-slider-dots button.is-active { width: 30px; background: var(--b-accent); }

/* Eyebrow e cabeçalhos de seção */
.b-eyebrow, .away-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--b-accent); font-size: 15px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.b-eyebrow--hero { font-size: 17px; letter-spacing: .22em; }
.b-heading { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.b-heading h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; margin: 0; }
.b-heading--left { margin-left: 0; text-align: left; margin-bottom: 24px; }
.b-heading--light h2 { color: #fff; }

.b-section, .away-section { padding: clamp(72px, 9vw, 120px) 0; }
.b-section--tight { padding-bottom: 40px; }
.b-section--light { background: var(--b-light); }
.b-lead, .away-lead { font-size: 18px; }

/* Sobre */
.b-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.b-about-media { position: relative; padding: 0 0 24px 0; }
.b-about-media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46%; height: 26px; background: var(--b-accent); clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%); }
.b-about-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.b-about-badge { position: absolute; top: 0; left: 0; display: flex; align-items: center; gap: 14px; padding: 16px 22px 16px 16px; background: #fff; border-left: 4px solid var(--b-accent); box-shadow: var(--b-shadow); color: var(--b-dark); font-weight: 600; line-height: 1.25; max-width: 260px; }
.b-about-badge strong { display: block; font-size: 30px; font-weight: 800; color: var(--b-dark); }
.b-about-badge-icon { display: grid; place-items: center; width: 62px; height: 62px; flex: none; border-radius: 50%; background: var(--b-accent); color: #fff; }
.b-checks { margin: 26px 0 34px; padding: 0; list-style: none; display: grid; gap: 12px; }
.b-checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--b-dark); font-weight: 600; }
.b-checks .b-icon { color: var(--b-accent); margin-top: 3px; }

/* Imagens reservadas (sem foto cadastrada) */
.b-ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 200px; color: color-mix(in srgb, var(--b-accent) 70%, #fff); background:
    radial-gradient(70% 70% at 80% 100%, color-mix(in srgb, var(--b-accent) 45%, transparent), transparent 70%),
    linear-gradient(140deg, color-mix(in srgb, var(--b-dark) 92%, #fff), var(--b-dark)); }
.b-about-img.b-ph { aspect-ratio: 1 / 1; }

/* Serviços */
.b-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.b-service { position: relative; padding: 44px 36px 38px; background: #fff; border-bottom: 3px solid transparent; box-shadow: 0 10px 30px -24px rgba(34, 28, 26, .45); transition: transform .3s, border-color .3s, box-shadow .3s; overflow: hidden; isolation: isolate; }
.b-service::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--b-accent-soft); z-index: -1; transition: transform .5s; }
.b-service:hover { transform: translateY(-6px); border-color: var(--b-accent); box-shadow: var(--b-shadow); }
.b-service:hover::before { transform: scale(1.6); }
.b-service-icon { display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 26px; background: var(--b-accent); color: #fff; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.b-service h3 { font-size: 23px; }
.b-service h3 a:hover { color: var(--b-accent); }
.b-service p { margin-bottom: 18px; }

/* Galeria */
.b-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 18px; }
.b-gallery-item { position: relative; margin: 0; overflow: hidden; background: var(--b-dark); }
.b-gallery-item--wide { grid-column: span 2; }
.b-gallery-item a, .b-gallery-item img { display: block; width: 100%; height: 100%; }
.b-gallery-item .b-ph { width: 100%; height: 100%; min-height: 0; }
.b-gallery-item img { object-fit: cover; transition: transform .6s; }
.b-gallery-item:hover img { transform: scale(1.06); }
.b-gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); color: #fff; font-weight: 600; pointer-events: none; }

/* Números */
.b-stats { position: relative; background: var(--b-dark); color: #fff; padding: 64px 0; overflow: hidden; }
.b-stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 100% 50%, color-mix(in srgb, var(--b-accent) 35%, transparent), transparent 70%); }
.b-stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.b-stat { display: flex; align-items: center; gap: 18px; }
.b-stat + .b-stat { border-left: 1px solid rgba(255, 255, 255, .12); padding-left: 32px; }
.b-stat-icon { display: grid; place-items: center; width: 76px; height: 76px; flex: none; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--b-accent) 80%, #fff); color: var(--b-accent); }
.b-stat-number { margin: 0; font-size: clamp(34px, 3.4vw, 46px); font-weight: 800; line-height: 1; color: #fff; }
.b-stat-label { margin: 8px 0 0; color: rgba(255, 255, 255, .75); font-weight: 500; line-height: 1.35; }

/* Cartões (campanhas e blog) */
.b-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.b-card { display: flex; flex-direction: column; background: #fff; box-shadow: 0 10px 34px -24px rgba(34, 28, 26, .5); transition: transform .3s, box-shadow .3s; }
.b-card:hover { transform: translateY(-6px); box-shadow: var(--b-shadow); }
.b-card-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.b-card-media img, .b-card-media .b-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.b-card:hover .b-card-media img { transform: scale(1.05); }
.b-tag { position: absolute; left: 20px; bottom: 0; padding: 7px 16px; background: var(--b-accent); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.b-card-body { display: flex; flex-direction: column; flex: 1; padding: 30px 30px 32px; }
.b-card-body h3 { font-size: 22px; }
.b-card-body h3 a:hover { color: var(--b-accent); }
.b-card-body .b-link { margin-top: auto; }
.b-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 14px; }
.b-meta li { display: inline-flex; align-items: center; gap: 6px; }
.b-meta .b-icon { color: var(--b-accent); }

/* Vídeo */
.b-video { position: relative; padding: clamp(110px, 14vw, 170px) 0; background-color: var(--b-dark); background-size: cover; background-position: center; background-attachment: fixed; text-align: center; }
.b-video::before { content: ""; position: absolute; inset: 0; background: rgba(20, 14, 12, .72); }
.b-video--empty { background-image: radial-gradient(60% 90% at 50% 120%, color-mix(in srgb, var(--b-accent) 55%, transparent), transparent 70%); background-attachment: scroll; }
.b-video-inner { position: relative; }
.b-video .b-heading { margin-bottom: 40px; }
.b-play { position: relative; display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--b-accent); color: #fff; padding-left: 5px; }
.b-play::before, .b-play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--b-accent); animation: b-pulse 2.4s infinite; }
.b-play::after { animation-delay: 1.2s; }
@keyframes b-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }
@media (hover: none) { .b-video { background-attachment: scroll; } }

/* Eventos */
.b-events { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.b-event { display: flex; flex-direction: column; background: #fff; box-shadow: 0 10px 30px -24px rgba(34, 28, 26, .5); transition: transform .3s, box-shadow .3s; }
.b-event:hover { transform: translateY(-6px); box-shadow: var(--b-shadow); }
.b-event-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.b-event-media img, .b-event-media .b-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.b-event-date { position: absolute; left: 16px; top: 16px; padding: 8px 14px; background: var(--b-accent); color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.b-event-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 26px 28px 30px; }
.b-event-body .b-btn { margin-top: auto; }
.b-event-body h3 { font-size: 22px; margin-bottom: 18px; }

/* Diferenciais */
.b-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.b-feature { position: relative; padding: 40px 34px; border: 1px solid var(--b-border); transition: background .3s, border-color .3s; }
.b-feature:hover { background: var(--b-dark); border-color: var(--b-dark); }
.b-feature:hover h3 { color: #fff; }
.b-feature:hover p { color: rgba(255, 255, 255, .78); }
.b-feature-num { position: absolute; right: 26px; top: 18px; font-size: 54px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--b-border); }
.b-feature-icon { display: inline-grid; color: var(--b-accent); margin-bottom: 18px; }
.b-feature h3 { font-size: 22px; transition: color .3s; }
.b-feature p { margin: 0; transition: color .3s; }

/* Chamada de emergência */
.b-cta { position: relative; background: var(--b-accent); color: #fff; padding: 64px 0; overflow: hidden; }
.b-cta::before { content: ""; position: absolute; right: -60px; top: 50%; width: 360px; aspect-ratio: 1; transform: translateY(-50%); background: rgba(255, 255, 255, .1); -webkit-mask: url("../img/flame.svg") center / contain no-repeat; mask: url("../img/flame.svg") center / contain no-repeat; }
.b-cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.b-cta h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); max-width: 640px; }
.b-cta p { margin: 0; color: rgba(255, 255, 255, .9); max-width: 620px; }
.b-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.b-cta-phone { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; color: #fff; }
.b-cta-phone-icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #fff; color: var(--b-accent); }

/* Equipe */
.b-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.b-member-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--b-dark); }
.b-member-photo img, .b-member-photo .b-ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; transition: transform .6s; }
.b-member:hover .b-member-photo img { transform: scale(1.05); }
.b-member-social { position: absolute; right: 16px; top: 16px; display: flex; flex-direction: column; gap: 8px; }
.b-member-social a { display: grid; place-items: center; width: 38px; height: 38px; background: #fff; color: var(--b-dark); transform: translateX(60px); transition: transform .3s, background .2s, color .2s; }
.b-member-social a:nth-child(2) { transition-delay: .05s; } .b-member-social a:nth-child(3) { transition-delay: .1s; }
.b-member:hover .b-member-social a, .b-member:focus-within .b-member-social a { transform: none; }
.b-member-social a:hover { background: var(--b-accent); color: #fff; }
.b-member-info { position: relative; margin: -34px 18px 0; padding: 20px 18px; background: #fff; text-align: center; box-shadow: 0 10px 30px -18px rgba(34, 28, 26, .45); border-bottom: 3px solid var(--b-accent); }
.b-member-info h3 { font-size: 20px; margin-bottom: 4px; }
.b-member-info p { margin: 0; color: var(--b-accent); font-weight: 600; font-size: 15px; }

/* Depoimentos */
.b-testimonials { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 3); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.b-testimonials::-webkit-scrollbar { display: none; }
.b-testimonial { scroll-snap-align: start; position: relative; margin: 0; padding: 38px 34px 32px; background: #fff; display: flex; flex-direction: column; }
.b-quote-icon { color: var(--b-accent); margin-bottom: 16px; }
.b-testimonial blockquote { margin: 0 0 18px; font-size: 17px; font-style: italic; flex: 1; }
.b-stars { display: flex; gap: 3px; color: #f5a524; margin-bottom: 20px; }
.b-testimonial figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--b-border); }
.b-testimonial figcaption img, .b-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.b-avatar { display: grid; place-items: center; background: var(--b-accent); color: #fff; font-weight: 800; font-size: 22px; }
.b-testimonial strong { display: block; color: var(--b-dark); font-size: 18px; }
.b-testimonial small { color: var(--b-accent); font-weight: 600; font-size: 14px; }
.b-track-nav { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }
.b-track-nav button { background: #fff; color: var(--b-dark); box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .3); }
.b-track-nav button:hover { background: var(--b-accent); color: #fff; }

/* Páginas internas */
.b-page-head, .away-page-head { position: relative; padding: clamp(80px, 10vw, 130px) 0; background:
    radial-gradient(50% 120% at 100% 100%, color-mix(in srgb, var(--b-accent) 50%, transparent), transparent 70%),
    linear-gradient(120deg, var(--b-dark), color-mix(in srgb, var(--b-dark) 75%, #000)); color: rgba(255, 255, 255, .85); text-align: center; overflow: hidden; }
.b-page-head::after { content: ""; position: absolute; left: -80px; bottom: -120px; width: 380px; aspect-ratio: 1; background: rgba(255, 255, 255, .05); -webkit-mask: url("../img/flame.svg") center / contain no-repeat; mask: url("../img/flame.svg") center / contain no-repeat; }
.b-page-head h1, .away-page-head h1 { position: relative; color: #fff; font-size: clamp(36px, 5vw, 58px); font-weight: 800; margin-bottom: 10px; }
.b-page-head p { position: relative; max-width: 680px; margin: 0 auto 18px; font-size: 18px; }
.b-crumbs { position: relative; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 10px 22px; background: rgba(255, 255, 255, .08); font-weight: 600; font-size: 15px; }
.b-crumbs a:hover { color: var(--b-accent); }
.b-crumbs [aria-current] { color: var(--b-accent); }

/* Conteúdo do editor */
.b-prose, .away-prose { font-size: 17px; }
.b-prose--center { text-align: center; font-size: 19px; }
.b-prose > :first-child, .away-prose > :first-child { margin-top: 0; }
.b-prose h2, .away-prose h2 { font-size: clamp(28px, 3vw, 36px); margin: 1.6em 0 .6em; }
.b-prose h3, .away-prose h3 { font-size: 24px; margin: 1.4em 0 .5em; }
.b-prose a, .away-prose a { color: var(--b-accent); text-decoration: underline; text-underline-offset: 3px; }
.b-prose ul, .away-prose ul { padding-left: 0; list-style: none; }
.b-prose ul li, .away-prose ul li { position: relative; padding-left: 28px; margin-bottom: .5em; }
.b-prose ul li::before, .away-prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; background: var(--b-accent); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.b-prose img, .away-prose img { margin: 1.5em 0; }
.b-prose blockquote, .away-prose blockquote { margin: 1.6em 0; padding: 20px 26px; border-left: 4px solid var(--b-accent); background: var(--b-light); color: var(--b-dark); font-size: 19px; font-style: italic; }
.b-prose table, .away-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.b-prose th, .b-prose td, .away-prose th, .away-prose td { padding: 12px 14px; border: 1px solid var(--b-border); text-align: left; }
.b-prose th, .away-prose th { background: var(--b-light); color: var(--b-dark); }
.b-full-width, .away-full-width { padding: 0; }
.b-prose--full > * { width: min(calc(100% - 40px), var(--b-width)); margin-inline: auto; }

/* Contato */
.b-contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.b-contact-info { display: grid; gap: 16px; }
.b-contact-emergency { display: flex; align-items: center; gap: 16px; padding: 24px; background: var(--b-accent); color: #fff; }
.b-contact-emergency small { display: block; font-size: 14px; opacity: .9; }
.b-contact-emergency strong { font-size: 30px; line-height: 1.1; }
.b-contact-card { display: flex; gap: 16px; padding: 22px 24px; background: var(--b-light); }
.b-contact-card small { display: block; font-weight: 700; color: var(--b-dark); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin-bottom: 2px; }
.b-contact-card p { margin: 0; }
.b-contact-card a:hover { color: var(--b-accent); }
.b-contact-card-icon { display: grid; place-items: center; width: 50px; height: 50px; flex: none; background: #fff; color: var(--b-accent); }
.b-contact-form { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--b-border); box-shadow: 0 10px 40px -30px rgba(0, 0, 0, .4); }
.b-map iframe { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(.3); }

/* Formulários do CMS dentro do tema */
.cms-public-form { gap: 1.1rem; }
.cms-public-form input, .cms-public-form textarea, .cms-public-form select { border-radius: 0 !important; min-height: 52px; border-color: var(--b-border) !important; background: #fff; }
.cms-public-form input:focus, .cms-public-form textarea:focus, .cms-public-form select:focus { outline: none; border-color: var(--b-accent) !important; box-shadow: 0 0 0 3px var(--b-accent-soft); }
.cms-public-form button { min-height: 54px; padding: 0 30px !important; border-radius: 0 !important; background: var(--b-accent) !important; text-transform: uppercase; letter-spacing: .06em; font-weight: 700 !important; transition: background .25s; }
.cms-public-form button:hover { background: var(--b-dark) !important; }

/* Rodapé */
.b-footer { background: var(--b-dark); color: rgba(255, 255, 255, .72); font-size: 16px; }
.b-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding: 90px 0 70px; }
.b-footer h4 { position: relative; color: #fff; font-size: 21px; margin-bottom: 28px; padding-bottom: 14px; }
.b-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--b-accent); }
.b-brand--footer { color: #fff; margin-bottom: 22px; }
.b-footer-about p { margin-bottom: 22px; }
.b-footer-contact, .b-footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.b-footer-contact li, .b-footer-contact a, .b-footer-links a { display: inline-flex; align-items: flex-start; gap: 10px; }
.b-footer-contact .b-icon, .b-footer-links .b-icon { color: var(--b-accent); margin-top: 4px; }
.b-footer a { transition: color .2s; }
.b-footer a:hover { color: #fff; }
.b-footer-links a:hover .b-icon { transform: translateX(3px); }
.b-footer-links .b-icon { transition: transform .2s; }
.b-footer-emergency { display: flex; align-items: center; gap: 14px; padding: 18px; margin-bottom: 20px; background: rgba(255, 255, 255, .06); border-left: 3px solid var(--b-accent); }
.b-footer-emergency small { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.b-footer-emergency strong { color: #fff; font-size: 26px; line-height: 1.1; }
.b-footer-emergency-icon { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--b-accent); color: #fff; }
.b-footer-hours { display: flex; gap: 10px; }
.b-footer-hours .b-icon { color: var(--b-accent); margin-top: 4px; }
.b-widget { margin-top: 18px; }
.b-widget h5 { color: #fff; font-size: 17px; }
.b-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.b-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; }
.b-footer-bottom p { margin: 0; font-size: 15px; }
.b-footer-bottom strong { color: var(--b-accent); }
.b-footer-bottom .b-social a { background: rgba(255, 255, 255, .08); }

/* Voltar ao topo e modal */
.b-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 70; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: var(--b-accent); color: #fff; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s; }
.b-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.b-to-top:hover { background: var(--b-dark); }
.b-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.b-modal[hidden] { display: none; }
.b-modal-backdrop { position: absolute; inset: 0; background: rgba(10, 8, 7, .88); }
.b-modal-box { position: relative; width: min(100%, 1000px); }
.b-modal-frame { aspect-ratio: 16 / 9; background: #000; display: grid; place-items: center; }
.b-modal-frame iframe { width: 100%; height: 100%; border: 0; }
.b-modal-frame img { max-height: 86vh; width: auto; margin: 0 auto; }
.b-modal--image .b-modal-frame { aspect-ratio: auto; background: transparent; }
.b-modal-close { position: absolute; right: 0; top: -52px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--b-accent); color: #fff; cursor: pointer; }

/* Revelar ao rolar */
.b-js [data-b-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.b-js [data-b-reveal].is-in { opacity: 1; transform: none; }

/* Telas do núcleo (blog nativo, artigos, comentários) */
.away-editorial { padding: clamp(60px, 8vw, 100px) 0; }
.away-editorial > h1 { font-size: clamp(34px, 4.5vw, 52px); font-weight: 800; }
.away-post-search { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 40px; }
.away-post-search label { display: flex; flex: 1; min-width: 240px; flex-direction: column; gap: 6px; font-weight: 600; color: var(--b-dark); }
.away-post-search input { min-height: 50px; padding: 0 14px; border: 1px solid var(--b-border); font: inherit; }
.away-post-search button { align-self: flex-end; min-height: 50px; padding: 0 26px; border: 0; background: var(--b-accent); color: #fff; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.away-post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.away-post-list article { background: #fff; box-shadow: 0 10px 34px -24px rgba(34, 28, 26, .5); }
.away-post-list article img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.away-post-list article > div { padding: 26px; }
.away-post-list h2 { font-size: 22px; }
.away-post-list h2 a:hover { color: var(--b-accent); }
.away-featured-image { width: 100%; margin: 24px 0 36px; }
.away-post-terms a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; background: var(--b-light); font-size: 14px; }
.away-pagination { margin-top: 40px; }
.away-comments { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--b-border); }

/* Responsivo */
@media (max-width: 1100px) {
  .b-header-cta span { display: none; }
  .b-header-cta { padding: 0 14px; }
  .b-services, .b-cards, .b-features { grid-template-columns: repeat(2, 1fr); }
  .b-team { grid-template-columns: repeat(2, 1fr); }
  .b-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .b-stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .b-footer-grid { grid-template-columns: 1fr 1fr; }
  .b-testimonials { grid-auto-columns: calc((100% - 28px) / 2); }
}
@media (max-width: 960px) {
  :root { --b-header-h: 72px; }
  .b-menu-toggle { display: grid; }
  .b-header-actions { margin-left: auto; }
  .b-nav { position: fixed; inset: var(--b-nav-top, var(--b-header-h)) 0 0 0; margin: 0; padding: 20px; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .35s ease; visibility: hidden; }
  .b-nav.is-open { transform: none; visibility: visible; }
  .b-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .b-nav li { border-bottom: 1px solid var(--b-border); }
  .b-nav a, .b-sub-toggle { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 18px; }
  .b-sub { position: static; display: none; min-width: 0; padding: 0 0 10px 14px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .b-has-sub.is-open > .b-sub { display: block; }
  .b-has-sub:hover > .b-sub { display: none; }
  .b-has-sub.is-open:hover > .b-sub { display: block; }
  .b-sub a { padding: 10px 4px; font-size: 16px; }
  .b-about-grid, .b-contact-grid { grid-template-columns: 1fr; }
  .b-about-media { max-width: 560px; }
  .b-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .b-topbar-info li:first-child { display: none; }
  .b-slider-arrows { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .b-topbar { display: none; }
  .b-brand { font-size: 18px; }
  .b-brand-mark { width: 40px; height: 40px; }
  .b-header-cta { display: none; }
  .b-hero { min-height: 560px; }
  .b-slide-content { padding: 72px 0 96px; }
  .b-actions .b-btn { width: 100%; }
  .b-services, .b-cards, .b-features, .b-stats-grid, .b-footer-grid { grid-template-columns: 1fr; }
  .b-team { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .b-member-info { margin: -24px 8px 0; padding: 14px 8px; }
  .b-member-info h3 { font-size: 16px; }
  .b-member-info p { font-size: 13px; }
  .b-eyebrow { letter-spacing: .12em; font-size: 13px; }
  .b-eyebrow--hero { letter-spacing: .14em; font-size: 14px; }
  .b-stat + .b-stat { border-left: 0; padding-left: 0; }
  .b-gallery { grid-template-columns: 1fr; }
  .b-gallery-item--wide { grid-column: auto; }
  .b-testimonials { grid-auto-columns: 88%; }
  .b-cta-inner { flex-direction: column; align-items: flex-start; }
  .b-about-badge { position: relative; margin-top: -40px; margin-left: 16px; }
  .b-heading { margin-bottom: 40px; }
  .b-footer-grid { padding: 64px 0 48px; }
}

/* ===== 1.1: produtos, filtro, WhatsApp ===== */
.b-center { text-align: center; margin-top: 44px; }
.b-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.b-product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--b-border); transition: transform .3s, box-shadow .3s, border-color .3s; }
.b-product:hover { transform: translateY(-5px); box-shadow: var(--b-shadow); border-color: transparent; }
.b-product[hidden] { display: none; }
.b-product-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--b-light); }
.b-product-media img, .b-product-media .b-ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; transition: transform .6s; }
.b-product:hover .b-product-media img { transform: scale(1.05); }
.b-product-body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.b-product-body h3 { font-size: 19px; margin-bottom: 8px; }
.b-product-body p { font-size: 15px; margin-bottom: 18px; }
.b-product-body .b-btn { margin-top: auto; width: 100%; }
.b-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.b-filter button { padding: 10px 20px; border: 1px solid var(--b-border); background: #fff; color: var(--b-dark); font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.b-filter button:hover { border-color: var(--b-accent); color: var(--b-accent); }
.b-filter button.is-active { background: var(--b-accent); border-color: var(--b-accent); color: #fff; }
.b-whats { position: fixed; right: 22px; bottom: 22px; z-index: 75; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .5); transition: transform .2s; }
.b-whats:hover { transform: scale(1.06); }
.b-to-top--up { bottom: 92px; }
.b-page-head { background-image: radial-gradient(50% 120% at 100% 100%, color-mix(in srgb, var(--b-accent) 45%, transparent), transparent 70%), linear-gradient(120deg, rgba(20, 16, 15, .94), rgba(20, 16, 15, .78)), var(--b-head-image, linear-gradient(120deg, var(--b-dark), var(--b-dark))); background-size: cover; background-position: center; }
@media (max-width: 1100px) { .b-products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .b-products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .b-products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .b-product-body { padding: 14px; }
  .b-product-body h3 { font-size: 16px; }
  .b-product-body p { display: none; }
  .b-product-body .b-btn { padding: 0 8px; font-size: 12px; }
  .b-whats { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .b-to-top--up { bottom: 80px; right: 16px; }
}
@media (max-width: 640px) {
  .b-product-body .b-btn { letter-spacing: .02em; gap: 6px; min-height: 40px; }
  .b-product-body .b-btn .b-icon { width: 16px; height: 16px; }
  .b-product-media .b-tag { left: 10px; padding: 5px 9px; font-size: 10px; letter-spacing: .04em; }
}
