/* =====================================================================
   Compugeo — folha de estilos principal (HTML + CSS puro, sem WordPress)
   Cores e fontes extraídas do site original (Elementor / Hello theme)
   ===================================================================== */
@import url("fonts.css");
@import url("icons.css");

:root {
  --blue: #223A63;        /* azul escuro: títulos, fundos */
  --blue-2: #4E83D3;      /* azul claro: títulos de produto */
  --orange: #D7704A;      /* laranja: botões */
  --orange-2: #D16034;    /* laranja: hover do menu */
  --orange-3: #D75711;    /* laranja: bullet ativo */
  --text: #7A7A7A;        /* cinza de texto */
  --text-dark: #333333;
  --menu: #686464;
  --dark: #252525;        /* rodapé */
  --light: #F7F7F7;
  --white: #FFFFFF;
  --container: 1140px;
  --font: "Roboto", Arial, Helvetica, sans-serif;
  --font-menu: "Varela Round", "Roboto", Arial, sans-serif;
  --font-display: "Russo One", "Roboto", Arial, sans-serif;
  --font-alt: "Montserrat", "Roboto", Arial, sans-serif;
  --radius-btn: 30px;
  --section-pad: 100px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; }
img { display: inline-block; vertical-align: middle; border: 0; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-2); }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); color: var(--blue); font-weight: 600; line-height: 1.2; margin: 0 0 20px; }
h1 { font-size: 50px; }
h2 { font-size: 32px; }
h3 { font-size: 30px; font-weight: 400; }
h4 { font-size: 25px; }
h5 { font-size: 25px; }
h6 { font-size: 18px; }
ul, ol { margin: 0 0 16px; padding-left: 24px; }
hr { border: 0; border-top: 1px solid #ddd; margin: 30px 0; }
strong, b { font-weight: 700; }
figure { margin: 0; }
figcaption { color: var(--text); font-size: 14px; margin-top: 8px; text-align: center; }
button, input, select, textarea { font: inherit; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 10px; }
.container-fluid { width: 100%; padding: 0 20px; }
.section { padding: var(--section-pad) 0; position: relative; }
.section-sm { padding: 50px 0; position: relative; }
.section-xs { padding: 30px 0; position: relative; }
.row { display: flex; flex-wrap: wrap; gap: 20px; }
.row > * { flex: 1 1 0; min-width: 0; }
.row.align-center { align-items: center; }
.row.align-end { align-items: flex-end; }
.row.gap-0 { gap: 0; }
.row.gap-lg { gap: 40px; }
.cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cols-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.col-33 { flex: 0 0 calc(33.333% - 14px); }
.col-66 { flex: 0 0 calc(66.666% - 7px); }
.col-40 { flex: 0 0 calc(40% - 10px); }
.col-60 { flex: 0 0 calc(60% - 10px); }
.stack > * + * { margin-top: 20px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-white { color: var(--white) !important; }
.text-blue { color: var(--blue) !important; }
.text-blue-2 { color: var(--blue-2) !important; }
.text-orange { color: var(--orange) !important; }
.text-gray { color: var(--text) !important; }
.bg-blue { background: var(--blue); color: var(--white); }
.bg-blue h1, .bg-blue h2, .bg-blue h3, .bg-blue h4, .bg-blue p, .bg-blue li { color: var(--white); }
.bg-light { background: var(--light); }
.bg-dark { background: var(--dark); color: var(--white); }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px; } .mt-30 { margin-top: 30px; } .mt-50 { margin-top: 50px; }
.mb-20 { margin-bottom: 20px; } .mb-30 { margin-bottom: 30px; } .mb-50 { margin-bottom: 50px; }
.w-50 { width: 50%; } .w-66 { width: 66%; } .w-75 { width: 75%; } .mx-auto { margin-left: auto; margin-right: auto; }
.rounded { border-radius: 10px; }
.shadow { box-shadow: 5px 5px 10px rgba(0,0,0,.5); }
.spacer { height: 50px; }
.spacer-sm { height: 25px; }

/* seções com imagem de fundo + camada de cor (overlay).
   Uso: <section class="section bg-image" style="background-image:url({{root}}img/x.jpg); --overlay:rgba(34,58,99,.85)">
   (a imagem vai SEMPRE no atributo style do próprio elemento; a cor da camada na variável --overlay) */
.bg-image { background-color: var(--blue); background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; isolation: isolate; }
.bg-image::before { content: ""; position: absolute; inset: 0; background: var(--overlay, rgba(34,58,99,.85)); z-index: -1; }
.bg-image.light::before { background: var(--overlay, rgba(255,255,255,.9)); }
.bg-image > * { position: relative; }
/* imagem semi-transparente por cima de uma cor de fundo.
   Uso: <section class="section bg-overlay-img" style="--opacity:.25"><div class="bg-img" style="background-image:url({{root}}img/x.jpg)"></div> ...conteúdo... */
.bg-overlay-img { background-color: var(--blue); position: relative; isolation: isolate; overflow: hidden; }
.bg-overlay-img > .bg-img { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: var(--opacity, .3); z-index: -1; }
.bg-overlay-img > .bg-img.lum { mix-blend-mode: luminosity; }
/* fundo fixo (efeito "parallax" do Elementor) — só em telas grandes, como no original */
@media (min-width: 1025px) {
  .bg-fixed, .bg-overlay-img > .bg-img.fixed { background-attachment: fixed; }
  .bg-overlay-img > .bg-img.fixed { background-size: auto; }
}

/* texto corrido (equivalente ao "text-editor") */
.text { font-size: 18px; line-height: 1.5; color: var(--text); }
.text-lg { font-size: 20px; line-height: 1.5; color: var(--text); }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.lead { font-size: 20px; font-weight: 500; }

/* ---------- botões ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  background: var(--orange);
  border: 2px solid var(--orange);
  border-radius: var(--radius-btn);
  padding: 18px 45px;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--orange-2); border-color: var(--orange-2); color: var(--white); }
.btn-lg { font-size: 20px; padding: 22px 55px; }
.btn-sm { font-size: 13px; padding: 12px 24px; }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); text-transform: none; font-weight: 500; font-size: 15px; padding: 14px 30px; }
.btn-outline:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-dark { background: var(--dark); border-color: var(--white); }
.btn-dark:hover { background: var(--white); color: var(--dark); }
.btn-blue { background: var(--blue); border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-2); border-color: var(--blue-2); }
.btn-block { display: block; width: 100%; }

/* ---------- cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 5px 0 10px rgba(0,0,0,.5);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 100px; }
.site-header .logo { display: block; line-height: 0; }
.site-header .logo img { height: 67px; width: auto; }
.nav-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle { display: none; }
.main-nav { font-family: var(--font-menu); font-weight: 600; font-size: 16px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.main-nav > ul > li { position: relative; }
.main-nav a { display: flex; align-items: center; gap: 6px; padding: 24px 11px; color: var(--menu); white-space: nowrap; transition: color .3s; }
.main-nav a:hover, .main-nav li.active > a { color: var(--orange-2); }
.main-nav .has-sub > a::after { content: ""; display: inline-block; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid currentColor; margin-left: 4px; }
.main-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--white); box-shadow: 0 3px 20px rgba(0,0,0,.15);
  flex-direction: column; align-items: stretch;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s;
  z-index: 200;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { padding: 10px 20px; font-size: 15px; font-weight: 400; color: var(--menu); }
.main-nav .sub-menu a:hover, .main-nav .sub-menu li.active > a { background: var(--orange-2); color: var(--white); }

/* ---------- banner rotativo (slider só com CSS) ---------- */
.hero { position: relative; height: 760px; overflow: hidden; background: var(--blue); }
.hero > input { position: absolute; opacity: 0; pointer-events: none; }
.hero-slide {
  position: absolute; inset: 0; z-index: 1; opacity: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  animation: heroFade 15s infinite;
}
.hero-slide:nth-of-type(2) { animation-delay: 5s; }
.hero-slide:nth-of-type(3) { animation-delay: 10s; }
.hero-slide .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; animation: kenBurns 15s ease-in-out infinite; }
.hero-slide.bg-auto .hero-bg { background-size: auto; }
.hero-slide .hero-overlay { position: absolute; inset: 0; background: var(--overlay, rgba(19,70,151,.76)); mix-blend-mode: multiply; }
.hero-content { position: relative; z-index: 2; max-width: 66%; padding: 0 60px; color: var(--white); }
.hero-content h2 { font-family: var(--font-display); font-size: 60px; font-weight: 600; color: var(--white); margin: 0 0 20px; }
.hero-content p { font-size: 30px; margin: 0 0 20px; color: var(--white); }
@keyframes heroFade {
  0% { opacity: 0; z-index: 1; }
  6% { opacity: 1; z-index: 2; }
  33.3% { opacity: 1; z-index: 2; }
  40% { opacity: 0; z-index: 1; }
  100% { opacity: 0; z-index: 1; }
}
@keyframes kenBurns { 0% { transform: scale(1); } 50% { transform: scale(1.12); } 100% { transform: scale(1); } }
/* setas: cada slide tem as suas (apontam para o slide vizinho) */
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; color: var(--white); cursor: pointer; padding: 10px; opacity: .7; font-size: 0; }
.hero-nav:hover { opacity: 1; }
.hero-nav.prev { left: 12px; } .hero-nav.next { right: 12px; }
.hero-nav .icon { width: 26px; height: 26px; }
.hero-dots { position: absolute; bottom: 12px; left: 0; right: 0; z-index: 4; display: flex; justify-content: center; gap: 10px; }
.hero-dots label { width: 8px; height: 8px; border-radius: 50%; background: var(--white); cursor: pointer; animation: dotCycle 15s infinite; }
.hero-dots label:nth-child(2) { animation-delay: 5s; }
.hero-dots label:nth-child(3) { animation-delay: 10s; }
@keyframes dotCycle { 0%, 33.3% { background: var(--orange-3); } 33.4%, 100% { background: var(--white); } }
/* quando o visitante escolhe um slide, a rotação automática para */
.hero:has(input:checked) .hero-slide, .hero:has(input:checked) .hero-dots label { animation: none; }
#hero-1:checked ~ .hero-slide:nth-of-type(1), #hero-2:checked ~ .hero-slide:nth-of-type(2), #hero-3:checked ~ .hero-slide:nth-of-type(3) { opacity: 1; z-index: 3; }
#hero-1:checked ~ .hero-dots label[for="hero-1"], #hero-2:checked ~ .hero-dots label[for="hero-2"], #hero-3:checked ~ .hero-dots label[for="hero-3"] { background: var(--orange-3); }

