/* =========================================================
   UAVI HOME FINAL V1
   Complemento cirúrgico sobre o style.css global já aprovado.
   ========================================================= */

.home-page .solutions#solucoes{
  padding-top:72px;
  padding-bottom:62px;
}

/* Soluções Estratégicas — mesmo card aprovado, agora carrossel com 5 itens */
.home-page .home-solution-carousel{
  display:flex !important;
  overflow-x:auto;
  gap:18px;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  padding:2px 2px 15px;
}
.home-page .home-solution-carousel::-webkit-scrollbar{display:none}
.home-page .home-solution-carousel .solution-card{
  min-width:calc((100% - 36px)/3);
  width:calc((100% - 36px)/3);
  flex:0 0 auto;
  scroll-snap-align:start;
}
.home-carousel-controls{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:8px;
}
.home-carousel-controls button{
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:50%;
  background:#fff;
  color:#111;
  display:grid;
  place-items:center;
  cursor:pointer;
  font-size:18px;
  transition:transform .25s ease, border-color .25s ease;
}
.home-carousel-controls button:hover{
  transform:translateY(-2px);
  border-color:#cfcfc9;
}

/* O bloco antigo de 4 provas de autoridade foi removido da Home final. */

/* News/Mídia dinâmico */
.home-page .feature a,
.home-page .news-card a{
  position:relative;
  z-index:3;
}
.home-page .feature img,
.home-page .news-card img{
  background:#f4f4f1;
}
.home-page .feature-caption .news-date{
  display:inline-block;
  margin-left:7px;
  font-size:9px;
  color:rgba(255,255,255,.74);
  letter-spacing:.06em;
}
.home-page .news-date-card{
  display:block;
  margin-top:5px;
  font-size:9px;
  color:#999;
  letter-spacing:.04em;
}

/* Caso um artigo esteja sem imagem, mantém o card elegante */
.home-page .news-placeholder{
  width:100%;
  height:100%;
  min-height:220px;
  background:
    radial-gradient(circle at 82% 18%, rgba(231,190,23,.28), transparent 28%),
    linear-gradient(145deg,#141414,#343434);
}

/* pequenas garantias para SVGs existentes da Home */
.home-page .spec-icon svg,
.home-page .eng-icon svg,
.home-page .seal-icon svg{
  display:block;
  opacity:1;
  visibility:visible;
}

/* CTA clean aprovada */
.home-page .cta-clean-final{
  padding:88px 0 82px;
  background:linear-gradient(180deg,#ffffff 0%,#fffdf5 100%);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.home-page .cta-clean-grid{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:78px;
  align-items:center;
}
.home-page .cta-clean-final h2{
  font-size:clamp(48px,4.7vw,72px);
  line-height:.96;
  letter-spacing:-.052em;
  margin:0;
  max-width:680px;
}
.home-page .cta-clean-copy{
  border-left:3px solid var(--yellow);
  padding:10px 0 10px 32px;
  max-width:650px;
}
.home-page .cta-clean-copy p{
  font-size:17px;
  line-height:1.7;
  color:#5f5f5f;
  margin:0 0 28px;
  max-width:590px;
}
.home-page .cta-clean-btn{
  background:#111;
  color:#fff;
  min-height:56px;
  padding:0 26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  border-radius:9px;
  font-size:14px;
  font-weight:800;
  transition:transform .25s ease,background .25s ease,color .25s ease;
}
.home-page .cta-clean-btn:hover{
  background:var(--yellow);
  color:#111;
  transform:translateY(-2px);
}
.home-page .cta-clean-btn svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
}

@media(max-width:900px){
  .home-page .solutions#solucoes{
    padding-top:52px;
    padding-bottom:46px;
  }
  .home-page .home-solution-carousel{
    padding:0 4vw 16px;
    margin:0 -4vw;
    gap:12px;
  }
  .home-page .home-solution-carousel .solution-card{
    min-width:84vw;
    width:84vw;
  }
  .home-carousel-controls{display:none}

  .home-page .cta-clean-final{padding:62px 0 58px}
  .home-page .cta-clean-grid{
    grid-template-columns:1fr;
    gap:32px;
  }
  .home-page .cta-clean-final h2{
    font-size:clamp(43px,12vw,58px);
    line-height:.96;
  }
  .home-page .cta-clean-copy{
    padding:8px 0 8px 26px;
  }
  .home-page .cta-clean-copy p{
    font-size:15px;
    line-height:1.68;
    margin-bottom:24px;
  }
  .home-page .cta-clean-btn{
    min-height:54px;
    padding:0 22px;
  }
}

/* =========================================================
   HOME FINAL — social no hero + validações institucionais
   ========================================================= */

