/* =========================================================
   TransTK (TK Transportes) — Landing (estilo "Floot")
   Arquivo único de CSS (sem dependências)
   ========================================================= */

:root{
  --accent:#f26a21;
  --accent2:#ff7e2f;
  --bg:#ffffff;
  --ink:#0d0f14;
  --muted:#6b7280;
  --dark:#111214;
  --dark2:#1a1b1f;
  --wa:#25D366;

  --radius:18px;
  --radius-lg:22px;
  --shadow:0 14px 40px rgba(0,0,0,.12);
  --shadow-soft:0 10px 24px rgba(0,0,0,.08);

  --container:1200px;
  --topbar-h:76px;
}

*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.55;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; }

.container{
  width:min(var(--container), calc(100% - 48px));
  margin-inline:auto;
}

/* Skip link */
.skip{
  position:absolute;
  left:-999px;
  top:12px;
  background:#fff;
  color:#000;
  padding:10px 12px;
  border-radius:10px;
  z-index:9999;
  box-shadow:var(--shadow-soft);
}
.skip:focus{ left:12px; }

/* Topbar */
.topbar{
  position:sticky;
  top:0;
  z-index:999;
  background:#fff;
  box-shadow:0 1px 0 rgba(0,0,0,.08);
}
.topbar__inner{
  height:var(--topbar-h);
  display:flex;
  align-items:center;
  gap:18px;
}
.topbar__bar{ height:0; background:var(--dark); }

.brand{ display:flex; align-items:center; margin-top: -10px; }
.brand__logo{ height: 200px; width: auto; }

.nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:26px;
}
.nav a{
  font-weight:600;
  color:#222;
  opacity:.95;
}
.nav a:hover{ color:var(--accent); }

.navbtn{
  display:none;
  margin-left:auto;
  width:44px;
  height:44px;
  border:0;
  border-radius:12px;
  background:#f3f4f6;
  cursor:pointer;
}
.navbtn span{
  display:block;
  width:18px;
  height:2px;
  background:#111;
  margin:4px auto;
  border-radius:2px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:12px;
  font-weight:800;
  letter-spacing:.2px;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}
.btn:active{ transform:translateY(1px); }

.btn--nav{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
  box-shadow:0 10px 24px rgba(242,106,33,.25);
}
.btn--nav:hover{ background:var(--accent2); border-color:var(--accent2); }

.btn--primary{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
  box-shadow:0 12px 28px rgba(242,106,33,.28);
}
.btn--primary:hover{ background:var(--accent2); border-color:var(--accent2); }

.btn--outline{
  background:transparent;
  color:#fff;
  border-color:rgba(255,255,255,.55);
}
.btn--outline:hover{ border-color:#fff; }

.btn--wa{
  background:var(--wa);
  color:#fff;
  border-color:var(--wa);
  width:100%;
  padding:14px 18px;
  box-shadow:0 14px 40px rgba(0,200,83,.25);
}
.btn--wa:hover{ filter:brightness(1.05); }

/* Sections scroll offset */
section{ scroll-margin-top: calc(var(--topbar-h) + 18px); }

/* HERO */
.hero{
  position:relative;
  min-height:72vh;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero__bg{
  position:absolute;
  inset:0;
  background-image:url("assets/images/back_1_ok.jpg");
  background-size:cover;
  background-position:center;
  transform:scale(1.4);
}
.hero__shade{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.48) 45%, rgba(0,0,0,.25) 100%);
}
.hero__inner{ position:relative; padding:72px 0; }
.hero__copy{ max-width:720px; }
.hero h1{
  margin:0 0 14px;
  font-size: clamp(38px, 5vw, 64px);
  line-height:1.05;
  color:#fff;
  text-shadow:0 10px 30px rgba(0,0,0,.35);
}
.hero p{
  margin:0 0 22px;
  font-size: clamp(16px, 1.5vw, 20px);
  color:rgba(255,255,255,.9);
  max-width:560px;
}
.hero__actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* Generic section */
.section{ padding:84px 0; }
.section--dark{
  background:var(--dark);
  color:#fff;
}

.section__head{ margin-bottom:34px; }
.section__head--center{ text-align:center; }

