/* ═══════════════════════════════════════
   COTESA — Páginas internas (jul/2026)
   Componentes exclusivos das páginas de conteúdo
   ═══════════════════════════════════════ */

/* ══════════════════════════════════════
   PAGE HEADER — variante com véu mais escuro
   (para fotos claras, contraste igual ao topo de Governança)
   ══════════════════════════════════════ */
.page-header.dark-boost {
  background:
    linear-gradient(180deg, rgba(15,22,48,.58) 0%, rgba(15,22,48,.72) 100%),
    var(--header-bg, url('../assets/transmission.png')) center center / cover no-repeat,
    #141c3c;
}

/* ══════════════════════════════════════
   EQUIPE / LIDERANÇA
   ══════════════════════════════════════ */
.team-label {
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 28px;
}
.tm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.tm-grid.exec {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.tm-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.tm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 44px -26px rgba(20,28,60,.3);
}
.tm-photo {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--soft);
}
.tm-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.tm-body { padding: 18px 14px 20px; }
.tm-name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
}
.tm-role {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 6px;
  line-height: 1.5;
}
.tm-grid.exec .tm-name { font-size: 16.5px; }

/* ══════════════════════════════════════
   PRINCÍPIOS (cards com ícone)
   ══════════════════════════════════════ */
.pr-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.pr-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 22px 26px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.pr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -26px rgba(20,28,60,.28);
}
.pr-icon {
  width: 54px; height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(238,128,51,.12);
  color: var(--orange);
  display: grid;
  place-items: center;
}
.pr-icon svg { width: 26px; height: 26px; }
.pr-card h3 {
  font-family: var(--font-title);
  font-size: 14.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.2;
}
.pr-card p {
  font-size: 12px;
  line-height: 1.65;
  color: #8b8fa1;
  margin: 0;
}

/* ══════════════════════════════════════
   TIMELINE
   ══════════════════════════════════════ */
.tl {
  position: relative;
  padding-left: 30px;
  display: grid;
  gap: 30px;
}
.tl::before {
  content: "";
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--line);
}
.tl-item { position: relative; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -30px; top: 7px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(238,128,51,.18);
}
.tl-year {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 19px;
  color: var(--navy);
  letter-spacing: .04em;
}
.tl-year b { color: var(--orange); }
.tl-item p {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #5b6177;
}

/* Card de números laterais (fato + valor) */
.fact-card {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 36px 34px;
  position: relative;
  overflow: hidden;
}
.fact-card .network-bg::before { border-radius: 14px; }
.fact-card h3 {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 24px;
  color: #fff;
  position: relative; z-index: 2;
}
.fact-list { position: relative; z-index: 2; display: grid; gap: 26px; margin: 0; padding: 0; list-style: none; }
.fact-list .fv {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 26px;
  color: var(--orange-2);
  line-height: 1.2;
}
.fact-list .fl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #b9bed1;
  line-height: 1.7;
  margin-top: 11px;
}

/* ══════════════════════════════════════
   CERT BLOCKS — imagem menor
   ══════════════════════════════════════ */
.cert-block-img.compact { aspect-ratio: 16/10; }

/* ══════════════════════════════════════
   MVV — centro com o símbolo da marca
   ══════════════════════════════════════ */
.mvv-center.mvv-center-logo {
  background: #fff;
  box-shadow: 0 18px 40px rgba(20,28,60,.16);
  border: 2px solid rgba(238,128,51,.28);
  padding: 0;
  display: grid;
  place-items: center;
}
.mvv-center-logo img {
  width: 62%;
  height: auto;
  display: block;
}

/* ══════════════════════════════════════
   MAPA + NÚMEROS (infográfico da apresentação)
   ══════════════════════════════════════ */
.nm-section {
  padding: 100px 0;
  background: #fff;
  border-top: 4px solid var(--orange);
  overflow: hidden;
}
.nm-wrap {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 430px) 1fr;
  gap: 34px;
  align-items: center;
  margin-top: 26px;
}
.nm-col { display: flex; flex-direction: column; gap: 42px; }
.nm-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.nm-right .nm-stat { flex-direction: row-reverse; }

