/* ===========================================================
   JALB — Soluções em Aço | Design System
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --dark: #10131a;
  --dark-2: #171c26;
  --dark-3: #202735;
  --steel: #3a4556;
  --steel-light: #64748b;
  --accent: #ff7a1a;
  --accent-dark: #e2650a;
  --accent-light: #ffb066;
  --light: #f5f6f8;
  --light-2: #eceef2;
  --white: #ffffff;
  --text: #171b23;
  --muted: #5b6472;
  --line: #e3e6eb;
  --line-dark: #2a3140;

  --font-head: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(16,19,26,.18);
  --shadow-lg: 0 25px 60px -15px rgba(16,19,26,.35);
  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family:var(--font-body);
  color:var(--text);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family:var(--font-head); line-height:1.15; font-weight:700; letter-spacing:-.01em; }

.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }
.section{ padding:96px 0; }
.section-sm{ padding:56px 0; }
@media (max-width:768px){
  .section{ padding:64px 0; }
  .section-sm{ padding:40px 0; }
}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--accent-dark); margin-bottom:14px;
}
.eyebrow::before{ content:''; width:22px; height:2px; background:var(--accent); border-radius:2px; }

.section-head{ max-width:640px; margin-bottom:48px; }
.section-head h2{ font-size:clamp(28px,4vw,40px); margin-bottom:14px; }
.section-head p{ color:var(--muted); font-size:17px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding:15px 28px; border-radius:999px; font-weight:700; font-size:15px;
  border:2px solid transparent; transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn svg{ width:18px; height:18px; flex-shrink:0; }
.btn-accent{ background:var(--accent); color:#1a0f04; box-shadow:0 12px 26px -10px rgba(255,122,26,.55); }
.btn-accent:hover{ background:var(--accent-dark); transform:translateY(-2px); box-shadow:0 16px 30px -10px rgba(255,122,26,.6); }
.btn-dark{ background:var(--dark); color:var(--white); }
.btn-dark:hover{ background:var(--dark-3); transform:translateY(-2px); }
.btn-outline{ background:transparent; border-color:rgba(255,255,255,.35); color:var(--white); }
.btn-outline:hover{ border-color:var(--white); background:rgba(255,255,255,.08); transform:translateY(-2px); }
.btn-outline-dark{ background:transparent; border-color:var(--line); color:var(--text); }
.btn-outline-dark:hover{ border-color:var(--dark); }
.btn-block{ width:100%; }
.btn-sm{ padding:11px 20px; font-size:14px; }

/* ===================== HEADER ===================== */
.site-header{
  position:sticky; top:0; z-index:200;
  background:rgba(16,19,26,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.navbar{ display:flex; align-items:center; justify-content:space-between; height:82px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height:30px; width:auto; }
.nav-links{ display:flex; align-items:center; gap:36px; }
.nav-links a{
  color:rgba(255,255,255,.78); font-weight:600; font-size:15px;
  position:relative; padding:6px 0; transition:color .15s ease;
}
.nav-links a:hover, .nav-links a.active{ color:var(--white); }
.nav-links a.active::after{
  content:''; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:var(--accent); border-radius:2px;
}
.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-phone{ color:rgba(255,255,255,.85); font-weight:600; font-size:14px; display:flex; align-items:center; gap:7px; }
.nav-phone svg{ width:16px; height:16px; color:var(--accent); }
.nav-toggle{
  display:none; background:none; border:none; width:40px; height:40px; position:relative; z-index:210;
}
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--white); margin:6px auto; transition:.25s; border-radius:2px; }
.nav-toggle.open span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

@media (max-width:960px){
  .nav-phone{ display:none; }
  .nav-toggle{ display:block; }
  .nav-links{
    position:fixed; inset:82px 0 0 0; height:calc(100vh - 82px);
    background:var(--dark); flex-direction:column; justify-content:flex-start; align-items:flex-start;
    padding:36px 28px; gap:6px; transform:translateX(100%); transition:transform .3s ease; overflow-y:auto;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a{ width:100%; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.08); font-size:18px; }
  .nav-links .btn{ margin-top:16px; }
}

