:root{
  color-scheme: light dark;
  --bg: #F4F5F7;
  --bg-raised: #FFFFFF;
  --bg-sunken: #E7E9EE;
  --text: #12182A;
  --text-muted: #4A5468;
  --border: #DBDFE6;
  --accent: #FBBC00;
  --accent-text: #8F6B00;
  --accent-soft: #FFF0C2;
  --accent-ink: #2B1E00;
  --brand-navy: #0A1A2C;
  --brand-navy-ink: #F4F5F7;
  --shadow: rgba(18,24,42,0.10);
  --hero-grid-line: rgba(10,26,44,0.09);
}
@media (prefers-color-scheme: dark){
  :root{
    --bg: #0A0E18;
    --bg-raised: #121828;
    --bg-sunken: #060810;
    --text: #EAEDF3;
    --text-muted: #97A0B4;
    --border: #232C42;
    --accent: #FBBC00;
    --accent-text: #FBBC00;
    --accent-soft: #3D2D00;
    --accent-ink: #2B1E00;
    --brand-navy: #0A1A2C;
    --brand-navy-ink: #EAEDF3;
    --shadow: rgba(0,0,0,0.45);
    --hero-grid-line: rgba(234,237,243,0.07);
  }
}
:root[data-theme="dark"]{
  --bg: #0A0E18;
  --bg-raised: #121828;
  --bg-sunken: #060810;
  --text: #EAEDF3;
  --text-muted: #97A0B4;
  --border: #232C42;
  --accent: #FBBC00;
  --accent-text: #FBBC00;
  --accent-soft: #3D2D00;
  --accent-ink: #2B1E00;
  --brand-navy: #0A1A2C;
  --brand-navy-ink: #EAEDF3;
  --shadow: rgba(0,0,0,0.45);
  --hero-grid-line: rgba(234,237,243,0.07);
}
:root[data-theme="light"]{
  --bg: #F4F5F7;
  --bg-raised: #FFFFFF;
  --bg-sunken: #E7E9EE;
  --text: #12182A;
  --text-muted: #4A5468;
  --border: #DBDFE6;
  --accent: #FBBC00;
  --accent-text: #8F6B00;
  --accent-soft: #FFF0C2;
  --accent-ink: #2B1E00;
  --brand-navy: #0A1A2C;
  --brand-navy-ink: #F4F5F7;
  --shadow: rgba(18,24,42,0.10);
  --hero-grid-line: rgba(10,26,44,0.09);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'IBM Plex Sans', system-ui, sans-serif;
  font-size:1.0625rem;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;}
.container{
  max-width:1180px;
  margin:0 auto;
  padding:0 1.5rem;
}
h1,h2,h3{
  font-family:'Big Shoulders Display', system-ui, sans-serif;
  text-transform:uppercase;
  line-height:0.95;
  margin:0;
  text-wrap:balance;
  letter-spacing:-0.01em;
}
.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:0.78rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--accent-text);
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:0.6rem;
}
.eyebrow::before{
  content:"";
  width:1.4rem;
  height:2px;
  background:var(--accent);
  display:inline-block;
}
.mono-num{
  font-family:'IBM Plex Mono', monospace;
  font-variant-numeric:tabular-nums;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:0.5rem;
  padding:0.9rem 1.6rem;
  border-radius:3px;
  font-family:'IBM Plex Sans', sans-serif;
  font-weight:600;
  font-size:0.95rem;
  text-decoration:none;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color .15s ease;
}
.btn:focus-visible{outline:3px solid var(--accent); outline-offset:2px;}
.btn-primary{
  background:var(--accent);
  color:var(--accent-ink);
}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 10px 24px -8px var(--shadow);}
.btn-ghost{
  background:transparent;
  color:var(--text);
  border-color:var(--border);
}
.btn-ghost:hover{border-color:var(--accent-text); color:var(--accent-text);}

