/* ============================================
   NORTEEXTRUSAO — style.css
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:    #0d1117;
  --dark2:   #1a1f2e;
  --amber:   #52525b;
  --amber2:  #3f3f46;
  --white:   #ffffff;
  --light:   #f8fafc;
  --slate:   #64748b;
  --slate-l: #e2e8f0;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #fff; color: #1a1f2e; line-height: 1.6; overflow-x: hidden; }
h1,h2,h3,h4 { font-family: 'Syne', sans-serif; line-height: 1.15; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── NAVBAR ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .4s, box-shadow .4s; }
nav.scrolled { background: rgba(13,17,23,.96); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.07); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: .6rem; }
.logo-icon { width: 38px; height: 38px; background: linear-gradient(135deg, #52525b, #27272a); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem; color: #fff; flex-shrink: 0; }
.logo-name { display: block; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem; color: #fff; }
.logo-sub  { display: block; font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(113,113,122,.6); margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a { font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.65); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--amber); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-phone { font-size: .8rem; color: rgba(255,255,255,.65); }
.btn-primary {background: rgba(255,255,255,.65);color: #fff;padding: .5rem 1.1rem;border-radius: .5rem;font-size: .85rem;font-weight: 600;transition: background .2s;}
.btn-primary:hover {background: rgba(255,255,255,.55);}
.hamburger { display: none; background: none; border: none; cursor: pointer; color: #fff; font-size: 1.5rem; padding: .25rem; min-width: 44px; min-height: 44px; }
.mobile-menu { display: none; position: fixed; top: 70px; left: 0; right: 0; background: rgba(13,17,23,.98); border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 1.5rem; z-index: 99; }
.mobile-menu a { display: block; padding: .65rem 0; font-size: .95rem; color: rgba(255,255,255,.8); border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-menu a:last-child { border: none; }
.mobile-menu.open { display: block; }

/* ── HERO / SLIDES ── */
.hero-slider { position: relative; height: 100vh; min-height: 520px; overflow: hidden; }
.slides-container { width: 100%; height: 100%; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .8s ease; }
.slide.active { opacity: 1; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13,17,23,.92) 0%, rgba(13,17,23,.6) 60%, rgba(13,17,23,.3) 100%); }
.slide-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.slide-content h1 { font-size: clamp(2rem,5vw,3.75rem); color: #fff; max-width: 720px; margin-bottom: 1rem; }
.slide-content p  { font-size: 1.05rem; color: rgba(255,255,255,.65); max-width: 540px; margin-bottom: 2rem; }
.slide-prev, .slide-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,.1); border: none; color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; transition: background .2s; }
.slide-prev:hover, .slide-next:hover { background: var(--amber); }
.slide-prev { left: 1.5rem; }
.slide-next { right: 1.5rem; }
.slide-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 10; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; transition: background .2s, transform .2s; }
.dot.active { background: var(--amber); transform: scale(1.3); }