/* linha fina que conecta cada indicador ao mapa */
.nm-line {
  flex: 1;
  height: 1.5px;
  min-width: 26px;
  background: linear-gradient(90deg, rgba(238,128,51,.7), rgba(238,128,51,.18));
  position: relative;
  margin: 0 4px;
}
.nm-line::after {
  content: "";
  position: absolute;
  top: 50%; right: -3px;
  transform: translateY(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.nm-right .nm-line { background: linear-gradient(270deg, rgba(238,128,51,.7), rgba(238,128,51,.18)); }
.nm-right .nm-line::after { right: auto; left: -3px; }
.nm-thumb {
  width: 102px; height: 68px;
  border-radius: 12px 12px 12px 36px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 12px 24px -12px rgba(20,28,60,.32);
}
.nm-right .nm-thumb { border-radius: 12px 12px 36px 12px; }
.nm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nm-num {
  text-transform: uppercase;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 34px;
  color: var(--orange);
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
}
.nm-num span { font-size: 19px; margin-left: 2px; }
/* variante textual (indicador sem número, ex.: presença em data centers) */
.nm-num.nm-num-txt { font-size: 21px; letter-spacing: .04em; white-space: normal; line-height: 1.15; }
.nm-cap {
  margin-top: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
  line-height: 1.55;
}
.nm-center { text-align: center; }
.nm-map {
  width: 100%;
  max-width: 430px;
  height: auto;
  filter: drop-shadow(0 26px 26px rgba(20,28,60,.22));
}
.nm-atuacao { margin-top: 22px; }
.nm-atuacao .a-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink);
}
.nm-atuacao .a-num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 46px;
  color: var(--orange);
  line-height: 1.25;
  margin: 4px 0 2px;
}
@media (max-width: 1199.98px) {
  .nm-wrap { grid-template-columns: 1fr 320px 1fr; gap: 22px; }
}
@media (max-width: 991.98px) {
  .nm-wrap { grid-template-columns: 1fr; }
  .nm-center { order: -1; }
  .nm-col, .nm-left, .nm-right { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 22px; }
  .nm-stat { width: auto; max-width: 300px; }
  .nm-right .nm-stat { flex-direction: row; }
  .nm-right .nm-thumb { border-radius: 12px 12px 12px 36px; }
  .nm-line { display: none; }
}
@media (max-width: 575.98px) {
  .nm-stat { max-width: 100%; width: 100%; }
  .nm-num { font-size: 30px; }
}

/* ══════════════════════════════════════
   DORES DO CLIENTE (bloco "o desafio" nas LPs)
   ══════════════════════════════════════ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 22px 24px;
  transition: transform .25s, box-shadow .25s;
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -26px rgba(20,28,60,.28);
}
.pain-ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--orange-2);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.pain-ic svg { width: 22px; height: 22px; }
.pain-card p {
  font-size: 13px;
  line-height: 1.7;
  color: #5b6177;
  margin: 0;
}
.pain-card p b { color: var(--ink); }
.section-block.soft .pain-card { background: #fff; }
@media (max-width: 1199.98px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px)  { .pain-grid { grid-template-columns: 1fr; } }

/* Ciclo em 3 etapas (antes · durante · depois) */
.cycle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cycle-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 26px 28px;
}
.cycle-step {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.cycle-card h3 {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.2;
}
.cycle-card ul { list-style: none; margin: 0; padding: 0; }
.cycle-card li {
  position: relative;
  padding: 7px 0 7px 20px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #5b6177;
  border-bottom: 1px solid var(--line);
}
.cycle-card li:last-child { border-bottom: 0; }
.cycle-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 7px; height: 7px;
  background: var(--orange);
  transform: rotate(45deg);
}
@media (max-width: 991.98px) { .cycle-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════
   NAVEGAÇÃO ENTRE SOLUÇÕES (abaixo do topo das LPs)
   ══════════════════════════════════════ */
.sol-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 26px -20px rgba(20,28,60,.15);
}
.sol-nav-track {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sol-nav-track::-webkit-scrollbar { display: none; }
.sol-nav a {
  flex-shrink: 0;
  padding: 9px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
  transition: all .2s;
}
.sol-nav a:hover { border-color: var(--orange); color: var(--orange); }
.sol-nav a.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  pointer-events: none;
}
@media (max-width: 991.98px) {
  .sol-nav-track { justify-content: flex-start; }
}