/* ===================== HERO ===================== */
.hero{
  position:relative; color:var(--white); min-height:92vh; display:flex; align-items:center;
  background:linear-gradient(180deg, rgba(11,13,18,.72), rgba(11,13,18,.94)), var(--hero-img) center/cover no-repeat;
}
.hero.small{ min-height:44vh; }
.hero-inner{ max-width:680px; padding:80px 0; }
.hero h1{ font-size:clamp(34px,5.4vw,58px); margin-bottom:20px; }
.hero h1 em{ font-style:normal; color:var(--accent); }
.hero p{ font-size:18px; color:rgba(255,255,255,.82); margin-bottom:34px; max-width:560px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; }
.hero-scroll-cue{
  position:absolute; bottom:28px; left:50%; transform:translateX(-50%);
  color:rgba(255,255,255,.55); font-size:12px; letter-spacing:.1em; text-transform:uppercase;
  display:flex; flex-direction:column; align-items:center; gap:8px;
}
.hero-scroll-cue span{ width:1px; height:34px; background:linear-gradient(var(--accent),transparent); }

.breadcrumb{ font-size:14px; color:rgba(255,255,255,.65); display:flex; gap:8px; align-items:center; margin-bottom:18px; flex-wrap:wrap;}
.breadcrumb a{ color:rgba(255,255,255,.65); }
.breadcrumb a:hover{ color:var(--white); }
.breadcrumb .sep{ opacity:.5; }
.breadcrumb .current{ color:var(--accent-light); }

/* ===================== VALUE / STATS ===================== */
.value-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.value-item{ background:var(--white); padding:34px 26px; }
.value-item .ic{
  width:48px; height:48px; border-radius:12px; background:rgba(255,122,26,.1); color:var(--accent-dark);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.value-item .ic svg{ width:24px; height:24px; }
.value-item h3{ font-size:17px; margin-bottom:8px; }
.value-item p{ font-size:14.5px; color:var(--muted); }
@media (max-width:900px){ .value-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .value-grid{ grid-template-columns:1fr; } }

/* ===================== PRODUCT CARDS ===================== */
.product-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
@media (max-width:960px){ .product-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .product-grid{ grid-template-columns:1fr; } }

.card-product{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease; display:flex; flex-direction:column;
}
.card-product:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:transparent; }
.card-product .thumb{ position:relative; aspect-ratio:4/3; overflow:hidden; background:var(--dark-2); }
.card-product .thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.card-product:hover .thumb img{ transform:scale(1.08); }
.card-product .tag{
  position:absolute; top:14px; left:14px; background:rgba(16,19,26,.75); color:var(--white);
  font-size:11.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; padding:6px 12px; border-radius:999px; backdrop-filter:blur(4px);
}
.card-product .body{ padding:22px 22px 24px; display:flex; flex-direction:column; gap:10px; flex:1; }
.card-product h3{ font-size:19px; }
.card-product p{ color:var(--muted); font-size:14.5px; flex:1; }
.card-product .link-more{
  display:inline-flex; align-items:center; gap:7px; font-weight:700; color:var(--dark); font-size:14px; margin-top:4px;
}
.card-product .link-more svg{ width:15px; height:15px; transition:transform .2s ease; color:var(--accent-dark); }
.card-product:hover .link-more svg{ transform:translateX(4px); }

