/* ==========================================================================
   Lux Grafica — sistema de design (revisado)
   Paleta: preto · azul · branco
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root{
  --ink: #000000;
  --steel: #3A3A3A;
  --paper: #FFFFFF;
  --paper-line: #E5E5E5;
  --accent: #00ADEF;
  --text: #1C2230;
  --muted: #667085;
  --white: #FFFFFF;

  --font-display: 'Roboto', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --font-mono: 'Roboto', sans-serif;

  --max: 1180px;
}

body:not(.ready) > section,
body:not(.ready) > footer{
  visibility: hidden;
}
body.ready > section,
body.ready > footer{
  visibility: visible;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }

h1,h2{
  font-family: var(--font-display);
  color: #808080;
  margin: 0 0 .5em;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h3,h4{
  font-family: var(--font-display);
  color: #000;
  margin: 0 0 .5em;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 14px;
}

/* -------- marca de registro -------- */
.regmark{
  width: 14px; height:14px;
  position: relative;
  flex-shrink:0;
}
.regmark::before,.regmark::after{
  content:"";
  position:absolute;
  background: currentColor;
}
.regmark::before{ left:50%; top:0; width:1.4px; height:100%; transform:translateX(-50%);}
.regmark::after{ top:50%; left:0; height:1.4px; width:100%; transform:translateY(-50%);}
.regmark-dot{
  position:absolute; left:50%; top:50%;
  width:5px; height:5px; border-radius:50%;
  border: 1.4px solid currentColor;
  transform: translate(-50%,-50%);
}