/* ---------- Header ---------- */
header{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--brand-navy);
  color:var(--brand-navy-ink);
  border-bottom:1px solid rgba(255,255,255,0.08);
  box-shadow:0 0 0 rgba(0,0,0,0);
  transition:box-shadow .3s ease;
}
header.scrolled{box-shadow:0 14px 30px -18px rgba(0,0,0,0.55);}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0.9rem 1.5rem;
  max-width:1180px;
  margin:0 auto;
}
.brand{display:flex; align-items:center; gap:0.65rem;}
.brand img{height:2.6rem; width:auto;}
.nav-links{display:flex; gap:2rem; list-style:none; margin:0; padding:0; font-size:0.92rem; font-weight:500;}
.nav-links a{text-decoration:none; opacity:0.85; transition:opacity .15s, color .15s; position:relative; padding-bottom:0.2rem;}
.nav-links a:hover{opacity:1; color:var(--accent);}
.nav-links a::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:0;
  height:2px;
  background:var(--accent);
  transition:width .25s ease;
}
.nav-links a.active{opacity:1; color:var(--accent);}
.nav-links a.active::after{width:100%;}
.nav-cta{display:flex; align-items:center; gap:1rem;}
.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:2.2rem; height:2.2rem;
  background:none;
  border:none;
  cursor:pointer;
  padding:0;
}
.nav-toggle span{
  display:block;
  width:100%;
  height:2px;
  background:var(--brand-navy-ink);
  border-radius:2px;
  transition:transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

@media (max-width:860px){
  .nav-links{
    position:absolute;
    top:100%;
    left:0; right:0;
    flex-direction:column;
    gap:0;
    background:var(--brand-navy);
    border-bottom:1px solid rgba(255,255,255,0.1);
    max-height:0;
    overflow:hidden;
    transition:max-height .3s ease;
  }
  .nav-links.nav-open{max-height:20rem;}
  .nav-links li{width:100%;}
  .nav-links a{display:block; padding:1rem 1.5rem;}
  .nav-links a::after{display:none;}
  .nav-toggle{display:flex;}
  .nav-cta .btn-primary{display:none;}
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  overflow:hidden;
  background:var(--brand-navy);
  min-height:min(84vh, 720px);
  display:flex;
  align-items:center;
}
.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 22%;
  z-index:0;
}
.hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(90deg, rgba(6,9,16,0.82) 0%, rgba(6,9,16,0.48) 42%, rgba(6,9,16,0.12) 68%);
}
.hero-inner{
  max-width:1180px;
  margin:0 auto;
  padding:6rem 1.5rem;
  position:relative;
  z-index:2;
  width:100%;
}
.hero-copy{color:var(--brand-navy-ink);}
.hero-copy .eyebrow{color:var(--accent); margin-bottom:1.2rem;}
.hero-copy h1{
  font-size:clamp(2.6rem, 5vw + 1rem, 4.6rem);
  font-weight:900;
  color:#FFFFFF;
}
.hero-copy h1 em{
  font-style:normal;
  color:var(--accent);
}
.hero-copy p{
  color:rgba(244,245,247,0.85);
  font-size:1.1rem;
  max-width:32rem;
  margin:1.4rem 0 2rem;
  text-shadow:0 1px 12px rgba(0,0,0,0.4);
}
.hero-actions{display:flex; gap:1rem; flex-wrap:wrap;}
.hero-actions .btn-ghost{
  border-color:rgba(255,255,255,0.35);
  color:#fff;
  background:rgba(6,9,16,0.3);
  backdrop-filter:blur(6px);
}
.hero-actions .btn-ghost:hover{border-color:var(--accent); color:var(--accent);}

.scroll-cue{
  position:absolute;
  left:50%;
  bottom:1.8rem;
  z-index:2;
  transform:translateX(-50%);
  width:1.6rem;
  height:2.6rem;
  border:1.5px solid rgba(255,255,255,0.45);
  border-radius:1rem;
  display:flex;
  justify-content:center;
  padding-top:0.4rem;
}
.scroll-cue span{
  width:3px;
  height:6px;
  border-radius:2px;
  background:var(--accent);
  animation:scroll-cue-move 1.8s ease-in-out infinite;
}
@keyframes scroll-cue-move{
  0%{ transform:translateY(0); opacity:1; }
  70%{ transform:translateY(10px); opacity:0; }
  71%{ transform:translateY(0); opacity:0; }
  100%{ transform:translateY(0); opacity:1; }
}

@media (max-width:900px){
  .hero-overlay{background:linear-gradient(180deg, rgba(6,9,16,0.55) 0%, rgba(6,9,16,0.88) 78%);}
  .hero-video{object-position:center 15%;}
  .hero-inner{padding:4rem 1.5rem;}
  .hero-copy p{max-width:none;}
  .scroll-cue{display:none;}
}