/* banner estático de página interna (título + subtítulo sobre imagem) */
.page-hero { min-height: 700px; display: flex; flex-direction: column; justify-content: center; padding: var(--section-pad) 0; }
.page-hero h1 { font-family: var(--font-alt); font-size: 50px; font-weight: 400; color: var(--blue-2); }
.page-hero h1 b, .page-hero h1 strong { font-weight: 700; }
.page-hero.center { text-align: center; }

/* ---------- caixas com ícone (icon-box) ---------- */
.icon-box { text-align: center; padding: 30px; border-radius: 15px; transition: box-shadow .3s, transform .3s; }
.icon-box .icon { width: 45px; height: 45px; color: var(--white); margin-bottom: 10px; }
.icon-box h3 { font-size: 30px; line-height: 35px; font-weight: 400; color: var(--white); margin: 0 0 25px; }
.icon-box p { font-size: 16px; line-height: 1.4; color: var(--white); }
.icon-box:hover { box-shadow: 0 0 25px 20px rgba(255,255,255,.21); }
.icon-box.grow:hover { transform: scale(1.05); }
.icon-box.dark { color: var(--text-dark); }
.icon-box.dark .icon { color: var(--blue); }
.icon-box.dark h3 { color: var(--blue); }
.icon-box.dark p { color: var(--text); }
.icon-box.dark:hover { box-shadow: 0 0 25px 5px rgba(0,0,0,.12); }
.icon-box.left { text-align: left; }
.icon-box .icon-circle { display: inline-flex; align-items: center; justify-content: center; width: 90px; height: 90px; border-radius: 50%; background: var(--orange); margin-bottom: 15px; }
.icon-box .icon-circle .icon { margin: 0; width: 40px; height: 40px; }
.icon-box .icon-framed { display: inline-flex; align-items: center; justify-content: center; width: 90px; height: 90px; border-radius: 50%; border: 3px solid currentColor; margin-bottom: 15px; }
.icon-box .icon-framed .icon { margin: 0; width: 40px; height: 40px; }