/* Hero estático (fallback) */
.hero-static { position: relative; height: 100vh; min-height: 520px; background: var(--dark2); display: flex; align-items: center; }
.hero-overlay { position: absolute; inset: 0; background: rgba(13,17,23,.7); }
.hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(113,113,122,.1); border: 1px solid rgba(113,113,122,.2); color: #a1a1aa; padding: .35rem .9rem; border-radius: 99px; font-size: .75rem; font-weight: 500; margin-bottom: 1.25rem; }
.hero-content h1 { font-size: clamp(2rem,5vw,3.75rem); color: #fff; max-width: 720px; margin-bottom: 1rem; }
.accent { color: var(--amber); }
.hero-content p { font-size: 1.05rem; color: rgba(255,255,255,.6); max-width: 540px; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-hero-primary {display: inline-flex;width: fit-content;align-items: center;gap: .4rem;background: rgba(255,255,255,.65);color: #fff;padding: .6rem 1.5rem;border-radius: .65rem;font-weight: 600;font-size: .88rem;transition: background .2s, box-shadow .2s;}
.btn-hero-primary:hover {background: rgba(255,255,255,.65);box-shadow: 0 6px 20px rgba(255,255,255,.65);}
.btn-hero-sec { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); color: #fff; padding: .8rem 1.6rem; border-radius: .65rem; font-weight: 600; font-size: .95rem; transition: background .2s; }
.btn-hero-sec:hover { background: rgba(255,255,255,.12); }

/* ── STATS ── */
.stats-bar { background: var(--dark2); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.stats-inner { max-width: 1280px; margin: 0 auto; padding: 2.5rem 1.5rem; display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center; }
.stat-num { font-family: 'Syne', sans-serif; font-size: 2.25rem; font-weight: 800; color: var(--amber); line-height: 1; }
.stat-label { font-size: .75rem; color: rgba(255,255,255,.45); margin-top: .3rem; text-transform: uppercase; letter-spacing: .08em; }

/* ── SEÇÕES GERAIS ── */
.section { padding: 5rem 0; }
.bg-white  { background: #ffffff; }
.bg-light  { background: var(--light); }
.bg-dark   { background: var(--dark); }
.bg-dark2  { background: var(--dark2); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: .5rem; }
.section-title { font-size: clamp(1.6rem,3vw,2.5rem); margin-bottom: .75rem; }
.section-title.dark  { color: #1a1f2e; }
.section-title.light { color: #ffffff; }
.section-sub { font-size: .95rem; color: var(--slate); max-width: 540px; margin: 0 auto; line-height: 1.7; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* ── GRID ── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }

/* ── CARDS PRODUTOS ── */
.card { background: #fff; border: 1px solid var(--slate-l); border-radius: 1rem; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); border-color: #a1a1aa; }
.card-img { height: 200px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-no-img { background: var(--light); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.card-body { padding: 1.25rem; }
.card-tag { display: inline-block; font-size: .68rem; font-weight: 600; color: var(--amber2); background: rgba(113,113,122,.08); border-radius: .3rem; padding: .15rem .5rem; margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .05em; }
.badge-destaque { display: inline-block; font-size: .68rem; font-weight: 600; color: #fff; background: var(--amber); border-radius: .3rem; padding: .15rem .5rem; margin-bottom: .4rem; margin-right: .3rem; }
.card-body h3 { font-family: 'Syne', sans-serif; font-size: .95rem; color: #1a1f2e; margin-bottom: .4rem; }
.card-body p  { font-size: .82rem; color: var(--slate); line-height: 1.6; margin-bottom: 1rem; }
.btn-card { font-size: .82rem; color: var(--amber2); font-weight: 600; transition: color .2s; }
.btn-card:hover { color: var(--amber); }

/* ── SERVIÇOS ── */
.service-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 1rem; padding: 1.75rem; transition: border-color .2s, background .2s; }
.service-card:hover { background: rgba(255,255,255,.07); border-color: rgba(113,113,122,.3); }
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { font-family: 'Syne', sans-serif; font-size: .95rem; color: #fff; margin-bottom: .4rem; }
.service-card p  { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.6; }
.service-card-light { background: var(--light); border: 1px solid var(--slate-l); border-radius: 1rem; padding: 1.75rem; transition: box-shadow .2s; }
.service-card-light:hover { box-shadow: 0 4px 16px rgba(0,0,0,.07); }
.service-icon-lg { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card-light h3 { font-family: 'Syne', sans-serif; font-size: 1rem; color: #1a1f2e; margin-bottom: .4rem; }
.service-card-light p  { font-size: .85rem; color: var(--slate); line-height: 1.6; }

/* ── POSTS ── */
.post-card { background: #fff; border: 1px solid var(--slate-l); border-radius: 1rem; overflow: hidden; transition: box-shadow .2s; }
.post-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.post-img { height: 180px; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 1.25rem; }
.post-date { font-size: .72rem; color: var(--slate); display: block; margin-bottom: .4rem; }
.post-body h3 { font-family: 'Syne', sans-serif; font-size: .95rem; color: #1a1f2e; margin-bottom: .4rem; }
.post-body p  { font-size: .82rem; color: var(--slate); line-height: 1.6; margin-bottom: .75rem; }
.post-body a  { font-size: .82rem; color: var(--amber2); font-weight: 600; }

/* Blog layout */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }
.post-card-full { background: #fff; border: 1px solid var(--slate-l); border-radius: 1rem; overflow: hidden; margin-bottom: 1.5rem; }
.post-img-full { height: 220px; overflow: hidden; }
.post-img-full img { width: 100%; height: 100%; object-fit: cover; }
.post-single .post-content { font-size: .95rem; color: #374151; line-height: 1.85; }
.post-single .post-content p { margin-bottom: 1rem; }
.post-single .post-content h2 { font-size: 1.3rem; margin: 1.5rem 0 .75rem; }
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.sidebar-box { background: #fff; border: 1px solid var(--slate-l); border-radius: 1rem; padding: 1.25rem; }
.sidebar-box h3 { font-family: 'Syne', sans-serif; font-size: .9rem; color: #1a1f2e; margin-bottom: .875rem; }

/* ── TAGS ── */
.tags-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { display: inline-flex; align-items: center; gap: .3rem; background: var(--light); border: 1px solid var(--slate-l); color: var(--slate); padding: .3rem .75rem; border-radius: 99px; font-size: .78rem; transition: all .2s; }
.tag:hover, .tag.active { background: var(--amber); border-color: var(--amber); color: #fff; }
.tag span { font-size: .7rem; opacity: .7; }
.tags-cloud-big { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }
.tag-big { display: inline-flex; flex-direction: column; align-items: center; background: #fff; border: 1px solid var(--slate-l); border-radius: 1rem; padding: 1rem 1.5rem; font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: #1a1f2e; transition: all .2s; }
.tag-big:hover { border-color: var(--amber); color: var(--amber2); box-shadow: 0 4px 16px rgba(113,113,122,.1); }
.tag-big span { font-size: .72rem; color: var(--slate); font-family: 'Inter', sans-serif; font-weight: 400; margin-top: .2rem; }

/* ── PAGE HERO ── */
.page-hero { background: var(--dark2); padding: 7rem 1.5rem 3.5rem; text-align: center; }
.page-hero h1 { font-size: clamp(1.75rem,4vw,2.75rem); color: #fff; margin-bottom: .5rem; }
.page-hero p  { font-size: .95rem; color: rgba(255,255,255,.55); max-width: 500px; margin: 0 auto; }

/* ── FILTROS ── */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-btn { display: inline-block; padding: .4rem 1rem; border-radius: 99px; font-size: .82rem; font-weight: 500; border: 1px solid var(--slate-l); color: var(--slate); background: #fff; transition: all .2s; cursor: pointer; }
.filter-btn:hover, .filter-btn.active { background: var(--amber); border-color: var(--amber); color: #fff; }

/* ── EMPTY STATE ── */
.empty-state { text-align: center; padding: 3rem; color: var(--slate); }
.empty-state a { color: var(--amber2); font-weight: 600; margin-top: .5rem; display: inline-block; }

/* ── CTA FULL ── */
.section-cta-full { background: linear-gradient(135deg, var(--dark2), var(--dark)); padding: 5rem 1.5rem; text-align: center; }
.section-cta-full h2 { font-size: clamp(1.5rem,3vw,2.25rem); color: #fff; margin-bottom: .75rem; }
.section-cta-full p  { color: rgba(255,255,255,.55); font-size: .95rem; max-width: 480px; margin: 0 auto; }

/* ── CONTATO ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3.5rem; align-items: start; }
.contact-info h3 { font-family: 'Syne', sans-serif; font-size: 1rem; color: #fff; margin-bottom: 1rem; }
.contact-items { display: flex; flex-direction: column; gap: .875rem; }
.contact-item { display: flex; align-items: flex-start; gap: .75rem; }
.contact-icon { width: 38px; height: 38px; border-radius: .5rem; background: rgba(113,113,122,.1); border: 1px solid rgba(113,113,122,.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .95rem; }
.contact-item-text span { display: block; font-size: .7rem; color: rgba(255,255,255,.4); margin-bottom: .1rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-item-text p { font-size: .88rem; color: rgba(255,255,255,.8); }
form { display: flex; flex-direction: column; gap: .875rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .875rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group label { font-size: .72rem; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .08em; }
.form-group input,
.form-group textarea,
.form-group select { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: .5rem; padding: .7rem .9rem; color: #fff; font-size: .88rem; font-family: 'Inter', sans-serif; outline: none; width: 100%; transition: border-color .2s; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: rgba(113,113,122,.4); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.2); }
.form-group select option { background: #1a1f2e; }
.form-group textarea { min-height: 110px; resize: vertical; }
.btn-submit { background: var(--amber); color: #fff; padding: .85rem; border-radius: .65rem; font-weight: 600; font-size: .95rem; border: none; cursor: pointer; transition: background .2s, box-shadow .2s; width: 100%; }
.btn-submit:hover { background: var(--amber2); box-shadow: 0 6px 20px rgba(113,113,122,.3); }
.alert-success { background: rgba(22,163,74,.15); border: 1px solid rgba(22,163,74,.3); color: #16a34a; padding: .875rem 1rem; border-radius: .5rem; font-size: .88rem; margin-bottom: 1rem; }

/* ── BOTÕES GERAIS ── */
.btn-amber { display: inline-block; background: var(--amber); color: #fff; padding: .75rem 1.75rem; border-radius: .65rem; font-weight: 600; font-size: .9rem; transition: background .2s, box-shadow .2s; }
.btn-amber:hover { background: var(--amber2); box-shadow: 0 6px 20px rgba(113,113,122,.25); }
.btn-outline { display: inline-block; background: transparent; color: rgba(255,255,255,.8); padding: .75rem 1.75rem; border-radius: .65rem; font-weight: 600; font-size: .9rem; border: 1px solid rgba(255,255,255,.2); transition: background .2s; }
.btn-outline:hover { background: rgba(255,255,255,.07); }

/* ── FOOTER ── */
footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,.06); padding: 3.5rem 0 1.5rem; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand p { font-size: .8rem; color: rgba(255,255,255,.4); margin-top: .75rem; max-width: 230px; line-height: 1.7; }
.footer-col h4 { font-family: 'Syne', sans-serif; font-size: .75rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .875rem; }
.footer-col ul { list-style: none; }
.footer-col li + li { margin-top: .4rem; }
.footer-col a { font-size: .8rem; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 1.25rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; }
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.3); }
.cert-badges { display: flex; gap: .4rem; }
.cert { font-size: .65rem; color: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.1); border-radius: .25rem; padding: .2rem .45rem; }

/* ── ANIMAÇÕES ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ── RESPONSIVO ── */
@media (max-width: 1024px) {
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-right { display: none; }
  .hamburger { display: block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: repeat(2,1fr); gap: 1rem; }
}