.cmyk-dots{ display:inline-flex; gap:5px; }
.cmyk-dots span{ width:8px; height:8px; border-radius:50%; display:inline-block; }
.cmyk-dots span:nth-child(1){ background:#00A9E0; }
.cmyk-dots span:nth-child(2){ background:#EC008C; }
.cmyk-dots span:nth-child(3){ background:#FFE800; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.cmyk-dots span:nth-child(4){ background:#1C2230; }

/* -------------------------- header -------------------------- */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--paper-line);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height: 76px;
}

/* -------- logo -------- */
.logo{
  display:flex; align-items:center; gap:10px;
}
.logo-img{
  height: 44px;
  width: auto;
  display: block;
}
.logo-text{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo small{
  display:block;
  font-family: var(--font-mono);
  font-weight:400;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
}

nav.main-nav{ display:flex; align-items:center; gap: 30px; }
nav.main-nav > a, nav.main-nav > .has-sub > button{
  font-size: 15px;
  font-weight: 600;
  color: var(--steel);
  position:relative;
  padding: 6px 0;
}
nav.main-nav a:hover, nav.main-nav > .has-sub > button:hover{ color: var(--ink); }
nav.main-nav a.active, nav.main-nav > .has-sub.active > button{ color: var(--ink); }
nav.main-nav a.active::after, nav.main-nav > .has-sub.active > button::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-2px;
  height:2px; background: var(--accent);
}

/* -------- submenu -------- */
nav.main-nav .has-sub{ position:relative; }
nav.main-nav .has-sub > button{
  display:flex; align-items:center; gap:6px;
  background:none; border:none; cursor:pointer;
  font-family: var(--font-body);
}
nav.main-nav .has-sub .caret{
  width:7px; height:7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform .15s ease;
}
nav.main-nav .has-sub:hover .caret,
nav.main-nav .has-sub:focus-within .caret{ transform: rotate(225deg); margin-top: 3px; }

.submenu{
  position:absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: 4px;
  min-width: 220px;
  padding: 8px;
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 60;
}
nav.main-nav .has-sub:hover .submenu,
nav.main-nav .has-sub:focus-within .submenu{
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.submenu a{
  display:flex; flex-direction:column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 3px;
  font-weight:600; font-size:14.5px;
  color: var(--ink);
}
.submenu a:hover{ background: var(--paper); color: var(--accent); }
.submenu a small{
  font-family: var(--font-mono);
  font-weight:400; font-size: 11px;
  color: var(--muted); text-transform:uppercase; letter-spacing:.04em;
}
.submenu a:hover small{ color: var(--accent); }

/* -------- botões -------- */
.btn{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: 3px;
  display:inline-flex; align-items:center; gap:8px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: all .15s ease;
}
.btn-primary{ background: #003c58; color: var(--white); }
.btn-primary:hover{ background: var(--accent); }
.btn-outline{ border-color: #003c58; color: #003c58; }
.btn-outline:hover{ border-color: #003c58; background: #003c58; color:var(--white); }

/* --------------------------- hero banner ---------------------------- */
.hero-banner{
  position: relative;
  padding: 0;
  line-height: 0;
  border-bottom: 1px solid var(--paper-line);
  height: 600px;
  overflow: hidden;
}
.hero-banner img{
  width: 100%;
  height: 100 %display: block;
  object-fit: cover;
}
.hero-banner-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.35);
}
.hero-banner-title{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 64px);
  color: #fff;
  text-align: center;
  padding: 0 28px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: none;
  animation: bannerFadeIn 1.2s ease forwards;
  opacity: 0;
}

@keyframes bannerFadeIn{
  from{ opacity: 0; transform: translateY(20px); }
  to{ opacity: 1; transform: translateY(0); }
}

@media (max-width: 800px){
  .hero-banner{ height: 420px; }
  .hero-banner-title{ max-width: 90%; padding: 0 20px; }
}
@media (max-width: 480px){
  .hero-banner{ height: 360px; }
}

/* ------------------------- sections --------------------------- */
section{ padding: 88px 0; }
.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head h2{ font-size: clamp(26px,3vw,36px); }
.section-head p{ color: var(--steel); font-size: 16.5px; }

.divider-mark{
  display:flex; align-items:center; gap:14px;
  color: var(--paper-line);
  margin: 0 0 40px;
}
.divider-mark .regmark{ color: var(--accent); }
.divider-mark::after{
  content:""; flex:1; height:1px; background: var(--paper-line);
}

/* grid de serviços */
.grid-3{ display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-2{ display:grid; grid-template-columns: repeat(2,1fr); gap: 24px; }

.service-card{
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: 4px;
  padding: 28px;
  transition: border-color .15s ease, transform .15s ease;
}
.service-card:hover{ border-color: var(--accent); transform: translateY(-2px); }
.service-card .num{
  font-family: var(--font-mono);
  font-size: 12px; color: var(--muted);
  margin-bottom: 14px; display:block;
}
.service-card h3{ font-size: 19px; margin-bottom: 10px; }
.service-card p{ color: var(--steel); font-size: 15px; margin: 0 0 16px; }
.service-card .specs{ font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.service-card .specs span{ display:block; padding: 3px 0; }

.service-card-thumb{
  width: 100%;
  height: 200px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 18px;
}
.service-card-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ficha técnica */
.job-ticket{
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: 4px;
  padding: 26px 26px 20px;
  position: relative;
}
.job-ticket::before{
  content:"";
  position:absolute; inset: 8px;
  border: 1px dashed var(--paper-line);
  border-radius:2px;
  pointer-events:none;
}
.job-ticket-head{
  display:flex; justify-content:space-between; align-items:flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--paper-line);
}
.job-ticket-head strong{ color: var(--ink); }
.spec-row{
  display:flex; justify-content:space-between; align-items:baseline;
  padding: 9px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  border-bottom: 1px dotted var(--paper-line);
}
.spec-row:last-of-type{ border-bottom:none; }
.spec-row .k{ color: var(--muted); }
.spec-row .v{ color: var(--ink); font-weight: 500; }
.job-ticket-foot{
  margin-top: 16px; padding-top:14px;
  border-top: 1px solid var(--paper-line);
  display:flex; justify-content:space-between; align-items:center;
}
.status-chip{
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing:.06em; text-transform:uppercase;
  color: var(--accent);
  display:flex; align-items:center; gap:6px;
}
.status-chip::before{
  content:""; width:6px; height:6px; border-radius:50%;
  background: var(--accent);
}

/* faixa de números */
.stats-strip{
  background: var(--ink);
  color: var(--white);
  padding: 56px 0;
}
.stats-strip .grid-4{ display:grid; grid-template-columns: repeat(4,1fr); gap:24px; }
.stat{ border-left: 1px solid rgba(255,255,255,.15); padding-left: 20px; }
.stat .n{
  font-family: var(--font-display); font-weight:800;
  font-size: 34px; color: var(--white);
}
.stat .l{
  font-family: var(--font-mono); font-size: 11.5px;
  text-transform: uppercase; letter-spacing:.08em; color: rgba(255,255,255,.6);
  margin-top: 6px;
}

/* processo */
.process-list{ display:flex; flex-direction:column; }
.process-item{
  display:grid; grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--paper-line);
}
.process-item:first-child{ border-top: 1px solid var(--paper-line); }
.process-item .step{
  font-family: var(--font-mono);
  font-size: 13px; color: var(--accent);
}
.process-item h4{ font-size:18px; margin-bottom:6px; }
.process-item p{ color: var(--steel); margin:0; font-size:15px; max-width: 56ch; }

/* CTA */
.cta-band{
  background: #d5d5d5;
  border: 1px solid var(--paper-line);
  border-radius: 6px;
  padding: 52px;
  display:flex; align-items:center; justify-content:space-between; gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2{ font-size: 26px; margin-bottom: 6px; }
.cta-band p{ color: var(--steel); margin:0; }

/* --------------------------- footer ---------------------------- */
footer{
  border-top: 1px solid var(--paper-line);
  padding: 56px 0 28px;
}
.footer-grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}
footer h5{
  font-family: var(--font-mono);
  font-size: 11.5px; text-transform:uppercase; letter-spacing:.08em;
  color: var(--muted); margin: 0 0 14px;
}
footer ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
footer a{ color: var(--steel); font-size: 14.5px; }
footer a:hover{ color: var(--accent); }
footer p.desc{ color: var(--steel); font-size: 14.5px; max-width: 34ch; margin: 12px 0 0; }
.footer-bottom{
  border-top: 1px solid var(--paper-line);
  padding-top: 22px;
  display:flex; justify-content:space-between; align-items:center;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
}

/* --------------------------- páginas internas ------------------- */
.page-hero{
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--paper-line);
}
.page-hero .eyebrow{ margin-bottom: 10px; }
.page-hero h1{ font-size: clamp(30px,4vw,44px); max-width: 20ch; white-space: nowrap; }
.page-hero p{ color: var(--steel); font-size: 17px; max-width: 60ch; margin-top: 14px; }

.two-col{ display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:start; }

.value-list{ display:flex; flex-direction:column; gap: 22px; }
.value-list li{ list-style:none; display:flex; gap:16px; }
.value-list .mark{ color: var(--accent); flex-shrink:0; margin-top:4px; }
.value-list h4{ font-size:16.5px; margin-bottom:4px; }
.value-list p{ margin:0; color: var(--steel); font-size:14.5px; }

/* formulário */
.form-panel{
  background: var(--white);
  border:1px solid var(--paper-line);
  border-radius: 6px;
  padding: 36px;
}
.field{ margin-bottom: 20px; }
.field label{
  display:block; font-family: var(--font-mono);
  font-size: 11.5px; text-transform:uppercase; letter-spacing:.06em;
  color: var(--muted); margin-bottom: 8px;
}
.field input, .field select, .field textarea{
  width:100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--paper-line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--text);
}
.field textarea{ min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline: 2px solid var(--accent); outline-offset: 1px;
  border-color: var(--accent);
}
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }

.contact-info-list{ display:flex; flex-direction:column; gap:22px; margin-top: 28px;}
.contact-info-list .row{ display:flex; gap:14px; align-items:flex-start; }
.contact-info-list .k{
  font-family: var(--font-mono); font-size:11.5px; text-transform:uppercase;
  color: var(--muted); letter-spacing:.06em;
}
.contact-info-list .v{ font-size: 15.5px; color: var(--ink); font-weight:500; }

/* about */
.team-card{ text-align:left; }
.team-card .ph{
  width:100%; aspect-ratio: 4/3;
  background: var(--steel);
  border-radius: 4px;
  margin-bottom: 14px;
  position:relative;
  overflow:hidden;
}
.team-card .ph::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(135deg, transparent 40%, rgba(0,173,239,.2));
}

/* ------------------------- portfólio ---------------------------- */
.filter-bar{
  display:flex; align-items:center; gap:10px;
  margin-bottom: 36px;
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.filter-bar span{ color: var(--muted); text-transform:uppercase; letter-spacing:.06em; }

.portfolio-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.portfolio-card{
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: 4px;
  overflow:hidden;
  transition: border-color .15s ease, transform .15s ease;
}
.portfolio-card:hover{ border-color: var(--accent); transform: translateY(-2px); }
.portfolio-thumb{
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--steel), var(--ink));
  position:relative;
  display:flex; align-items:flex-end;
  padding: 14px;
}
.portfolio-thumb::before{
  content:"";
  position:absolute; inset:0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 22px);
}
.portfolio-thumb .regmark{ color: rgba(255,255,255,.55); position:relative; z-index:1; }
.portfolio-body{ padding: 18px 20px 20px; }
.portfolio-body .cat{
  font-family: var(--font-mono); font-size: 11px; text-transform:uppercase;
  letter-spacing:.06em; color: var(--accent); margin-bottom:6px; display:block;
}
.portfolio-body h3{ font-size: 17px; margin-bottom: 6px; }
.portfolio-body p{ font-size: 14px; color: var(--steel); margin:0; }