.section__head h2{
  margin:0;
  font-size:42px;
  letter-spacing:.2px;
}
.section__head p{ margin:10px 0 0; color:var(--muted); }
.section--dark .section__head p{ color:rgba(255,255,255,.7); }

.underline{
  display:inline-block;
  width:54px;
  height:4px;
  border-radius:999px;
  background:var(--accent);
  margin-top:12px;
}

/* ABOUT */
.about{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:54px;
  align-items:center;
}

.title{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:18px;
}
.title__line{ width:38px; height:3px; background:var(--accent); border-radius:999px; }

.about h2{
  margin:0;
  font-size:44px;
}
.about p{ margin:0 0 16px; color:#4b5563; font-size:17px; }

.about__stats{
  margin-top:22px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.stat{
  background:#f8fafc;
  border-left:4px solid var(--accent);
  border-radius:14px;
  padding:14px 14px;
  font-weight:800;
  color:#111;
  box-shadow:0 6px 18px rgba(0,0,0,.04);
  display:flex;
  align-items:center;
  gap:10px;
}
.stat__dot{ width:8px; height:8px; background:var(--accent); border-radius:999px; }

.about__photoWrap{
  position:relative;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow);
}
.about__photoWrap::after{
  content:"";
  position:absolute;
  inset:-18px -18px auto auto;
  width:88px;
  height:88px;
  border-radius:22px;
  background:rgba(242,106,33,.12);
}

/* SERVICES */
.serviceGrid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:18px;
}

.serviceCard{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:0 12px 32px rgba(0,0,0,.22);
}
.serviceCard__icon{
  width:56px;
  height:56px;
  border-radius:14px;
  background:rgba(242,106,33,.15);
  color:var(--accent);
  display:grid;
  place-items:center;
  margin-bottom:14px;
}
.serviceCard__icon svg{ width:28px; height:28px; }
.serviceCard h3{ margin:0 0 8px; font-size:18px; }
.serviceCard p{ margin:0; color:rgba(255,255,255,.72); font-size:14px; }

/* Fleet */
.fleetGrid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}

.fleetItem{
  border:0;
  padding:0;
  background:transparent;
  border-radius:var(--radius-lg);
  overflow:hidden;
  cursor:pointer;
  box-shadow:var(--shadow-soft);
}
.fleetItem img{
  width:100%;
  aspect-ratio: 14/10;
  object-fit:cover;
  transition:transform .2s ease;
}
.fleetItem:hover img{ transform:scale(1.03); }

