/* Rostec — HTML/CSS/JS estático
   Paleta e tipografia herdadas do site atual (vermelho #D11E13, branco, cinza escuro).
*/

:root{
  --red:#D11E13;
  --red-dark:#a71710;
  --dark:#1a1a1a;
  --gray-900:#2a2a2a;
  --gray-700:#4a4a4a;
  --gray-500:#6b6b6b;
  --gray-300:#d8d8d8;
  --gray-100:#f4f4f4;
  --white:#fff;
  --wa:#25D366;
  --wa-dark:#128C7E;
  --shadow-sm:0 2px 8px rgba(0,0,0,.08);
  --shadow-md:0 8px 24px rgba(0,0,0,.12);
  --radius:8px;
  --container:1200px;
  --header-h:96px;
  --font-body:'Roboto',system-ui,-apple-system,Segoe UI,sans-serif;
  --font-head:'Sora','Roboto',system-ui,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body,html{overflow-x:hidden}
/* hidden cria um container de rolagem e quebra position:sticky (lateral do artigo);
   clip corta igual sem criar o container. Fallback: navegador sem clip fica no hidden. */
@supports (overflow-x:clip){body,html{overflow-x:clip}}
body{
  margin:0;font-family:var(--font-body);color:var(--gray-900);
  line-height:1.55;background:var(--white);-webkit-font-smoothing:antialiased;
}

/* Barra de rolagem personalizada — Chrome/Edge/Safari */
body::-webkit-scrollbar{background-color:#fcfcfc;width:5px}
body::-webkit-scrollbar-thumb{
  background:linear-gradient(to bottom,#d11e13 10%,#d11e13 50%,#b51717 90%);
}
/* Firefox */
html{scrollbar-width:thin;scrollbar-color:#d11e13 #fcfcfc}
img,svg,video{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none;transition:color .2s ease}
a:hover{color:var(--red)}
button{font:inherit;cursor:pointer;border:0;background:none}
ul{list-style:none;margin:0;padding:0}
h1,h2,h3,h4,h5,h6{font-family:var(--font-head);margin:0 0 .5em;line-height:1.2;color:var(--dark)}
h1{font-size:clamp(1.9rem,4vw,3rem);font-weight:800}
h2{font-size:clamp(1.6rem,3vw,2.4rem);font-weight:700}
h3{font-size:clamp(1.2rem,2vw,1.6rem);font-weight:700}
h4{font-size:1.15rem;font-weight:700}
h5{font-size:1.05rem;font-weight:700}
p{margin:0 0 1em}

.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 20px}

.eyebrow{color:var(--red);font-weight:700;text-transform:uppercase;letter-spacing:.05em;font-size:.85rem;margin-bottom:.75em}
.eyebrow--light{color:#ffb3ae}

.divider{display:block;width:60px;height:3px;background:var(--red);margin:.75em 0 1.25em;border-radius:2px}
.divider--dark{background:var(--red)}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;gap:.5em;
  padding:.75em 1.4em;font-weight:700;font-size:.95rem;
  border-radius:var(--radius);transition:transform .15s ease,background .2s ease,color .2s ease;
  line-height:1;text-align:center;
}
.btn--primary{background:var(--wa);color:var(--white)}
.btn--primary:hover{background:var(--wa-dark);color:var(--white);transform:translateY(-1px)}

/* ==== Botão animado (glow verde + gradiente animado) — usado nas páginas =====
   Ativado apenas onde a página adiciona a classe .btn--fx no <a class="btn btn--primary btn--fx"> */
.btn--fx{position:relative;overflow:visible;background:transparent !important;isolation:isolate;
  padding:1.1em 2.2em;font-size:1.05rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;
  gap:.25em}
.btn--fx > svg{order:9;margin-left:.1em}

/* Espaço entre parágrafos e botões nas seções de conteúdo */
.about__text .btn,
.split__text .btn,
.section__header + .section__cta,
.section__cta{margin-top:1.5rem}
.about__text > p + .btn,
.split__text > p + .btn{margin-top:1.75rem}
.btn--fx::before{
  content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:calc(100% + 16px);height:calc(100% + 16px);
  border-radius:500px;
  border:1px solid rgba(96,196,44,.4);
  background:rgba(96,196,44,.15);
  z-index:-2;pointer-events:none;
}
.btn--fx::after{
  content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:100%;height:100%;border-radius:500px;
  background-image:linear-gradient(89deg,#55ad28,#2a7504,#55ad28,#1d4a05);
  background-size:400% 200%;
  animation:btn-textura 2s ease infinite;
  z-index:-1;pointer-events:none;
}
.btn--fx > *{position:relative;z-index:4}
.btn--fx:hover{transform:scale(1.04)}
@media (max-width:767px){
  .btn--fx::before{width:calc(100% + 16px);height:calc(100% + 16px)}
}
@keyframes btn-textura{
  0%{background-position:0 0}
  100%{background-position:100% 0}
}
@media (prefers-reduced-motion:reduce){
  .btn--fx::after{animation:none}
}
.btn--outline{background:transparent;color:var(--red);border:2px solid var(--red)}
.btn--outline:hover{background:var(--red);color:var(--white)}
.btn--lg{padding:1em 1.8em;font-size:1rem}
.btn--sm{padding:.5em 1em;font-size:.85rem}

/* Top bar */
.topbar{background:#D11E13;color:var(--white);font-size:.95rem;padding:.55rem 0}
.topbar__inner{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.topbar__item{display:inline-flex;align-items:center;gap:.4em;color:var(--white)}
.topbar__item:hover{color:var(--gray-100);opacity:.85}
.topbar__phones{display:flex;gap:1.25rem;flex-wrap:wrap;align-items:center}
.nav__lang{display:inline-flex;align-items:center;gap:.4em;margin-left:.5rem;padding:.35em .8em;border:1px solid rgba(0,0,0,.12);border-radius:999px}
.nav__lang a{color:var(--gray-700);font-weight:700;font-size:.85rem;letter-spacing:.05em;text-decoration:none;transition:color .2s;padding:0 .1em}
.nav__lang a.is-active,.nav__lang a:hover{color:var(--red)}
.nav__lang .sep{color:rgba(0,0,0,.2);font-weight:400}
@media (max-width:900px){.nav__lang{margin:.75rem 0 0}}
/* No desktop a troca de idioma já está no topbar; o PT|ES fica só no menu mobile (o topbar some até 768px) */
@media (min-width:961px){.nav__lang{display:none}}

.topbar__lang{display:inline-flex;align-items:center;gap:.5em;margin-left:.5rem;padding-left:1rem;border-left:1px solid rgba(255,255,255,.3)}
.topbar__lang a{display:inline-flex;align-items:center;opacity:.55;transition:opacity .2s,transform .15s;text-decoration:none}
.topbar__lang a:hover{opacity:1;transform:translateY(-1px)}
.topbar__lang a.is-active{opacity:1;pointer-events:none}
.topbar__lang img{width:24px;height:16px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px rgba(255,255,255,.25);display:block}
@media (max-width:600px){.topbar__lang{margin-left:0;padding-left:0;border-left:0}}
@media (max-width:768px){.topbar{display:none}}

/* Header */
.header{background:var(--white);position:relative;z-index:100;box-shadow:var(--shadow-sm);transition:box-shadow .3s ease}
.header__inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.4rem 20px;transition:padding .3s ease}
.header__logo img{max-height:84px;width:auto;transition:max-height .3s ease}

/* Header fixo compacto (após rolar) */
.header.is-scrolled{
  position:fixed;top:0;left:0;right:0;
  animation:headerSlideDown .35s cubic-bezier(.2,.7,.3,1);
  box-shadow:0 4px 20px rgba(0,0,0,.12);
  background:#fff;
}
.header.is-scrolled .header__inner{padding:.55rem 20px}
.header.is-scrolled .header__logo img{max-height:56px}
@keyframes headerSlideDown{
  from{top:-100px;opacity:0}
  to{top:0;opacity:1}
}
/* Espaço para compensar a altura quando header vira fixed */
body.has-fixed-header{padding-top:0}
.nav{display:flex;align-items:center;margin-top:22px}
.header.is-scrolled .nav{margin-top:8px}
@media (max-width:900px){.nav{margin-top:0}}
.nav__list{display:flex;gap:.35rem;align-items:center}
.nav__list > li > a{
  display:block;padding:.9em 1em;font-weight:600;font-size:1.05rem;color:var(--gray-900);
  position:relative;
}
.nav__list > li > a.is-active,
.nav__list > li > a:hover{color:var(--red)}
.nav__list .chev{
  display:inline-block;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px);margin-left:.35em;
}
.has-sub{position:relative}
.sub{
  position:absolute;top:100%;left:0;background:var(--white);
  min-width:220px;box-shadow:var(--shadow-md);border-top:3px solid var(--red);
  opacity:0;visibility:hidden;transform:translateY(6px);transition:.2s ease;
  padding:.5em 0;z-index:20;
}
.has-sub:hover > .sub,.has-sub:focus-within > .sub{opacity:1;visibility:visible;transform:translateY(0)}
.sub a{display:block;padding:.85em 1.2em;font-size:1rem;color:var(--gray-900)}
.sub a:hover{background:var(--gray-100);color:var(--red)}
.nav__toggle{
  display:none;width:44px;height:44px;flex-direction:column;justify-content:center;align-items:center;gap:5px;
}
.nav__toggle span{width:26px;height:3px;background:var(--dark);border-radius:2px;transition:.25s}
.nav__toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.nav__toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav__toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

@media (max-width:960px){
  .nav__toggle{display:flex;position:relative;z-index:1002}
  .nav{
    position:fixed;top:0;right:0;bottom:0;left:auto;
    width:min(340px,88vw);background:var(--white);
    transform:translateX(100%);transition:transform .3s ease;
    padding:80px 0 24px;overflow-y:auto;overflow-x:hidden;
    box-shadow:-8px 0 24px rgba(0,0,0,.15);z-index:1001;
    display:block;
  }
  .nav.is-open{transform:translateX(0)}
  .nav__list{flex-direction:column;gap:0;width:100%;padding:0;margin:0;list-style:none}
  .nav__list > li{width:100%;border-bottom:1px solid var(--gray-100)}
  .nav__list > li > a{padding:1em 1.5em;display:block;font-size:1.05rem}
  .has-sub > a .chev{transition:transform .25s ease}
  .has-sub.is-open > a .chev{transform:rotate(-135deg) translateY(-2px)}
  .sub{
    position:static;opacity:1;visibility:visible;transform:none;
    box-shadow:none;border-top:0;padding:0 0 0 1.5em;display:none;background:var(--gray-100);
    width:100%;min-width:0;
  }
  .has-sub.is-open > .sub{display:block}
  .sub li{border-bottom:1px solid rgba(0,0,0,.05)}
  .sub li:last-child{border-bottom:0}
  .sub a{padding:.85em 1.25em;font-size:.95rem}
  /* backdrop claro atrás do menu aberto */
  .nav.is-open::before{
    content:"";position:fixed;inset:0;background:rgba(20,20,20,.22);
    backdrop-filter:blur(2px);z-index:-1;
  }
}

/* Hero */
.hero{
  position:relative;min-height:min(85vh,720px);display:flex;align-items:center;
  background:linear-gradient(135deg,#1a1a1a 0%,#2a2a2a 100%);
  color:var(--white);overflow:hidden;padding:80px 0;
}
@media (max-width:820px){
  .hero{padding:40px 0;min-height:auto}
}
@media (max-width:520px){
  .hero{padding:28px 0}
}
.hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.hero__overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.75) 0%,rgba(0,0,0,.35) 100%);z-index:1}
.hero__inner{position:relative;z-index:2;text-align:left}
.hero__eyebrow{color:var(--white);opacity:.9;text-transform:uppercase;font-weight:600;letter-spacing:.1em;font-size:.9rem;margin:0 0 1rem;max-width:720px}
.hero__title{margin:0 0 1rem;max-width:720px}
.hero__title span{
  background:transparent;color:var(--white);padding:0;display:inline;
  position:relative;text-shadow:0 2px 12px rgba(0,0,0,.45);
}
.hero__title span::after{
  content:"";display:block;width:80px;height:4px;background:var(--red);
  margin-top:.35em;border-radius:2px;box-shadow:0 2px 8px rgba(209,30,19,.5);
}
.hero__desc{font-size:1.1rem;margin:0 0 1.75rem;max-width:600px;opacity:.95}

/* Features */
.features{padding:60px 0;background:var(--white)}
.features__grid{display:grid;gap:1.5rem;grid-template-columns:repeat(3,1fr)}
@media (max-width:820px){.features__grid{grid-template-columns:1fr}}
.feature{padding:2rem;background:var(--gray-100);border-radius:var(--radius);display:flex;flex-direction:column;align-items:flex-start;gap:.75rem}
.feature__icon{
  width:64px;height:64px;border-radius:50%;border:3px solid var(--red);
  color:var(--red);display:grid;place-items:center;flex-shrink:0;
}
.feature__icon svg{width:28px;height:28px}
.feature h2{font-size:1.25rem;margin:0}
.feature p{margin:0;color:var(--gray-700)}

/* Sobre */
.about{padding:80px 0;background:var(--gray-100)}
.about__grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:stretch}
.about__grid .about__media:not(.about__media--plain){
  position:relative;overflow:hidden;border-radius:12px;min-height:100%;
}
.about__grid .about__media:not(.about__media--plain) img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  border-radius:12px;display:block;
}
.about__kicker{
  color:var(--gray-900);font-size:1rem;font-weight:400;margin:0 0 .5em;
  letter-spacing:normal;text-transform:none;
}
.about__title{
  color:var(--red);font-size:clamp(1.8rem,3.2vw,2.5rem);font-weight:800;
  line-height:1.15;margin:0 0 1.25rem;
}
@media (max-width:900px){
  .about__grid{align-items:center}
  .about__grid .about__media{order:-1}
  .about__grid .about__media:not(.about__media--plain) img{height:auto;max-height:420px}
}
@media (max-width:900px){.about__grid{grid-template-columns:1fr;gap:2rem}}
.about__media{position:relative}
.about__media img{border-radius:var(--radius);box-shadow:var(--shadow-md);width:100%;height:auto}
.about__media--plain img{border-radius:0;box-shadow:none;background:transparent}
.about__media--plain{background:transparent}
.about__badge{
  position:absolute;right:-10px;bottom:-10px;width:180px;height:180px;
  background:var(--red);color:var(--white);border-radius:50%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  background-size:cover;background-position:center;box-shadow:var(--shadow-md);
  border:6px solid var(--white);
}
.badge__num{font-family:var(--font-head);font-size:2.6rem;font-weight:800;line-height:1}
.badge__lbl{font-size:.85rem;font-weight:600;margin-top:.25em;padding:0 1em}
@media (max-width:520px){.about__badge{width:130px;height:130px}.badge__num{font-size:1.8rem}.badge__lbl{font-size:.7rem}}