/* ══════════════════════════════════════
   FAIXA COM FOTO (técnico fundo-esg à esquerda,
   conteúdo à direita) — Carreiras / Trabalhe Conosco
   ══════════════════════════════════════ */
.photo-band {
  position: relative;
  background: url('../assets/fundo-esg.jpg') 12% center / cover no-repeat, var(--navy);
  padding: 104px 0;
  overflow: hidden;
  color: #fff;
}
.photo-band::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,22,48,.18) 0%, rgba(15,22,48,.5) 38%, rgba(15,22,48,.9) 72%);
}
.pb-content {
  position: relative;
  z-index: 2;
  margin-left: auto;
  max-width: 58%;
}
.pb-content h2 {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.pb-content h2 b { font-weight: 800; }
.pb-content p { color: #cfd3e0; font-size: 14.5px; line-height: 1.85; margin: 0 0 30px; }
.pb-content p b { color: #fff; }
@media (max-width: 991.98px) {
  .photo-band::before { background: rgba(15,22,48,.82); }
  .pb-content { max-width: 100%; }
  .pb-content h2 { font-size: 28px; }
}

/* Cards de vagas (Trabalhe Conosco) */
.job-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.job-card:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 20px 40px -22px rgba(20,28,60,.3);
}
.jc-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink);
  line-height: 1.25;
}
.jc-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.jc-loc svg { width: 13px; height: 13px; color: var(--orange); flex-shrink: 0; }
.jc-arrow {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  color: var(--orange);
  font-size: 16px;
  transition: all .2s;
}
.job-card:hover .jc-arrow { background: var(--orange); border-color: var(--orange); color: #fff; }
@media (max-width: 767.98px) {
  .job-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   BLOG — sidebar de categorias
   ══════════════════════════════════════ */
.side-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color .2s, padding-left .2s;
}
.side-cats a:last-child { border-bottom: 0; }
.side-cats a:hover { color: var(--orange); padding-left: 6px; }
.side-cats a.active { color: var(--orange); }
.side-cats .sc-n {
  font-size: 10px;
  font-weight: 800;
  background: var(--soft);
  color: var(--muted);
  border-radius: 999px;
  padding: 3px 9px;
}
.side-cats a.active .sc-n { background: rgba(238,128,51,.14); color: var(--orange); }

/* ══════════════════════════════════════
   COMPLIANCE — listas e canais
   ══════════════════════════════════════ */
.cy-list { list-style: none; margin: 0; padding: 0; }
.cy-list li {
  position: relative;
  padding: 9px 0 9px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.65;
  color: #5b6177;
  text-transform: none;
  letter-spacing: 0;
}
.cy-list li:last-child { border-bottom: 0; }
.cy-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 16px;
  width: 7px; height: 7px;
  background: var(--orange);
  transform: rotate(45deg);
}
.cy-list li a {
  color: var(--navy);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}
.cy-list li a:hover { color: var(--orange); }
.cy-list li a svg { width: 15px; height: 15px; color: var(--orange); flex-shrink: 0; }

.cy-canal {
  display: block;
  text-align: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 34px 24px 30px;
  height: 100%;
  transition: border-color .25s, transform .25s, background .25s;
}
.cy-canal:hover {
  border-color: var(--orange);
  background: rgba(238,128,51,.08);
  transform: translateY(-4px);
}
.cy-canal svg { width: 44px; height: 44px; color: var(--orange); margin: 0 auto 16px; display: block; }
.cy-canal .cc-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #97a0bd;
  margin-bottom: 8px;
}
.cy-canal .cc-value {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 17px;
  color: #fff;
  word-break: break-word;
}

/* ══════════════════════════════════════
   RESPONSIVO
   ══════════════════════════════════════ */