/* caixa com imagem (image-box) */
.image-box { text-align: center; }
.image-box img { border-radius: 5px; margin-bottom: 15px; }
.image-box h3 { font-size: 24px; font-weight: 600; color: var(--blue); }
.image-box p { color: var(--text); }

/* ---------- cartão de chamada (call-to-action "cover") ---------- */
.cta {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: 258px; padding: 40px 30px; color: var(--white);
  background: var(--blue); box-shadow: 5px 5px 10px rgba(0,0,0,.5); overflow: hidden;
}
.cta .icon { width: 45px; height: 45px; margin-bottom: 13px; color: var(--white); }
.cta h3 { font-size: 25px; font-weight: 600; color: var(--white); margin: 0 0 15px; }
.cta p { color: var(--white); margin: 0 0 20px; }
.cta.bg-image::before { background: var(--overlay, rgba(34,58,99,.85)); }
.cta.bg-image { background-size: cover; background-position: center; }
.cta.bg-image .icon, .cta.bg-image h3, .cta.bg-image p, .cta.bg-image .btn { position: relative; }

/* ---------- lista com ícones (icon-list) ---------- */
.icon-list { list-style: none; margin: 0; padding: 0; }
.icon-list li { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; font-size: 16px; color: var(--text); }
.icon-list li .icon { width: 16px; height: 16px; color: var(--blue); margin-top: 4px; }
.icon-list.inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; }
.icon-list.inline li { padding: 0; }
.icon-list.check li::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-top: 5px; background: var(--blue); -webkit-mask: url(../img/icons/check.svg) no-repeat center/contain; mask: url(../img/icons/check.svg) no-repeat center/contain; flex-shrink: 0; }
.icon-list.check.orange li::before { background: var(--orange); }
.icon-list.check.white li { color: var(--white); } .icon-list.check.white li::before { background: var(--white); }
.icon-list.lg li { font-size: 20px; }
.icon-list.plain li { color: var(--white); font-size: 15px; padding: 4px 0; }
.icon-list.plain li a { color: var(--white); }
.icon-list.plain li a:hover { color: var(--orange); }

