/* =========================================================
   Grupo Forte - estilos globais
   Valores extraídos do tema atual (Globefarer + Elementor)
   ========================================================= */

:root {
  --c-main: #e94f11;
  --c-main-hover: #e94e10;
  --c-white: #fff;
  --c-dark: #1b1b1b;
  --c-ink: #12171b;
  --c-black: #000;
  --c-gray: #e4e4e4;
  --c-text: #5b5b5b;
  --c-muted: #979797;

  --font: 'Sarabun', sans-serif;
  --font-alt: 'Roboto', 'Sarabun', sans-serif;

  --header-h: 140px;
  --sticky-h: 70px;
  --mobile-header-h: 80px;

  --grid: 1100px;
  --ease-menu: cubic-bezier(.4, 0, .2, 1);
  --ease-side: cubic-bezier(.77, 0, .175, 1);
}

@media (min-width: 1441px) { :root { --grid: 1400px; } }
@media (max-width: 1200px) { :root { --grid: 960px; } }
@media (max-width: 1024px) { :root { --grid: 768px; } }
@media (max-width: 800px)  { :root { --grid: 86%; } }
@media (max-width: 480px)  { :root { --grid: calc(100% - 80px); } }

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.444em;
  font-weight: 400;
  color: var(--c-text);
  background-color: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--c-dark);
  overflow-wrap: break-word;
}

p { margin: 10px 0; }

a {
  color: var(--c-dark);
  text-decoration: none;
  transition: color .2s ease-out;
}
a:hover { color: var(--c-main); }

ul { list-style: none; margin: 0; padding: 0; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

address { font-style: normal; }

[hidden] { display: none !important; }

/* Página não rola por trás de um popup aberto */
html:has(dialog[open]) { overflow: hidden; }

::selection { color: #fff; background: var(--c-main); }

:focus-visible { outline: 2px solid var(--c-main); outline-offset: 2px; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  z-index: 100000;
  padding: 15px 23px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-dark);
  background: #f1f1f1;
}
.skip-link:focus { top: 10px; }

.container { width: var(--grid); margin-inline: auto; }
.container-wide { max-width: 1500px; margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 18px 40px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.294em;
  letter-spacing: -.01em;
  color: var(--c-dark);
  transition: color .2s ease-out, background-color .2s ease-out, border-color .2s ease-out;
}

.btn-icon {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 14px 0 0;
  line-height: 0;
}
.btn-icon svg {
  display: block;
  fill: currentColor;
  transform: rotate(0);
  transform-origin: center;
  transition: transform .2s ease-out;
}
.btn:hover .btn-icon svg { transform: rotate(90deg); }

.btn--outlined {
  color: var(--c-main);
  background-color: transparent;
  border: 1px solid var(--c-main);
}
.btn--outlined:hover { color: var(--c-main); }

.btn--textual { padding: 0; color: #000; }
.btn--textual:hover { color: #000; }
.btn--textual .btn-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0;
  color: #fff;
  background-color: var(--c-main);
  border-radius: 50%;
}
.btn--textual .btn-text {
  margin-left: 19px;
  font-size: 15px;
  line-height: 1.133em;
}

/* ---------- Vídeo do YouTube (carregado no clique) ---------- */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #000;
}
.video-embed-button {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.video-embed-button img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.video-embed-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.video-embed-play .yt-bg {
  fill: #212121;
  fill-opacity: .8;
  transition: fill .1s cubic-bezier(.4, 0, 1, 1), fill-opacity .1s cubic-bezier(.4, 0, 1, 1);
}
.video-embed-play .yt-triangle { fill: #fff; }
.video-embed-button:hover .yt-bg,
.video-embed-button:focus-visible .yt-bg { fill: #f00; fill-opacity: 1; }

/* Variante com capa própria e ícone do Elementor (Quem Somos) */
.video-embed--cover .video-embed-play {
  width: 100px;
  height: 100px;
  fill: var(--c-main);
  opacity: .8;
  filter: drop-shadow(1px 0 6px rgba(0, 0, 0, .3));
  transition: opacity .5s;
}
.video-embed--cover .video-embed-button:hover .video-embed-play,
.video-embed--cover .video-embed-button:focus-visible .video-embed-play { opacity: 1; }

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Carrossel (base; visual de cada página no CSS dela) ---------- */
.carousel {
  --per-view: 1;
  --gap: 0px;
  position: relative;
}
.carousel-viewport {
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}
.carousel-track {
  display: flex;
  gap: var(--gap);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  min-width: 0;
}
.carousel-slide img { -webkit-user-drag: none; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}
.carousel-arrow svg { fill: currentColor; }
.carousel-dots { display: flex; justify-content: center; }
.carousel-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}
.carousel-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #000;
  border-radius: 50%;
  opacity: .2;
  transition: opacity .2s;
}
.carousel-dot.is-active::before { opacity: 1; }

/* ---------- Animação de entrada (fadeInUp do Elementor) ---------- */
.js-reveal { opacity: 0; }
.js-reveal.is-revealed { animation: fadeInUp 1.25s both; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 100%, 0); }
  to { opacity: 1; transform: none; }
}