@media (max-width: 1199.98px) {
  .tm-grid { grid-template-columns: repeat(3, 1fr); }
  .pr-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991.98px) {
  .tm-grid { grid-template-columns: repeat(2, 1fr); }
  .tm-grid.exec { grid-template-columns: repeat(2, 1fr); }
  .pr-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .tm-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tm-body { padding: 12px 10px 14px; }
  .tm-name { font-size: 12.5px; }
  .tm-role { font-size: 9px; }
  .pr-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════
   GALERIA DE FOTOS + LIGHTBOX
   ═══════════════════════════════════════════ */
.gal-section { border-top: 1px solid #e7eaf3; }
.gal-intro {
  max-width: 720px;
  margin: 16px auto 0;
  color: #5a6383;
  font-size: 15px;
  line-height: 1.75;
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  grid-auto-rows: 208px;
  gap: 14px;
}
.gal-grid.g1 { grid-template-columns: 1fr;             grid-auto-rows: 420px; }
.gal-grid.g2 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 340px; }
.gal-grid.g3 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 288px; }
.gal-grid.g4 { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; }
.gal-grid.g5 { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 218px; }
.gal-item {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: #0f1735;
  cursor: zoom-in;
  -webkit-appearance: none;
  appearance: none;
}
.gal-item.big { grid-column: span 2; grid-row: span 2; }
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.2, .7, .3, 1);
}
.gal-item:hover img,
.gal-item:focus-visible img { transform: scale(1.07); }

.gal-ov {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  text-align: left;
  background: linear-gradient(180deg, rgba(25, 35, 74, 0) 34%, rgba(25, 35, 74, .9) 100%);
  opacity: 0;
  transition: opacity .3s ease;
}
.gal-item:hover .gal-ov,
.gal-item:focus-visible .gal-ov { opacity: 1; }

.gal-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
}
.gal-zoom svg { width: 17px; height: 17px; }

.gal-cap {
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gal-item.big .gal-cap { font-size: 14px; -webkit-line-clamp: 4; }
.gal-item:focus { outline: none; }
.gal-item:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ── Lightbox ── */
.gal-lb {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 88px;
  background: rgba(10, 15, 34, .96);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.gal-lb.open { opacity: 1; visibility: visible; }

.gal-fig {
  margin: 0;
  width: 100%;
  max-width: 1180px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gal-fig img {
  max-width: 100%;
  max-height: 74vh;
  object-fit: contain;
  display: block;
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  opacity: 0;
  transition: opacity .3s ease;
}
.gal-fig img.ready { opacity: 1; }
.gal-fig figcaption {
  margin-top: 22px;
  max-width: 780px;
  text-align: center;
}
.gal-lb-count {
  display: block;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--orange);
  margin-bottom: 10px;
}
.gal-lb-cap {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.7;
}

.gal-close,
.gal-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.gal-close:hover,
.gal-nav:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.gal-close { top: 24px; right: 28px; width: 46px; height: 46px; }
.gal-close svg { width: 20px; height: 20px; }
.gal-nav { top: 50%; margin-top: -26px; width: 52px; height: 52px; }
.gal-nav svg { width: 22px; height: 22px; }
.gal-nav.prev { left: 20px; }
.gal-nav.next { right: 20px; }

@media (max-width: 1199.98px) {
  .gal-grid { grid-auto-rows: 186px; }
  .gal-grid.g3 { grid-auto-rows: 232px; }
  .gal-grid.g4,
  .gal-grid.g5 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; }
}
@media (max-width: 991.98px) {
  .gal-grid.g3,
  .gal-grid.g4,
  .gal-grid.g5 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
}
@media (max-width: 767.98px) {
  .gal-grid,
  .gal-grid.g1,
  .gal-grid.g2,
  .gal-grid.g3,
  .gal-grid.g4,
  .gal-grid.g5 { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); grid-auto-rows: 150px; gap: 10px; }
  .gal-lb { padding: 56px 16px 96px; }
  .gal-fig img { max-height: 58vh; }
  .gal-fig figcaption { margin-top: 16px; }
  .gal-lb-cap { font-size: 13.5px; }
  .gal-close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .gal-nav { top: auto; bottom: 20px; margin-top: 0; width: 46px; height: 46px; }
  .gal-nav.prev { left: 50%; margin-left: -54px; }
  .gal-nav.next { right: 50%; margin-right: -54px; }
  .gal-ov { padding: 10px; }
  .gal-cap { font-size: 11px; -webkit-line-clamp: 2; }
  .gal-item.big .gal-cap { font-size: 11.5px; -webkit-line-clamp: 3; }
  .gal-zoom { width: 28px; height: 28px; top: 8px; right: 8px; }
  .gal-zoom svg { width: 14px; height: 14px; }
}