/* Produtos */
.products{padding:80px 0;background:var(--white)}
.products__grid{display:grid;grid-template-columns:45% 55%;gap:3rem;align-items:start}
@media (max-width:900px){.products__grid{grid-template-columns:1fr}}
.products__intro{padding:0 1.5rem}
.products__intro h2{font-size:clamp(1.2rem,2vw,1.7rem);line-height:1.25}
.products__btn--mobile{display:none;margin:1.5rem auto 0;align-self:center}
@media (max-width:900px){
  .products__btn--desktop{display:none}
  .products__btn--mobile{display:inline-flex}
}
.products__video{
  width:100%;max-width:320px;height:auto;display:block;margin:0 auto 1.5rem;
  background:transparent;box-shadow:none;border-radius:0;
}
.products__list{display:flex;flex-direction:column;gap:1rem}
.product-card{
  background:linear-gradient(135deg,var(--red) 0%,var(--red-dark) 100%);color:var(--white);
  padding:2.25rem 2.5rem;border-radius:var(--radius);position:relative;overflow:hidden;
  transition:transform .2s ease,box-shadow .2s ease;
  display:flex;align-items:center;gap:1.5rem;
}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.product-card__body{flex:1;min-width:0}
.product-card h3{color:var(--white);font-size:1.25rem;font-weight:700;margin:0}
.product-card .divider{background:var(--white);margin:.4em 0 .75em;width:50px;height:2px;border-radius:1px}
.product-card p{margin:0;font-size:.95rem;opacity:.95;line-height:1.5}
.product-card__check{
  flex-shrink:0;position:relative;margin-left:1.5rem;
  width:56px;height:56px;border-radius:50%;
  background:var(--white);color:var(--red);
  display:grid;place-items:center;
  box-shadow:0 2px 8px rgba(0,0,0,.15);
}
.product-card__check svg{width:22px;height:22px}
.product-card__check::before{
  content:"";position:absolute;left:-1.5rem;top:50%;transform:translate(-50%,-50%);
  width:2px;height:calc(100% + 1.5rem);background:rgba(255,255,255,.5);
}

