/* ARCHI Automação Industrial — estilos */
:root{color-scheme:only light;
  --navy:#1A237E; --deep:#0B1042; --orange:#FB8C00; --gold:#C9A227; --graphite:#37474F;
  --ink:#0E1330; --muted:#5B6770; --line:#E2E5EA; --soft:#F3F4F7; --white:#fff;
  --sans:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;
  --ease:cubic-bezier(.22,1,.36,1);
  --pad:40px; --max:1200px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:72px}
body{font-family:var(--sans);color:var(--graphite);background:#fff;-webkit-font-smoothing:antialiased;line-height:1.55}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
.wrap{max-width:calc(var(--max) + var(--pad)*2);margin:0 auto;padding:0 var(--pad)}
.eyebrow{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--orange)}
.eyebrow.gold{color:var(--gold)}
h1,h2,h3{color:var(--ink);font-weight:300;letter-spacing:-.01em;line-height:1.08}
h2{font-size:clamp(34px,4vw,46px)}
h3{font-weight:500;font-size:19px;line-height:1.3;letter-spacing:0}
.lead{font-size:17px;line-height:1.6}

/* Botões */
.btn{display:inline-flex;align-items:center;gap:12px;font-weight:600;font-size:15px;padding:15px 24px;transition:transform .35s var(--ease),background .25s,color .25s,border-color .25s;cursor:pointer;border:1px solid transparent;font-family:var(--sans)}
.btn svg{width:16px;height:16px;transition:transform .35s var(--ease)}
.btn:hover svg{transform:translateX(4px)}
.btn-primary{background:var(--orange);color:var(--deep)}
.btn-primary:hover{background:#ffa233;transform:translateY(-2px)}
.btn-ghost{border-color:rgba(255,255,255,.45);color:#fff}
.btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.06);transform:translateY(-2px)}