/* ---------- Carrossel de cards escuros (home e caldeiraria) ---------- */
.carousel--products {
  --per-view: 3;
  --gap: 30px;
  padding: 20px 0 14px;
}
.carousel--products .carousel-arrow {
  width: 40px;
  height: 40px;
  margin-top: -10px;
  color: var(--c-main);
}
.carousel--products .carousel-arrow svg { width: 40px; height: 40px; }
.carousel--products .carousel-arrow--prev { left: 0; }
.carousel--products .carousel-arrow--next { right: 5px; }

.carousel-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, .25);
}
.carousel-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--c-main);
  transition: width .5s ease;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}
.product-card-media {
  position: relative;
  z-index: 1;
  margin: 50px 50px 0;
}
.product-card-media img {
  width: 100%;
  height: 200px;
  object-fit: scale-down;
  object-position: center;
}
.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  background-color: var(--c-dark);
}
.product-card-title {
  margin: 0;
  font-size: 35px;
  font-weight: 600;
  line-height: 45px;
  text-align: center;
  color: #fff;
}
.product-card-body .btn { margin-top: 40px; }

@media (max-width: 1024px) {
  .carousel--products { --per-view: 2; }
}
@media (max-width: 767px) {
  .carousel--products { --per-view: 1; }
}

/* ---------- Blocos no padrão do Elementor (páginas internas) ---------- */
.el-heading {
  margin: 0;
  font-size: 45px;
  font-weight: 600;
  line-height: 1;
  color: #000;
}
.el-heading--h3 { font-size: 32px; }
.el-text { color: #000; }
.el-text p { margin: 10px 0; }

.el-button {
  display: block;
  width: 100%;
  max-width: 360px;
  padding: 25px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .5px;
  text-align: center;
  border-radius: 3px;
  transition: all .3s;
}
.el-button--light { color: var(--c-dark); background-color: #dfdfdf; }
.el-button--light:hover,
.el-button--light:focus-visible { color: #fff; background-color: var(--c-dark); }
.el-button--orange { color: #fff; background-color: #f85c22; }
.el-button--orange:hover,
.el-button--orange:focus-visible { color: #fff; background-color: #d64b18; }

/* Bloco cinza com título à esquerda e texto + botões à direita */
.info-panel { width: 70%; margin: 120px auto; }
.info-panel--wide { width: 84%; }
.info-panel-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 447px;
  padding: 10px;
  background-color: #f0f0f0;
}
.info-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1104px;
  padding: 10px;
}
.info-panel-title { align-self: center; text-align: center; }
.info-panel-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
}

@media (max-width: 767px) {
  .info-panel,
  .info-panel--wide { width: 100%; margin: 0; }
  .info-panel-grid { grid-template-columns: 1fr; }
  .info-panel-body { align-items: center; }
  .info-panel .el-text { font-size: 15px; }
}
@media (max-width: 680px) {
  .el-heading { font-size: 37px; }
  .el-heading--h3 { font-size: 32px; }
}

/* ---------- Ícones sociais ---------- */
.social-icons { display: flex; flex-wrap: wrap; }
.social-icons li { margin-right: 15px; }
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background-color: var(--c-main);
  border-radius: 50%;
  transition: color .2s ease-out, background-color .2s ease-out;
}
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }
.social-icon:hover { color: var(--c-main); background-color: #fff; }

/* ---------- Header (desktop) ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.header-main {
  display: flex;
  align-items: center;
  height: var(--header-h);
  border-bottom: 1px solid #ffffff80;
}

.header-logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  height: 100px;
  max-height: 100%;
  margin-right: auto;
  padding: 10px 10px 10px 40px;
}
.header-logo img { width: auto; max-height: 100%; }

.header-nav { height: 100%; }
.header-nav > .menu {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
}
.header-nav > .menu > .menu-item {
  position: relative;
  height: 100%;
  padding: 0 28px;
}
.header-nav > .menu > .menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--c-main-hover);
  transform: scale3d(0, 1, 1);
  transform-origin: left;
  transition: transform .2s;
}
.header-nav > .menu > .menu-item:hover::before,
.header-nav > .menu > .menu-item:focus-within::before,
.header-nav > .menu > .menu-item.is-current::before {
  transform: scale3d(1, 1, 1);
  transition: transform .3s var(--ease-menu);
}

.header-nav .menu-link {
  display: flex;
  align-items: center;
  height: 100%;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.294em;
  letter-spacing: -.01em;
  color: #fff;
}
.header-nav .menu-link:hover { color: #fff; }

/* Submenu "A Forte" */
.header-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease-out, visibility .2s ease-out;
}
.header-nav .has-children:hover > .dropdown,
.header-nav .has-children:focus-within > .dropdown,
.header-nav .has-children.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
}
.header-nav .sub-menu {
  width: 240px;
  padding: 18px 0;
  background-color: #fff;
}
.header-nav .sub-menu li { padding: 0 28px; }
.header-nav .sub-menu a {
  position: relative;
  display: flex;
  margin: 14px 0;
  padding-right: 28px;
  overflow: hidden;
  white-space: normal;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.294em;
  letter-spacing: -.01em;
  color: #000;
  transition: padding .2s ease-out;
}
.header-nav .sub-menu .menu-item-text { display: flex; align-items: center; }
.header-nav .menu-item-plus {
  position: absolute;
  left: -28px;
  fill: currentColor;
  transform: rotate(0);
  transition: left .2s ease-out, transform .2s ease-out;
}
.header-nav .sub-menu a:hover,
.header-nav .sub-menu .is-current > a {
  padding-left: 28px;
  padding-right: 0;
  color: #000;
}
.header-nav .sub-menu a:hover .menu-item-plus,
.header-nav .sub-menu .is-current > a .menu-item-plus {
  left: 0;
  transform: rotate(90deg);
  transition: left .2s ease-out, transform .2s ease-out 80ms;
}

