/* =========================================================
   VALAND FACILITIES — Design System
   Signature: "blueprint operacional" — grid fino, cantos técnicos,
   conectores pontilhados, rótulos em mono. Remete a operação e
   engenharia de processos sem perder o tom premium/corporativo.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --navy:        #07224E;
  --navy-deep:   #04152F;
  --navy-soft:   #0E3168;
  --gold:        #D19A3E;
  --gold-light:  #E7C077;
  --gold-pale:   #F4E8D2;
  --white:       #FFFFFF;
  --paper:       #F6F4EF;
  --ink:         #182131;
  --slate:       #56637A;
  --line-light:  rgba(7,34,78,0.12);
  --line-dark:   rgba(255,255,255,0.14);

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container: 1180px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ font-family: var(--font-display); margin: 0; line-height: 1.08; font-weight: 600; }
p{ margin: 0; }

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- utility: blueprint grid backgrounds ---------- */
.grid-bg{
  background-image:
    linear-gradient(to right, rgba(209,154,62,0.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(209,154,62,0.14) 1px, transparent 1px);
  background-size: 48px 48px;
}
.grid-bg-light{
  background-image:
    linear-gradient(to right, rgba(7,34,78,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(7,34,78,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* corner-bracket frame — technical drawing motif */
.bracket{
  position: relative;
}
.bracket::before, .bracket::after{
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid var(--gold);
  opacity: .9;
}
.bracket::before{ top: -1px; left: -1px; border-right: none; border-bottom: none; }
.bracket::after{ bottom: -1px; right: -1px; border-left: none; border-top: none; }

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content: "";
  width: 22px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.on-dark{ color: var(--gold-light); }

.tag-index{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.06em;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn-gold{
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover{ background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(209,154,62,0.55); }
.btn-outline-dark{
  background: transparent;
  color: var(--navy);
  border-color: rgba(7,34,78,0.35);
}
.btn-outline-dark:hover{ border-color: var(--navy); background: rgba(7,34,78,0.04); }
.btn-outline-light{
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover{ border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-navy{
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover{ background: var(--navy-soft); transform: translateY(-2px); }
.btn-block{ width: 100%; justify-content: center; }
.btn svg{ width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg{ transform: translateX(3px); }

/* ---------- header ---------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 84px;
  z-index: 100;
  border-bottom: 1px solid var(--line-light);
  /* NOTE: do not add `filter`/`backdrop-filter`/`transform` directly on this
     element — any of those make it a containing block for its position:fixed
     children (the mobile .main-nav), which breaks the full-screen mobile
     menu. The frosted-glass look is applied via ::before instead. */
}
.site-header::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
}
.site-header .wrap{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand{ display: flex; align-items: center; }
.brand img{ height: 34px; width: auto; }

.main-nav{ display: flex; align-items: center; gap: 30px; }
.main-nav a{
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after{ right: 0; }
.main-nav a.active{ color: var(--navy); font-weight: 600; }

.header-cta{ display: flex; align-items: center; gap: 18px; }
.header-cta .btn{ padding: 12px 22px; font-size: 14px; }

.nav-toggle{
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-light);
  background: transparent;
  border-radius: 3px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: ""; display: block;
  width: 18px; height: 2px; background: var(--navy);
  position: relative; transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle span::before{ position: absolute; top: -6px; }
.nav-toggle span::after{ position: absolute; top: 6px; }

/* ---------- mobile nav ---------- */
@media (max-width: 960px){
  .main-nav{
    position: fixed;
    top: 84px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 32px;
    gap: 6px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
  }
  .main-nav.open{ transform: translateX(0); }
  .main-nav a{ width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: 17px; }
  .header-cta .btn-outline-dark{ display: none; }
  .nav-toggle{ display: inline-flex; }
  body.nav-open{ overflow: hidden; }
}

/* ---------- hero ---------- */
.hero{
  position: relative;
  padding: 168px 0 96px;
  background: var(--white);
  overflow: hidden;
}
.hero-grid-wrap{
  position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero .wrap{ position: relative; }
.hero-inner{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.hero-badge{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy);
  padding: 8px 14px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero-badge i{ width: 7px; height: 7px; border-radius: 50%; background: var(--gold); display: inline-block; }
.hero h1{
  font-size: clamp(38px, 5vw, 62px);
  color: var(--navy);
  letter-spacing: -0.01em;
}
.hero h1 em{
  font-style: normal;
  color: var(--gold);
  position: relative;
}
.hero-sub{
  margin-top: 24px;
  font-size: 18px;
  color: var(--slate);
  max-width: 480px;
}
.hero-actions{ display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.hero-values{
  margin-top: 56px;
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
}
.hero-values div{ font-family: var(--font-mono); font-size: 12.5px; color: var(--slate); letter-spacing: .03em; }
.hero-values strong{ color: var(--navy); font-weight: 600; }

.hero-panel{
  position: relative;
  border: 1px solid var(--line-light);
  border-radius: 6px;
  padding: 28px;
  background: var(--paper);
}
.hero-panel-head{
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; color: var(--slate);
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-light);
}
.hero-panel-head .dot-row{ display: flex; gap: 6px; }
.hero-panel-head .dot-row span{ width: 7px; height: 7px; border-radius: 50%; background: rgba(7,34,78,0.18); }
.hero-panel-list{ display: flex; flex-direction: column; gap: 12px; }
.hero-panel-item{
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
}
.hero-panel-item .n{
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  border: 1px solid var(--gold-light);
  background: var(--gold-pale);
  border-radius: 3px;
  padding: 2px 7px;
}
.hero-panel-foot{
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-light);
  font-size: 12.5px; color: var(--slate);
}

/* ---------- section basics ---------- */
section{ padding: 108px 0; }
.section-head{
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2{
  font-size: clamp(30px, 3.4vw, 44px);
  color: var(--navy);
  margin-top: 18px;
}
.section-head p{
  margin-top: 18px;
  font-size: 16.5px;
  color: var(--slate);
}
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split{
  display: flex; justify-content: space-between; align-items: flex-end;
  max-width: none; gap: 40px; flex-wrap: wrap;
}
.section-alt{ background: var(--paper); }
.section-dark{ background: var(--navy); color: var(--white); }
.section-dark .eyebrow{ color: var(--gold-light); }
.section-dark .section-head h2{ color: var(--white); }
.section-dark .section-head p{ color: rgba(255,255,255,0.68); }

/* ---------- posicionamento / origem (dark) ---------- */
.origin{
  position: relative;
  overflow: hidden;
}
.origin-inner{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.origin-quote{
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.35;
  color: var(--white);
}
.origin-quote span{ color: var(--gold-light); }
.origin-list{ display: flex; flex-direction: column; gap: 0; }
.origin-row{
  display: grid; grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
}
.origin-row:last-child{ border-bottom: 1px solid var(--line-dark); }
.origin-row .lab{ font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--gold-light); text-transform: uppercase; padding-top: 3px; }
.origin-row h4{ color: var(--white); font-size: 19px; margin-bottom: 6px; }
.origin-row p{ color: rgba(255,255,255,0.65); font-size: 14.5px; }

/* ---------- services grid (bento-lite) ---------- */
.services-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card{
  grid-column: span 2;
  border: 1px solid var(--line-light);
  border-radius: 6px;
  padding: 34px;
  background: var(--white);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column;
  min-height: 260px;
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(7,34,78,0.28);
  border-color: transparent;
}
.service-card .tag-index{ margin-bottom: auto; }
.service-card h3{ font-size: 24px; color: var(--navy); margin: 22px 0 10px; }
.service-card p{ color: var(--slate); font-size: 14.5px; }
.service-card .chips{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.service-card .chips span{
  font-size: 12px; font-family: var(--font-mono);
  color: var(--navy); background: var(--paper);
  border: 1px solid var(--line-light);
  padding: 5px 10px; border-radius: 999px;
}
.service-card .more{
  margin-top: 22px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--navy);
}
.service-card .more svg{ width: 14px; height: 14px; transition: transform .3s var(--ease); }
.service-card:hover .more svg{ transform: translateX(4px); }
.service-card.dark{
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.service-card.dark h3{ color: var(--white); }
.service-card.dark p{ color: rgba(255,255,255,0.65); }
.service-card.dark .tag-index{ color: var(--gold-light); }
.service-card.dark .chips span{ background: rgba(255,255,255,0.06); border-color: var(--line-dark); color: var(--gold-light); }
.service-card.dark .more{ color: var(--gold-light); }

/* ---------- diferenciais ---------- */
.diff-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}
.diff-item{
  background: var(--white);
  padding: 32px 28px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.diff-item .num{ font-family: var(--font-mono); font-size: 13px; color: var(--gold); }
.diff-item h4{ font-size: 18.5px; color: var(--navy); margin: 14px 0 8px; }
.diff-item p{ font-size: 14px; color: var(--slate); }

/* ---------- segments ---------- */
.seg-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.seg-card{
  border: 1px solid var(--line-light);
  border-radius: 6px;
  padding: 26px;
  position: relative;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.seg-card:hover{ border-color: var(--gold); background: var(--paper); }
.seg-card .ic{
  width: 42px; height: 42px;
  border-radius: 4px;
  background: var(--navy);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.seg-card .ic svg{ width: 20px; height: 20px; }
.seg-card h4{ font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.seg-card p{ font-size: 13.5px; color: var(--slate); }

/* ---------- process (como funciona) ---------- */
.process{ position: relative; }
.process-list{
  display: flex; flex-direction: column;
}
.process-row{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--line-light);
  position: relative;
}
.process-row:last-child{ border-bottom: 1px solid var(--line-light); }
.process-row .pn{
  font-family: var(--font-mono);
  font-size: 34px;
  color: var(--gold);
  font-weight: 500;
  position: relative;
}
.process-row .pn::after{
  content: "";
  position: absolute;
  left: 22px; top: 46px; bottom: -30px;
  width: 1px;
  border-left: 1px dashed rgba(7,34,78,0.22);
}
.process-row:last-child .pn::after{ display: none; }
.process-row h4{ font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.process-row p{ font-size: 14.5px; color: var(--slate); max-width: 620px; }

/* ---------- pratica / gallery teaser ---------- */
.pratica-wrap{
  border: 1px solid var(--line-light);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}
.pratica-head{
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 32px;
  border-bottom: 1px dashed var(--line-light);
  flex-wrap: wrap; gap: 16px;
}
.pratica-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line-light);
}
.pratica-slot{
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  position: relative;
  display: flex; align-items: flex-end; padding: 16px;
}
.pratica-slot span{
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(255,255,255,0.55); letter-spacing: .05em;
}
.pratica-slot::before{
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* ---------- CTA final ---------- */
.cta-final{
  background: var(--navy);
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.cta-final .wrap{ position: relative; }
.cta-inner{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}
.cta-inner h2{ font-size: clamp(28px, 3.6vw, 42px); color: var(--white); }
.cta-inner p{ margin-top: 14px; color: rgba(255,255,255,0.68); font-size: 16px; max-width: 480px; }
.cta-actions{ display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer{
  background: var(--navy-deep);
  color: rgba(255,255,255,0.72);
  padding: 72px 0 28px;
}
.footer-top{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand-badge{
  display: inline-block;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 4px;
  margin-bottom: 18px;
}
.footer-brand-badge img{ height: 26px; }
.footer-top p{ font-size: 14px; line-height: 1.6; max-width: 280px; }
.footer-col h5{
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.footer-col a, .footer-col li{ display: block; font-size: 14.5px; margin-bottom: 12px; color: rgba(255,255,255,0.72); }
.footer-col a:hover{ color: var(--white); }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 13px; color: rgba(255,255,255,0.45);
  flex-wrap: wrap; gap: 12px;
}

/* ---------- page hero (inner pages) ---------- */
.page-hero{
  padding: 156px 0 76px;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero .wrap{ position: relative; }
.breadcrumb{
  font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.5);
  margin-bottom: 22px; letter-spacing: .04em;
}
.breadcrumb a{ color: rgba(255,255,255,0.75); }
.breadcrumb a:hover{ color: var(--gold-light); }
.page-hero h1{ font-size: clamp(34px, 4.4vw, 52px); color: var(--white); max-width: 780px; }
.page-hero .lead{ margin-top: 20px; font-size: 17px; color: rgba(255,255,255,0.7); max-width: 620px; }

/* ---------- generic content blocks ---------- */
.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.list-check{ display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.list-check li{
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px; color: var(--ink);
}
.list-check li svg{ width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.mvv-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mvv-card{
  border: 1px solid var(--line-light);
  border-radius: 6px;
  padding: 32px;
  background: var(--white);
}
.mvv-card .eyebrow{ margin-bottom: 16px; }
.mvv-card p{ font-size: 15px; color: var(--slate); }
.mvv-card ul{ margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.mvv-card ul li{ font-size: 14.5px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.mvv-card ul li::before{ content: ""; width: 5px; height: 5px; background: var(--gold); flex-shrink: 0; }

/* service detail scope list */
.scope-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.scope-item{
  border: 1px solid var(--line-light);
  border-radius: 5px;
  padding: 18px 20px;
  font-size: 14.5px;
  color: var(--navy);
  font-weight: 500;
  display: flex; align-items: center; gap: 12px;
}
.scope-item svg{ width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

.related-services{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.related-card{
  border: 1px solid var(--line-light);
  border-radius: 6px;
  padding: 26px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.related-card:hover{ border-color: var(--gold); transform: translateY(-3px); }
.related-card .tag-index{ margin-bottom: 12px; display: block; }
.related-card h4{ font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.related-card p{ font-size: 13.5px; color: var(--slate); }

/* ---------- forms ---------- */
.form-panel{
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  padding: 40px;
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field{ margin-bottom: 18px; }
.field label{
  display: block; font-size: 13px; font-weight: 600; color: var(--navy);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea{
  width: 100%;
  border: 1px solid rgba(7,34,78,0.2);
  border-radius: 4px;
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--white);
  transition: border-color .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--gold); outline: none; }
.field textarea{ resize: vertical; min-height: 110px; }

.contact-side{ display: flex; flex-direction: column; gap: 18px; }
.contact-info-card{
  border: 1px solid var(--line-light);
  border-radius: 8px;
  padding: 26px 28px;
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-info-card .ic{
  width: 38px; height: 38px; border-radius: 4px;
  background: var(--gold-pale); color: var(--navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-card .ic svg{ width: 18px; height: 18px; }
.contact-info-card h5{ font-size: 15px; color: var(--navy); margin-bottom: 4px; }
.contact-info-card p{ font-size: 14px; color: var(--slate); }

.mascot-note{
  display: flex; gap: 16px; align-items: center;
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  border-radius: 8px;
  padding: 20px 22px;
}
.mascot-note img{ width: 56px; height: 56px; object-fit: cover; border-radius: 50%; background: var(--white); }
.mascot-note p{ font-size: 13.5px; color: var(--navy); }
.mascot-note strong{ color: var(--navy); }

/* ---------- placeholder / em breve ---------- */
.coming-soon{
  border: 1px dashed rgba(7,34,78,0.3);
  border-radius: 8px;
  padding: 64px 40px;
  text-align: center;
  background: var(--paper);
}
.coming-soon .eyebrow{ justify-content: center; }
.coming-soon h3{ font-size: 24px; color: var(--navy); margin: 18px 0 10px; }
.coming-soon p{ color: var(--slate); font-size: 15px; max-width: 460px; margin: 0 auto; }

/* ---------- quick services strip ---------- */
.quick-services{
  padding: 36px 0;
  background: var(--white);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.quick-services .wrap{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}
.quick-service-item{
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 190px;
}
.quick-service-item .ic{
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.quick-service-item .ic svg{ width: 20px; height: 20px; }
.quick-service-item span{ font-size: 14.5px; font-weight: 600; color: var(--navy); }

/* ---------- value chips ---------- */
.value-chip{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
}
.value-chip .ic{
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.value-chip .ic svg{ width: 16px; height: 16px; }

/* ---------- mascot callouts ---------- */
.mascot-cta{
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  padding: 18px 20px;
}
.mascot-cta img{
  width: 64px; height: 64px;
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
}
.mascot-cta p{ font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.mascot-cta strong{ color: var(--navy); }
.mascot-cta.on-dark{
  background: rgba(255,255,255,0.06);
  border-color: var(--line-dark);
}
.mascot-cta.on-dark p{ color: rgba(255,255,255,0.75); }
.mascot-cta.on-dark strong{ color: var(--gold-light); }

.mvv-grid-2{ grid-template-columns: repeat(2, 1fr); }

.values-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 20px;
}


@media (max-width: 1040px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-panel{ order: -1; }
  .origin-inner{ grid-template-columns: 1fr; }
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .service-card{ grid-column: span 1; }
  .two-col{ grid-template-columns: 1fr; gap: 40px; }
  .mvv-grid{ grid-template-columns: 1fr; }
  .values-grid{ grid-template-columns: repeat(3, 1fr); }
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .related-services{ grid-template-columns: 1fr; }
  .scope-grid{ grid-template-columns: 1fr; }
  .cta-inner{ grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 680px){
  .wrap{ padding: 0 20px; }
  section{ padding: 72px 0; }
  .hero{ padding: 140px 0 64px; }
  .services-grid{ grid-template-columns: 1fr; }
  .pratica-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-top{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .process-row{ grid-template-columns: 60px 1fr; gap: 16px; }
  .process-row .pn{ font-size: 24px; }
  .header-cta .btn span{ display: none; }
  .quick-service-item{ min-width: 100%; }
  .mascot-cta{ flex-direction: column; text-align: center; }
  .mvv-grid-2{ grid-template-columns: 1fr; }
  .values-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ---------- click/tap "polish" effect ---------- */
.wipe-fx{
  position: fixed;
  width: 120px; height: 120px;
  margin: -60px 0 0 -60px;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.55) 0%, rgba(231,192,119,0.35) 22%, rgba(209,154,62,0.15) 45%, transparent 70%);
  animation: wipe-fade .75s cubic-bezier(0.2,0.6,0.2,1) forwards;
  mix-blend-mode: multiply;
}
.wipe-fx::after{
  content: "";
  position: absolute; inset: 14px;
  border-radius: 50%;
  border: 1px solid rgba(7,34,78,0.25);
  opacity: .6;
}
@keyframes wipe-fade{
  0%{ transform: scale(0.25) rotate(var(--r,0deg)); opacity: 0; }
  25%{ opacity: 1; }
  100%{ transform: scale(1.15) rotate(var(--r,0deg)); opacity: 0; }
}

/* ---------- floating WhatsApp + Clorinho ---------- */
.wa-float{
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 9000;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.wa-clorinho{
  width: 64px;
  height: auto;
  margin-right: -14px;
  margin-bottom: 6px;
  filter: drop-shadow(0 6px 10px rgba(7,34,78,0.25));
  animation: wa-bounce 2.6s ease-in-out infinite;
  transform-origin: bottom center;
}
.wa-btn{
  pointer-events: auto;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(7,34,78,0.45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-btn:hover{ transform: scale(1.08); box-shadow: 0 14px 28px -8px rgba(7,34,78,0.55); }
.wa-btn svg{ width: 28px; height: 28px; }

@keyframes wa-bounce{
  0%, 100%{ transform: translateY(0) rotate(-3deg); }
  50%{ transform: translateY(-6px) rotate(2deg); }
}

@media (prefers-reduced-motion: reduce){
  .wa-clorinho{ animation: none; }
}

@media (max-width: 680px){
  .wa-float{ right: 14px; bottom: 14px; }
  .wa-clorinho{ width: 50px; }
  .wa-btn{ width: 50px; height: 50px; }
  .wa-btn svg{ width: 24px; height: 24px; }
}

/* ---------- real photo gallery ---------- */
.gallery-group{ margin-bottom: 56px; }
.gallery-group:last-child{ margin-bottom: 0; }
.gallery-group-head{
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.gallery-group-head h3{ font-size: 22px; color: var(--navy); }
.gallery-group-head span{ font-family: var(--font-mono); font-size: 12px; color: var(--slate); }
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-grid.feature-2 .g-tile:first-child{ grid-column: span 2; grid-row: span 2; }
.g-tile{
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line-light);
}
.g-tile img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.g-tile:hover img{ transform: scale(1.06); }
.g-tile .cap{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 12px 8px;
  background: linear-gradient(to top, rgba(4,21,47,0.82), transparent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.g-tile:hover .cap{ opacity: 1; transform: translateY(0); }

@media (max-width: 960px){
  .gallery-grid{ grid-template-columns: repeat(3, 1fr); }
  .gallery-grid.feature-2 .g-tile:first-child{ grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 640px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery-grid.feature-2 .g-tile:first-child{ grid-column: span 2; grid-row: span 1; aspect-ratio: 2/1.1; }
  .g-tile .cap{ opacity: 1; transform: none; font-size: 11.5px; padding: 8px 10px 6px; }
}

/* ---------- NR certification badges ---------- */
.nr-strip{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.nr-badge{
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line-light);
  border-radius: 6px;
  padding: 14px 18px;
  flex: 1;
  min-width: 220px;
  background: var(--white);
}
.nr-badge .code{
  font-family: var(--font-mono);
  font-size: 15px; font-weight: 600;
  color: var(--navy);
  background: var(--gold-pale);
  border-radius: 4px;
  padding: 4px 9px;
  flex-shrink: 0;
}
.nr-badge .label{ font-size: 13.5px; color: var(--slate); }
.nr-badge .label strong{ display: block; color: var(--navy); font-size: 14px; }
.nr-strip.on-dark .nr-badge{ background: rgba(255,255,255,0.05); border-color: var(--line-dark); }
.nr-strip.on-dark .nr-badge .code{ background: rgba(231,192,119,0.16); color: var(--gold-light); }
.nr-strip.on-dark .nr-badge .label strong{ color: #fff; }
.nr-strip.on-dark .nr-badge .label{ color: rgba(255,255,255,0.65); }

/* ---------- testimonial quote block ---------- */
.quote-block{
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  max-width: 620px;
}
.quote-block p{
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--navy);
  line-height: 1.4;
}
.quote-block cite{
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---------- floating WhatsApp + Clorinho widget ---------- */
.wa-float{
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.wa-float .wa-mascot{
  width: 62px; height: auto;
  margin-right: -8px;
  margin-bottom: 4px;
  pointer-events: none;
  filter: drop-shadow(0 8px 14px rgba(4,21,47,0.3));
  transform-origin: bottom center;
  animation: wa-bounce 2.8s ease-in-out infinite;
}
.wa-float .wa-btn{
  pointer-events: auto;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(4,21,47,0.45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  flex-shrink: 0;
}
.wa-float .wa-btn:hover{ transform: scale(1.08); box-shadow: 0 14px 30px -8px rgba(4,21,47,0.55); }
.wa-float .wa-btn svg{ width: 29px; height: 29px; fill: #fff; }

@keyframes wa-bounce{
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-7px) rotate(2deg); }
}
@media (prefers-reduced-motion: reduce){
  .wa-float .wa-mascot{ animation: none; }
}
@media (max-width: 680px){
  .wa-float{ right: 14px; bottom: 14px; }
  .wa-float .wa-mascot{ width: 50px; margin-bottom: 2px; }
  .wa-float .wa-btn{ width: 50px; height: 50px; }
  .wa-float .wa-btn svg{ width: 25px; height: 25px; }
}
