/* =========================================================
   JOY2CORP — Corporate Solutions
   Reconstrução fiel do site Wix em HTML/CSS puro
   ========================================================= */
:root{
  --black:#000;
  --ink:#212121;
  --grey:#636363;
  --red:#ff4f4f;        /* botões, barra inferior */
  --line:#d83135;       /* traço vermelho sob títulos */
  --card:rgba(239,239,239,.6);
  --input-bg:#f8f7ff;
  --input-bd:#919191;
  --container:980px;
  --header-h:81px;
  --f-title:'Barlow',sans-serif;
  --f-body:'Nunito Sans','Avenir Next','Avenir',sans-serif; /* substituto do Avenir LT 35 Light */
  --f-btn:'Poppins',sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:var(--header-h)}
body{margin:0;background:#fff;color:var(--ink);font-family:var(--f-body);font-weight:300;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit}
p{margin:0}
.container{width:var(--container);max-width:calc(100% - 32px);margin:0 auto}

/* ---------- HEADER ---------- */
.site-header{position:sticky;top:0;z-index:50;height:var(--header-h);background:var(--black);transition:transform .35s ease}
.site-header.is-hidden{transform:translateY(-100%)}
.site-header .container{height:100%;display:flex;align-items:center;justify-content:space-between}
.logo img{width:201px;height:61px;object-fit:contain}
.nav{display:flex;align-items:center}
.nav a{display:block;padding:0 12px;line-height:50px;color:#fff;text-decoration:none;font-family:var(--f-body);font-weight:300;font-size:16px;transition:color .2s}
.nav a:last-child{padding-right:12px}
.nav a:hover,.nav a.active{color:var(--red)}
.burger{display:none;background:none;border:0;padding:8px;cursor:pointer}
.burger span{display:block;width:26px;height:2px;background:#fff;margin:6px 0;transition:.3s}

/* ---------- TÍTULOS DE SEÇÃO ---------- */
.sec-title{text-align:center}
.sec-title .kicker{font-family:var(--f-title);font-weight:200;font-size:25px;line-height:1.2;color:var(--ink);text-transform:uppercase;font-synthesis:weight;}
.sec-title .kicker b{font-weight:300}
.sec-title h2{margin:6px 0 0;font-family:var(--f-title);font-weight:600;font-size:30px;line-height:1.2;color:var(--grey);text-transform:uppercase}
.sec-title .bar{display:block;width:59px;height:2px;background:var(--line);margin:14px auto 0}
.sec-title.sm .kicker{font-size:20px;color:var(--grey)}
.sec-title.sm h2{font-size:25px;margin-top:5px}
.sec-title.sm .kicker.dark{color:var(--ink)}
.sec-title.sm .kicker.md{font-family:var(--f-title);font-weight:500;font-size:16px;color:var(--grey)}
.sec-title .page-icon{margin:0 auto 9px;height:55px;width:auto}

/* ---------- BOTÃO ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;width:151px;height:40px;border-radius:10px;background:var(--red);color:#fff;text-decoration:none;font-family:var(--f-btn);font-weight:500;font-size:13px;border:0;cursor:pointer;transition:filter .2s,transform .2s}
.btn:hover{filter:brightness(.92)}

/* ---------- HERO ---------- */
.hero{position:relative;height:622px;background:#212121 url(/assets/img/hero-automacao-corporativa.jpg) center/cover no-repeat;color:#fff}
.hero .container{position:relative;height:100%;padding-top:156px}
.hero .kicker{margin:0;font-family:var(--f-title);font-weight:700;font-size:26px;line-height:31px;text-shadow:rgba(0,0,0,.4) 0 4px 5px;padding-left:3px}
.hero h1{margin:0;font-family:var(--f-title);font-weight:500;font-size:60px;line-height:72px;text-shadow:rgba(0,0,0,.4) 0 4px 5px}
.hero ul{list-style:none;margin:5px 0 23px;padding:0;font-size:18px;line-height:1.4;font-weight:300}
.hero ul li::before{content:"• "}

/* ---------- O QUE É ---------- */
.what{padding:44px 0 89px}
.what .grid{display:flex;justify-content:space-between;align-items:flex-start;margin-top:60px}
.what .text{width:480px;padding-top:50px;font-size:18px;line-height:1.55}
.what .text .btn{margin-top:22px}
.what .photo{width:446px;height:286px;object-fit:cover}

/* ---------- CARDS (SOLUÇÕES / ESPECIALIDADES) ---------- */
.solutions{padding:24px 0 52px}
.cards{display:grid;grid-template-columns:repeat(4,232px);justify-content:space-between;row-gap:31px;margin-top:60px}
.card{position:relative;display:flex;flex-direction:column;align-items:center;height:239px;padding:24px 16px 0;background:var(--card);border-radius:10px;text-decoration:none;text-align:center;transition:box-shadow .25s,transform .25s}
.card:hover{box-shadow:0 6px 18px rgba(0,0,0,.08);transform:translateY(-2px)}
.card img{height:55px;width:auto;margin-bottom:5px}
.card h3{margin:0;min-height:38px;display:flex;align-items:center;font-family:var(--f-title);font-weight:500;font-size:16px;line-height:19px;color:var(--grey);text-transform:uppercase;max-width:217px}
.card p{margin-top:7px;font-family:var(--f-title);font-weight:200;font-size:15px;line-height:16.5px;color:var(--grey);max-width:200px}
.card::after{content:"";position:absolute;left:50%;bottom:28px;width:59px;height:1px;margin-left:-29.5px;background:var(--line)}
.specialties{padding:24px 0 60px}
.cards.three{grid-template-columns:repeat(3,232px);justify-content:space-around;padding:0 40px}
.cards.three h3{min-height:22px}

/* ---------- LOGOS ---------- */
.logos{padding:28px 0 62px}
.logo-grid{display:grid;grid-template-columns:repeat(6,148px);justify-content:space-between;row-gap:18px;margin-top:61px}
.logo-grid img{width:148px;height:107px;object-fit:cover}
.partners{padding:25px 0 68px}
.partners .logo-grid{margin-top:55px}

/* ---------- PÁGINAS INTERNAS ---------- */
.intro{padding:49px 0 75px}
.intro .grid{display:flex;justify-content:space-between;align-items:flex-start;margin-top:60px}
.intro .text{width:480px;font-size:18px;line-height:1.55}
.intro .text p+p{margin-top:0}
.intro .text .gap{height:1.55em}
.intro .text ul{margin:0;padding-left:24px}
.intro .text strong{font-weight:700}
.intro .text .btn{margin-top:28px}
.intro .photo{object-fit:cover}
.fs17{font-size:17px!important}.fs16{font-size:16px!important}

.brands{padding:38px 0 50px}
.brands .lead{max-width:771px;margin:32px auto 0;text-align:center;font-size:17px;line-height:1.4}
.brand-row{display:flex;justify-content:space-between;margin-top:22px}
.brand-row img{width:158px;height:110px;object-fit:cover}
.brand-row.center{justify-content:center;gap:47px}
.brand-row.center.big img{width:189px}
.brand-row.center.sec img{width:172px;height:140px}

.spec{padding:40px 0}
.spec .grid{display:flex;justify-content:space-between;align-items:flex-start}
.spec .text{width:480px}
.spec .icon{width:59px;height:59px;object-fit:contain;margin-bottom:11px}
.spec h2{margin:0 0 8px;font-family:var(--f-title);font-weight:600;font-size:20px;color:var(--grey);text-transform:uppercase}
.spec .body{font-size:18px;line-height:1.55}
.spec .btn{margin-top:32px}
.spec .photo{width:439px;height:312px;object-fit:cover}

.legal{padding:42px 0 80px}
.legal .content{margin-top:50px;font-size:15px;line-height:1.6}
.legal .content h3{font-family:var(--f-title);font-weight:600;font-size:17px;color:var(--grey);margin:28px 0 8px}
.legal .content p{margin:0 0 10px}
.legal .content li{margin-bottom:6px}

/* ---------- RODAPÉ / CONTATO ---------- */
.contact{padding:32px 0 70px;background:#fff;color:var(--grey)}
.contact .grid{display:flex;margin-top:68px}
.contact .left{width:395px;padding-right:44px;border-right:1px solid #d9d9d9}
.contact .right{flex:1;padding-left:45px;display:grid;grid-template-columns:293px 1fr;align-content:start;row-gap:55px}
.contact .lead{font-family:var(--f-title);font-weight:500;font-size:20px;line-height:1.2}
.contact .left .bar,.info .bar{display:block;width:59px;height:2px;background:var(--line);margin:16px 0 0}
.lbl{font-family:var(--f-title);font-weight:300;font-size:16px;letter-spacing:2.4px;text-transform:uppercase}
.lbl-strong{font-family:var(--f-title);font-weight:600;font-size:17px;margin-top:5px}
.info .bar{margin-top:9px;width:37px}
.info .val{margin-top:24px;font-family:var(--f-title);font-weight:300;font-size:16px;letter-spacing:2.4px;line-height:1.4}
.info .val a{text-decoration:underline}
.info .val .wa{display:inline-flex;align-items:center;gap:6px;text-decoration:none}
.info .val .wa svg{width:15px;height:15px;fill:#25d366;flex:none}
.info .val .p2{padding-left:21px;display:block;text-decoration:none}
.info.addr{grid-column:1/-1}
.info.addr .val{margin-top:30px}
.map{grid-column:1/-1;margin-top:-25px;width:493px;height:239px;border:0}
form{margin-top:72px}
.field{margin-bottom:17px}
.field label{display:block;font-family:var(--f-btn);font-weight:300;font-size:13px;color:var(--ink);margin:0 0 5px 3px}
.field input,.field textarea{width:355px;max-width:100%;height:38px;padding:0 15px;border:1px solid var(--input-bd);border-radius:10px;background:var(--input-bg);font-family:var(--f-btn);font-weight:300;font-size:14px;color:var(--ink);outline:none;transition:border-color .2s}
.field textarea{height:88px;padding:10px 15px;resize:vertical}
.field input:focus,.field textarea:focus{border-color:var(--red)}
form .btn{width:206px;margin:7px 0 0 74px}
.form-msg{margin:12px 0 0 3px;font-family:var(--f-btn);font-size:13px;min-height:18px}
.form-msg.ok{color:#1a8f3c}.form-msg.err{color:var(--line)}
.hp{position:absolute;left:-9999px}

.bottom-bar{background:var(--red);color:#fff;font-size:14px;font-weight:300}
.bottom-bar .container{height:62px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
.bottom-bar a{color:#fff}
.bottom-bar .c{text-align:center}
.bottom-bar .r{text-align:right}

/* ---------- WHATSAPP FLUTUANTE ---------- */
.wa-float{position:fixed;right:22px;bottom:22px;z-index:60;width:85px;height:85px;transition:transform .2s}
.wa-float:hover{transform:scale(1.07)}
.wa-float img{width:100%;height:100%;object-fit:contain}

/* ---------- COOKIES ---------- */
.cookie{position:fixed;left:0;right:0;bottom:0;z-index:70;background:#fff;box-shadow:0 -2px 12px rgba(0,0,0,.12);padding:14px 16px;display:none;align-items:center;justify-content:center;gap:24px;font-family:var(--f-btn);font-size:13px;color:var(--line)}
.cookie.show{display:flex}
.cookie a{color:var(--line)}
.cookie .acts{display:flex;gap:10px;flex:none}
.cookie button{font-family:var(--f-btn);font-size:12px;border-radius:4px;padding:7px 14px;cursor:pointer}
.cookie .no{background:#fff;border:1px solid var(--line);color:var(--line)}
.cookie .yes{background:var(--line);border:1px solid var(--line);color:#fff}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width:1024px){
  :root{--container:100%}
  .container{max-width:none;padding:0 24px}
  .cards{grid-template-columns:repeat(2,1fr);gap:20px}
  .cards.three{grid-template-columns:repeat(3,1fr);padding:0}
  .card{height:auto;min-height:239px;padding-bottom:50px}
  .logo-grid{grid-template-columns:repeat(3,1fr);gap:16px}
  .logo-grid img{width:100%;height:auto;aspect-ratio:148/107}
  .what .text,.intro .text,.spec .text{width:50%}
  .what .photo,.intro .photo,.spec .photo{width:45%!important;height:auto!important;aspect-ratio:auto}
  .contact .left{width:45%}
  .contact .right{grid-template-columns:1fr 1fr}
  .map{width:100%}
  .brand-row{flex-wrap:wrap;justify-content:center;gap:16px}
}
@media (max-width:768px){
  :root{--header-h:64px}
  .logo img{width:150px;height:46px}
  .burger{display:block}
  .nav{position:fixed;top:var(--header-h);left:0;right:0;flex-direction:column;align-items:stretch;background:#000;padding:8px 0 18px;transform:translateY(-130%);transition:transform .35s ease;z-index:-1}
  .nav.open{transform:none}
  .nav a{padding:0 24px;line-height:48px;font-size:17px;border-top:1px solid #1d1d1d}
  .burger.open span:nth-child(1){transform:translateY(8px) rotate(45deg)}
  .burger.open span:nth-child(2){opacity:0}
  .burger.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

  .hero{height:520px;background-position:60% center}
  .hero .container{padding-top:120px}
  .hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.55),rgba(0,0,0,.15))}
  .hero .kicker{font-size:22px}
  .hero h1{font-size:44px;line-height:52px}
  .hero ul{font-size:16px}

  .sec-title .kicker{font-size:21px}
  .sec-title h2{font-size:25px}
  .sec-title.sm h2{font-size:22px}

  .what .grid,.intro .grid,.spec .grid{flex-direction:column;gap:32px}
  .what .grid{margin-top:36px}
  .what .text,.intro .text,.spec .text{width:100%;padding-top:0}
  .what .text,.intro .text,.spec .body{font-size:16px}
  .what .photo,.intro .photo,.spec .photo{width:100%!important;height:auto!important}
  .intro .grid{margin-top:36px}
  .spec .grid.rev{flex-direction:column}

  .cards,.cards.three{grid-template-columns:1fr;max-width:300px;margin-left:auto;margin-right:auto;margin-top:40px}
  .logo-grid{grid-template-columns:repeat(2,1fr);margin-top:40px}
  .brand-row img,.brand-row.center.big img,.brand-row.center.sec img{width:calc(50% - 8px);height:auto}

  .contact .grid{flex-direction:column;margin-top:40px}
  .contact .left{width:100%;padding:0 0 40px;border-right:0;border-bottom:1px solid #d9d9d9}
  .contact .right{padding:40px 0 0;grid-template-columns:1fr;row-gap:36px}
  .map{margin-top:0;height:260px}
  form{margin-top:40px}
  .field input,.field textarea{width:100%}
  form .btn{margin-left:0;width:100%}
  .bottom-bar .container{grid-template-columns:1fr;height:auto;padding:16px 24px;gap:6px;text-align:center}
  .bottom-bar .r{text-align:center}
  .cookie{flex-direction:column;gap:12px;text-align:center}
  .wa-float{width:76px;height:76px;right:14px;bottom:14px}
}