/* Botão do menu lateral (bloco escuro à direita) */
.header-widget {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}
.header-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 1px;
  height: 100%;
  background-color: #ffffff80;
}

.opener {
  position: relative;
  display: flex;
  justify-content: center;
  height: 100%;
  overflow: hidden;
  color: #fff;
  background-color: var(--c-dark);
}
.opener-icon {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 27px;
  background-color: inherit;
}
.opener-icon svg { position: relative; z-index: 1; fill: currentColor; }
.opener-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 0;
  padding-bottom: 150%;
  background: var(--c-main);
  border-radius: 50%;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale3d(0, 0, 1);
  transition: transform .3s cubic-bezier(.1, 0, .3, 1), opacity .3s;
}
.opener:hover .opener-icon::before {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale3d(1, 1, 1);
  transition: transform .4s cubic-bezier(.1, 0, .3, 1), opacity .3s;
}

@media (min-width: 768px) {
  .header-widget .opener-icon { padding: 0 55px; }
}

/* Header fixo ao rolar */
.header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--sticky-h);
  background-color: #000;
  border-bottom: 1px solid rgba(27, 27, 27, .35);
  transform: translateY(-100%);
  transition: transform .5s ease;
}
.is-sticky .header-sticky { transform: translateY(0); }
.header-sticky .header-logo { height: 100%; }
.header-sticky .menu-item-text { padding-bottom: 2px; }