/* ---------- Stats ---------- */
.stats{
  background:var(--bg-sunken);
  border-bottom:1px solid var(--border);
  border-top:1px solid var(--border);
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:0;
}
.stat{
  padding:2.4rem 1.5rem;
  text-align:center;
  border-left:1px solid var(--border);
}
.stat:first-child{border-left:none;}
.stat .num{
  font-family:'IBM Plex Mono', monospace;
  font-variant-numeric:tabular-nums;
  font-size:2.4rem;
  font-weight:600;
  color:var(--accent-text);
  display:block;
}
.stat .label{
  font-size:0.85rem;
  color:var(--text-muted);
  margin-top:0.4rem;
}
@media (max-width:760px){
  .stats-grid{grid-template-columns:repeat(2,1fr);}
  .stat:nth-child(3){border-left:none;}
}

/* ---------- Section shell ---------- */
section{padding:5.5rem 0;}
.section-head{
  max-width:38rem;
  margin-bottom:3rem;
}
.section-head h2{font-size:clamp(2rem, 2.4vw + 1rem, 2.9rem); margin-top:0.8rem;}
.section-head p{color:var(--text-muted); margin-top:1rem; font-size:1.05rem;}

/* ---------- Services ---------- */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
}
.service-card{
  background:var(--bg-raised);
  border:1px solid var(--border);
  border-radius:4px;
  padding:2rem 1.75rem;
  position:relative;
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover{transform:translateY(-4px); box-shadow:0 16px 30px -14px var(--shadow); border-color:var(--accent);}
.service-card .switch{
  width:2.75rem;
  height:2.75rem;
  border-radius:3px;
  background:var(--brand-navy);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:1.5rem;
}
.service-card .switch svg{width:1.4rem; height:1.4rem; stroke:var(--accent-text); fill:none; stroke-width:2;}
.service-card h3{
  font-size:1.35rem;
  text-transform:none;
  font-family:'IBM Plex Sans';
  font-weight:700;
  letter-spacing:0;
  margin-bottom:0.6rem;
}
.service-card p{color:var(--text-muted); font-size:0.98rem; margin:0 0 1rem;}
.service-card ul{margin:0; padding:0; list-style:none; font-size:0.92rem;}
.service-card li{
  display:flex; gap:0.5rem; padding:0.3rem 0; color:var(--text);
  border-top:1px dashed var(--border);
}
.service-card li:first-child{border-top:none;}
.service-card li::before{content:"⚡"; color:var(--accent-text); font-size:0.8rem;}

@media (max-width:900px){ .services-grid{grid-template-columns:1fr;} }

/* ---------- Why us ---------- */
.why{background:var(--brand-navy); color:var(--brand-navy-ink);}
.why .section-head p{color:rgba(244,245,247,0.7);}
.why .eyebrow{color:var(--accent);}
.why-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.75rem;
}
.why-item{border-top:2px solid var(--accent); padding-top:1.2rem;}
.why-item h3{
  font-family:'IBM Plex Sans';
  text-transform:none;
  font-weight:700;
  font-size:1.1rem;
  letter-spacing:0;
  margin-bottom:0.5rem;
}
.why-item p{color:var(--text-muted); font-size:0.94rem; margin:0;}
.why .why-item p{color:rgba(244,245,247,0.68);}
@media (max-width:900px){ .why-grid{grid-template-columns:repeat(2,1fr);} }

/* ---------- Process ---------- */
.process-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  position:relative;
}
.process-grid::before{
  content:"";
  position:absolute;
  top:1.4rem;
  left:0; right:0;
  height:1px;
  background:repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 14px);
  z-index:0;
}
.process-step{position:relative; padding:0 1.5rem 0 0; z-index:1;}
.process-step .step-num{
  font-family:'IBM Plex Mono', monospace;
  font-size:0.85rem;
  color:var(--bg);
  background:var(--accent);
  width:2.9rem; height:2.9rem;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-weight:600;
  margin-bottom:1.2rem;
}
.process-step h3{
  font-family:'IBM Plex Sans'; text-transform:none; font-weight:700; font-size:1.05rem; letter-spacing:0; margin-bottom:0.4rem;
}
.process-step p{color:var(--text-muted); font-size:0.92rem; margin:0;}
@media (max-width:900px){
  .process-grid{grid-template-columns:1fr 1fr; gap:2rem;}
  .process-grid::before{display:none;}
}