/* ══════════════════════════════════════
   RETORNO DO FORMULÁRIO DE CONTATO
   Modal (SweetAlert2) e estado de envio do botão.
   O tema segue o padrão que o site já usa nos cartões: régua
   laranja no topo, título navy, botão igual ao .btn-cotesa.
   ══════════════════════════════════════ */
.swal2-popup.swal-cotesa {
  border-radius: 12px;
  border-top: 4px solid var(--orange);
  padding: 34px 30px 28px;
  font-family: 'Nunito', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  box-shadow: 0 30px 70px -25px rgba(20,28,60,.45);
}
.swal2-popup.swal-cotesa .swal2-title {
  font-family: var(--font-title);
  font-size: 23px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .01em;
  padding: 0;
  margin-bottom: 10px;
}
.swal2-popup.swal-cotesa .swal2-html-container {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}
.swal2-popup.swal-cotesa .swal2-actions { margin-top: 26px; }
.swal2-popup.swal-cotesa .swal2-confirm.swal-cotesa-btn {
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 8px;
  border: none;
  box-shadow: none;
  transition: background .2s, transform .15s;
}
.swal2-popup.swal-cotesa .swal2-confirm.swal-cotesa-btn:hover { background: var(--orange-2); transform: translateY(-2px); }
/* O SweetAlert foca o botão sozinho ao abrir; um anel de 3px ficava pesado
   demais para quem chegou de mouse. 2px mantém o foco visível sem pesar. */
.swal2-popup.swal-cotesa .swal2-confirm.swal-cotesa-btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
/* Ícones nas mesmas cores dos avisos em linha, para o site falar uma língua só */
.swal2-popup.swal-cotesa .swal2-icon.swal2-success { border-color: #28a745; color: #28a745; }
.swal2-popup.swal-cotesa .swal2-icon.swal2-success [class^='swal2-success-line'] { background-color: #28a745; }
.swal2-popup.swal-cotesa .swal2-icon.swal2-success .swal2-success-ring { border-color: rgba(40,167,69,.3); }
.swal2-popup.swal-cotesa .swal2-icon.swal2-error { border-color: #dc3545; color: #dc3545; }
.swal2-popup.swal-cotesa .swal2-icon.swal2-error [class^='swal2-x-mark-line'] { background-color: #dc3545; }

/* Botão enquanto o envio acontece: sem segundo clique possível */
.btn-cotesa[disabled],
.btn-cotesa.enviando {
  opacity: .72;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}
.btn-cotesa .btn-spin {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: btnSpin .7s linear infinite;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .btn-cotesa .btn-spin { animation-duration: 2.4s; }
  .swal2-popup.swal-cotesa .swal2-confirm.swal-cotesa-btn:hover { transform: none; }
}

/* ── Painel de preferências de cookies (Política de Privacidade) ──────
   Mostra a escolha guardada neste navegador e permite trocá-la. O texto
   do estado é escrito pelo js/main.js; o HTML já nasce com a frase de
   "nenhuma escolha" para quem estiver sem JavaScript.               */
.ck-painel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin: 18px 0 6px;
  padding: 20px 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 10px;
}
.ck-painel .ck-atual {
  margin: 0;
  flex: 1;
  min-width: 240px;
  font-size: 15px;
  color: var(--ink-2);
}
.ck-painel .ck-trocar { flex: 0 0 auto; }
@media (max-width: 575.98px) {
  .ck-painel { padding: 16px 18px; }
  .ck-painel .ck-trocar { width: 100%; text-align: center; }
}

/* ── reCAPTCHA no formulário de contato ────────────────────────────── */
.contact-form .g-recaptcha { margin: 0 0 18px; }
@media (max-width: 359.98px) {
  /* a caixa tem 304 px fixos; em telas muito estreitas, encolhe */
  .contact-form .g-recaptcha { transform: scale(.88); transform-origin: 0 0; }
}

