/* ==========================================================================
   Techne Serv — estilos do site
   Cores da marca: azul #416583 (TECHNE) e cinza #58595B (SERV)
   ========================================================================== */

:root {
  /* Azul da logo e seus tons */
  --brand: #416583;
  --brand-700: #34536C;
  --brand-800: #2C4458;
  --brand-900: #1E2F3E;
  --brand-100: #E4EBF1;
  /* Cinza da logo e seus tons */
  --gray: #58595B;
  --gray-700: #47484A;
  --gray-900: #2A2B2D;
  --gray-50: #F4F4F5;
  /* Textos e linhas */
  --heading: var(--brand-800);
  --ink: #2E2F31;
  --text: #414244;
  --muted: var(--gray);
  --line: #DEDFE1;
  /* Textos sobre o azul e o cinza */
  --on-color: #E3EAF0;
  --on-color-hl: #B3CBE0;
  --amber: #F2B44B;
  --whats: #0F7D41;
  --whats-hover: #0B6A36;
  --whats-float: #1EA952;
  --danger: #B42318;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(30, 47, 62, .06), 0 4px 14px rgba(30, 47, 62, .06);
  --shadow-md: 0 18px 40px -18px rgba(30, 47, 62, .35);
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-cond: "Barlow Condensed", "Barlow", system-ui, "Segoe UI", Arial, sans-serif;
  --container: 1180px;
  --header-h: 76px;
  --check-brand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23416583' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --check-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }

h1, h2, h3 {
  margin: 0 0 .5em;
  font-family: var(--font-cond);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .005em;
  color: var(--heading);
}
h2 { font-size: clamp(2rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(65, 101, 131, .22); }
:focus-visible { outline: 3px solid var(--focus, var(--brand)); outline-offset: 3px; border-radius: 4px; }
/* Sobre o azul e o cinza, o contorno de foco do teclado fica branco */
.hero, .band, .seg-card--dark, .doc-cta, .site-footer { --focus: #fff; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: .6rem 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .78em 1.25em;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font: 600 1rem/1.2 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-sm { padding: .62em 1em; font-size: .95rem; }
.btn-lg { padding: .95em 1.5em; font-size: 1.05rem; }
.btn-block { width: 100%; white-space: normal; }

.btn-whats { background: var(--whats); color: #fff; box-shadow: 0 10px 22px -12px rgba(15, 125, 65, .9); }
.btn-whats:hover { background: var(--whats-hover); color: #fff; }

.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .65); }

.btn-outline { color: var(--brand); background: #fff; border-color: var(--brand); }
.btn-outline:hover { color: #fff; background: var(--brand); }

.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { color: #fff; background: rgba(255, 255, 255, .1); border-color: #fff; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
}
.text-link .icon { transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Eyebrow (rótulo acima dos títulos) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin: 0 0 1rem;
  font: 600 .9rem/1.3 var(--font-cond);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: var(--on-color); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(30, 47, 62, .5); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}
.brand { flex: none; }
.brand img { height: 46px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { display: flex; gap: 1.6rem; }
.site-nav ul a {
  position: relative;
  padding: .35rem 0;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.site-nav ul a:hover::after,
.site-nav ul a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle { display: none; }

@media (max-width: 959.98px) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
  }
  .nav-toggle .icon { width: 22px; height: 22px; }
  .nav-toggle .icon-close,
  .is-open .nav-toggle .icon-open { display: none; }
  .is-open .nav-toggle .icon-close { display: block; }

  .js .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
    padding: .5rem 1.25rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 30px -22px rgba(30, 47, 62, .4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .js .is-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav ul a { display: block; padding: .9rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .js .site-nav ul a::after { display: none; }
  .js .site-nav .btn { width: 100%; padding-block: .9em; font-size: 1.02rem; }
  body.menu-open { overflow: hidden; }

  /* Sem JavaScript: o menu fica visível, quebrando em linhas */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: .75rem; }
  html:not(.js) .site-nav,
  html:not(.js) .site-nav ul { flex-wrap: wrap; gap: .5rem 1.1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(4rem, 8vw, 7rem);
  color: var(--on-color);
  background:
    radial-gradient(700px 500px at 0% 100%, rgba(30, 47, 62, .4), transparent 65%),
    linear-gradient(180deg, var(--brand) 0%, var(--brand-700) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 10%, transparent 100%);
}
.hero-arcs {
  position: absolute;
  z-index: -1;
  left: -430px;
  bottom: -470px;
  width: 900px;
  max-width: none;
  fill: none;
  stroke: rgba(255, 255, 255, .14);
  stroke-width: 1.5;
}

.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; } }

.hero h1 {
  margin-bottom: .45em;
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.04;
  color: #fff;
}
.hero h1 .hl { color: var(--on-color-hl); }
.hero .lead { max-width: 36em; margin-bottom: 2rem; font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--on-color); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.25rem; }

.hero-trust { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; font-size: .98rem; font-weight: 500; color: #fff; }
.hero-trust li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust .icon { color: var(--on-color-hl); }

.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(201, 215, 227, .16), transparent);
  filter: blur(30px);
}

/* Ilustração técnica (unifilar + rede) */
.schematic { width: 100%; height: auto; max-width: 600px; margin-inline: auto; filter: drop-shadow(0 30px 60px rgba(20, 32, 42, .4)); }
.schematic text { font-family: var(--font-cond); }
.schematic .sch-card { fill: rgba(30, 47, 62, .72); stroke: rgba(201, 215, 227, .3); }
.schematic .sch-title { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; fill: #E8EEF3; }
.schematic .sch-rule { stroke: rgba(201, 215, 227, .22); }
.schematic .lbl { font-size: 11.5px; font-weight: 500; letter-spacing: .06em; fill: #B4C6D5; }
.schematic .lbl--strong { font-weight: 600; fill: #EEF3F7; }
.schematic .el { fill: var(--brand-900); stroke: #D3DDE6; stroke-width: 1.6; }
.schematic .el-line { fill: none; stroke: #D3DDE6; stroke-width: 1.6; stroke-linecap: round; }
.schematic .dot { fill: #D3DDE6; }
.schematic .pw { fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; }
.schematic .dt { fill: none; stroke: #94B6D6; stroke-width: 2; stroke-linecap: round; }
.schematic .bus { stroke: var(--amber); stroke-width: 5; stroke-linecap: round; }
.schematic .ports rect { fill: var(--brand-900); stroke: #8FA6B9; stroke-width: 1.2; }
.schematic .leds circle { fill: #7FE3A8; animation: blink 2.2s ease-in-out infinite; }
.schematic .wave { fill: none; stroke: #94B6D6; stroke-width: 2; stroke-linecap: round; animation: wave 2.4s ease-in-out infinite; }
.schematic .w2 { animation-delay: .25s; }
.schematic .w3 { animation-delay: .5s; }
.schematic .flow { stroke-dasharray: 4 7; animation: flow 1.1s linear infinite; }
.schematic .blk { fill: rgba(30, 47, 62, .6); stroke: rgba(201, 215, 227, .35); }
.schematic .blk-line { fill: none; stroke: rgba(201, 215, 227, .25); }
.schematic .blk-brand { font-size: 22px; font-weight: 700; letter-spacing: .08em; fill: #fff; }
.schematic .blk-k { font-size: 10px; font-weight: 600; letter-spacing: .14em; fill: #9FB3C4; }
.schematic .blk-v { font-size: 13.5px; font-weight: 600; letter-spacing: .02em; fill: #EEF3F7; }

@keyframes flow { to { stroke-dashoffset: -22; } }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes wave { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* ---------- Seções ---------- */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--tint { background: var(--gray-50); }
.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head p:last-child:not(.eyebrow) { margin: 0; font-size: 1.1rem; color: var(--muted); }

/* ---------- Segmentos ---------- */
.seg-grid { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .seg-grid { grid-template-columns: repeat(3, 1fr); } }

.seg-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.seg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #C9D7E3; }
.seg-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: var(--brand-100);
  color: var(--brand);
}
.seg-icon .icon { width: 28px; height: 28px; }
.seg-card h3 { margin-bottom: .35em; font-size: 1.75rem; }
.seg-card > p { color: var(--muted); }

.checklist { display: grid; gap: .55rem; margin: .25rem 0 1.6rem; }
.checklist li { position: relative; padding-left: 1.8rem; line-height: 1.5; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--brand-100) var(--check-brand) center / 68% no-repeat;
}

.seg-card--dark {
  color: var(--on-color);
  background: linear-gradient(160deg, var(--brand), var(--brand-700));
  border-color: transparent;
}
.seg-card--dark:hover { border-color: transparent; }
.seg-card--dark h3 { color: #fff; }
.seg-card--dark > p { color: var(--on-color); }
.seg-card--dark .seg-icon { background: rgba(255, 255, 255, .14); color: #fff; }
.seg-card--dark .checklist li::before { background-color: rgba(255, 255, 255, .16); background-image: var(--check-light); }
.seg-card--dark .text-link { color: #fff; }
.seg-card--dark .text-link:hover { color: #fff; text-decoration: underline; }

/* ---------- Serviços ---------- */
.svc-grid { display: grid; gap: 1.5rem; }
@media (min-width: 720px) and (max-width: 1079.98px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid > :last-child { grid-column: 1 / -1; }
  .svc-grid > :last-child .svc-list { columns: 2; column-gap: 2.5rem; }
  .svc-grid > :last-child .svc-list li { break-inside: avoid; }
}
@media (min-width: 1080px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.svc-panel {
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.svc-head {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: .4rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.svc-head h3 { margin: 0; font-size: 1.6rem; }
.svc-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
}
.svc-icon .icon { width: 24px; height: 24px; }
.svc-list li { padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.svc-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.svc-list strong { display: block; font-weight: 600; line-height: 1.35; color: var(--ink); }
.svc-list span { display: block; margin-top: .15rem; font-size: .97rem; line-height: 1.5; color: var(--muted); }

/* ---------- Faixa de normas ---------- */
.band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  color: var(--on-color);
  background: linear-gradient(135deg, var(--gray) 0%, var(--gray-700) 100%);
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.band h2 { color: #fff; }
.band-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .band-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }
.band-copy p:last-child { margin: 0; font-size: 1.08rem; color: var(--on-color); }

.norms { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .9rem; }
.norms li {
  padding: 1rem 1.1rem;
  background: rgba(0, 0, 0, .14);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
}
.norms strong { display: block; font: 700 1.4rem/1.1 var(--font-cond); letter-spacing: .02em; color: #fff; }
.norms span { display: block; margin-top: .3rem; font-size: .92rem; line-height: 1.35; color: var(--on-color-hl); }

/* ---------- Como trabalhamos ---------- */
.steps { position: relative; display: grid; gap: 1.25rem; }
.step {
  position: relative;
  padding: 1.5rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font: 700 1.1rem/1 var(--font-cond);
  letter-spacing: .04em;
}
.step h3 { margin-bottom: .3em; font-size: 1.4rem; }
.step p { margin: 0; font-size: .98rem; color: var(--muted); }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
  .steps::before {
    content: "";
    position: absolute;
    top: calc(1.5rem + 23px);
    left: 4%;
    right: 4%;
    height: 2px;
    background: repeating-linear-gradient(90deg, #C5C6C8 0 8px, transparent 8px 14px);
  }
}

/* ---------- Documentação para orçamento ---------- */
.doc-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .doc-grid { grid-template-columns: 1.25fr .75fr; gap: 4rem; } }
.doc-copy > p { font-size: 1.08rem; color: var(--muted); }

.doc-list { display: grid; gap: .75rem; margin-top: 1.5rem; }
.doc-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.doc-list .icon {
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  stroke-width: 2.8;
}
.doc-list strong { display: block; line-height: 1.35; color: var(--ink); }
.doc-list span { display: block; font-size: .96rem; color: var(--muted); }

.doc-cta {
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  color: var(--on-color);
  background: linear-gradient(160deg, var(--brand), var(--brand-700));
  box-shadow: var(--shadow-md);
}
@media (min-width: 960px) { .doc-cta { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.doc-cta h3 { font-size: 1.8rem; color: #fff; }
.doc-cta p { margin-bottom: 1.5rem; color: var(--on-color); }
.doc-cta .btn + .btn { margin-top: .75rem; }
.doc-cta-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
}
.doc-cta-icon .icon { width: 26px; height: 26px; }

/* ---------- Sobre ---------- */
.about-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.3fr .7fr; gap: 4rem; } }

.chips-title {
  margin: 1.75rem 0 .75rem;
  font: 600 .9rem/1.3 var(--font-cond);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li {
  padding: .45rem .95rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--gray-50);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.about-card {
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.rt { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.rt-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}
.rt-icon .icon { width: 24px; height: 24px; }
.rt strong { display: block; font: 600 1.4rem/1.2 var(--font-cond); color: var(--ink); }
.rt-role { font-size: .95rem; color: var(--muted); }

.facts { display: grid; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.facts div:last-child { padding-bottom: 0; border-bottom: 0; }
.facts dt { font-size: .95rem; color: var(--muted); }
.facts dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); }

/* ---------- Contato ---------- */
.contact-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }
.contact-copy > p { font-size: 1.08rem; color: var(--muted); }

.contact-list { display: grid; gap: 1rem; margin-top: 1.75rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; }
.c-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
}
.c-icon--whats { background: var(--whats); border-color: var(--whats); color: #fff; }
.c-label {
  display: block;
  font: 600 .82rem/1.2 var(--font-cond);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list a,
.c-value { font-size: 1.08rem; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--brand); text-decoration: underline; }

.contact-form {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: .95rem; font-weight: 600; color: var(--ink); }
.field label span { color: var(--danger); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .75rem .9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2358595B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  background-size: 16px;
}
.field ::placeholder { color: #8E8F91; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(65, 101, 131, .15); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }

.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.form-actions .btn { flex: 1 1 200px; }
.form-note { margin: 1rem 0 0; font-size: .88rem; color: var(--muted); }
.form-status { margin: .5rem 0 0; font-weight: 600; color: var(--whats); }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--danger); }

/* ---------- Rodapé ---------- */
.site-footer { padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .98rem; color: #BEBFC1; background: var(--gray-900); }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 3rem; } }
.footer-brand img { height: 58px; width: auto; margin-bottom: 1rem; }
.footer-brand p { margin: 0; }
.footer-title {
  margin: 0 0 1rem;
  font: 600 .85rem/1.3 var(--font-cond);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer ul { display: grid; gap: .55rem; }
.site-footer a { color: #DCDDDF; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  padding-block: 1.25rem 1.5rem;
  padding-right: 84px; /* espaço para o botão flutuante do WhatsApp */
  font-size: .9rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer-bottom p { margin: 0; }

/* ---------- Botão flutuante do WhatsApp ---------- */
.whats-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whats-float);
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(15, 125, 65, .6);
  transition: transform .2s, background-color .2s;
}
.whats-float:hover { transform: scale(1.06); background: var(--whats); color: #fff; }
.whats-float .icon { width: 30px; height: 30px; stroke-width: 1.6; }
/* Anel duplo (branco e azul-escuro): o foco aparece sobre qualquer seção */
.whats-float:focus-visible { outline-color: #fff; box-shadow: 0 0 0 8px var(--brand-800); }

/* ---------- Animação de entrada ---------- */
/* O main.js remove .reveal ao fim da animação, devolvendo as transições normais de hover */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .seg-grid > .reveal:nth-child(2), .js .svc-grid > .reveal:nth-child(2), .js .steps > .reveal:nth-child(2) { transition-delay: .08s; }
.js .seg-grid > .reveal:nth-child(3), .js .svc-grid > .reveal:nth-child(3), .js .steps > .reveal:nth-child(3) { transition-delay: .16s; }
.js .steps > .reveal:nth-child(4) { transition-delay: .24s; }
.js .steps > .reveal:nth-child(5) { transition-delay: .32s; }

/* ---------- Telas pequenas ---------- */
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  body { font-size: 1rem; }
  .brand img { height: 40px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-trust { gap: .6rem 1.25rem; font-size: .93rem; }
  .seg-card, .svc-panel, .about-card { padding: 1.5rem 1.25rem; }
  .whats-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .schematic * { animation: none !important; }
  .btn, .seg-card, .text-link .icon, .whats-float { transition: none; }
}