/* ---------- Testimonials ---------- */
.testi-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
}
.testi-card{
  background:var(--bg-raised);
  border:1px solid var(--border);
  border-radius:4px;
  padding:1.9rem;
  display:flex;
  flex-direction:column;
  gap:1.2rem;
}
.testi-card .quote{font-size:1rem; color:var(--text); flex:1;}
.testi-card .quote::before{content:""; display:block; width:28px; height:3px; background:var(--accent); margin-bottom:14px;}
.testi-who{display:flex; align-items:center; gap:0.75rem; font-size:0.9rem;}
.testi-avatar{
  width:2.4rem; height:2.4rem; border-radius:50%;
  background:var(--brand-navy); color:var(--accent);
  display:flex; align-items:center; justify-content:center;
  font-family:'IBM Plex Mono'; font-weight:600; font-size:0.85rem;
}
.testi-who .name{font-weight:600;}
.testi-who .role{color:var(--text-muted); font-size:0.82rem;}
@media (max-width:900px){ .testi-grid{grid-template-columns:1fr;} }

/* ---------- Final CTA ---------- */
.cta-final{
  background:linear-gradient(135deg, var(--brand-navy), #0d1320);
  color:#fff;
  border-radius:6px;
  padding:3.5rem 2.5rem;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.cta-final::after{
  content:"";
  position:absolute;
  right:-4rem; top:-4rem;
  width:14rem; height:14rem;
  border-radius:50%;
  background:radial-gradient(circle, rgba(242,176,67,0.25), transparent 70%);
}
.cta-final h2{color:#fff; font-size:clamp(1.9rem, 3vw + 1rem, 2.7rem);}
.cta-final p{color:rgba(255,255,255,0.72); max-width:32rem; margin:1rem auto 2rem;}
.cta-actions{display:flex; gap:1rem; justify-content:center; flex-wrap:wrap;}

/* ---------- Footer ---------- */
footer{
  background:var(--brand-navy);
  color:rgba(244,245,247,0.75);
  padding:3.5rem 0 2rem;
  font-size:0.9rem;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:2.5rem;
  padding-bottom:2.5rem;
  border-bottom:1px solid rgba(255,255,255,0.1);
}
.footer-brand{display:flex; align-items:center; gap:0.6rem; margin-bottom:0.8rem;}
.footer-brand img{height:2.5rem; width:auto;}
footer h4{
  font-family:'IBM Plex Mono'; text-transform:uppercase; letter-spacing:0.1em; font-size:0.78rem; color:var(--accent); margin:0 0 1rem;
}
footer ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:0.6rem;}
footer a{text-decoration:none; opacity:0.85;}
footer a:hover{opacity:1; color:var(--accent);}
.footer-bottom{
  padding-top:1.5rem;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:0.6rem;
  font-size:0.82rem;
  opacity:0.6;
}
@media (max-width:860px){ .footer-grid{grid-template-columns:1fr;} }

.theme-toggle{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.16);
  color:inherit;
  width:2.2rem; height:2.2rem;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  font-size:0.95rem;
  transition:transform .2s ease, background .2s ease;
}
.theme-toggle:hover{transform:rotate(20deg); background:rgba(255,255,255,0.16);}

/* ---------- Reveal on scroll ---------- */
.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.is-visible{opacity:1; transform:none;}
.services-grid .reveal:nth-child(2){transition-delay:0.08s;}
.services-grid .reveal:nth-child(3){transition-delay:0.16s;}
.why-grid .reveal:nth-child(2){transition-delay:0.06s;}
.why-grid .reveal:nth-child(3){transition-delay:0.12s;}
.why-grid .reveal:nth-child(4){transition-delay:0.18s;}
.process-grid .reveal:nth-child(2){transition-delay:0.08s;}
.process-grid .reveal:nth-child(3){transition-delay:0.16s;}
.process-grid .reveal:nth-child(4){transition-delay:0.24s;}
.testi-grid .reveal:nth-child(2){transition-delay:0.08s;}
.testi-grid .reveal:nth-child(3){transition-delay:0.16s;}
.stats-grid .reveal:nth-child(2){transition-delay:0.06s;}
.stats-grid .reveal:nth-child(3){transition-delay:0.12s;}
.stats-grid .reveal:nth-child(4){transition-delay:0.18s;}

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

/* ============================================================
   Páginas internas de serviço (/servicos/*)
   Reaproveitam .container, .btn, .section-head, .reveal etc.
   ============================================================ */

.crumb{
  font-family:'IBM Plex Mono', monospace; font-size:0.78rem; letter-spacing:0.1em;
  text-transform:uppercase; color:var(--text-muted); padding:1.4rem 0 0;
}
.crumb a{color:var(--text-muted); text-decoration:none;}
.crumb a:hover{color:var(--accent-text);}
.crumb span{opacity:0.5; margin:0 0.5rem;}

.page-hero{
  background:var(--brand-navy); color:var(--brand-navy-ink);
  padding:3.5rem 0 4.5rem; border-bottom:1px solid var(--border);
}
.page-hero .eyebrow{color:var(--accent);}
.page-hero h1{
  font-size:clamp(2.3rem, 4.2vw + 1rem, 4.2rem); line-height:0.98; margin:1rem 0 0;
  max-width:20ch;
}
.page-hero p{
  color:rgba(234,237,243,0.78); font-size:1.1rem; line-height:1.6;
  max-width:52ch; margin-top:1.4rem;
}
.page-hero .hero-actions{margin-top:2.2rem;}
.page-hero .crumb, .page-hero .crumb a{color:rgba(234,237,243,0.6);}
.page-hero .crumb a:hover{color:var(--accent);}

.prose{max-width:44rem;}
.prose p{color:var(--text-muted); font-size:1.05rem; line-height:1.7; margin:0 0 1.1rem;}
.prose h3{font-size:1.35rem; margin:2.2rem 0 0.8rem;}
.prose strong{color:var(--text);}

.checklist{list-style:none; padding:0; margin:1.5rem 0 0;}
/* Bloco, não flex. Em container flex o <b> vira um item e o texto seguinte
   vira outro, e os dois ficam lado a lado em colunas. No celular isso
   espremia o título numa coluna estreita. Aqui o raio fica absoluto e o
   texto inteiro flui como um parágrafo só. */
.checklist li{
  position:relative;
  padding:1.05rem 0 1.05rem 2.1rem;
  border-top:1px solid var(--border);
  color:var(--text-muted);
  line-height:1.62;
}
.checklist li:first-child{border-top:none;}
.checklist li::before{
  content:"⚡";
  position:absolute; left:0; top:1.2rem;
  color:var(--accent-text); font-size:0.85rem; line-height:1;
}
.checklist li b{ color:var(--text); font-weight:600; }
.checklist li b::after{ content:" "; }

@media (max-width:640px){
  .checklist li{ padding-left:1.9rem; line-height:1.58; }
}

.faq{max-width:46rem; margin-top:2rem;}
.faq details{
  border:1px solid var(--border); border-radius:8px; background:var(--bg-raised);
  margin-bottom:0.8rem; overflow:hidden;
}
.faq summary{
  cursor:pointer; padding:1.15rem 1.3rem; font-weight:600; font-size:1.02rem;
  list-style:none; display:flex; justify-content:space-between; gap:1rem; align-items:center;
}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{content:"+"; color:var(--accent-text); font-size:1.4rem; line-height:1; flex:none;}
.faq details[open] summary::after{content:"–";}
.faq details[open] summary{border-bottom:1px solid var(--border);}
.faq p{padding:1.1rem 1.3rem; margin:0; color:var(--text-muted); line-height:1.65; font-size:0.99rem;}

.figure{margin:2.2rem 0 0; border:1px solid var(--border); border-radius:8px; overflow:hidden; background:var(--bg-sunken);}
.figure img{display:block; width:100%; height:auto;}
.figure figcaption{
  padding:0.85rem 1.1rem; font-size:0.85rem; color:var(--text-muted);
  border-top:1px solid var(--border); background:var(--bg-raised);
}

.split{display:grid; grid-template-columns:1.15fr 0.85fr; gap:3rem; align-items:start;}
@media (max-width:860px){ .split{grid-template-columns:1fr; gap:2rem;} }

.side-card{
  border:1px solid var(--border); border-radius:8px; background:var(--bg-raised);
  padding:1.6rem; position:sticky; top:6rem;
}
.side-card h4{margin:0 0 0.9rem; font-size:1.05rem;}
.side-card p{color:var(--text-muted); font-size:0.95rem; line-height:1.6; margin:0 0 1.2rem;}
@media (max-width:860px){ .side-card{position:static;} }

.related{display:grid; grid-template-columns:repeat(2,1fr); gap:1.2rem; margin-top:1.8rem;}
@media (max-width:700px){ .related{grid-template-columns:1fr;} }
.related a{
  display:block; padding:1.3rem; border:1px solid var(--border); border-radius:8px;
  background:var(--bg-raised); text-decoration:none; color:var(--text);
  transition:border-color .18s ease, transform .18s ease;
}
.related a:hover{border-color:var(--accent); transform:translateY(-2px);}
.related a b{display:block; margin-bottom:0.35rem;}
.related a span{color:var(--text-muted); font-size:0.92rem;}

.card-link{
  display:inline-flex; align-items:center; gap:0.4rem; margin-top:1.2rem;
  font-size:0.92rem; font-weight:600; color:var(--accent-text); text-decoration:none;
  border-top:1px solid var(--border); padding-top:1rem; width:100%;
}
.card-link:hover{color:var(--text);}

/* ============================================================
   Pulso de corrente — animação discreta da marca.
   Custo zero de rede: é só CSS, sem imagem e sem JS.
   O bloco prefers-reduced-motion mais acima já desliga tudo isso
   para quem configurou o sistema pedindo menos movimento.

   Nota deliberada: nada aqui pisca. Luz piscando, para uma empresa
   de elétrica, comunica defeito. O movimento é sempre de carga
   subindo e descendo, nunca de falha.
   ============================================================ */

/* O tracinho do eyebrow: uma luz percorre a linha, como corrente passando. */
.eyebrow::before{
  background:linear-gradient(90deg,
    var(--accent) 0%,
    var(--accent) 26%,
    #FFF4DE 48%,
    var(--accent) 70%,
    var(--accent) 100%);
  background-size:300% 100%;
  background-position:130% 0;
  animation:pwr-corrente 5s cubic-bezier(.45,.05,.35,1) infinite;
}
@keyframes pwr-corrente{
  0%, 62%   { background-position:130% 0; }
  88%, 100% { background-position:-40% 0; }
}

/* Ícone dos cards de serviço: a carga sobe e desce, sem piscar. */
.service-card .switch svg{
  animation:pwr-carga 4.2s ease-in-out infinite;
  transition:filter .25s ease;
}
.services-grid .service-card:nth-child(2) .switch svg{ animation-delay:.7s; }
.services-grid .service-card:nth-child(3) .switch svg{ animation-delay:1.4s; }
@keyframes pwr-carga{
  0%, 62%, 100% { filter:drop-shadow(0 0 0 rgba(242,176,67,0)); }
  78%           { filter:drop-shadow(0 0 11px rgba(242,176,67,1)); }
}
/* No hover o ícone fica energizado e a animação sai da frente. */
.service-card:hover .switch svg{
  animation:none;
  filter:drop-shadow(0 0 9px rgba(232,154,34,.95));
}

/* Seta dos links de card avança um passo no hover. */
.card-link{ transition:color .2s ease, gap .2s ease; }
.card-link:hover{ gap:0.75rem; }

/* Checklist: em vez de pulsar sem parar, cada item entra em cascata e o raio
   acende uma vez ao chegar. O movimento acompanha a rolagem e depois para,
   que é o que mantém a seção calma com seis itens na tela. */
.checklist li.reveal:not(.is-visible){ transform:translateY(14px); }
.checklist li.reveal:nth-child(2){ transition-delay:.06s; }
.checklist li.reveal:nth-child(3){ transition-delay:.12s; }
.checklist li.reveal:nth-child(4){ transition-delay:.18s; }
.checklist li.reveal:nth-child(5){ transition-delay:.24s; }
.checklist li.reveal:nth-child(6){ transition-delay:.30s; }

.checklist li.reveal.is-visible::before{
  animation:pwr-acende 900ms ease-out both;
}
.checklist li.reveal:nth-child(2).is-visible::before{ animation-delay:.06s; }
.checklist li.reveal:nth-child(3).is-visible::before{ animation-delay:.12s; }
.checklist li.reveal:nth-child(4).is-visible::before{ animation-delay:.18s; }
.checklist li.reveal:nth-child(5).is-visible::before{ animation-delay:.24s; }
.checklist li.reveal:nth-child(6).is-visible::before{ animation-delay:.30s; }

@keyframes pwr-acende{
  0%   { filter:drop-shadow(0 0 0 rgba(242,176,67,0));   transform:scale(1); }
  40%  { filter:drop-shadow(0 0 9px rgba(242,176,67,.95)); transform:scale(1.22); }
  100% { filter:drop-shadow(0 0 0 rgba(242,176,67,0));   transform:scale(1); }
}

/* Hero das páginas de serviço com foto de fundo.
   O gradiente é forte à esquerda (onde fica o texto) e abre à direita,
   onde as imagens concentram o detalhe. */
.page-hero.com-foto{
  background-size:cover;
  background-position:center right;
  background-repeat:no-repeat;
}
