:root{
  /* Fundo (preto) */
  --bg:#0a0a0a;
  --bg2:#121212;

  /* Linhas/bordas */
  --stroke:rgba(255,255,255,.10);

  /* Texto */
  --text:#f5f5f5;
  --muted:rgba(245,245,245,.72);

  /* Destaque (laranja) */
  --primary:#ff8c1a;   /* laranja principal */
  --primary2:#ffb347;  /* laranja claro */

  /* Sombras */
  --shadow:0 18px 45px rgba(0,0,0,.60);
  --shadow2:0 10px 25px rgba(0,0,0,.45);

  --max:1180px;
}

*{box-sizing:border-box}
html{ scroll-behavior: smooth; } /* ✅ rolagem suave */
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,"Helvetica Neue",sans-serif;
  background:
    radial-gradient(1000px 500px at 15% -10%, rgba(255,140,26,.20), transparent 60%),
    radial-gradient(900px 450px at 85% 0%, rgba(255,179,71,.16), transparent 55%),
    linear-gradient(180deg,var(--bg) 0%,var(--bg2) 55%,#070707 100%);
  color:var(--text);
}

a{color:inherit;text-decoration:none}
.container{width:min(100% - 34px,var(--max));margin:0 auto}

/* ✅ para não “esconder” o título atrás do header ao clicar no menu */
#inicio, #sobre, #servicos { scroll-margin-top: 110px; }

/* Header */
.header{
  position:sticky;top:0;z-index:100;
  backdrop-filter:blur(12px);
  background:rgba(7,7,7,.55);
  border-bottom:1px solid var(--stroke);
}
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0}
.brand{display:flex;align-items:center;gap:12px;font-weight:900}
.brand .logo{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  box-shadow:var(--shadow2);
}
.brand .logo svg{width:22px;height:22px;fill:#140c05}
.brand .name{font-size:22px}
.brand .name b{color:var(--primary2)}

.menu{display:flex;gap:8px;align-items:center}
.menu a{
  padding:10px 14px;color:var(--muted);
  border-radius:14px;border:1px solid transparent;
}
.menu a:hover{color:var(--text);border-color:var(--stroke);background:rgba(255,255,255,.04)}
.menu a.active{
  color:var(--text);
  background:rgba(255,140,26,.12);
  border-color:rgba(255,140,26,.28);
}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 16px;border-radius:16px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.04);
  cursor:pointer;
  transition:transform .15s ease,background .15s ease,border-color .15s ease;
}
.btn:hover{transform:translateY(-1px);background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.18)}
.btn-top{
  border:0;color:#140c05;font-weight:900;
  background:linear-gradient(135deg,rgba(255,140,26,.95),rgba(255,179,71,.92));
}
.btn-primary{
  border:0;color:#140c05;font-weight:900;
  background:linear-gradient(135deg,var(--primary),var(--primary2));
}
.btn-outline{
  background:rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.18);
}

/* Hero */
.hero-wrap{
  position: relative; /* ✅ ADD */
  border-radius:24px;
  overflow:hidden;
  border:1px solid var(--stroke);
  box-shadow:var(--shadow);

  background: url("../img/caminhoes-dk.png") center / cover no-repeat !important;

  min-height: 520px;
}

.hero-wrap::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.78) 0%,
      rgba(0,0,0,.60) 45%,
      rgba(0,0,0,.35) 100%
    );
  z-index:1;
 pointer-events: none; /* ✅ ADD */
}


.hero-inner,
.features{
  position:relative;
  z-index:2;
}


.hero-inner{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:26px;
  padding:38px 34px 26px;
}
.badge{
  display:inline-flex;align-items:center;gap:10px;
  padding:10px 14px;border-radius:999px;
  border:1px solid rgba(255,140,26,.28);
  background:rgba(255,140,26,.14);
  font-weight:700;
  width:fit-content;
}
.badge .mini{
  width:28px;height:28px;border-radius:10px;
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  display:grid;place-items:center;color:#140c05;font-weight:900;
}
.h1{
  margin:16px 0 12px;
  font-size:clamp(42px,6vw,74px);
  line-height:.95;
  letter-spacing:-1.5px;
}
.h1 .accent{color:var(--primary2)}
.lead{
  margin:0 0 18px;
  font-size:22px;
  line-height:1.45;
  color:rgba(245,245,245,.86);
  max-width:640px;
}
.lead .accent{color:var(--primary2);font-weight:900}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:10px}
.hero-actions .btn{padding:16px 22px;border-radius:18px;font-size:18px;font-weight:800}
.arrow{width:18px;height:18px;display:inline-block;transform:translateY(1px)}
.hero-side{min-height:260px}