/* ===================== ABOUT / SPLIT ===================== */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
@media (max-width:900px){ .split{ grid-template-columns:1fr; gap:36px; } }
.split-media{ position:relative; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-lg); }
.split-media img{ width:100%; height:100%; object-fit:cover; aspect-ratio:4/3.4; }
.split-badge{
  position:absolute; bottom:20px; left:20px; background:var(--white); border-radius:var(--radius-sm);
  padding:14px 18px; box-shadow:var(--shadow); display:flex; align-items:center; gap:12px; max-width:240px;
}
.split-badge .ic{ width:38px; height:38px; border-radius:10px; background:var(--accent); color:#1a0f04; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.split-badge .ic svg{ width:20px; height:20px; }
.split-badge strong{ display:block; font-size:14px; }
.split-badge span{ font-size:12.5px; color:var(--muted); }

.check-list{ display:flex; flex-direction:column; gap:14px; margin-top:8px; }
.check-list li{ display:flex; gap:12px; align-items:flex-start; font-size:15.5px; color:var(--text); }
.check-list li svg{ width:20px; height:20px; color:var(--accent-dark); flex-shrink:0; margin-top:2px; }

/* ===================== DARK BAND / CTA ===================== */
.band-dark{
  background:radial-gradient(ellipse at top left, #1c2130, var(--dark) 60%);
  color:var(--white); position:relative; overflow:hidden;
}
.band-dark::before{
  content:''; position:absolute; inset:0; opacity:.06; pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size:42px 42px;
}
.cta-panel{ display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; position:relative; z-index:1; }
.cta-panel h2{ font-size:clamp(24px,3.4vw,34px); max-width:520px; }
.cta-panel p{ color:rgba(255,255,255,.7); margin-top:10px; max-width:480px; }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ===================== FORM ===================== */
.form-card{ background:var(--white); border-radius:var(--radius); box-shadow:var(--shadow-lg); padding:36px; position:relative; z-index:1; }
.form-card h3{ font-size:22px; margin-bottom:6px; }
.form-card > p{ color:var(--muted); font-size:14.5px; margin-bottom:22px; }
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:13px; font-weight:700; margin-bottom:7px; color:var(--text); }
.field input, .field textarea{
  width:100%; border:1.5px solid var(--line); border-radius:10px; padding:13px 15px; font-size:15px; font-family:inherit;
  transition:border-color .15s ease, box-shadow .15s ease; background:var(--light);
}
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 4px rgba(255,122,26,.14); background:var(--white); }
.field textarea{ resize:vertical; min-height:100px; }
.form-row2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:520px){ .form-row2{ grid-template-columns:1fr; } }
.form-note{ font-size:12.5px; color:var(--muted); margin-top:12px; display:flex; gap:7px; align-items:flex-start; }
.form-note svg{ width:15px; height:15px; flex-shrink:0; margin-top:1px; }
.form-success{ display:none; background:#e9f8ee; border:1.5px solid #a9e3bb; color:#1e6b3a; padding:14px 16px; border-radius:10px; font-size:14px; font-weight:600; margin-bottom:16px; align-items:center; gap:9px; }
.form-success.show{ display:flex; }
.form-success svg{ width:18px; height:18px; flex-shrink:0; }

/* ===================== CONTACT CARDS ===================== */
.contact-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:30px 26px;
  transition:transform .2s ease, box-shadow .2s ease;
}
.contact-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.contact-card .ic{ width:50px; height:50px; border-radius:12px; background:var(--dark); color:var(--accent); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.contact-card .ic svg{ width:24px; height:24px; }
.contact-card h3{ font-size:16px; margin-bottom:6px; }
.contact-card p{ color:var(--muted); font-size:14px; margin-bottom:14px; }
.contact-card strong{ display:block; font-size:17px; margin-bottom:14px; }

/* ===================== PRODUCT DETAIL ===================== */
.product-body{ display:grid; grid-template-columns:1.5fr 1fr; gap:56px; align-items:start; }
@media (max-width:940px){ .product-body{ grid-template-columns:1fr; } }
.prose h2{ font-size:24px; margin:34px 0 14px; }
.prose h2:first-child{ margin-top:0; }
.prose p{ color:var(--muted); font-size:15.5px; margin-bottom:14px; }
.prose ul{ display:flex; flex-direction:column; gap:11px; margin:18px 0 28px; }
.prose ul li{ display:flex; gap:11px; align-items:flex-start; font-size:15px; color:var(--text); }
.prose ul li svg{ width:19px; height:19px; color:var(--accent-dark); flex-shrink:0; margin-top:2px; }

.gallery{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:14px; }
.gallery a{ display:block; border-radius:10px; overflow:hidden; aspect-ratio:1/1; position:relative; }
.gallery a:first-child{ grid-column:1/-1; aspect-ratio:16/11; }
.gallery img{ width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.gallery a:hover img{ transform:scale(1.06); }

.sidebar{ position:sticky; top:106px; display:flex; flex-direction:column; gap:22px; }
.spec-card{ background:var(--light); border-radius:var(--radius); padding:26px; border:1px solid var(--line); }
.spec-card h4{ font-size:15px; margin-bottom:16px; }
.spec-card .btn{ margin-top:6px; }
.related-list{ display:flex; flex-direction:column; gap:12px; }
.related-item{ display:flex; align-items:center; gap:12px; padding:10px; border-radius:10px; transition:background .15s ease; }
.related-item:hover{ background:var(--light); }
.related-item img{ width:52px; height:52px; border-radius:8px; object-fit:cover; flex-shrink:0; }
.related-item span{ font-size:14px; font-weight:600; }

/* lightbox */
.lightbox{ position:fixed; inset:0; background:rgba(10,12,16,.92); z-index:500; display:none; align-items:center; justify-content:center; padding:40px; }
.lightbox.open{ display:flex; }
.lightbox img{ max-width:min(92vw,1000px); max-height:86vh; border-radius:8px; object-fit:contain; }
.lightbox-close{ position:absolute; top:24px; right:28px; width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,.1); border:none; color:#fff; font-size:22px; display:flex; align-items:center; justify-content:center; }
.lightbox-close:hover{ background:rgba(255,255,255,.2); }
.lightbox-nav{ position:absolute; top:50%; transform:translateY(-50%); width:48px; height:48px; border-radius:50%; background:rgba(255,255,255,.1); border:none; color:#fff; font-size:20px; }
.lightbox-nav:hover{ background:rgba(255,255,255,.2); }
.lightbox-prev{ left:24px; } .lightbox-next{ right:24px; }

/* ===================== FOOTER ===================== */
.site-footer{ background:var(--dark); color:rgba(255,255,255,.7); padding-top:64px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:40px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.08); }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid img{ height:26px; margin-bottom:16px; }
.footer-grid p{ font-size:14px; line-height:1.7; max-width:280px; color:rgba(255,255,255,.55); }
.footer-col h4{ color:#fff; font-size:14px; margin-bottom:18px; letter-spacing:.03em; text-transform:uppercase; }
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col a{ font-size:14.5px; color:rgba(255,255,255,.62); transition:color .15s ease; }
.footer-col a:hover{ color:var(--accent); }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{ width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }
.footer-social a:hover{ background:var(--accent); color:#1a0f04; }
.footer-social svg{ width:18px; height:18px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:22px 0; font-size:13px; color:rgba(255,255,255,.45); flex-wrap:wrap; gap:10px; }

/* WhatsApp floating button */
.wa-float{
  position:fixed; bottom:24px; right:24px; z-index:300; width:60px; height:60px; border-radius:50%;
  background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 12px 30px -8px rgba(37,211,102,.6);
  transition:transform .2s ease;
}
.wa-float:hover{ transform:scale(1.08); }
.wa-float svg{ width:30px; height:30px; }
.wa-float .pulse{ position:absolute; inset:0; border-radius:50%; border:2px solid #25D366; animation:pulse 2.2s ease-out infinite; }
@keyframes pulse{ 0%{ transform:scale(1); opacity:.7; } 100%{ transform:scale(1.6); opacity:0; } }
@media (max-width:640px){ .wa-float{ width:54px; height:54px; bottom:18px; right:18px; } .wa-float svg{ width:26px; height:26px; } }

/* Scroll reveal */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

/* misc */
.tag-list{ display:flex; flex-wrap:wrap; gap:10px; }
.pill{ padding:8px 16px; border-radius:999px; background:var(--light); border:1px solid var(--line); font-size:13.5px; font-weight:600; }
hr.divider{ border:none; border-top:1px solid var(--line); margin:56px 0; }