/* Contact band */
.contactBand{
  background:linear-gradient(90deg, #f26a21 0%, #d85c1f 55%, #c4541c 100%);
  padding:78px 0;
  color:#fff;
}

.contact{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:34px;
  align-items:start;
}

.contact__left h2{
  margin:0 0 10px;
  font-size:54px;
  line-height:1.05;
}
.contact__left p{ margin:0 0 22px; font-size:18px; color:rgba(255,255,255,.92); max-width:560px; }

.contact__list{ display:grid; gap:16px; margin-top:18px; }
.contactRow{ display:flex; gap:14px; align-items:flex-start; }

.contactRow__ico{
  width:46px;
  height:46px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  display:grid;
  place-items:center;
  flex:0 0 auto;
}
.contactRow__ico svg{ width:22px; height:22px; color:#fff; }

.contactRow__k{ font-size:12px; letter-spacing:.8px; opacity:.85; font-weight:900; }
.contactRow__v{ font-size:18px; font-weight:900; margin-top:2px; }
.contactRow__v a{ color:#fff; text-decoration:none; }
.contactRow__v a:hover{ text-decoration:underline; }

.contactCard{
  background:#fff;
  color:var(--ink);
  border-radius:var(--radius-lg);
  padding:34px 32px;
  box-shadow:var(--shadow);
}
.contactCard h3{ margin:0 0 8px; font-size:32px; }
.contactCard p{ margin:0 0 18px; color:#4b5563; }

/* Footer */
.footer{
  background:var(--dark);
  color:#fff;
  padding:54px 0 24px;
}

.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap:34px;
  align-items:start;
}

.footer__logoWrap{
  width:160px;
  background:#fff;
  border-radius:14px;
  padding:14px 16px;
  box-shadow:0 10px 26px rgba(0,0,0,.25);
}

.footer h4{ margin:0 0 12px; font-size:18px; }
.footer a{ display:block; padding:6px 0; color:rgba(255,255,255,.82); }
.footer a:hover{ color:#fff; }

.muted{ color:rgba(255,255,255,.72); }

.socialBtns{ display:flex; gap:12px; }
.socialBtn{
  width:38px;
  height:38px;
  border-radius:999px;
  background:rgba(255,255,255,.1);
  display:grid;
  /*place-items:center;*/
  text-align: center;
  color:#fff;
  border:1px solid rgba(255,255,255,.14);
}
.socialBtn svg{ width:22px; height:22px; }

.footer__bottom{ margin-top:32px; padding-top:20px; border-top:1px solid rgba(255,255,255,.08); }
.footer__bottom p{ margin:0; text-align:center; }

/* Floating WA */
.floatwa{
  position:fixed;
  right:22px;
  bottom:22px;
  width:62px;
  height:62px;
  border-radius:999px;
  background:var(--wa);
  color:#fff;
  display:grid;
  place-items:center;
  box-shadow:0 18px 50px rgba(0,0,0,.28);
  z-index:999;
}
.floatwa svg{ width:28px; height:28px; }

.floatwa:hover{ transform: translateY(-1px); filter: brightness(1.03); }

/* Lightbox (dialog) */
.lightbox{
  border:0;
  padding:0;
  border-radius:18px;
  width:min(1000px, calc(100% - 28px));
  background:transparent;
}
.lightbox::backdrop{ background:rgba(0,0,0,.7); }
.lightbox img{
  width:100%;
  height:auto;
  display:block;
  border-radius:18px;
  box-shadow:var(--shadow);
  background:#000;
}
.lightbox__close{
  position:absolute;
  top:-12px;
  right:-12px;
  width:42px;
  height:42px;
  border-radius:999px;
  border:0;
  background:#fff;
  box-shadow:0 12px 30px rgba(0,0,0,.25);
  cursor:pointer;
  font-size:22px;
  font-weight:900;
}

/* Partners */
.partnersGrid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
  align-items:center;
}

.partnerCard{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  padding:18px 16px;
  min-height:98px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}

.partnerCard img{
  max-height:48px;
  width:auto;
  max-width:100%;
  opacity:.95;
  filter: none;
}

.partnerCard:hover img{
  opacity:1;
}

/* Responsive */
@media (max-width: 1040px){
  .serviceGrid{ grid-template-columns: repeat(2, 1fr); }
  .fleetGrid{ grid-template-columns: repeat(2, 1fr); }
  .about{ grid-template-columns:1fr; }
  .contact{ grid-template-columns:1fr; }
  .contactCard{ max-width:680px; }
  .partnersGrid{ grid-template-columns: repeat(2, 1fr); }

}

@media (max-width: 820px){
  :root{ --topbar-h:70px; }
  .brand__logo{ height:170px; }

  .navbtn{ display:block; }
  .nav{
    position:fixed;
    top:calc(var(--topbar-h) + 10px);
    right:16px;
    left:16px;
    background:#fff;
    border-radius:16px;
    box-shadow:var(--shadow);
    padding:14px;
    display:none;
    flex-direction:column;
    gap:10px;
    align-items:stretch;
  }
  .nav.nav--open{ display:flex; }
  .nav a{ padding:10px 10px; }
  .btn--nav{ width:100%; }

  .section{ padding:70px 0; }
  .section__head h2{ font-size:36px; }
  .about h2{ font-size:40px; }
  .contact__left h2{ font-size:44px; }
}

@media (max-width: 560px){
  .container{ width:min(var(--container), calc(100% - 34px)); }
  .hero__inner{ padding:62px 0; }
  .serviceGrid{ grid-template-columns:1fr; }
  .fleetGrid{ grid-template-columns:1fr; }
  .about__stats{ grid-template-columns:1fr; }
  .contact__left h2{ font-size:40px; }
  .contactCard h3{ font-size:26px; }
  .footer__grid{ grid-template-columns:1fr; }
  .footer__bottom p{ font-size:13px; }
  .partnersGrid{ grid-template-columns: 1fr; }

}