/* Faixa escura acima do header (páginas internas) */
.top-area {
  position: relative;
  z-index: 101;
  height: 33px;
  background-color: var(--c-dark);
}

/* ---------- Capa das páginas internas ---------- */
.page-title {
  position: relative;
  height: 673px;
  overflow: hidden;
  text-align: center;
  background-color: #dfdfdf;
}
.page-title-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}
.page-title-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: 173px;
}
.page-title--flush .page-title-content { padding-top: 140px; }
.page-title-text {
  margin: 0;
  font-size: 65px;
  font-weight: 600;
  line-height: 1.107em;
  color: #fff;
}

@media (max-width: 1024px) {
  .top-area { display: none; }
  .page-title { height: 500px; }
  .page-title-content,
  .page-title--flush .page-title-content { padding-top: 80px; }
}
@media (max-width: 680px) {
  .page-title-text { font-size: 42px; line-height: 50px; }
}

/* ---------- Header mobile (até 1024px) ---------- */
.mobile-header { display: none; }

@media (max-width: 1024px) {
  .header-main,
  .header-sticky { display: none; }

  .mobile-header {
    position: relative;
    display: block;
    height: var(--mobile-header-h);
    background-color: #0a0a0a;
  }

  .mobile-sticky .site-header {
    position: fixed;
    transform: translateY(-100%);
  }
  .mobile-sticky.mobile-sticky-show .site-header {
    transform: translateY(0);
    transition: transform .3s ease;
  }
}

.mobile-header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.mobile-logo {
  display: flex;
  align-items: center;
  height: 80px;
  margin-right: auto;
  padding: 0 0 0 20px;
}
.mobile-logo img { width: auto; max-height: calc(50% * 100 / 70); }

.mobile-opener .opener-icon--close { display: none; padding: 0 30px; }
.mobile-opener.is-opened .opener-icon--open { display: none; }
.mobile-opener.is-opened .opener-icon--close { display: flex; }

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  display: none;
  width: 100%;
  max-height: calc(100vh - var(--mobile-header-h));
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #0a0a0a;
  border-bottom: 1px solid #a6a6a6;
}
.mobile-nav.is-open { display: block; }
.mobile-nav > .menu { padding: 18px 40px 34px; }
.mobile-nav li { position: relative; margin: 12px 0; }
.mobile-nav .menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.294em;
  letter-spacing: -.01em;
  color: #fff;
}
.mobile-nav .menu-item-text {
  display: inline-flex;
  align-items: center;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size .4s cubic-bezier(.22, .61, .36, 1);
}
.mobile-nav a:hover { color: #fff; }
.mobile-nav a:hover .menu-item-text { background-size: 100% 1px; }
.mobile-nav .menu-item-arrow {
  flex-shrink: 0;
  fill: currentColor;
  transition: transform .2s ease-out;
}
.mobile-nav .is-open > .menu-link .menu-item-arrow { transform: rotate(90deg); }
.mobile-nav .sub-menu { display: none; padding-top: 9px; }
.mobile-nav .is-open > .sub-menu { display: block; }
.mobile-nav .sub-menu li { margin: 0; padding: 4px 0 5px; }
.mobile-nav .sub-menu a {
  display: flex;
  padding: 2px 0 3px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.294em;
  letter-spacing: -.01em;
  color: #fff;
}

/* ---------- Menu lateral ---------- */
.side-area-cover {
  position: fixed;
  inset: 0;
  z-index: 1002;
  background-color: rgba(27, 27, 27, .15);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease-in-out, visibility .2s ease-in-out;
}
.side-area-open .side-area-cover { opacity: 1; visibility: visible; }

.side-area {
  position: fixed;
  top: 0;
  right: -580px;
  z-index: 9999;
  width: 580px;
  max-width: 100%;
  height: 100%;
  padding: 148px 70px 35px 80px;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--c-muted);
  background-color: var(--c-dark);
  visibility: hidden;
  transition: right .6s var(--ease-side), visibility 0s .6s;
}
.side-area-open .side-area {
  right: 0;
  visibility: visible;
  transition: right .6s var(--ease-side), visibility 0s;
}