/* ---------- galeria (grade de imagens) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery a, .gallery figure { display: block; overflow: hidden; background: #000; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s, opacity .4s; }
.gallery a:hover img { transform: scale(1.05); opacity: .9; }
.gallery.h-200 img { height: 200px; }
.gallery.h-260 img { height: 260px; }
.gallery.h-320 img { height: 320px; }
/* mosaico "justificado" (linhas de alturas fixas) */
.gallery-rows { display: flex; flex-direction: column; gap: 5px; }
.gallery-rows .g-row { display: flex; gap: 5px; height: 260px; }
.gallery-rows .g-row > * { flex: var(--f, 1); min-width: 0; overflow: hidden; }
.gallery-rows img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* lightbox só com CSS (:target) */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox:target { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; width: auto; height: auto; box-shadow: 0 0 40px rgba(0,0,0,.6); }
.lightbox .close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; line-height: 1; }
.lightbox .close:hover { color: var(--orange); }

/* ---------- vídeo responsivo ---------- */
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- imagem com legenda / molduras ---------- */
.figure img { width: 100%; display: block; }
.figure figcaption { font-size: 14px; color: var(--text); margin-top: 8px; text-align: center; }
.img-rounded img { border-radius: 10px; }
.img-shadow img { box-shadow: 5px 5px 10px rgba(0,0,0,.4); }

