@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap');
:root{--orange:#f0522a;--bg:#080808;--panel:#101010;--white:#f6f5f2;--muted:#aaa7a2;--line:rgba(255,255,255,.16);--header-h:76px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:var(--header-h)}
body{margin:0;background:var(--bg);color:var(--white);font-family:Sora,Arial,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{width:min(1380px,calc(100% - 9vw));margin-inline:auto}
.header{height:var(--header-h);position:sticky;top:0;z-index:50;background:rgba(7,7,7,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between}
.brand img{width:174px;height:auto}
.nav{display:flex;align-items:center;gap:clamp(18px,3vw,42px);font-size:13px}
.nav a{transition:color .2s}
.nav a:hover{color:var(--orange)}
.nav-cta{border:1px solid var(--orange);padding:12px 16px}
.nav-cta span{color:var(--orange);padding-left:14px}
.nav-toggle{display:none}

/* HERO: altura exata da área visível abaixo do cabeçalho */
.hero-final{height:calc(100svh - var(--header-h));min-height:610px;max-height:900px;position:relative;overflow:hidden;isolation:isolate;background:#050505}
.hero-final-photo{position:absolute;z-index:-3;inset:0 0 0 27%;background:url("../assets/images/hero-bossa-stage.jpg") center 48%/cover no-repeat;animation:hero-drift 26s ease-in-out infinite alternate}
@keyframes hero-drift{to{transform:scale(1.09) translate3d(-1%,.5%,0)}}
.hero-final-overlay{position:absolute;z-index:-2;inset:0;background:linear-gradient(90deg,#050505 0%,rgba(5,5,5,.96) 19%,rgba(5,5,5,.68) 42%,rgba(5,5,5,.08) 76%),linear-gradient(0deg,rgba(5,5,5,.8),transparent 38%,rgba(5,5,5,.12))}
.hero-final-topline{position:absolute;left:6.2%;top:7%;display:flex;align-items:center;gap:16px;font-size:10px;letter-spacing:2.6px;font-weight:700}
.hero-final-dot{width:9px;height:9px;background:var(--orange);border-radius:50%;box-shadow:0 0 16px var(--orange)}
.hero-final-copy{position:absolute;left:6.2%;top:17%;width:min(760px,57%)}
.hero-final h1{font-size:clamp(54px,6.6vw,100px);line-height:.96;letter-spacing:-.078em;font-weight:800;margin:0}
.hero-final h1 em{font-style:normal;color:var(--orange)}
.hero-final-copy p{border-left:2px solid var(--orange);padding-left:18px;margin:24px 0 0 12px;font-size:clamp(13px,1.2vw,16px);line-height:1.55;max-width:520px}
.hero-final-solutions{position:absolute;right:6%;bottom:10%;width:min(650px,45%)}
.hero-final-solutions-title{display:flex;align-items:center;gap:22px;font-size:14px;margin-bottom:18px}
.hero-final-solutions-title i{height:1px;background:var(--orange);flex:1}
.hero-final-units{display:grid;grid-template-columns:repeat(3,1fr)}
.hero-final-units a{position:relative;display:flex;flex-direction:column;line-height:.92;padding:0 20px 0 0;transition:transform .25s}
.hero-final-units a+a{border-left:1px solid var(--line);padding-left:22px}
.hero-final-units strong{font-size:clamp(23px,2.5vw,34px);color:var(--orange);letter-spacing:-2px}
.hero-final-units b{font-size:clamp(19px,2.1vw,29px);letter-spacing:-1.5px}
.hero-final-units span{position:absolute;right:12px;bottom:0;color:var(--orange);font-size:20px}
.hero-final-units a:hover{transform:translateY(-4px)}
.hero-final-orange-sweep{position:absolute;left:-17%;bottom:-61%;width:62%;height:78%;border:54px solid var(--orange);border-radius:50%;transform:rotate(14deg);pointer-events:none}
.hero-final-scroll{position:absolute;left:7%;bottom:5%;display:flex;flex-direction:column}
.hero-final-scroll span{width:17px;height:17px;border-right:2px solid var(--orange);border-bottom:2px solid var(--orange);transform:rotate(45deg);margin-top:-8px;animation:scroll-down 1.8s infinite}
.hero-final-scroll span+span{animation-delay:.2s}
@keyframes scroll-down{50%{opacity:.35;transform:translateY(5px) rotate(45deg)}}

/* Cada módulo ocupa uma tela de referência; conteúdo pode crescer sem corte */
.section-screen{min-height:100svh;display:flex;align-items:center;position:relative;overflow:hidden;padding:clamp(76px,9vh,120px) 0}
.eyebrow{font-size:10px;letter-spacing:2.4px;font-weight:700;color:var(--orange);margin:0 0 25px}
.manifesto{background:#0d0d0d}
.manifesto:after{content:"BN";position:absolute;right:-.05em;bottom:-.42em;font-size:clamp(260px,38vw,590px);font-weight:800;line-height:1;letter-spacing:-.13em;color:rgba(255,255,255,.025);pointer-events:none}
.manifesto-grid{position:relative;z-index:1;display:grid;grid-template-columns:.55fr 1.25fr .9fr;gap:4vw;align-items:center}
.manifesto h2,.section-head h2,.statement h2,.contact h2{font-size:clamp(44px,5.4vw,78px);line-height:.99;letter-spacing:-.075em;margin:0;font-weight:800}
.manifesto h2 span,.section-head h2 span,.statement h2 span{color:var(--orange)}
.manifesto-copy{max-width:430px}
.big-copy{font-size:clamp(18px,1.65vw,24px);line-height:1.5;margin:0 0 20px}
.manifesto-copy p:not(.big-copy){font-size:14px;line-height:1.8;color:var(--muted)}
.text-link{display:inline-flex;gap:24px;margin-top:14px;padding-bottom:10px;border-bottom:1px solid var(--orange);font-size:13px}
.text-link b{color:var(--orange)}

/* Três unidades em painéis fotográficos no mesmo viewport */
.solutions{background:#090909}
.solutions .wrap{width:min(1380px,calc(100% - 9vw))}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:42px}
.section-head h2{font-size:clamp(42px,5vw,72px)}
.section-head>p{max-width:360px;color:var(--muted);font-size:14px;line-height:1.75;margin:0 0 5px}
.pillars-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.pillar{height:clamp(350px,52vh,520px);position:relative;isolation:isolate;overflow:hidden;padding:25px;display:flex;flex-direction:column;justify-content:flex-end;border:1px solid rgba(255,255,255,.13);background:#141414}
.pillar:before{content:"";position:absolute;inset:0;z-index:-2;background:var(--pillar-image) center/cover no-repeat;opacity:.72;transition:transform .7s,opacity .5s}
.pillar:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(0,0,0,.96),rgba(0,0,0,.55) 48%,rgba(0,0,0,.1))}
.pillar:hover:before{transform:scale(1.05);opacity:.9}
.pillar-top{position:absolute;top:22px;left:25px;right:25px;font-size:9px;letter-spacing:1.6px;color:#ddd;display:flex;justify-content:space-between}
.pillar-top:after{content:attr(data-number);font-size:70px;font-weight:800;line-height:1;color:rgba(255,255,255,.18);position:absolute;right:0;top:22px}
.pillar-mark{display:none}
.pillar-main h3{font-size:clamp(32px,3.5vw,52px);line-height:1;margin:0 0 14px;letter-spacing:-.07em}
.bn-prefix{color:var(--orange)}
.pillar-main p{font-size:13px;line-height:1.65;color:#e4e1dc;max-width:340px;margin:0}
.pillar-links{margin-top:14px}
.pillar-links a{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid rgba(255,255,255,.2);font-size:11px;color:#eee}
.pillar-links b{color:var(--orange)}

/* Cases */
.experience-wall{min-height:100svh;display:flex;flex-direction:column;justify-content:center;padding:clamp(80px,10vh,130px) 0;background:#0b0b0b;overflow:hidden}
.experience-heading{margin-bottom:38px}
.experience-heading h2{font-size:clamp(50px,6.5vw,92px);line-height:.95;letter-spacing:-.08em;margin:0}
.experience-heading h2 em{font-style:normal;color:var(--orange)}
.experience-heading>p:last-child{font-size:14px;color:var(--muted);margin:17px 0 0}
.experience-grid{width:min(1380px,91%);margin:0 auto;display:grid;grid-template-columns:1.1fr .9fr 1fr;gap:12px;height:clamp(250px,42vh,420px)}
.experience-tile{position:relative;overflow:hidden;background-size:cover;background-position:center;border:1px solid rgba(255,255,255,.15)}
.tile-one{background-image:linear-gradient(0deg,rgba(0,0,0,.65),transparent 55%),url("../assets/images/bn-expo.jpg")}
.tile-two{background-image:linear-gradient(0deg,rgba(0,0,0,.65),transparent 55%),url("../assets/images/bn-branding.jpg")}
.tile-three{background-image:linear-gradient(0deg,rgba(0,0,0,.65),transparent 55%),url("../assets/images/bn-prime.jpg")}
.experience-tile span{position:absolute;left:18px;bottom:18px;font-size:10px;letter-spacing:1.6px}
.image-note{font-size:9px;color:#777;margin-top:14px}

/* Declaração institucional */
.statement{background:#101010}
.statement-photo{position:absolute;inset:0 0 0 42%;background:url("../assets/images/hero-evento.jpg") center/cover no-repeat;opacity:.48}
.statement:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#101010 0%,rgba(16,16,16,.88) 35%,rgba(16,16,16,.12) 100%)}
.statement-content{position:relative;z-index:1}
.statement h2{font-size:clamp(54px,7vw,100px)}
.statement-content>p:not(.eyebrow){max-width:440px;font-size:15px;line-height:1.8;color:#ddd;margin:25px 0}
.statement-line{display:flex;align-items:center;gap:14px;font-size:9px;letter-spacing:1.8px;margin-top:35px}
.statement-line i{width:42px;height:1px;background:var(--orange)}

/* Contato e rodapé */
.contact{background:#0c0c0c;border-top:1px solid var(--line)}
.contact-inner{display:grid;grid-template-columns:1.2fr .8fr;gap:8vw;align-items:center}
.contact h2{font-size:clamp(65px,8vw,116px)}
.contact h2 span{color:var(--orange)}
.contact-copy p{font-size:16px;line-height:1.7;color:#ddd;max-width:390px;margin:0 0 24px}
.contact-copy a{display:flex;justify-content:space-between;padding:15px 0;border-bottom:1px solid #383838;font-size:14px}
.contact-copy a b{color:var(--orange)}
.footer{background:#070707;border-top:1px solid var(--line);padding:34px 0 18px}
.footer-top{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:28px;padding-bottom:28px}
.footer-top .brand img{width:150px}
.footer-top>p{font-size:12px;line-height:1.7;color:#999;margin:0}
.footer nav{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:18px;font-size:11px;color:#bbb}
.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid #292929;padding-top:15px;color:#777;font-size:9px;letter-spacing:1px}
.footer-bottom a{color:var(--orange)}
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s,transform .7s}
.reveal.is-visible{opacity:1;transform:none}

@media(max-width:1000px){
 .nav{gap:16px;font-size:11px}.brand img{width:145px}
 .hero-final-copy{width:62%}.hero-final h1{font-size:clamp(54px,7.4vw,78px)}
 .hero-final-solutions{width:49%;right:4%}
 .manifesto-grid{grid-template-columns:.45fr 1.2fr 1fr;gap:25px}
 .pillar{padding:18px}.pillar-top{left:18px;right:18px}.pillar-links a{font-size:10px}
}
@media(max-width:700px){
 :root{--header-h:68px}
 .wrap,.solutions .wrap{width:calc(100% - 40px)}
 .header{height:var(--header-h)}.brand img{width:145px}
 .nav-toggle{display:flex;flex-direction:column;gap:6px;border:0;background:none;padding:10px}
 .nav-toggle i{width:24px;height:2px;background:#fff;display:block}
 .nav{display:none;position:absolute;top:var(--header-h);left:0;right:0;background:#0d0d0d;padding:10px 22px 22px;flex-direction:column;align-items:stretch;gap:0}
 .nav.open{display:flex}.nav a{padding:14px 0;border-bottom:1px solid #292929}.nav .nav-cta{margin-top:12px;padding:12px}
 .hero-final{height:calc(100svh - var(--header-h));min-height:690px;max-height:none}
 .hero-final-photo{inset:0;background-position:58% center;opacity:.8}
 .hero-final-overlay{background:linear-gradient(90deg,rgba(5,5,5,.94),rgba(5,5,5,.5)),linear-gradient(0deg,#050505 0%,rgba(5,5,5,.5) 40%,transparent)}
 .hero-final-topline{left:22px;top:30px;font-size:8px;letter-spacing:1.6px}
 .hero-final-copy{left:22px;top:17%;width:calc(100% - 44px)}
 .hero-final h1{font-size:clamp(47px,10.8vw,70px);line-height:1;letter-spacing:-.075em}
 .hero-final-copy p{font-size:12px;line-height:1.55;margin:20px 0 0 8px;padding-left:13px}
 .hero-final-copy p br{display:none}
 .hero-final-solutions{left:22px;right:22px;bottom:12%;width:auto}
 .hero-final-solutions-title{font-size:12px;margin-bottom:13px}
 .hero-final-units a{padding-right:6px}.hero-final-units a+a{padding-left:12px}
 .hero-final-units strong{font-size:23px}.hero-final-units b{font-size:clamp(16px,4.5vw,22px)}
 .hero-final-units span{right:3px;font-size:15px}
 .hero-final-orange-sweep{left:-28%;bottom:-27%;width:92%;height:36%;border-width:30px}
 .hero-final-scroll{left:22px;bottom:3%}
 .section-screen,.experience-wall{min-height:0;padding:86px 0}
 .manifesto:after{font-size:280px;right:-.12em;bottom:-.25em}
 .manifesto-grid{grid-template-columns:1fr;gap:23px}
 .manifesto h2{font-size:clamp(45px,11vw,65px)}
 .big-copy{font-size:18px}
 .section-head{display:block;margin-bottom:28px}
 .section-head h2{font-size:clamp(42px,10vw,60px)}
 .section-head>p{margin-top:17px}
 .pillars-grid{grid-template-columns:1fr;gap:13px}
 .pillar{height:440px;padding:22px}
 .pillar-top{left:22px;right:22px}
 .pillar-main h3{font-size:44px}
 .pillar-main p{font-size:13px}
 .pillar-links a{font-size:11px}
 .experience-heading h2{font-size:clamp(46px,11vw,68px)}
 .experience-grid{width:calc(100% - 40px);height:auto;grid-template-columns:1fr 1fr;gap:9px}
 .experience-tile{height:210px}.tile-one{grid-column:1/-1;height:260px}
 .statement{min-height:650px}
 .statement-photo{inset:0;opacity:.35}
 .statement:after{background:linear-gradient(90deg,rgba(16,16,16,.9),rgba(16,16,16,.42))}
 .statement h2{font-size:clamp(54px,13vw,82px)}
 .statement-line{font-size:7px;gap:8px}.statement-line i{width:20px}
 .contact-inner{grid-template-columns:1fr;gap:30px}
 .contact h2{font-size:clamp(62px,15vw,90px)}
 .footer-top{grid-template-columns:1fr;gap:20px}
 .footer nav{justify-content:flex-start}
 .footer-bottom{flex-direction:column;gap:10px}
}
@media(max-height:760px) and (min-width:701px){
 .hero-final{min-height:0}
 .hero-final-copy{top:12%}
 .hero-final h1{font-size:clamp(48px,5.2vw,72px)}
 .hero-final-copy p{margin-top:16px;font-size:13px}
 .hero-final-solutions{bottom:6%;width:43%}
 .section-screen{padding-top:70px;padding-bottom:70px}
 .pillar{height:48vh;min-height:320px}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
 .reveal{opacity:1;transform:none}
}


/* V12 — seção de experiências sem os três painéis fotográficos */
.experience-wall{gap:0}
.experience-heading{margin-bottom:0}
.experience-cta{margin-top:46px}
.experience-cta .text-link{font-size:15px;padding:0 0 14px;gap:34px}
.experience-cta .text-link b{font-size:22px}
@media(max-width:700px){
  .experience-cta{margin-top:30px}
  .experience-cta .text-link{font-size:13px}
}


/* V13 — faixa de palavras funcional logo abaixo do banner */
.ticker{
  display:block !important;
  position:relative;
  width:100%;
  overflow:hidden;
  height:76px;
  display:flex;
  align-items:center;
  background:var(--orange);
  color:#090909;
  border-top:1px solid rgba(255,255,255,.12);
  border-bottom:1px solid rgba(0,0,0,.35);
}
.ticker-track{
  display:flex;
  align-items:center;
  width:max-content;
  min-width:max-content;
  white-space:nowrap;
  gap:clamp(24px,3vw,48px);
  padding-left:clamp(24px,3vw,48px);
  animation:bn-ticker-scroll 32s linear infinite;
  will-change:transform;
}
.ticker-track span{
  display:inline-block;
  flex:0 0 auto;
  font-family:Sora,Arial,sans-serif;
  font-size:clamp(14px,1.25vw,18px);
  line-height:1;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.ticker-track b{
  display:inline-block;
  flex:0 0 auto;
  font-size:20px;
  line-height:1;
  color:#090909;
}
.ticker:hover .ticker-track{animation-play-state:paused}
@keyframes bn-ticker-scroll{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
@media(max-width:700px){
  .ticker{height:60px}
  .ticker-track{gap:22px;animation-duration:25s}
  .ticker-track span{font-size:12px;letter-spacing:.1em}
  .ticker-track b{font-size:16px}
}
@media(prefers-reduced-motion:reduce){
  .ticker-track{animation:none;transform:none}
}


/* V14 — acabamento entre seções e faixa com respiro */
.hero-final{border:0}
.ticker{
  display:flex !important;
  align-items:center;
  justify-content:center;
  height:82px;
  margin:24px 0 30px;
  padding:0;
  border:0;
  box-shadow:none;
}
.ticker-track{
  align-items:center;
  min-height:100%;
  padding-top:0;
  padding-bottom:0;
}
.experience-wall{
  border:0 !important;
  box-shadow:none !important;
}
.statement{
  border-top:0 !important;
}
@media(max-width:700px){
  .ticker{height:66px;margin:18px 0 24px}
}


/* Separação preta entre o banner e a faixa de palavras */
.ticker{
  margin-top:18px !important;
}


/* V15 — reforço de legibilidade em textos corridos, navegação e links */
body{font-size:16px}
.nav{font-size:15px}
.nav a{font-size:15px}
.hero-final-copy p{font-size:17px}
.hero-final-solutions{font-size:16px}
.hero-final-solutions a{font-size:17px}
.text-link,.experience-cta .text-link{font-size:17px}
.section-kicker,.eyebrow,.small-label{font-size:13px}
p{font-size:16px;line-height:1.7}
.footer,.footer a,.footer p{font-size:14px;line-height:1.65}
.ticker-track span{font-size:clamp(15px,1.35vw,19px)}
@media(max-width:700px){
  body{font-size:16px}
  .nav,.nav a{font-size:14px}
  .hero-final-copy p{font-size:16px;line-height:1.65}
  .hero-final-solutions a{font-size:16px}
  .text-link,.experience-cta .text-link{font-size:16px}
  .section-kicker,.eyebrow,.small-label{font-size:12px}
  p{font-size:16px;line-height:1.7}
  .footer,.footer a,.footer p{font-size:14px}
  .ticker-track span{font-size:14px}
}


/* Acessibilidade de leitura: textos, links e controles com mínimo de 17px */
body :is(p, a, li, small, label, button, input, select, textarea, summary, .detail-eyebrow, .detail-breadcrumbs, .detail-scroll, .detail-email, .detail-button, .nav, .ticker-track span, .detail-ticker-track span, .footer, .internal-footer) {
  font-size: max(17px, 1em) !important;
}




/* Ajuste de escala dos títulos dos módulos BN para não competir com a numeração */
.pillar-main h3{font-size:clamp(29px,2.9vw,43px)!important;line-height:1.02}
@media(max-width:700px){
  .pillar-main h3{font-size:36px!important}
}



/* RESPONSIVIDADE — ajustes de navegação e prevenção de overflow */
html{width:100%;max-width:100%;overflow-x:clip}
body{width:100%;max-width:100%;overflow-x:clip}
img,svg,video,canvas{max-width:100%;height:auto}
.wrap{min-width:0}
.header,.header-inner{min-width:0}
.nav-toggle{flex:0 0 auto;cursor:pointer;align-items:center;justify-content:center;min-width:44px;min-height:44px;position:relative;z-index:102}
.nav{min-width:0}
@media (max-width: 900px){
  .header{z-index:100}
  .header-inner{position:relative}
  .brand{min-width:0;max-width:calc(100% - 64px)}
  .brand img{display:block;width:clamp(128px,22vw,155px);max-width:100%;height:auto}
  .nav-toggle{display:flex}
  .nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    padding:12px 22px 22px;
    background:rgba(8,8,8,.98);
    border-top:1px solid #292929;
    border-bottom:1px solid #353535;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    z-index:101;
    box-shadow:0 18px 28px rgba(0,0,0,.35);
  }
  .nav.open{display:flex}
  .nav a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    min-height:48px;
    box-sizing:border-box;
    padding:12px 2px;
    border-bottom:1px solid #292929;
    font-size:16px;
    white-space:normal;
  }
  .nav .nav-cta{margin-top:12px;padding:12px 14px;border:1px solid var(--orange)}
}
@media (max-width: 480px){
  .wrap,.solutions .wrap{width:calc(100% - 36px)}
  .header-inner{gap:12px}
  .brand img{width:132px}
  .hero-final{min-height:720px}
  .hero-final-copy{width:calc(100% - 42px);left:21px}
  .hero-final h1{font-size:clamp(42px,11vw,58px);line-height:.98;overflow-wrap:normal}
  .hero-final-copy p{max-width:100%;font-size:16px}
  .hero-final-solutions{left:21px;right:21px;width:auto}
  .hero-final-units{gap:10px}
  .hero-final-units a{min-width:0}
  .pillar{min-width:0}
  .footer-top nav{display:flex;flex-wrap:wrap;gap:12px 18px}
}
@media (max-width: 900px){
  .detail-hero{overflow:hidden}
  .detail-hero-content{min-width:0}
  .detail-hero h1,.detail-intro,.detail-copy,.detail-contact-inner{overflow-wrap:anywhere}
  .detail-ticker{max-width:100%;overflow:hidden}
  .detail-intro-grid,.detail-feature-grid,.detail-contact-inner{min-width:0}
  .detail-feature,.detail-feature-grid>*{min-width:0}
}
@media (max-width: 480px){
  .page-banner-separated .detail-hero-content{
    max-width:calc(100% - 40px)!important;
    padding:92px 0 92px!important;
  }
  .page-banner-separated .detail-hero h1{font-size:clamp(35px,9.4vw,46px)!important;line-height:1.04}
  .page-banner-separated .detail-intro{font-size:16px!important;max-width:100%}
  .page-banner-separated .detail-scroll{bottom:22px;left:0}
  .detail-ticker-track span{font-size:13px!important}
}


/* Redes sociais — barra de navegação e rodapé */
.social-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.header .nav .social-links {
  margin-left: 8px;
  flex: 0 0 auto;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 38px;
  min-height: 38px;
  padding: 5px 8px;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 3px;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.social-link:hover,
.social-link:focus-visible {
  color: #f36b21;
  border-color: #f36b21;
  outline: none;
}
.social-link svg {
  display: block;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 19px;
}
.social-link svg path {
  fill: currentColor;
  stroke: none;
}
.social-link svg .social-dot {
  fill: currentColor;
  stroke: none;
}
.social-label {
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}
.footer-social-links {
  margin-left: auto;
  align-self: center;
}
.footer-social-links .social-link {
  min-height: 40px;
}
@media (max-width: 900px) {
  .header .nav .social-links {
    margin: 12px 0 4px;
    justify-content: flex-start;
  }
  .footer-social-links {
    margin: 18px 0 0;
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  .social-link {
    min-width: 42px;
    min-height: 42px;
    padding: 7px 9px;
  }
  .social-label {
    font-size: 14px;
  }
}


/* Redes sociais na mesma linha das demais informações do rodapé */
.footer-top {
  grid-template-columns: 1fr 1fr 1fr auto;
}

.footer-top .footer-social-links {
  grid-column: auto;
  justify-self: end;
  align-self: center;
  margin: 0;
  justify-content: flex-end;
}


@media (max-width: 760px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-top .footer-social-links {
    justify-self: start;
    justify-content: flex-start;
    margin: 0;
  }
}



/* Rodapé: marca, informações, navegação e redes na mesma linha */
.footer-top {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
}
.footer-top > .brand,
.footer-top > p,
.footer-top > nav,
.footer-top > .footer-social-links {
  flex: 0 0 auto;
  margin: 0;
}
.footer-top > nav {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: center;
  justify-content: flex-end !important;
  gap: 14px !important;
  white-space: nowrap;
}
.footer-top .footer-social-links {
  display: inline-flex !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
}
@media (max-width: 900px) {
  .footer-top { gap: 10px !important; }
  .footer-top .brand img { width: 112px !important; }
  .footer-top > p { font-size: 12px !important; max-width: 145px; }
  .footer-top > nav { gap: 8px !important; }
  .footer-top > nav a { font-size: 12px !important; }
  .footer-top .social-link { min-width: 34px; min-height: 34px; padding: 4px !important; }
  .footer-top .social-label { display: none; }
}
@media (max-width: 600px) {
  .footer-top {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start !important;
    padding-bottom: 12px;
    scrollbar-width: thin;
  }
  .footer-top > p { display: none; }
  .footer-top .brand img { width: 100px !important; }
  .footer-top > nav { gap: 10px !important; }
  .footer-top > nav a { font-size: 12px !important; }
  .footer-top .footer-social-links { gap: 6px !important; }
}


/* CORREÇÃO 2026 — rodapé mobile: redes sociais sempre dentro da viewport */
@media (max-width: 700px) {
  .footer-top {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    gap: 16px !important;
    overflow: visible !important;
    padding-bottom: 22px !important;
  }
  .footer-top > .brand,
  .footer-top > nav,
  .footer-top > .footer-social-links {
    min-width: 0;
    max-width: 100%;
    justify-self: start;
  }
  .footer-top > .brand img {
    width: 132px !important;
    max-width: 100%;
  }
  .footer-top > nav {
    display: flex !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
    gap: 10px 18px !important;
  }
  .footer-top > nav a {
    white-space: nowrap;
  }
  .footer-top .footer-social-links {
    display: flex !important;
    flex-flow: row wrap !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
    width: 100%;
  }
  .footer-top .footer-social-links .social-link {
    flex: 0 0 auto;
    min-width: 44px;
    min-height: 44px;
    box-sizing: border-box;
  }
  .footer-bottom {
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 10px 16px;
  }
}


/* CORREÇÃO 2026 — tablet: melhor distribuição de largura e espaçamento */
@media (min-width: 701px) and (max-width: 1024px) {
  .wrap,
  .solutions .wrap {
    width: min(92%, 900px);
  }
  .section-screen {
    padding-top: clamp(72px, 9vw, 110px);
    padding-bottom: clamp(72px, 9vw, 110px);
  }
  .hero-final {
    min-height: 760px;
  }
  .hero-final-copy {
    width: min(58%, 560px);
    left: 5%;
  }
  .hero-final h1 {
    font-size: clamp(48px, 6.4vw, 68px);
    line-height: 1;
  }
  .hero-final-solutions {
    width: min(46%, 430px);
    right: 4%;
  }
  .manifesto-grid,
  .detail-intro-grid,
  .detail-feature-grid,
  .detail-contact-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 3.2vw, 36px);
  }
  .detail-hero {
    min-height: 620px;
  }
  .detail-hero-content {
    box-sizing: border-box;
    padding-left: clamp(34px, 5vw, 58px);
    padding-right: clamp(34px, 5vw, 58px);
    min-width: 0;
  }
  .detail-hero h1 {
    font-size: clamp(42px, 5.2vw, 58px);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }
  .detail-intro,
  .detail-copy {
    max-width: 100%;
    line-height: 1.7;
  }
  .detail-feature,
  .detail-feature-grid > *,
  .detail-intro-grid > *,
  .detail-contact-inner > * {
    min-width: 0;
  }
  .pillar-grid,
  .pillars-grid,
  .solutions-grid {
    gap: clamp(14px, 2vw, 22px);
  }
  .pillar {
    min-width: 0;
    padding: clamp(18px, 2.4vw, 26px);
  }
  .footer-top {
    gap: 14px !important;
  }
  .footer-top .brand img {
    width: clamp(108px, 13vw, 132px) !important;
  }
  .footer-top > p {
    max-width: 160px;
  }
  .footer-top > nav {
    gap: 10px !important;
  }
}


/* Rodapé mobile — redes sociais em links textuais, conforme referência */
@media (max-width: 700px) {
  .footer { padding: 30px 0 22px; }
  .footer-top {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    width: 100%;
    max-width: 100%;
    overflow: visible !important;
    padding-bottom: 22px !important;
  }
  .footer-top > .brand,
  .footer-top > p,
  .footer-top > nav,
  .footer-top > .footer-social-links {
    display: flex !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }
  .footer-top > .brand img { width: 132px !important; max-width: 100%; }
  .footer-top > p {
    display: block !important;
    color: #999 !important;
    line-height: 1.6 !important;
  }
  .footer-top > nav {
    flex-flow: row wrap !important;
    gap: 12px 20px !important;
    white-space: normal !important;
  }
  .footer-top > nav a { white-space: nowrap; }
  .footer-top .footer-social-links {
    flex-flow: row nowrap !important;
    gap: 26px !important;
    padding-top: 4px;
  }
  .footer-top .footer-social-links .social-link {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 5px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--orange) !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
  }
  .footer-top .footer-social-links .social-link svg { display: none !important; }
  .footer-top .footer-social-links .social-label {
    display: inline !important;
    color: var(--orange) !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
  }
  .footer-top .footer-social-links .social-arrow {
    display: inline !important;
    color: var(--orange) !important;
    font-size: 18px !important;
    transform: translateY(-2px);
  }
  .footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100%;
    box-sizing: border-box;
    padding-top: 16px;
  }
}


/* ===== Correção definitiva do rodapé em telas mobile ===== */
@media screen and (max-width: 700px) {
  html body .footer {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 30px 20px 22px !important;
    overflow: hidden !important;
  }

  html body .footer > .wrap.footer-top {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 17px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 0 22px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  html body .footer > .wrap.footer-top > .brand {
    display: block !important;
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  html body .footer > .wrap.footer-top > .brand img {
    display: block !important;
    width: 132px !important;
    max-width: 100% !important;
    height: auto !important;
  }

  html body .footer > .wrap.footer-top > p {
    display: block !important;
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    color: #999 !important;
    font-size: 17px !important;
    line-height: 1.55 !important;
  }

  html body .footer > .wrap.footer-top > nav {
    display: flex !important;
    flex: 0 1 auto !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: normal !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
  }

  html body .footer > .wrap.footer-top > nav a {
    display: inline-block !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
  }

  html body .footer > .wrap.footer-top > .footer-social-links {
    display: flex !important;
    flex: 0 1 auto !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 26px !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 2px 0 0 !important;
    overflow: visible !important;
  }

  html body .footer > .wrap.footer-top > .footer-social-links > .social-link {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--orange, #ff5a1f) !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
  }

  html body .footer > .wrap.footer-top > .footer-social-links > .social-link svg {
    display: none !important;
  }

  html body .footer > .wrap.footer-top > .footer-social-links .social-label {
    display: inline !important;
    color: var(--orange, #ff5a1f) !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
  }

  html body .footer > .wrap.footer-top > .footer-social-links .social-arrow {
    display: inline !important;
    color: var(--orange, #ff5a1f) !important;
    font-size: 18px !important;
    line-height: 1 !important;
  }

  html body .footer > .wrap.footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 16px 0 0 !important;
    box-sizing: border-box !important;
    border-top: 1px solid #292929 !important;
    overflow: visible !important;
  }

  html body .footer > .wrap.footer-bottom > span,
  html body .footer > .wrap.footer-bottom > a {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    letter-spacing: .5px !important;
    white-space: normal !important;
  }
}