/* CTA */
.cta{
  position:relative;padding:100px 0;color:var(--white);text-align:center;
  background:linear-gradient(135deg,var(--dark) 0%,var(--gray-900) 100%);
  overflow:hidden;
}
.cta__overlay{position:absolute;inset:0;background:rgba(209,30,19,.15);z-index:1}
.cta__inner{position:relative;z-index:2;max-width:760px;margin:0 auto}
.cta h2{color:var(--white);margin-bottom:1rem}
.cta p{opacity:.9;margin-bottom:1.5rem}

/* Variação: CTA com vídeo de fundo + gradiente lateral */
.cta--video{text-align:left;padding:120px 0}
.cta--video .cta__video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;
}
.cta--video .cta__overlay{
  background:linear-gradient(90deg,#070101FC 0%,#070101FC 35%,rgba(7,1,1,.75) 55%,rgba(0,0,0,.48) 100%);
  z-index:1;
}
.cta--video .cta__inner{max-width:1200px}
.cta--video .cta__inner > *{max-width:520px}
.cta--video h2{margin-bottom:1rem;font-size:clamp(1.2rem,2vw,1.6rem);line-height:1.3}
@media (max-width:900px){
  .cta--video .cta__overlay{background:rgba(7,1,1,.85)}
  .cta--video .cta__inner > *{max-width:none}
}

/* Variação: CTA vídeo com conteúdo centralizado */
.cta--video.cta--centered{text-align:center;padding:110px 0}
.cta--video.cta--centered .cta__overlay{
  background:rgba(7,1,1,.86);
}
.cta--video.cta--centered .cta__inner{max-width:820px;margin:0 auto}
.cta--video.cta--centered .cta__inner > *{max-width:none;margin-left:auto;margin-right:auto}
.cta--video.cta--centered h2{
  font-size:clamp(1.8rem,3.5vw,2.6rem);line-height:1.2;margin-bottom:1rem;font-weight:800;
}
.cta--video.cta--centered p{font-size:1.05rem;line-height:1.55;margin-bottom:1.75rem;opacity:.95}
.cta--video.cta--centered .btn{margin-left:auto;margin-right:auto}
@media (max-width:900px){
  .cta--video.cta--centered{padding:70px 0}
  .cta--video.cta--centered .cta__overlay{background:rgba(7,1,1,.8)}
  .cta--video.cta--centered h2{font-size:clamp(1.4rem,5vw,1.9rem)}
}

/* Serviços */
.services{padding:80px 0;background:var(--white)}
.services__header{text-align:left;margin-bottom:2rem}
.services__eyebrow{
  display:flex;align-items:center;gap:.6rem;color:var(--dark);
  font-size:1.5rem;font-weight:800;margin:0 0 .35em;
}
.services__bar{display:inline-block;width:4px;height:1.3em;background:var(--red);border-radius:2px}
.services__header h3{color:var(--red);font-size:clamp(1.3rem,2.4vw,1.9rem);font-weight:800;margin:0}
.services__grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem}
@media (max-width:820px){.services__grid{grid-template-columns:1fr}}
.service-card{
  background:transparent;padding:0;border-radius:var(--radius);overflow:hidden;
  display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease;
  box-shadow:var(--shadow-sm);
}
.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.service-card__top{background:var(--red);color:var(--white);padding:1.75rem}
.service-card__head{display:flex;gap:1rem;align-items:flex-start}
.service-card__icon{
  width:44px;height:44px;color:var(--white);flex-shrink:0;
  display:grid;place-items:center;background:transparent;border-radius:0;
}
.service-card__icon svg{width:34px;height:34px}
.service-card h4{color:var(--white);font-size:1.35rem;margin:0 0 .35em;font-weight:700}
.service-card__lead{color:var(--white) !important;font-weight:400;font-size:.95rem;margin:0;line-height:1.45}
.service-card img{width:100%;height:auto;display:block;border-radius:0;object-fit:cover;aspect-ratio:16/9}
.service-card__bottom{background:var(--red);color:var(--white);padding:1.75rem;display:flex;flex-direction:column;gap:1.25rem;flex:1}
.service-card__bottom p{color:var(--white);margin:0;line-height:1.5;font-size:.95rem}
.service-card__btn{
  align-self:flex-start;background:var(--white);color:var(--red);font-weight:800;
  padding:.75em 1.4em;font-size:.9rem;border-radius:6px;letter-spacing:.02em;
  display:inline-flex;align-items:center;gap:.4em;transition:background .2s ease,transform .15s ease;
}
.service-card__btn:hover{background:var(--gray-100);color:var(--red);transform:translateY(-1px)}
.service-card__btn span{font-size:1.15em;line-height:0}