.home-page .hero-socials{
  position:absolute;
  right:4vw;
  bottom:30px;
  z-index:4;
  display:flex;
  align-items:center;
  gap:9px;
  color:#fff;
}
.home-page .hero-socials>span{
  margin-right:3px;
  font-size:9px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
  opacity:.72;
}
.home-page .hero-socials a{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.42);
  border-radius:50%;
  color:#fff;
  background:rgba(10,10,10,.12);
  backdrop-filter:blur(8px);
  transition:background .22s ease,border-color .22s ease,transform .22s ease,color .22s ease;
}
.home-page .hero-socials a:hover,
.home-page .hero-socials a:focus-visible{
  background:var(--yellow);
  border-color:var(--yellow);
  color:#111;
  transform:translateY(-2px);
  outline:none;
}
.home-page .hero-socials svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.home-page .validation-strip{
  padding:72px 0 64px;
  background:#f8f8f6;
  border-top:1px solid var(--line);
  overflow:hidden;
}
.home-page .validation-head{
  display:block;
  margin-bottom:30px;
}
.home-page .validation-head .eyebrow{
  margin-bottom:12px;
}
.home-page .validation-head h2{
  font-size:clamp(32px,3vw,44px);
  line-height:1.04;
  letter-spacing:-.04em;
  margin:0;
  max-width:980px;
}
.home-page .brand-marquee{
  position:relative;
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding:4px 0 8px;
  scrollbar-width:none;
  -ms-overflow-style:none;
  overscroll-behavior-x:contain;
  scroll-behavior:auto;
  touch-action:pan-x;
  -webkit-overflow-scrolling:touch;
  cursor:grab;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 4%,#000 96%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 4%,#000 96%,transparent 100%);
}
.home-page .brand-marquee::-webkit-scrollbar{display:none}
.home-page .brand-marquee:active{cursor:grabbing}
.home-page .brand-marquee-track{
  width:max-content;
  display:flex;
  align-items:center;
  will-change:scroll-position;
}
.home-page .brand-marquee-group{
  display:flex;
  align-items:center;
  gap:32px;
  padding-right:32px;
}
.home-page .brand-marquee-item{
  flex:0 0 auto;
  min-width:108px;
  height:92px;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:.5;
  filter:grayscale(1) saturate(0) contrast(.92);
  transition:opacity .32s ease,filter .32s ease,transform .32s ease;
  outline:none;
}
.home-page .brand-marquee-item img{
  width:auto;
  height:auto;
  max-width:168px;
  max-height:68px;
  object-fit:contain;
  pointer-events:none;
  user-select:none;
  -webkit-user-drag:none;
}
.home-page .brand-marquee-item.is-emblem{
  min-width:86px;
}
.home-page .brand-marquee-item.is-emblem img{
  max-width:86px;
  max-height:82px;
}
.home-page .brand-marquee-item:hover,
.home-page .brand-marquee-item:focus,
.home-page .brand-marquee-item:focus-visible,
.home-page .brand-marquee-item:active{
  opacity:1;
  filter:grayscale(0) saturate(1) contrast(1);
  transform:scale(1.035);
}