/* Cards */
.features{
  padding:18px 34px 26px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.feature{
  background:rgba(255,255,255,.06);
  border:1px solid var(--stroke);
  border-radius:18px;
  padding:16px;
  display:flex;
  gap:14px;
  align-items:flex-start;
  box-shadow:var(--shadow2);
}
.feature .ico{
  width:52px;height:52px;border-radius:16px;
  border:1px solid rgba(255,140,26,.26);
  background:rgba(255,140,26,.12);
  display:grid;place-items:center;
}
.feature .ico svg{width:22px;height:22px;fill:var(--primary2)}
.feature h4{margin:2px 0 4px;font-size:18px}
.feature p{margin:0;color:var(--muted)}

/* Sections (Sobre/Serviços) */
.section{
  padding: 26px 0 10px;
}
.section-card{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.04);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow2);
}
.section-card h2{
  margin: 0 0 12px;
  font-size: 38px;
  letter-spacing: -0.6px;
}
.section-card h3{ margin-top: 24px; }
.section-card p{ color: rgba(245,245,245,.82); line-height: 1.7; }
.section-card ul{ margin-top: 12px; padding-left: 18px; color: var(--muted); }
.section-card li{ margin: 8px 0; }

.muted{ color: var(--muted); }

/* Serviços grid */
.services-grid{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.service{
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.06);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow2);
}
.service h4{ margin: 0 0 6px; }
.service p{ margin: 0; color: var(--muted); line-height: 1.6; }

/* Footer */
.footer{border-top:1px solid var(--stroke);padding:22px 0;color:var(--muted)}
.footer .row{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.footer a{color:var(--text);opacity:.9}
.footer a:hover{opacity:1}

/* Responsive */
@media (max-width:980px){
  .menu{display:none}
  .hero-inner{grid-template-columns:1fr}
  .hero-side{display:none}
  .features{grid-template-columns:1fr;padding-top:10px}
  .services-grid{grid-template-columns:1fr}
  .section-card h2{font-size:30px}
}


/* Assistente de boas-vindas */
.assistant{
  position:fixed;
  bottom:24px;
  right:24px;
  z-index:999;
  display:flex;
  align-items:flex-end;
  gap:10px;
  animation:fadeUp .6s ease forwards;
}

.assistant.hide{
  display:none;
}

.assistant-avatar{
  width:64px;
  height:64px;
  border-radius:50%;
  background:linear-gradient(135deg,#ff8c1a,#ffb347);
  display:grid;
  place-items:center;
  font-size:30px;
  box-shadow:0 12px 30px rgba(0,0,0,.5);
  cursor:pointer;
}

.assistant-bubble{
  position:relative;
  background:#111;
  color:#f5f5f5;
  padding:14px 16px;
  border-radius:16px;
  max-width:260px;
  border:1px solid rgba(255,140,26,.35);
  box-shadow:0 10px 30px rgba(0,0,0,.6);
  font-size:14px;
  line-height:1.4;
}

.assistant-bubble strong{
  color:#ffb347;
}

.assistant-bubble::after{
  content:"";
  position:absolute;
  right:-8px;
  bottom:18px;
  width:0;
  height:0;
  border-left:8px solid #111;
  border-top:8px solid transparent;
  border-bottom:8px solid transparent;
}

.assistant-close{
  position:absolute;
  top:6px;
  right:8px;
  background:none;
  border:none;
  color:#aaa;
  cursor:pointer;
  font-size:12px;
}

.assistant-close:hover{
  color:#ff8c1a;
}

/* animação */
@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(20px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* mobile */
@media(max-width:600px){
  .assistant-bubble{
    max-width:200px;
    font-size:13px;
  }
}