/* ---------- imagem com pontos de destaque (hotspot) ---------- */
.hotspot { position: relative; display: inline-block; max-width: 100%; }
.hotspot img { display: block; width: 100%; }
.hotspot .spot { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 22px; height: 22px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(215,112,74,.35); cursor: pointer; animation: pulse 2s infinite; }
.hotspot .spot span { position: absolute; left: 50%; bottom: 140%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 4px; white-space: nowrap; opacity: 0; visibility: hidden; transition: .2s; }
.hotspot .spot:hover span { opacity: 1; visibility: visible; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(215,112,74,.6); } 70% { box-shadow: 0 0 0 12px rgba(215,112,74,0); } 100% { box-shadow: 0 0 0 0 rgba(215,112,74,0); } }

/* ---------- cartões do blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.posts.cols-2 { grid-template-columns: repeat(2, 1fr); }
.post-card { display: flex; flex-direction: column; background: var(--white); border-radius: 5px; box-shadow: 0 2px 15px rgba(0,0,0,.12); overflow: hidden; }
.post-card .thumb { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .badge { position: absolute; top: 20px; right: 20px; background: #1B5E75; color: #fff; font-size: 12px; font-weight: 600; text-transform: uppercase; padding: 5px 15px; border-radius: 20px; letter-spacing: .3px; }
.post-card .body { display: flex; flex-direction: column; flex: 1; padding: 25px 25px 0; }
.post-card h3 { font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--blue); margin: 0 0 12px; }
.post-card h3 a { color: var(--blue); }
.post-card h3 a:hover { color: var(--orange); }
.post-card .excerpt { font-size: 14px; line-height: 1.5; color: var(--text); margin: 0 0 15px; flex: 1; }
.post-card .more { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--orange); }
.post-card .more:hover { color: var(--orange-2); }
.post-card .meta { font-size: 12px; color: var(--text); border-top: 1px solid #eee; margin-top: 15px; padding: 15px 0; }

/* ---------- artigo do blog ---------- */
.post-content { font-size: 18px; line-height: 1.7; color: var(--text-dark); }
.post-content p { margin: 0 0 24px; }
.post-content h2, .post-content h3, .post-content h4 { margin: 40px 0 16px; }
.post-content img { border-radius: 5px; height: auto; }
.post-content figure { margin: 24px 0; }
.post-content ul, .post-content ol { margin: 0 0 24px; padding-left: 28px; }
.post-content li { margin-bottom: 6px; }
.post-content a { color: var(--orange); text-decoration: underline; }
.post-content blockquote { border-left: 4px solid var(--orange); margin: 24px 0; padding: 10px 20px; color: var(--text); font-style: italic; }
.post-content .video { margin: 24px 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--text); margin-bottom: 30px; }
.post-meta .icon { color: var(--orange); margin-right: 5px; }
.post-header h1 { font-size: 42px; color: var(--blue); }
.post-featured img { width: 100%; border-radius: 5px; }
.author-box { display: flex; gap: 20px; align-items: center; background: var(--light); border-radius: 10px; padding: 30px; margin: 50px 0; }
.author-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box h4 { margin: 0 0 8px; font-size: 20px; }
.author-box p { margin: 0; color: var(--text); font-size: 15px; }
.share { display: flex; gap: 10px; flex-wrap: wrap; }
.share a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 4px; color: #fff; font-size: 14px; font-weight: 500; }
.share .fb { background: #3b5998; } .share .wa { background: #25d366; } .share .li { background: #0077b5; } .share .tw { background: #1da1f2; } .share .em { background: var(--dark); }
.share a:hover { opacity: .85; color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font-size: 12px; background: var(--light); color: var(--text); padding: 5px 12px; border-radius: 20px; }
.tags a:hover { background: var(--orange); color: #fff; }

/* barra lateral do blog */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: start; }
.sidebar > * + * { margin-top: 40px; }
.widget h4 { font-size: 20px; color: var(--blue); margin: 0 0 15px; padding-bottom: 10px; border-bottom: 2px solid var(--orange); display: inline-block; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid #eee; font-size: 15px; }
.widget li a { color: var(--text-dark); }
.widget li a:hover { color: var(--orange); }
.widget .count { float: right; color: var(--text); font-size: 13px; }
.search-form { display: flex; }
.search-form input { flex: 1; min-width: 0; border: 1px solid #ddd; border-right: 0; border-radius: 4px 0 0 4px; padding: 12px 15px; font-size: 15px; }
.search-form button { border: 0; background: var(--blue); color: #fff; padding: 0 18px; border-radius: 0 4px 4px 0; cursor: pointer; display: flex; align-items: center; }
.search-form button:hover { background: var(--orange); }
.recent-posts li { display: flex; gap: 12px; align-items: center; border: 0; padding: 8px 0; }
.recent-posts img { width: 70px; height: 55px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.recent-posts a { font-size: 14px; font-weight: 500; color: var(--blue); line-height: 1.3; }
.recent-posts small { display: block; color: var(--text); font-size: 12px; margin-top: 3px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; border: 1px solid #ddd; color: var(--text-dark); padding: 0 10px; }
.pagination .current, .pagination a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.breadcrumb { font-size: 14px; color: var(--text); margin-bottom: 20px; }
.breadcrumb a { color: var(--text); }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- formulários ---------- */
.form { display: flex; flex-direction: column; gap: 12px; }
.form label { font-size: 14px; font-weight: 500; color: var(--text-dark); }
.form input, .form textarea, .form select {
  width: 100%; border: 1px solid #ddd; border-radius: 5px; background: var(--white);
  padding: 12px 15px; font-size: 15px; color: var(--text-dark); outline: none;
}
.form input:focus, .form textarea:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(78,131,211,.15); }
.form textarea { min-height: 140px; resize: vertical; }
.form .row { gap: 12px; }
.form .btn { align-self: flex-start; }
.form.inline-labels label { display: none; }

/* ---------- tabela ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 12px 15px; border: 1px solid #e5e5e5; text-align: left; }
.table th { background: var(--blue); color: #fff; font-weight: 600; }
.table tr:nth-child(even) td { background: var(--light); }

/* ---------- acordeão (só CSS) ---------- */
.accordion details { border: 1px solid #e5e5e5; border-radius: 5px; margin-bottom: 10px; background: #fff; }
.accordion summary { cursor: pointer; padding: 15px 20px; font-weight: 600; color: var(--blue); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 22px; color: var(--orange); }
.accordion details[open] summary::after { content: "–"; }
.accordion .body { padding: 0 20px 20px; color: var(--text); }

/* ---------- destaques / contadores ---------- */
.stat { text-align: center; }
.stat .number { font-size: 55px; font-weight: 700; color: var(--orange); line-height: 1; }
.stat .label { font-size: 16px; color: var(--text); margin-top: 8px; }
.divider { width: 60px; height: 3px; background: var(--orange); margin: 0 auto 25px; }
.divider.left { margin-left: 0; }
.eyebrow { font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 10px; }
.section-title { font-size: 55px; font-weight: 600; color: var(--blue); text-align: center; margin-bottom: 30px; }
.card { background: #fff; border-radius: 10px; box-shadow: 0 2px 15px rgba(0,0,0,.1); padding: 30px; }
.card-blue { background: var(--blue); color: #fff; border-radius: 10px; padding: 40px; }
.card-blue h2, .card-blue h3, .card-blue h4, .card-blue p, .card-blue li { color: #fff; }

/* botões sociais (círculos) */
.social { display: flex; gap: 8px; align-items: center; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; color: var(--white); font-size: 22px; transition: color .3s, background .3s; }
.social a:hover { color: var(--orange); }
.social.solid a { background: var(--blue); border-radius: 50%; }
.social.solid a:hover { background: var(--orange); color: #fff; }
.social .icon { width: 22px; height: 22px; }

/* botão flutuante do WhatsApp */
.whatsapp-float { position: fixed; right: 25px; bottom: 25px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.whatsapp-float .icon { width: 34px; height: 34px; }
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }

/* ---------- rodapé ---------- */
.site-footer { background: var(--dark); color: var(--white); padding: 50px 0 20px; font-size: 15px; }
.site-footer .footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.site-footer h4 { color: var(--white); font-size: 18px; font-weight: 500; margin: 0 0 15px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer li a { color: var(--white); }
.site-footer li a:hover { color: var(--orange); }
.site-footer .contact { font-size: 14px; font-weight: 600; line-height: 1.3; }
.site-footer .contact p { margin: 0 0 12px; }
.site-footer .contact a { color: #999; }
.site-footer .contact a:hover { color: var(--orange); }
.site-footer .form { gap: 10px; }
.site-footer .form input { padding: 10px 15px; border: 0; }
.site-footer .form .btn { width: 100%; align-self: stretch; padding: 12px; font-size: 14px; }
.site-footer .social { justify-content: flex-end; margin-top: 15px; }
.site-footer .copyright { border-top: 1px solid #444; margin-top: 60px; padding-top: 20px; text-align: right; font-size: 13px; font-weight: 300; color: var(--white); }

/* ---------- responsivo ---------- */
@media (max-width: 1024px) {
  :root { --container: 1024px; --section-pad: 70px; }
  h1 { font-size: 42px; }
  .hero { height: 600px; }
  .hero-content { max-width: 85%; padding: 0 40px; }
  .hero-content h2 { font-size: 48px; }
  .hero-content p { font-size: 24px; }
  .page-hero { min-height: 520px; }
  .page-hero h1 { font-size: 42px; }
  .cols-4, .cols-5 { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .blog-layout { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .icon-box h3 { font-size: 26px; line-height: 30px; }
  .section-title { font-size: 44px; }

  /* menu móvel (abre com o botão laranja, sem JavaScript) */
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 10px; background: var(--orange-2); color: var(--white); cursor: pointer; }
  .nav-toggle .icon { width: 25px; height: 25px; }
  .nav-toggle .icon.i-times { display: none; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); box-shadow: 0 10px 20px rgba(0,0,0,.15); max-height: 0; overflow: hidden; transition: max-height .4s; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a { padding: 12px 20px; justify-content: center; }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: flex; background: var(--light); }
  .main-nav .sub-menu a { justify-content: center; }
  .nav-toggle-input:checked ~ .main-nav { max-height: 1200px; }
  .nav-toggle-input:checked ~ .nav-toggle .i-bars { display: none; }
  .nav-toggle-input:checked ~ .nav-toggle .i-times { display: inline-block; }
  .site-header .container { position: static; }
  .site-header { position: sticky; }
}
@media (max-width: 767px) {
  :root { --section-pad: 50px; }
  body { font-size: 15px; }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  h3 { font-size: 24px; }
  .text, .text-lg { font-size: 16px; }
  .row { flex-direction: column; }
  .row > *, .col-33, .col-66, .col-40, .col-60 { flex: 1 1 auto; width: 100%; }
  .cols-2, .cols-3, .cols-4, .cols-5, .posts, .gallery, .gallery.cols-2, .gallery.cols-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-rows .g-row { flex-direction: column; height: auto; }
  .gallery-rows .g-row > * { height: 220px; }
  .hero { height: 480px; }
  .hero-content { max-width: 100%; padding: 0 50px; }
  .hero-content h2 { font-size: 34px; }
  .hero-content p { font-size: 18px; }
  .page-hero { min-height: 420px; }
  .page-hero h1 { font-size: 32px; }
  .section-title { font-size: 36px; }
  .btn { padding: 15px 30px; font-size: 14px; }
  .btn-lg { padding: 18px 36px; font-size: 16px; }
  .site-header .container { min-height: 80px; }
  .site-header .logo img { height: 54px; }
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .site-footer .social { justify-content: flex-start; }
  .site-footer .copyright { text-align: center; }
  .icon-box { padding: 20px 10px; }
  .cta { min-height: 220px; }
  .w-50, .w-66, .w-75 { width: 100%; }
  .author-box { flex-direction: column; text-align: center; }
  .post-header h1 { font-size: 30px; }
}

/* ---------- banner das páginas de produto ----------
   Texto à esquerda (container de 1200px) e foto do produto (img.device) posicionada à direita,
   centralizada na vertical; por cima de tudo uma foto de obra (--ov) em modo "luminosity" com opacidade (--ov-op).
   Ajustes por página via variáveis: --dev-left (px a partir da borda esquerda do container), --dev-h (altura da foto). */
.prod-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 700px; display: flex; flex-direction: column; justify-content: center; padding: 100px 0; background-color: #FFFFFF; }
.prod-hero .device { position: absolute; z-index: 0; top: 50%; transform: translateY(-50%); left: calc(50% - 600px + var(--dev-left, 600px)); width: calc(50% + 640px - var(--dev-left, 600px)); height: var(--dev-h, 700px); max-width: none; object-fit: contain; object-position: left center; }
.prod-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background-image: var(--ov); background-size: cover; background-position: var(--ov-pos, center center); background-repeat: no-repeat; opacity: var(--ov-op, .3); mix-blend-mode: luminosity; pointer-events: none; }
.prod-hero > .container { position: relative; z-index: 2; max-width: 1200px; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.prod-hero h1 { font-family: var(--font-alt); font-size: 50px; font-weight: 400; line-height: 1.2; color: var(--blue-2); margin: 0; width: var(--h1w, 49%); max-width: 100%; }
.prod-hero h1 b, .prod-hero h1 strong { font-weight: 700; }
.prod-hero .hero-txt { font-size: 20px; font-weight: 500; line-height: var(--txt-lh, 1.2); color: #54595F; margin: 0; padding-top: 10px; width: var(--txtw, 100%); max-width: 100%; }
.prod-hero .hero-txt p { margin: 0; }
.prod-hero .btn { margin-top: 10px; padding: 20px 60px; letter-spacing: 1px; }
@media (max-width: 1240px) {
  .prod-hero > .container { padding: 0 30px; }
  .prod-hero .device { left: calc(30px + var(--dev-left, 600px)); width: calc(100% + 10px - var(--dev-left, 600px)); }
}
@media (max-width: 1024px) {
  .prod-hero { padding: 0; }
  .prod-hero .device { left: 45%; width: 60%; height: calc(var(--dev-h, 700px) * .7); object-position: right center; }
  .prod-hero h1 { font-size: 45px; width: var(--h1w-t, 61%); }
  .prod-hero .hero-txt { width: var(--txtw-t, 56%); line-height: 1.4; }
}
@media (max-width: 767px) {
  .prod-hero { min-height: 0; padding: 40px 0 0; }
  .prod-hero > .container { padding: 0 20px; }
  .prod-hero .device { position: static; transform: none; height: auto; width: 85%; max-width: 480px; margin: 10px 0 0 auto; display: block; }
  .prod-hero h1 { font-size: 29px; width: var(--h1w-m, 86%); }
  .prod-hero .hero-txt { font-size: 17px; width: var(--txtw-m, 86%); }
}

/* ---------- botões de WhatsApp das páginas de serviço (verde "accent" do Elementor) ---------- */
.btn-wa, .btn-orc { background: #61CE70; border-color: #61CE70; color: #FFFFFF; text-transform: none; font-weight: 500; font-size: 15px; letter-spacing: 0; }
.btn-wa:hover, .btn-orc:hover { background: #24B017; border-color: #24B017; color: #FFFFFF; }