/* --------------------------- responsivo --------------------------- */

/* hamburguer */
.menu-toggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 100;
  flex-shrink: 0;
}
.menu-toggle span{
  display: block;
  width: 100%;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all .25s ease;
}
.menu-toggle span:nth-child(1){ top: 0; }
.menu-toggle span:nth-child(2){ top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3){ bottom: 0; }

.menu-toggle.is-active span:nth-child(1){
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.menu-toggle.is-active span:nth-child(2){ opacity: 0; }
.menu-toggle.is-active span:nth-child(3){
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

@media (max-width: 900px){
  nav.main-nav{ display:none; }
  .hero .container{ grid-template-columns: 1fr; }
  .grid-3, .grid-2, .two-col, .stats-strip .grid-4, .footer-grid, .portfolio-grid{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }

  .menu-toggle{ display: block; }

  nav.main-nav.is-open{
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 90;
    padding: 100px 28px 40px;
    gap: 0;
    overflow-y: auto;
  }
  nav.main-nav.is-open > a,
  nav.main-nav.is-open > .has-sub{
    display: block;
    opacity: 1;
    visibility: visible;
  }
  nav.main-nav.is-open > a{
    font-size: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--paper-line);
    color: var(--ink);
  }
  nav.main-nav.is-open .has-sub{
    border-bottom: 1px solid var(--paper-line);
    position: static;
  }
  nav.main-nav.is-open .has-sub > button{
    font-size: 20px;
    padding: 14px 0;
    width: 100%;
    color: var(--ink);
  }
  nav.main-nav.is-open .has-sub .caret{
    display: inline-block;
  }
  nav.main-nav.is-open .submenu{
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0 0 14px;
  }

  .site-header .btn{ display: none; }
}
@media (max-width: 620px){
  .grid-3, .grid-2, .two-col, .stats-strip .grid-4, .footer-grid, .field-row, .portfolio-grid{ grid-template-columns: 1fr; }
  .cta-band{ flex-direction:column; align-items:flex-start; }
  .process-item{ grid-template-columns: 1fr; }
  .page-hero h1{ white-space: normal; max-width: 100%; overflow-wrap: break-word; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; animation:none !important; }
}

/* ================== DIFERENCIAIS ================== */
.diff-section{
  padding: 80px 0 88px;
  background: #d5d5d5;
}
.diff-grid .diff-card{
  text-align: center;
  padding: 36px 28px 32px;
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: 6px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease, border-color .2s ease, box-shadow .2s ease;
}
.diff-grid .diff-card:nth-child(2){ transition-delay: .12s; }
.diff-grid .diff-card:nth-child(3){ transition-delay: .24s; }
.diff-grid .diff-card.is-visible{
  opacity: 1;
  transform: translateY(0);
}
.diff-grid .diff-card:hover{
  border-color: var(--accent);
  box-shadow: 0 10px 32px rgba(0,0,0,.08);
  transform: translateY(-4px);
}
.diff-icon{
  width: 100px;
  height: 100px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #E8F7FE;
  overflow: hidden;
  flex-shrink: 0;
}
.diff-icon img{
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.diff-title{
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
  line-height: 1.25;
}
.diff-sub{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.35;
}
.diff-desc{
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.65;
  margin: 0;
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px){
  .diff-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px){
  .diff-grid{ grid-template-columns: 1fr; }
}

/* ======================== TOP BAR ======================== */
.top-bar{
  background: linear-gradient(90deg, #6dcff6, #00aef0);
  border-bottom: none;
}
.top-bar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}
.top-bar-left{
  display: flex;
  align-items: center;
  gap: 30px;
}
.top-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #000;
  transition: color .15s ease;
}
.top-link:hover{ color: #333; }
.top-link svg{
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.top-bar-right{
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-social{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #000;
  border-radius: 50%;
  transition: color .15s ease, background .15s ease;
}
.top-social:hover{
  color: #000;
  background: rgba(0,0,0,.1);
}
.top-social svg{
  width: 17px;
  height: 17px;
}
@media (max-width: 620px){
  .top-bar-inner{
    flex-direction: column;
    height: auto;
    padding: 12px 0;
    gap: 10px;
  }
  .top-bar-left{
    flex-direction: column;
    gap: 8px;
  }
}

/* ======================== HERO CTA ======================== */
.hero-cta{
  background: #6dcff5;
  padding: 18px 0;
}
.hero-cta-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.hero-cta-text h2{
  font-size: clamp(20px, 2.8vw, 28px);
  color: #000;
  margin: 0 0 6px;
}
.hero-cta-text p{
  font-size: 16px;
  color: #000;
  margin: 0;
}
.btn-whats{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s ease, transform .15s ease;
}
.btn-whats:hover{
  background: #1ebe5c;
  transform: translateY(-2px);
}
@media (max-width: 620px){
  .hero-cta-inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ======================== POR QUE ESCOLHER ======================== */
.why-section{
  background: #f5f6fa;
  padding: 80px 0;
}
.why-grid{
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.why-image img{
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.why-content h2{
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 12px;
}
.why-lead{
  font-size: 17px;
  color: var(--steel);
  margin: 0 0 36px;
  max-width: 42ch;
  line-height: 1.6;
}
.why-items{
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.why-item{
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.why-icon{
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 10px;
}
.why-item h4{
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--ink);
}
.why-item p{
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--steel);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 900px){
  .why-grid{
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .why-image img{
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ======================== PORTFÓLIO HOME ======================== */
.port-home-section{
  background: #c0e7ff;
  padding: 80px 0;
}
.port-home-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* coluna esquerda: 6 boxes em grid 3x2 */
.port-home-left{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px !important;
  align-items: start;
}
.port-home-box{
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.port-home-box:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}
.port-home-box a{
  display: block;
  text-decoration: none;
}
.port-home-box img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.port-home-box span{
  display: block;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  letter-spacing: .02em;
  line-height: 1.2;
}

/* coluna direita: vídeo */
.port-home-right{
  display: flex;
}
.port-home-video{
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 600px;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.port-home-video iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* botão ver todas */
.port-home-cta{
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
@media (max-width: 900px){
  .port-home-grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .port-home-left{
    grid-template-columns: repeat(3, 1fr);
  }
  .port-home-right{
    min-height: 360px;
  }
}
@media (max-width: 620px){
  .port-home-left{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ======================== PILARES ======================== */
.pillars-section{
  padding: 80px 0;
}
.pillars-grid{
  gap: 28px;
}
.pillar-card{
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.pillar-thumb{
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.pillar-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pillar-body{
  background: #d5d5d5;
  padding: 20px;
  height: 180px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.pillar-body::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: #00ADEF;
  z-index: -1;
  transition: height .4s cubic-bezier(.34,1.56,.64,1);
}
.pillar-card:hover .pillar-body::before{
  height: 100%;
}
.pillar-body h3{
  position: relative;
  z-index: 2;
  font-size: 18px;
  color: #000;
  margin: 0 0 8px;
}
.pillar-body p{
  position: relative;
  z-index: 2;
  font-size: 14.5px;
  color: var(--ink);
  margin: 0;
  line-height: 1.6;
}
/* ======================== MENSAGEM FORMULÁRIO ======================== */
.form-msg{
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  display: none;
}
.form-msg:empty{ display: none; }
.form-msg:not(:empty){ display: block; }
.form-msg-success{
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.form-msg-error{
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
/* ======================== SERVIÇOS LISTA ======================== */
.servicos-lista{
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 3;
  column-gap: 28px;
}
.servicos-lista li{
  padding: 10px 0;
  border-bottom: 1px solid var(--paper-line);
}
.servicos-lista li a{
  color: var(--ink);
  text-decoration: none;
  font-size: 15.5px;
  transition: color .15s ease;
}
.servicos-lista li a:hover{
  color: #00ADEF;
}

@media (max-width: 900px){
  .servicos-lista{ column-count: 2; }
}
@media (max-width: 620px){
  .servicos-lista{ column-count: 1; }
}
/* ======================== OFFSET CARDS ======================== */
.offset-grid{
  gap: 28px;
}
.offset-card{
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.offset-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.offset-link{
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.offset-thumb{
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.offset-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.offset-card:hover .offset-thumb img{
  transform: scale(1.05);
}
.offset-link h4{
  font-size: 16px;
  color: var(--ink);
  margin: 0;
  padding: 16px;
  text-align: center;
}

/* ======================== OFFSET CARDS ======================== */
.offset-grid{
  gap: 28px;
}
.offset-card{
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.offset-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.offset-thumb{
  width: 100%;
  height: 280px;
  overflow: hidden;
}
.offset-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.offset-card:hover .offset-thumb img{
  transform: scale(1.05);
}
.offset-card h4{
  font-size: 16px;
  color: var(--ink);
  margin: 0;
  padding: 16px;
  text-align: center;
}

/* ======================== ZOOM MODAL ======================== */
.zoom-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.zoom-overlay.is-open{
  opacity: 1;
  visibility: visible;
}
.zoom-content{
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}
.zoom-title{
  color: #fff;
  font-size: 20px;
  margin: 0 0 16px;
}
.zoom-slider{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.zoom-img{
  max-width: 80vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
}
.zoom-prev,
.zoom-next{
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
  flex-shrink: 0;
}
.zoom-prev:hover,
.zoom-next:hover{
  background: rgba(255,255,255,.3);
}
.zoom-counter{
  color: rgba(255,255,255,.7);
  font-size: 14px;
  margin-top: 12px;
}
.zoom-close{
  position: absolute;
  top: -40px;
  right: -10px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color .15s ease;
}
.zoom-close:hover{
  color: #00ADEF;
}

@media (max-width: 620px){
  .zoom-title{ font-size: 16px; }
  .zoom-close{ top: -36px; right: 0; font-size: 30px; }
  .zoom-prev,
  .zoom-next{
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .zoom-img{
    max-width: 70vw;
    max-height: 60vh;
  }
}
/* ====== CORREÇÃO DO MENU MOBILE ====== */
@media (max-width: 900px){
  .site-header {
    backdrop-filter: none !important;
    background: #FFFFFF !important;
  }
  nav.main-nav.is-open {
    z-index: 999 !important;
    height: 100vh !important;
    padding-top: 100px !important;
  }
  .menu-toggle {
    z-index: 1000 !important;
  }
}
/* ===================================== */
/* ====== ALINHAMENTO E ORGANIZAÇÃO DO MENU MOBILE ====== */
@media (max-width: 900px) {
  
  /* Ajusta o container do menu aberto */
  nav.main-nav.is-open {
    padding: 100px 28px 40px;
    align-items: flex-start;
  }

  /* Links principais (Home, Sobre, Contato) */
  nav.main-nav.is-open > a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 16px 0;
    font-size: 20px;
    border-bottom: 1px solid var(--paper-line);
  }

  /* Container do Portfólio */
  nav.main-nav.is-open > .has-sub {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--paper-line);
  }

  /* Botão "Portfólio" vira apenas um título (sem função de clique) */
  nav.main-nav.is-open .has-sub > button {
    width: 100%;
    display: block;
    padding: 16px 0;
    font-size: 20px;
    text-align: left;
    pointer-events: none; /* Desativa o clique, deixando os itens sempre abertos */
    color: var(--muted); /* Deixa cinza para parecer um título */
  }

  /* Esconde a setinha do menu mobile, já que não abre mais */
  nav.main-nav.is-open .has-sub .caret {
    display: none;
  }

  /* Caixa do submenu (Offset, Sinalização) sempre visível */
  nav.main-nav.is-open .submenu {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    box-shadow: none;
    border: none;
    padding: 0 0 10px 0;
    min-width: 100%;
  }

  /* Links dentro do submenu */
  nav.main-nav.is-open .submenu a {
    display: block;
    padding: 12px 15px;
    font-size: 17px;
    color: var(--ink);
    border-bottom: none;
  }

  /* Esconde o botão de orçamento no header no mobile */
  .site-header > .container > .btn {
    display: none !important;
  }
}

/* ======================== WHATSAPP FLUTUANTE ======================== */
.whats-floating {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90; /* Fica abaixo do menu mobile (que é 999), mas acima do conteúdo */
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whats-floating:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  background-color: #1ebe5c;
  color: #fff;
}

/* Efeito de "pulso" para chamar atenção */
.whats-floating::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: #25d366;
  z-index: -1;
  animation: pulseWhats 2s infinite;
}

@keyframes pulseWhats {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Ajuste para celular: fica um pouco menor */
@media (max-width: 620px) {
  .whats-floating {
    width: 54px;
    height: 54px;
    bottom: 20px;
    right: 20px;
  }
  .whats-floating svg {
    width: 28px;
    height: 28px;
  }
}

/* ======================== HERO SLIDER ======================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 500px; /* Altura fixa que você pediu */
  overflow: hidden;
  padding: 0 !important;
  margin: 0;
  line-height: 0; /* Remove qualquer espaçamento fantasma abaixo da imagem */
  background: #f5f5f5; /* Cor de fundo caso a imagem demore a carregar */
}

.hero-slide {
  display: none;
  width: 100%;
  height: 100%;
  position: relative; /* <--- Adicione esta linha */
}
.hero-slide.active {
  display: block;
  animation: fadeHero 1s ease-in-out;
}

@keyframes fadeHero {
  from { opacity: 0.4; } 
  to { opacity: 1; }
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Impede que a imagem distorça */
}

/* Setas */
.hero-prev, .hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
  border-radius: 4px;
  transition: background 0.2s ease;
}
.hero-prev:hover, .hero-next:hover {
  background: rgba(0, 0, 0, 0.8);
}
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

/* Bolinhas */
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  line-height: 0;
}
.hero-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}
.hero-dot.active {
  background: #fff;
}

/* Responsivo: diminui a altura no celular para não ocupar a tela toda */
@media (max-width: 800px) {
  .hero-slider { height: 380px; }
}
@media (max-width: 480px) {
  .hero-slider { height: 260px; }
  .hero-prev, .hero-next { padding: 8px 12px; font-size: 14px; }
}
/* Garante que o texto fique acima das imagens do slider */
.hero-slider .hero-banner-overlay {
  z-index: 5;
  line-height: 1.1;
}

/* ======================== BANNER INTERMEDIÁRIO ======================== */
.secondary-banner {
  padding: 0 !important; /* Zera o espaçamento interno */
  margin: 0 !important;  /* Zera o espaçamento externo (garante colar no CTA) */
  line-height: 0;        /* Remove um espaçamento fantasma que os navegadores criam em imagens */
}

.secondary-banner img {
  width: 100%;
  height: 120px;
  display: block;
  /* Sombra e arredondamento removidos para ficarem retos nas bordas da tela */
}

/* ======================== VÍDEO YOUTUBE ======================== */
.yt-video-section { 
  padding: 80px 0; 
  background: #fff; 
}
.yt-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9; /* Proporção exata do YouTube */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.yt-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}