/* Navegação */
.nav{position:sticky;top:0;z-index:50;background:rgba(11,16,66,.92);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.08)}
.nav .wrap{height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo{display:flex;align-items:baseline;gap:14px;color:#fff;white-space:nowrap}
.logo b{font-size:22px;font-weight:600;letter-spacing:.04em}
.logo b i{color:var(--orange);font-style:normal}
.logo small{font-family:var(--mono);font-size:11px;letter-spacing:.12em;color:rgba(255,255,255,.72)}
.nav-links{display:flex;gap:32px}
.nav-links a{color:rgba(255,255,255,.8);font-size:15px;position:relative;padding:6px 0;transition:color .2s}
.nav-links a::after{content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;background:var(--orange);transform:scaleX(0);transform-origin:left;transition:transform .35s var(--ease)}
.nav-links a:hover{color:#fff}.nav-links a:hover::after{transform:scaleX(1)}
.nav-actions{display:flex;align-items:center;gap:20px}
.nav-actions .client{color:rgba(255,255,255,.75);font-size:14px}
.nav-actions .client:hover{color:#fff}
.nav .btn{padding:12px 20px;font-size:14px}

/* Hero */
.first{min-height:calc(100vh - 72px);min-height:calc(100svh - 72px);display:flex;flex-direction:column;background:var(--deep)}
.hero{background:var(--deep);color:#fff;flex:1;display:flex;align-items:center;padding:40px 0;overflow:hidden}
.hero .wrap{display:grid;grid-template-columns:1.05fr 1fr;gap:56px;align-items:stretch;width:100%}
.hero-text{display:flex;flex-direction:column;justify-content:center;gap:22px}
.hero h1{color:#fff;font-size:clamp(38px,4.4vw,56px);font-weight:300}
.hero p.lead{color:rgba(255,255,255,.86);max-width:560px}
.creds{border-top:1px solid rgba(255,255,255,.18);padding-top:18px;margin-top:6px;font-size:15px;color:rgba(255,255,255,.8);max-width:560px}
.creds b{color:#fff;font-weight:500}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap}
.pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:8px}
.pillars div{border-top:1px solid rgba(255,255,255,.2);padding-top:14px}
.pillars span{font-family:var(--mono);font-size:12px;color:var(--gold)}
.pillars h3{color:#fff;font-size:16px;margin:6px 0 4px}
.pillars p{font-size:13px;line-height:1.45;color:rgba(255,255,255,.65)}
.hero-img{position:relative;overflow:hidden;min-height:420px}
.hero-img img{position:absolute;inset:-6% 0;width:100%;height:112%;object-fit:cover;will-change:transform}
.hero-img::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,16,66,0) 40%,rgba(11,16,66,.55) 100%)}

/* Faixa */
.ticker{background:var(--navy);overflow:hidden;padding:22px 0;border-top:1px solid rgba(255,255,255,.08);flex:none}
.ticker-track{display:flex;width:max-content;animation:tick 38s linear infinite}
.ticker span{font-family:var(--mono);color:rgba(255,255,255,.85);font-size:14px;letter-spacing:.1em;text-transform:uppercase;padding:0 28px;display:flex;align-items:center;gap:56px;white-space:nowrap}
.ticker span::after{content:"";width:6px;height:6px;background:var(--orange);display:inline-block}
@keyframes tick{to{transform:translateX(-50%)}}

/* Seções */
section.block{padding:88px 0}
.soft{background:var(--soft)}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin-bottom:40px}
.sec-head .t{display:flex;flex-direction:column;gap:16px;max-width:560px}
.sec-head p{max-width:420px;font-size:17px}

/* Soluções */
#solucoes{background:var(--soft)}
.grid9{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.card{background:#fff;padding:28px 30px;display:flex;flex-direction:column;gap:12px;position:relative;border:1px solid var(--line);transition:background .35s,transform .45s var(--ease),box-shadow .45s var(--ease),border-color .35s}
.card:hover{background:var(--navy);border-color:var(--navy);transform:translateY(-6px);box-shadow:0 24px 48px -20px rgba(11,16,66,.45)}
.card .top{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}
.card .ic{width:52px;height:52px;display:grid;place-items:center;background:rgba(251,140,0,.12);transition:background .35s}
.card:hover .ic{background:var(--orange)}
.card svg{width:26px;height:26px;stroke:var(--orange);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:stroke .35s}
.card:hover svg{stroke:var(--deep)}
.card .n{font-family:var(--mono);font-size:13px;color:var(--gold)}
.card h3{font-size:22px;font-weight:600;transition:color .35s}
.card p{font-size:16px;line-height:1.55;transition:color .35s}
.card:hover h3{color:#fff}.card:hover p{color:rgba(255,255,255,.8)}

/* Método */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
.step{border-top:2px solid var(--orange);padding-top:24px;display:flex;flex-direction:column;gap:10px}
.step .n{font-family:var(--mono);font-size:12px;color:var(--gold)}
.step p{font-size:14px}

/* PDAI */
.pdai{background:var(--navy);color:#fff}
.pdai .wrap{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.pdai .img{overflow:hidden;height:460px}
.pdai .img img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--ease)}
.pdai .img:hover img{transform:scale(1.04)}
.pdai h2{color:#fff;margin:16px 0 20px}
.pdai p{color:rgba(255,255,255,.75);font-size:16px}
.checks{list-style:none;margin:24px 0 32px;display:flex;flex-direction:column;gap:14px}
.checks li{display:flex;gap:14px;align-items:center;font-weight:500}
.checks li i{width:28px;height:28px;flex:none;background:rgba(251,140,0,.14);display:grid;place-items:center}
.checks svg{width:14px;height:14px;stroke:var(--orange);fill:none;stroke-width:2.4}

/* Sobre */
.about .wrap{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:start}
.about h2{margin:16px 0 20px}
.about .text>p{font-size:16px}
.exp{margin-top:28px}
.exp ul{list-style:none;margin-top:12px;border-top:1px solid var(--line)}
.exp li{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);font-size:24px;font-weight:300;color:var(--ink);transition:padding .35s var(--ease),color .25s}
.exp li:hover{padding-left:10px;color:var(--navy)}
.exp li svg{width:18px;height:18px;stroke:var(--navy);fill:none;stroke-width:1.8}
.about .note{font-size:14px;margin-top:20px}
.about .img{height:540px;overflow:hidden}
.about .img img{width:100%;height:100%;object-fit:cover}

/* Blog */
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.post{background:#fff;display:flex;flex-direction:column;transition:transform .45s var(--ease),box-shadow .45s var(--ease)}
.post:hover{transform:translateY(-6px);box-shadow:0 24px 48px -24px rgba(11,16,66,.35)}
.post .ph{height:190px;overflow:hidden}
.post .ph img{width:100%;height:100%;object-fit:cover;transition:transform 1s var(--ease)}
.post:hover .ph img{transform:scale(1.06)}
.post .bd{padding:28px;display:flex;flex-direction:column;gap:12px;flex:1}
.post time{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
.post p{font-size:14px;flex:1}
.post .more{color:var(--navy);font-weight:600;font-size:14px;display:flex;align-items:center;gap:8px}
.post .more svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;transition:transform .35s var(--ease)}
.post:hover .more svg{transform:translateX(4px)}

/* Contato */
.contact{background:var(--deep);color:#fff}
.contact .wrap{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:start}
.contact h2{color:#fff;margin:16px 0 20px}
.contact .text>p{color:rgba(255,255,255,.72);font-size:16px}
.info{list-style:none;margin-top:32px;display:flex;flex-direction:column;gap:14px}
.info a,.info span{display:flex;gap:12px;align-items:center;color:#fff}
.info a:hover{color:var(--orange)}
.info svg{width:18px;height:18px;stroke:var(--orange);fill:none;stroke-width:1.8;flex:none}
form.lead-form{background:#fff;color:var(--ink);padding:32px;display:grid;grid-template-columns:1fr 1fr;gap:14px}
form.lead-form h3{grid-column:1/-1;font-size:19px}
.f{display:flex;flex-direction:column;gap:6px}
.f.full{grid-column:1/-1}
.f label{font-family:var(--mono);font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--graphite)}
.f input,.f select,.f textarea{font:inherit;font-size:15px;background:var(--soft);border:1px solid var(--line);padding:12px;color:var(--ink);outline:none;transition:border-color .2s,background .2s;border-radius:0;width:100%}
.f textarea{height:84px;resize:vertical}
.f input:focus,.f select:focus,.f textarea:focus{border-color:var(--navy);background:#fff}
form.lead-form .btn{grid-column:1/-1;justify-content:center}
.form-msg{grid-column:1/-1;font-size:14px;min-height:0}
.form-msg.ok{color:#1b7f3a}.form-msg.err{color:#b3261e}

/* Rodapé */
footer{background:var(--deep);border-top:1px solid rgba(255,255,255,.1);color:rgba(255,255,255,.6);font-size:13px}
footer .wrap{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:28px;padding-bottom:28px;flex-wrap:wrap}
footer .logo b{font-size:18px}

/* WhatsApp flutuante */
.wa{position:fixed;right:24px;bottom:24px;width:60px;height:60px;border-radius:50%;background:#25D366;display:grid;place-items:center;box-shadow:0 10px 30px -8px rgba(0,0,0,.4);z-index:60;transition:transform .35s var(--ease)}
.wa:hover{transform:scale(1.08)}
.wa svg{width:28px;height:28px;stroke:#0B1042;fill:none;stroke-width:2}

/* Artigo */
.art-hero{background:var(--deep);color:#fff;padding:72px 0 56px}
.art-hero .wrap{max-width:860px}
.art-hero a.back{color:rgba(255,255,255,.7);font-size:14px;display:flex;width:max-content;gap:8px;align-items:center;margin-bottom:28px}
.art-hero a.back:hover{color:#fff}
.art-hero h1{color:#fff;font-size:clamp(32px,4vw,48px);margin:16px 0}
.art-hero p{color:rgba(255,255,255,.75);font-size:18px}
.art-cover{max-width:940px;margin:-1px auto 0;height:420px;overflow:hidden}
.art-cover img{width:100%;height:100%;object-fit:cover}
.art-body{max-width:740px;margin:0 auto;padding:56px var(--pad) 88px;font-size:18px;line-height:1.75}
.art-body h2{font-size:28px;font-weight:400;margin:40px 0 14px}
.art-body p+p{margin-top:16px}
.art-cta{background:var(--soft);padding:32px;margin-top:48px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.art-cta strong{color:var(--ink);font-size:19px;font-weight:500}

.posts.two{grid-template-columns:repeat(2,1fr)}
/* Animações de entrada */
.rv{opacity:0;transform:translateY(32px);transition:opacity 1s var(--ease),transform 1s var(--ease)}
.rv.in{opacity:1;transform:none}
.stagger>*{opacity:0;transform:translateY(24px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.stagger.in>*{opacity:1;transform:none}
.hero .ld{opacity:0;transform:translateY(28px);animation:up 1s var(--ease) forwards}
@keyframes up{to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.rv,.stagger>*,.hero .ld{opacity:1;transform:none}}

/* Tablet */
@media (max-width:1100px){
  .nav-links{gap:22px}.nav-links a{font-size:14px}.logo small{display:none}
}
@media (max-width:960px){
  :root{--pad:32px}
  .nav-links,.nav-actions .client{display:none}
  .first{min-height:auto}
  .hero{padding:56px 0 64px}
  .hero .wrap,.pdai .wrap,.about .wrap,.contact .wrap{grid-template-columns:1fr;gap:40px}
  .hero-img{min-height:360px}
  .grid9{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .posts{grid-template-columns:1fr 1fr}
  .pdai .img{height:360px}.about .img{height:380px}
  section.block{padding:72px 0}
}
/* Celular */
@media (max-width:600px){
  :root{--pad:20px}
  .nav .wrap{height:64px}
  html{scroll-padding-top:64px}
  .hero{padding:44px 0 56px}
  .pillars{grid-template-columns:1fr;gap:0}
  .pillars div{padding:14px 0}
  .hero-img{min-height:240px}
  .sec-head{flex-direction:column;align-items:flex-start;gap:16px}
  .grid9,.steps,.posts,.posts.two{grid-template-columns:1fr}
  .exp li{font-size:20px}
  form.lead-form{grid-template-columns:1fr;padding:24px}
  .pdai .img,.about .img{height:260px}
  .art-cover{height:240px}
  .art-body{font-size:17px}
  .wa{right:16px;bottom:16px;width:54px;height:54px}
  .nav .btn{padding:10px 14px}
}

/* Notebooks: cada seção cabe inteira numa tela */
@media (min-width:961px) and (max-height:900px){
  section.block{padding:60px 0}
  h2{font-size:38px}
  .sec-head{margin-bottom:28px}
  .sec-head .t{gap:12px;max-width:620px}
  .card{padding:18px 24px;gap:6px}
  .card .top{margin-bottom:2px}
  .card .ic{width:42px;height:42px}.card svg{width:22px;height:22px}
  .card h3{font-size:20px}
  .card p{font-size:15px;line-height:1.45}
  .grid9{gap:12px}
  #solucoes .sec-head{margin-bottom:22px;align-items:center}
  #solucoes .sec-head .t{max-width:none}
  #solucoes .sec-head p{font-size:15px;max-width:360px}
  .pdai .img{height:420px}
  .about h2,.contact h2,.pdai h2{margin:12px 0 14px}
  .exp{margin-top:20px}.exp li{padding:10px 0;font-size:21px}
  .about .img{height:460px}
  .post .ph{height:160px}.post .bd{padding:22px;gap:10px}
  form.lead-form{padding:24px;gap:10px}
  .f input,.f select,.f textarea{padding:10px 12px}
  .f textarea{height:64px}
  .info{margin-top:24px}
  .hero{padding:24px 0}
  #solucoes{padding:36px 0}
}
@media (min-width:961px) and (max-height:790px){#solucoes{padding:22px 0}}
@media (min-width:961px){.wa{bottom:90px}}