@media(max-width:900px){
  .home-page .hero-socials{
    right:4vw;
    bottom:20px;
  }
  .home-page .hero-socials>span{display:none}
  .home-page .hero-socials a{width:32px;height:32px}

  .home-page .validation-strip{padding:54px 0 48px}
  .home-page .validation-head{margin-bottom:24px}
  .home-page .validation-head .eyebrow{margin-bottom:10px}
  .home-page .validation-head h2{
    font-size:clamp(29px,8vw,38px);
    line-height:1.04;
    max-width:92%;
  }
  .home-page .brand-marquee{
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 3%,#000 97%,transparent 100%);
    mask-image:linear-gradient(90deg,transparent 0,#000 3%,#000 97%,transparent 100%);
  }
  .home-page .brand-marquee-group{gap:22px;padding-right:22px}
  .home-page .brand-marquee-item{min-width:94px;height:82px}
  .home-page .brand-marquee-item img{max-width:146px;max-height:62px}
  .home-page .brand-marquee-item.is-emblem{min-width:76px}
  .home-page .brand-marquee-item.is-emblem img{max-width:76px;max-height:74px}
}

@media(prefers-reduced-motion:reduce){
  .home-page .brand-marquee{scroll-behavior:auto}
}



/* =========================================================
   HOME PENTE-FINO FINAL — 08/10/2026
   Tipografia, ordem narrativa e drag desktop das validações
   ========================================================= */

/* Hero: composição mais equilibrada em desktop e mobile */
.home-page .hero .hero-copy{
  max-width:760px;
}
.home-page .hero .hero-title-balanced{
  font-size:clamp(48px,4.55vw,72px);
  line-height:.94;
  letter-spacing:-.052em;
  margin-bottom:22px;
}
.home-page .hero .hero-subtitle-balanced{
  max-width:660px;
  font-size:16px;
  line-height:1.55;
}

/* Soluções */
.home-page .solutions-head h2{
  text-wrap:balance;
}

/* Engenharia */
.home-page .mobile-break{display:none}
.home-page .eng-title-balanced{
  text-wrap:balance;
}

/* Faixa conceitual "Da engenharia ao campo" */
.home-page .eng-impact-copy{
  max-width:900px;
}
.home-page .eng-impact .impact-title-balanced{
  font-size:clamp(36px,3.6vw,54px);
  line-height:.98;
  letter-spacing:-.042em;
  max-width:900px;
  margin-bottom:16px;
}
.home-page .eng-impact p{
  font-size:15px;
  line-height:1.6;
  max-width:760px;
}

/* Validações — quebra editorial controlada */
.home-page .validation-head h2{
  font-size:clamp(30px,2.7vw,40px);
  max-width:1040px;
  line-height:1.04;
}
.home-page .mobile-only-break{display:none}
.home-page .desktop-only-break{display:inline}

/* Drag com mouse no desktop sem interromper o autoplay */
.home-page .brand-marquee{
  cursor:grab;
  user-select:none;
}
.home-page .brand-marquee.is-dragging{
  cursor:grabbing;
  scroll-snap-type:none;
}
.home-page .brand-marquee.is-dragging *{
  pointer-events:none;
}

@media(max-width:900px){
  .home-page .hero .hero-copy{
    max-width:94%;
  }
  .home-page .hero .hero-title-balanced{
    font-size:clamp(38px,10.5vw,44px);
    line-height:.98;
    letter-spacing:-.045em;
    margin-bottom:20px;
  }
  .home-page .hero .hero-subtitle-balanced{
    max-width:94%;
    font-size:13.5px;
    line-height:1.5;
  }

  .home-page .mobile-break{display:inline}
  .home-page .eng-head h2.eng-title-balanced{
    font-size:clamp(34px,9.2vw,39px);
    line-height:1.01;
  }

  .home-page .eng-impact-copy{
    max-width:92%;
  }
  .home-page .eng-impact .impact-title-balanced{
    font-size:clamp(34px,9vw,40px);
    line-height:1.02;
    max-width:100%;
    margin-bottom:16px;
  }
  .home-page .eng-impact p{
    font-size:13px;
    line-height:1.55;
    max-width:94%;
  }

  .home-page .validation-head h2{
    font-size:clamp(27px,7.5vw,34px);
    line-height:1.04;
    max-width:100%;
  }
  .home-page .mobile-only-break{display:inline}
  .home-page .desktop-only-break{display:none}
}

/* =========================================================
   HOME FECHAMENTO TIPOGRÁFICO — 08/10/2026
   Quebras editoriais intencionais em desktop e mobile
   ========================================================= */
.home-page .hero .hero-title-balanced span,
.home-page .eng-impact .impact-title-balanced span,
.home-page .validation-title-balanced .validation-line{
  display:block;
}

/* HERO — 3 linhas reais em qualquer breakpoint */
.home-page .hero .hero-copy{
  max-width:860px;
}
.home-page .hero .hero-title-balanced{
  font-size:clamp(46px,4.2vw,62px);
  line-height:.96;
  letter-spacing:-.048em;
  max-width:860px;
  margin-bottom:22px;
}
.home-page .hero .hero-subtitle-balanced{
  max-width:700px;
  font-size:15px;
  line-height:1.55;
}

/* FAIXA CONCEITUAL — 3 linhas, sem palavra órfã */
.home-page .eng-impact-copy{
  max-width:980px;
}
.home-page .eng-impact .impact-title-balanced{
  font-size:clamp(38px,3.45vw,50px);
  line-height:.98;
  letter-spacing:-.038em;
  max-width:980px;
  margin-bottom:16px;
}
.home-page .eng-impact p{
  max-width:820px;
  font-size:14px;
  line-height:1.58;
}

/* VALIDAÇÕES — 2 linhas editoriais no desktop */
.home-page .validation-head h2.validation-title-balanced{
  font-size:clamp(30px,2.6vw,38px);
  line-height:1.04;
  letter-spacing:-.035em;
  max-width:1080px;
}

@media(max-width:900px){
  .home-page .hero .hero-copy{
    max-width:94%;
  }
  .home-page .hero .hero-title-balanced{
    font-size:clamp(29px,7.6vw,34px);
    line-height:1.01;
    letter-spacing:-.038em;
    max-width:100%;
    margin-bottom:18px;
  }
  .home-page .hero .hero-subtitle-balanced{
    max-width:96%;
    font-size:12.5px;
    line-height:1.55;
  }

  .home-page .eng-impact-copy{
    max-width:94%;
  }
  .home-page .eng-impact .impact-title-balanced{
    font-size:clamp(22px,5.9vw,27px);
    line-height:1.06;
    letter-spacing:-.028em;
    max-width:100%;
    margin-bottom:15px;
  }
  .home-page .eng-impact p{
    max-width:96%;
    font-size:12.5px;
    line-height:1.55;
  }

  /* Mobile em 3 linhas exatas */
  .home-page .validation-title-balanced .validation-line-1,
  .home-page .validation-title-balanced .validation-line-2{
    display:inline;
  }
  .home-page .validation-title-balanced .validation-line-1::after{
    content:"";
    display:block;
  }
  .home-page .validation-title-balanced .validation-line-1{
    /* linha 1: Tecnologia apresentada */
  }
  .home-page .validation-head h2.validation-title-balanced{
    font-size:clamp(25px,6.9vw,29px);
    line-height:1.06;
    letter-spacing:-.032em;
    max-width:100%;
  }
}
.home-page .validation-desktop-lines>span,
.home-page .validation-mobile-lines>span{display:block}
.home-page .validation-mobile-lines{display:none}
@media(max-width:900px){
  .home-page .validation-desktop-lines{display:none}
  .home-page .validation-mobile-lines{display:block}
}

/* =========================================================
   CORREÇÃO TIPOGRÁFICA DEFINITIVA — 08/10/2026
   Uma única cópia semântica de cada título + breaks explícitos.
   Evita concatenação de palavras e duplicidade após tradução.
   ========================================================= */
.home-page .hero .hero-title-balanced,
.home-page .eng-impact .impact-title-balanced,
.home-page .validation-head h2.validation-title-balanced{
  text-wrap:initial;
  word-break:normal;
  overflow-wrap:normal;
  white-space:normal;
}

/* HERO — 3 linhas editoriais reais */
.home-page .hero .hero-copy{max-width:900px!important;}
.home-page .hero .hero-title-balanced{
  max-width:900px!important;
  font-size:clamp(46px,4.1vw,58px)!important;
  line-height:.98!important;
  letter-spacing:-.045em!important;
  margin-bottom:20px!important;
}
.home-page .hero .hero-subtitle-balanced{
  max-width:700px!important;
  font-size:15px!important;
  line-height:1.5!important;
}

/* DA ENGENHARIA AO CAMPO — 3 linhas editoriais reais */
.home-page .eng-impact-copy{max-width:1040px!important;}
.home-page .eng-impact .impact-title-balanced{
  max-width:1040px!important;
  font-size:clamp(36px,3.35vw,48px)!important;
  line-height:1.02!important;
  letter-spacing:-.038em!important;
  margin-bottom:16px!important;
}
.home-page .eng-impact p{
  max-width:800px!important;
  font-size:15px!important;
  line-height:1.55!important;
}

/* VALIDAÇÕES — uma única frase; breaks mudam conforme breakpoint */
.home-page .validation-break-mobile{display:none;}
.home-page .validation-break-desktop{display:inline;}
.home-page .validation-head h2.validation-title-balanced{
  max-width:1080px!important;
  font-size:clamp(34px,3vw,42px)!important;
  line-height:1.04!important;
  letter-spacing:-.035em!important;
}
/* neutraliza estrutura duplicada de versões anteriores, caso cache antigo misture regras */
.home-page .validation-desktop-lines,
.home-page .validation-mobile-lines{display:none!important;}

@media(max-width:900px){
  .home-page .hero .hero-copy{max-width:100%!important;}
  .home-page .hero .hero-title-balanced{
    max-width:100%!important;
    font-size:clamp(25px,6.5vw,28px)!important;
    line-height:1.04!important;
    letter-spacing:-.032em!important;
    margin-bottom:16px!important;
  }
  .home-page .hero .hero-subtitle-balanced{
    max-width:97%!important;
    font-size:13px!important;
    line-height:1.5!important;
  }

  .home-page .eng-impact-copy{max-width:100%!important;}
  .home-page .eng-impact .impact-title-balanced{
    max-width:100%!important;
    font-size:clamp(19px,5.15vw,22px)!important;
    line-height:1.08!important;
    letter-spacing:-.02em!important;
    margin-bottom:14px!important;
  }
  .home-page .eng-impact p{
    max-width:97%!important;
    font-size:12.5px!important;
    line-height:1.5!important;
  }

  .home-page .validation-break-mobile{display:inline;}
  .home-page .validation-break-desktop{display:none;}
  .home-page .validation-head h2.validation-title-balanced{
    max-width:100%!important;
    font-size:clamp(25px,6.65vw,28px)!important;
    line-height:1.06!important;
    letter-spacing:-.026em!important;
  }
}