/* Política de Qualidade */
.quality{padding:80px 0;background:var(--white)}
.quality__grid{display:grid;grid-template-columns:1.3fr 1fr;gap:3rem;align-items:center}
@media (max-width:820px){.quality__grid{grid-template-columns:1fr}}
.quality__list li{
  display:flex;align-items:baseline;gap:.6rem;
  padding:.75em 0;color:var(--gray-700);font-size:1.05rem;line-height:1.5;
}
.quality__list li::before{
  content:"›";color:var(--red);font-weight:900;
  font-size:1.8rem;line-height:1;flex-shrink:0;
  transform:translateY(3px);
}
.quality__seals{display:flex;gap:1.5rem;justify-content:center;align-items:center;flex-wrap:wrap}
.quality__seals img{max-width:200px;height:auto}

/* Footer CTA */
.footer-cta{background:#B51717;color:var(--white);padding:40px 0}
.footer-cta__inner{display:flex;justify-content:space-between;align-items:center;gap:2rem;flex-wrap:wrap}
.footer-cta h6{color:var(--white);opacity:.9;margin:0 0 .3em;font-size:.9rem;font-weight:500;text-transform:uppercase;letter-spacing:.05em}
.footer-cta h4{color:var(--white);margin:0;font-size:1.5rem}

/* Footer */
.footer{background:#000;color:#fff;padding:80px 0 0;font-size:.95rem}
.footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.4fr;gap:2.5rem;align-items:start}
@media (max-width:820px){.footer__grid{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.footer__grid{grid-template-columns:1fr}}
.footer h5{
  color:var(--white);font-size:1.15rem;font-weight:800;margin:0 0 1.5rem;position:relative;
  padding-bottom:.6rem;letter-spacing:.01em;
}
.footer h5::after{
  content:"";position:absolute;left:0;bottom:0;width:60px;height:2px;background:var(--red);
}
.footer .divider--dark{display:none}
.footer__brand img{max-width:220px;filter:brightness(1.15);margin-bottom:1.75rem;height:auto}
.footer__social{display:flex;gap:.85rem}
.footer__social a{
  width:44px;height:44px;border-radius:50%;background:transparent;color:var(--white);
  display:grid;place-items:center;transition:transform .2s ease,background .2s ease,color .2s ease;
  border:2px solid var(--red);
}
.footer__social a:hover{background:var(--red);color:var(--white);transform:translateY(-2px)}
.footer__col ul{display:flex;flex-direction:column;gap:.9rem}
.footer__col ul li{padding:0;display:flex;align-items:center;gap:.7rem}
.footer__col ul li::before{
  content:"";width:8px;height:8px;background:var(--red);flex-shrink:0;
}
.footer__col ul li a,.footer__col ul li span{color:#fff}
.footer__col ul li a:hover{color:var(--red)}
.footer__loc p{color:#fff;margin:0;line-height:1.65}
.footer__bottom{margin-top:60px;padding:30px 0;font-size:.85rem}
.footer__bottom-inner{
  display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;
  border-top:2px solid var(--red);padding-top:30px;position:relative;
}
.footer__bottom-inner p{color:#fff;margin:0;font-size:1rem}
.footer__bottom-inner img{max-width:220px;height:auto}
@media (max-width:720px){
  .footer__bottom-inner{
    flex-direction:column;justify-content:center;align-items:center;text-align:center;
    gap:1.25rem;padding-top:24px;
  }
  .footer__bottom-inner p{font-size:.95rem;line-height:1.5}
  .footer__bottom-inner img{max-width:180px}
}
.footer__bottom-signature{display:flex;align-items:center;gap:.75rem;color:#fff}
.footer__bottom-signature small{font-size:.8rem;text-align:right;line-height:1.2}

/* ==== Componentes de páginas internas ==== */

/* Page hero */
.page-hero{
  background:linear-gradient(135deg,var(--dark) 0%,var(--gray-900) 100%);
  color:var(--white);padding:28px 0 32px;position:relative;
}
.page-hero::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:6px;
  background:linear-gradient(90deg,var(--red) 0%,var(--red-dark) 100%);
}
.page-hero h1{color:var(--white);margin:0;font-size:clamp(1.05rem,1.8vw,1.4rem);font-weight:600;line-height:1.3}

/* Split hero with image on right */
.page-hero--split{padding:0;overflow:hidden;background:#1a1a1a}
.page-hero--split::after{display:none}
.page-hero--split .page-hero__wrap{position:relative;min-height:120px;display:flex;align-items:center}
.page-hero--split .page-hero__bg{position:absolute;inset:0;background-size:cover;background-position:center;z-index:0}
.page-hero--split .page-hero__overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#111 0%,#1a1a1a 40%,rgba(26,26,26,.55) 70%,rgba(180,26,26,.35) 100%)}
.page-hero--split .container{position:relative;z-index:2;padding-top:1.25rem;padding-bottom:1.25rem}
.page-hero__kicker{display:inline-flex;align-items:center;gap:.75rem;font-size:.85rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;margin:0 0 1rem;color:#fff}
.page-hero__kicker::before{content:"";display:inline-block;width:4px;height:1.05em;background:var(--red);border-radius:2px}
.page-hero--split h1{color:#fff;font-size:clamp(1rem,1.5vw,1.35rem);font-weight:600;line-height:1.3;max-width:55%;margin:0}
@media (max-width:768px){.page-hero--split h1{max-width:100%;font-size:1rem}.page-hero--split .page-hero__overlay{background:linear-gradient(180deg,rgba(17,17,17,.85) 0%,rgba(26,26,26,.75) 100%)}}

.breadcrumb{font-size:.85rem;opacity:.85;margin-bottom:1rem;color:var(--white)}
.breadcrumb a{color:var(--white)}
.breadcrumb a:hover{color:#ff9a94}
.breadcrumb span{margin:0 .3em}

/* Section wrappers */
.section{padding:80px 0;background:var(--white)}
.section--alt{background:var(--gray-100)}
.section__header{max-width:820px;margin:0 auto 2.5rem}
.section__header--center{text-align:center}
.section__header--center .divider{margin-left:auto;margin-right:auto}
.section__header p{color:var(--gray-700)}
.divider--center{margin-left:auto;margin-right:auto}
.section__cta{margin-top:2rem;text-align:center}

/* Split (image + text) */
.split{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
@media (max-width:900px){
  .split .split__media{order:-1}
}
.split--reverse .split__media{order:0}
.split--reverse .split__text{order:1}
@media (max-width:900px){
  .split{grid-template-columns:1fr;gap:2rem}
  .split--reverse .split__media,.split--reverse .split__text{order:initial}
}
.split__media img{border-radius:var(--radius);box-shadow:var(--shadow-md);width:100%;height:auto}
.split__actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem;align-items:center}
.split__actions .btn{margin-top:0}

/* Check list */
.check-list{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem 2rem;
  max-width:820px;margin:0 auto;
}
@media (max-width:600px){.check-list{grid-template-columns:1fr}}
.check-list--single{grid-template-columns:1fr;max-width:none}
.check-list li{
  position:relative;padding:.5em 0 .5em 2rem;color:var(--gray-900);font-weight:500;
}
.check-list li::before{
  content:"";position:absolute;left:0;top:.65em;width:18px;height:18px;border-radius:50%;
  background:var(--red);
}
.check-list li::after{
  content:"";position:absolute;left:5px;top:1em;width:8px;height:5px;
  border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg);
}

/* Reasons (icon cards grid) */
.reasons{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}
.reason{
  background:var(--white);padding:2.5rem 1.75rem;border-radius:12px;
  text-align:center;box-shadow:0 4px 20px rgba(0,0,0,.06);transition:transform .2s ease,box-shadow .2s ease;
  border:1px solid rgba(0,0,0,.04);
}
.reason:hover{transform:translateY(-4px);box-shadow:0 10px 28px rgba(0,0,0,.1)}
.reason__icon{
  width:auto;height:auto;margin:0 auto 1.5rem;border-radius:0;
  background:transparent;color:var(--red);display:flex;justify-content:center;align-items:center;
}
.reason__icon svg{width:44px;height:44px}
.reason h3{font-size:1.1rem;font-weight:800;color:var(--dark);margin:0 0 1.25rem;line-height:1.3}
.reason p{font-size:.95rem;color:var(--gray-700);margin:0;line-height:1.5}

/* Reasons 3 col fixed grid (com imagem) */
.reasons--3col{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem .1rem}

/* Reasons variant: card com barra vermelha à esquerda (aplicações/segmentos) */
.reasons--barleft{grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem 2rem}
@media (max-width:820px){.reasons--barleft{grid-template-columns:repeat(2,1fr);gap:1.5rem}}
@media (max-width:520px){.reasons--barleft{grid-template-columns:1fr}}
.reasons--barleft .reason{
  background:#f7f7f7;
  border:0;border-left:4px solid var(--red);border-radius:8px;
  padding:2.25rem 2rem;text-align:left;box-shadow:none;
  transition:transform .2s ease,box-shadow .2s ease;
}
.reasons--barleft .reason:hover{
  transform:translateY(-3px);box-shadow:0 6px 22px rgba(0,0,0,.08);
}
.reasons--barleft .reason h3{
  color:var(--dark);font-size:1.15rem;font-weight:700;margin:0 0 1.25rem;line-height:1.3;
}
.reasons--barleft .reason p{
  color:var(--gray-700);font-size:.95rem;line-height:1.6;margin:0;
}
@media (max-width:820px){.reasons--3col{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.reasons--3col{grid-template-columns:1fr}}
.reasons--with-img .reason{padding:0;overflow:hidden;display:flex;flex-direction:column;text-align:left;max-width:320px;width:100%;justify-self:center}
.reasons--with-img .reason img{aspect-ratio:294/160;object-fit:cover;object-position:center;background:var(--white);display:block;width:100%;margin:0;border-bottom:3px solid var(--red)}
.reasons--with-img .reason h3{margin:1.75rem 1.75rem .75em;text-align:left;font-size:1.15rem;color:var(--dark)}
.reasons--with-img .reason p{margin:0 1.75rem 1.75rem;text-align:left;line-height:1.6}
.reason--empty{background:transparent;box-shadow:none;pointer-events:none}
.reason--empty:hover{transform:none;box-shadow:none}
@media (max-width:820px){.reason--empty{display:none}}

.page-hero__desc{max-width:720px;margin-top:1rem;opacity:.95;font-size:1.05rem}
.section__note{max-width:820px;margin:1.5rem auto 0;color:var(--gray-700)}
.section__note.center{text-align:center}

/* Tag grid (product types) */
.tag-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-top:1rem}
.tag-card{
  background:var(--white);border:2px solid var(--gray-300);border-radius:var(--radius);
  padding:1.25rem;text-align:center;transition:.2s ease;
}
.tag-card:hover{border-color:var(--red);background:var(--red);color:var(--white);transform:translateY(-3px)}
.tag-card:hover h3{color:var(--white)}
.tag-card h3{margin:0;font-size:1rem}

/* Steps (numbered process) */
.steps{
  counter-reset:step;list-style:none;padding:0;margin:0;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;
}
.steps > li{
  display:flex;gap:1rem;background:var(--white);padding:1.5rem;border-radius:var(--radius);
  box-shadow:var(--shadow-sm);align-items:flex-start;
}
.steps__num{
  flex-shrink:0;width:48px;height:48px;border-radius:50%;background:var(--red);color:var(--white);
  display:grid;place-items:center;font-family:var(--font-head);font-weight:800;font-size:1.35rem;
}
.steps h3{font-size:1.05rem;margin-bottom:.35em}
.steps p{margin:0;font-size:.9rem;color:var(--gray-700)}

/* Section dark variant */
.section--dark{background:#222334;color:#fff}
.section--dark .section__header h2{color:#fff}
.section--dark .section__header p{color:rgba(255,255,255,.75)}

/* Steps dark variant — badge circular vermelho centralizado no topo */
.steps--dark{grid-template-columns:repeat(6,1fr);gap:1.5rem}
.steps--dark > li{grid-column:span 2}
.steps--dark > li:nth-child(4){grid-column:2 / span 2}
.steps--dark > li:nth-child(5){grid-column:4 / span 2}
@media (max-width:820px){
  .steps--dark{grid-template-columns:repeat(2,1fr)}
  .steps--dark > li,
  .steps--dark > li:nth-child(4),
  .steps--dark > li:nth-child(5){grid-column:auto}
}
@media (max-width:520px){
  .steps--dark{grid-template-columns:1fr}
  .steps--dark > li,
  .steps--dark > li:nth-child(4),
  .steps--dark > li:nth-child(5){grid-column:auto}
}
.steps--dark > li{
  position:relative;padding:108px 1.75rem 2rem;
  background:rgba(255,255,255,.03);border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  display:block;text-align:center;box-shadow:none;overflow:visible;
  transition:border-color .2s ease,transform .2s ease;
}
.steps--dark > li:hover{border-color:rgba(209,30,19,.55);transform:translateY(-3px)}
.steps--dark > li .steps__num{
  position:absolute;top:32px;left:50%;transform:translateX(-50%);
  width:56px;height:56px;border-radius:50%;
  background:#D11E13;color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-family:'Sora',sans-serif;font-size:1.4rem;font-weight:700;line-height:1;
  z-index:2;flex-shrink:0;
}
.steps--dark > li > div{text-align:center}
.steps--dark > li h3{color:#fff;font-size:1.15rem;font-weight:700;margin:0 0 .85em}
.steps--dark > li p{color:rgba(255,255,255,.72);line-height:1.55;font-size:.92rem;margin:0}

/* Contato */
.contact-grid{display:grid;grid-template-columns:2fr 1fr;gap:2.5rem}
@media (max-width:900px){.contact-grid{grid-template-columns:1fr}}
.contact-form h2{font-size:1.5rem}
.contact-form__form{display:flex;flex-direction:column;gap:1rem;margin-top:1.25rem}
.contact-form__field input,
.contact-form__field textarea{
  width:100%;padding:.9em 1em;border:1.5px solid var(--gray-300);border-radius:var(--radius);
  font:inherit;background:var(--white);transition:border-color .2s ease,box-shadow .2s ease;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus{
  outline:none;border-color:var(--red);box-shadow:0 0 0 3px rgba(209,30,19,.15);
}
.contact-form__form .btn{align-self:flex-start;margin-top:.5rem}
.contact-form__note{margin-top:1rem;font-size:.85rem;color:var(--gray-700)}
.contact-form__field--file label{display:block;margin-bottom:.4em;font-size:.9rem;color:var(--gray-700);font-weight:500}
.contact-form__field--file input[type=file]{padding:.6em;background:var(--gray-100)}
.contact-form__field--file input[type=file]::file-selector-button{
  background:var(--red);color:var(--white);border:0;padding:.5em 1em;border-radius:4px;
  font-weight:700;cursor:pointer;margin-right:1em;transition:background .2s ease;
}
.contact-form__field--file input[type=file]::file-selector-button:hover{background:var(--red-dark)}

.contact-side{display:flex;flex-direction:column;gap:2rem}
.contact-cta{
  background:linear-gradient(135deg,var(--gray-100) 0%,var(--white) 100%);
  padding:1.75rem;border-radius:var(--radius);text-align:center;box-shadow:var(--shadow-sm);
  display:flex;flex-direction:column;align-items:center;gap:.5rem;
}
.contact-cta h3{margin:0;font-size:1.4rem}
.contact-cta .tag{display:inline-block;padding:.15em .5em;font-weight:800;letter-spacing:.02em}
.contact-cta .tag--red{background:var(--red);color:var(--white)}
.contact-cta .tag--dark{background:var(--dark);color:var(--white)}
.contact-cta img{max-width:160px;margin:.75rem 0}
.contact-info{background:var(--white);padding:1.5rem;border-radius:var(--radius);box-shadow:var(--shadow-sm)}
.contact-info h4{margin:0 0 .25em}
.contact-info__icons{display:flex;gap:.75rem;margin-top:.5rem}
.contact-info__icons a{
  width:44px;height:44px;border-radius:50%;background:var(--red);color:var(--white);
  display:grid;place-items:center;transition:transform .2s ease,background .2s ease;
}
.contact-info__icons a:hover{background:var(--red-dark);color:var(--white);transform:translateY(-2px)}

/* Clients grid */
.clients-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem}
.client{
  background:var(--white);padding:1.5rem;border-radius:var(--radius);text-align:center;
  box-shadow:var(--shadow-sm);transition:box-shadow .2s ease,transform .2s ease;
  display:flex;flex-direction:column;align-items:center;gap:.5rem;
}
.client:hover{box-shadow:var(--shadow-md);transform:translateY(-3px)}
.client__logo{width:100%;height:120px;display:grid;place-items:center;margin-bottom:.5rem}
.client__logo img{max-height:120px;width:auto;object-fit:contain}
.client .eyebrow{margin:0;font-size:.7rem}
.client h2{font-size:1rem;margin:0;color:var(--dark)}

/* Segment cards (Segmentos page) */
.segment-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.75rem}
@media (max-width:900px){.segment-list{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.segment-list{grid-template-columns:1fr}}
.segment{
  background:var(--white);padding:0;border-radius:12px;overflow:hidden;
  box-shadow:0 4px 20px rgba(0,0,0,.06);
  display:flex;flex-direction:column;transition:box-shadow .2s ease,transform .2s ease;
  border:1px solid rgba(0,0,0,.04);
}
.segment:hover{box-shadow:0 10px 28px rgba(0,0,0,.1);transform:translateY(-3px)}
.segment > img{
  width:100%;aspect-ratio:450/315;object-fit:cover;display:block;
  border-bottom:3px solid var(--red);
}
.segment h3{
  color:var(--dark);font-size:1.15rem;font-weight:800;margin:0;
  padding:1.5rem 1.5rem 0;text-align:center;
}
.segment p{color:var(--gray-700);margin:0;font-size:.92rem;line-height:1.55;padding:0 1.5rem;text-align:center}
.segment > p:first-of-type{padding-top:1rem}
.segment .btn{align-self:center;margin:0 1.5rem 1.75rem;margin-top:auto;padding:.85em 1.6em;font-size:.85rem;background:linear-gradient(135deg,#075e54 0%,#128c7e 50%,#25d366 100%);border-color:transparent;color:#fff;box-shadow:0 6px 16px rgba(7,94,84,.35);transition:all .3s ease}
.segment > p:last-of-type{margin-bottom:1.75rem}
.segment .btn:hover{background:linear-gradient(135deg,#054640 0%,#0f6b60 50%,#1eb85a 100%);box-shadow:0 10px 24px rgba(7,94,84,.5);transform:translateY(-2px)}

/* FAQ */
.faq{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:.5rem}
.faq details{
  background:var(--gray-100);border-radius:var(--radius);border-left:4px solid var(--red);
  transition:box-shadow .2s ease;
}
.faq details[open]{box-shadow:var(--shadow-sm);background:var(--white)}
.faq summary{
  cursor:pointer;padding:1rem 1.25rem;font-weight:700;list-style:none;
  display:flex;justify-content:space-between;align-items:center;gap:1rem;color:var(--dark);
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"+";font-size:1.5rem;color:var(--red);transition:transform .2s ease;line-height:1;
}
.faq details[open] summary::after{content:"−"}
.faq p{padding:0 1.25rem 1.25rem;margin:0;color:var(--gray-700)}

/* WhatsApp float */
.wa-float{
  position:fixed;right:20px;bottom:20px;z-index:80;
  width:60px;height:60px;border-radius:50%;background:var(--wa);color:var(--white);
  display:grid;place-items:center;box-shadow:var(--shadow-md);
  animation:pulse 2s infinite;
}
.wa-float:hover{background:var(--wa-dark);color:var(--white);transform:scale(1.05)}
@keyframes pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(37,211,102,.5),var(--shadow-md)}
  50%{box-shadow:0 0 0 14px rgba(37,211,102,0),var(--shadow-md)}
}


/* Blog na home (cards preenchidos por main.js a partir de /blog/ultimas.php) */
.blog-home[hidden]{display:none}
.blog-home__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}
@media (max-width:900px){.blog-home__grid{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.blog-home__grid{grid-template-columns:1fr}}
.bpost{display:flex;flex-direction:column;background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden;transition:transform .25s ease,box-shadow .25s ease}
.bpost:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
.bpost__media{display:block;aspect-ratio:16/10;background:var(--gray-100);overflow:hidden}
.bpost__media img{width:100%;height:100%;object-fit:cover}
.bpost__body{display:flex;flex-direction:column;flex:1;padding:1.25rem}
.bpost__cat{color:var(--red);font-weight:700;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em}
.bpost__body h3{font-size:1.1rem;margin:.4rem 0 .5rem;line-height:1.3}
.bpost__body h3 a:hover{color:var(--red)}
.bpost__body p{color:var(--gray-700);font-size:.95rem;margin:0 0 1rem}
.bpost__date{font-size:.82rem;color:var(--gray-500);margin-top:auto}