.side-area-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  height: auto;
}
.side-area-close .opener-icon { padding: 30px; }

.side-widget { margin: 0 0 25px; }
.side-logo { width: 90px; }
.side-tagline { margin-top: -10px; }
.side-label { margin: 8px 0; font-size: 14px; }
.side-phone {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
}
.side-columns { display: flex; gap: 2em; }
.side-column { flex: 1 1 0; min-width: 0; }
.side-column .side-label { margin: -20px 0 -5px; }
.side-link {
  font-size: 17px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: -.01em;
  color: #fff;
  overflow-wrap: anywhere;
}
.side-phone:hover,
.side-link:hover { color: #fff; }

@media (max-width: 680px) {
  .side-area { padding: 120px 30px 35px; }
  .side-columns { flex-direction: column; gap: 30px; }
  .side-column .side-label { margin: 0 0 -5px; }
}

/* ---------- Rodapé ---------- */
.site-footer { background-color: var(--c-dark); }

.footer-middle { padding: 105px 0 29px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1500px, 100%);
  margin: 0 auto;
}
.footer-col {
  margin: 0 0 60px;
  padding-left: 20px;
  font-weight: 200;
  color: #fff;
}
.footer-logo { display: inline-block; }
.footer-logo img { width: 150px; }

.footer-menu li { line-height: 26px; }
.footer-menu a {
  font-size: 17px;
  font-weight: 400;
  color: var(--c-muted);
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size .4s cubic-bezier(.22, .61, .36, 1);
}
.footer-menu a:hover { color: #fff; background-size: 100% 1px; }

.footer-contact p {
  margin: 0 0 20px;
  font-size: 15px;
  color: #fff;
}
.footer-contact strong { font-weight: 400; }
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: var(--c-main); }

.footer-bottom {
  position: relative;
  padding: 20px 70px;
  text-align: center;
}
.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ffffff16;
}
.footer-bottom p { margin: 0; font-size: 15px; }
.footer-bottom a,
.footer-bottom a:hover { color: var(--c-muted); }

@media (max-width: 1024px) {
  .footer-bottom { padding-inline: 40px; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Voltar ao topo ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 10000;
  width: 60px;
  height: 60px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease, visibility 0s .15s;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease;
}
.back-to-top-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;
  background-color: var(--c-main);
  border: 1px solid var(--c-main);
  border-radius: 50%;
}
.back-to-top svg {
  overflow: visible;
  fill: #fff;
  transition: transform .3s ease;
}
.back-to-top .arrow-oblique { transition: width .3s ease; }
.back-to-top .arrow-line {
  transform-box: fill-box;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform .3s ease;
}
.back-to-top:hover svg { transform: translateY(-7px); }
.back-to-top:hover .arrow-oblique { width: 16px; }
.back-to-top:hover .arrow-line { transform: scaleY(1); }

/* ---------- Ícones flutuantes (popup de redes) ---------- */
.social-popup {
  position: fixed;
  left: 0;
  bottom: 15px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 70px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
}
.social-popup.is-visible {
  visibility: visible;
  animation: fadeInLeft 1.2s both;
}
.social-popup img { width: 48px; }

@keyframes fadeInLeft {
  from { opacity: 0; transform: translate3d(-100%, 0, 0); }
  to { opacity: 1; transform: none; }
}

/* ---------- Páginas de erro ---------- */
.error-page {
  padding: 240px 0 160px;
  text-align: center;
  color: #ccc;
  background-color: var(--c-ink);
}
.error-code {
  margin: 0;
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-main);
}
.error-title { margin: 10px 0; font-size: 45px; line-height: 1.155em; color: #fff; }
.error-text { margin: 0 0 40px; }

@media (max-width: 1024px) {
  .error-page { padding-top: 160px; }
}

/* ---------- Acessibilidade: menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
