/* =========================================================
   RF Logística • Template (Bootstrap 5)
   Arquivo: assets/css/style.css
   ========================================================= */

:root{
  --brand-blue: #0b3a7a;
  --brand-blue-2: #0a2f63;
  --brand-red: #d11b2b;
  --brand-ink: #0f172a;
  --brand-muted: #64748b;
  --surface: #ffffff;
  --surface-2: #f6f8fc;
  --border: rgba(15, 23, 42, .12);
  --shadow: 0 12px 30px rgba(2, 8, 23, .12);
  --radius: 18px;
}

html, body{
  height: 100%;
}

body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Helvetica Neue", "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--brand-ink);
}

/* Topbar */
.topbar{
  background: linear-gradient(90deg, var(--brand-blue-2), var(--brand-blue));
  color: rgba(255,255,255,.92);
  font-size: .95rem;
}
.topbar i{
  color: rgba(255,255,255,.9);
}
.topbar-link{
  color: rgba(255,255,255,.92);
  text-decoration: none;
}
.topbar-link:hover{
  color: #fff;
  text-decoration: underline;
}
.topbar-sep{
  opacity: .7;
}

/* Navbar / Brand */
.brand-logo{
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-title{
  font-weight: 800;
  letter-spacing: .5px;
}
.brand-subtitle{
  font-size: .85rem;
  color: var(--brand-muted);
  font-weight: 600;
}

.site-header .navbar{
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.site-header .nav-link{
  font-weight: 600;
  color: rgba(15,23,42,.78);
}
.site-header .nav-link:hover{
  color: rgba(15,23,42,1);
}

.header-wave{
  height: 24px;
  overflow: hidden;
  background: #fff;
}
.header-wave svg{
  display: block;
  width: 100%;
  height: 100%;
}
.header-wave path{
  fill: var(--brand-blue);
}

/* Buttons */
.btn-brand{
  background: linear-gradient(90deg, var(--brand-red), #ff2a3f);
  border: none;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(209, 27, 43, .22);
}
.btn-brand:hover{
  filter: brightness(.98);
  color: #fff;
}
.btn-outline-brand{
  border: 1.5px solid rgba(11, 58, 122, .35);
  color: var(--brand-blue);
  font-weight: 700;
}
.btn-outline-brand:hover{
  background: rgba(11, 58, 122, .06);
  color: var(--brand-blue);
}

/* Hero */
.hero{
  position: relative;
  padding: 4.2rem 0 3.2rem;
  background:
    radial-gradient(1200px 500px at 20% 20%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(130deg, var(--brand-blue-2), var(--brand-blue));
  overflow: hidden;
}
.text-white-75{
  color: rgba(255,255,255,.80) !important;
}
.text-brand-accent{
  color: #ffd1d6;
}

.hero-kicker{
  font-size: .92rem;
  color: rgba(255,255,255,.85);
  padding: .35rem .75rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
}
.hero-kicker .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-red);
  box-shadow: 0 0 0 6px rgba(209, 27, 43, .16);
}

.hero-badges{
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.badge-item{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
  font-weight: 600;
  font-size: .92rem;
}
.badge-item i{
  color: rgba(255,255,255,.95);
}

.hero-card{
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.hero-image-wrap{
  background: rgba(0,0,0,.2);
}
.hero-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-card-footer{
  padding: .85rem 1rem;
  background: linear-gradient(90deg, rgba(209,27,43,.85), rgba(11,58,122,.85));
  color: #fff;
  font-weight: 700;
}
.hero-card-footer i{
  opacity: .95;
}

.hero-blob{
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: .22;
  pointer-events: none;
}
.hero-blob-1{
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, #ff8a95, transparent 55%);
  top: -220px;
  left: -160px;
}
.hero-blob-2{
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, #a5c8ff, transparent 55%);
  bottom: -260px;
  right: -240px;
}

/* Sections */
.section{
  padding: 4.2rem 0;
}
.section-alt{
  background: var(--surface-2);
}
.section-eyebrow{
  color: var(--brand-red);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: .5rem;
}
.section-title{
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.section-text{
  color: rgba(15,23,42,.78);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Mini cards (about) */
.mini-card{
  display: flex;
  gap: .75rem;
  padding: 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(2,8,23,.05);
  height: 100%;
}
.mini-card i{
  font-size: 1.4rem;
  color: var(--brand-blue);
}
.mini-title{
  font-weight: 800;
}
.mini-text{
  color: rgba(15,23,42,.72);
  font-size: .95rem;
}

/* About card */
.about-card{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(2,8,23,.06);
}
.about-card-header{
  padding: 1.2rem 1.2rem .9rem;
  background: linear-gradient(180deg, rgba(11,58,122,.06), transparent);
}
.about-card-body{
  padding: 1.1rem 1.2rem 1.2rem;
}
.about-list{
  display: grid;
  gap: .85rem;
}
.about-list-item{
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.about-list-item i{
  font-size: 1.25rem;
  color: var(--brand-red);
  margin-top: .1rem;
}

/* Services */
.service-card{
  padding: 1.4rem 1.4rem 1.2rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(2,8,23,.06);
}
.service-icon{
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .85rem;
  background: rgba(11,58,122,.08);
  border: 1px solid rgba(11,58,122,.12);
}
.service-icon i{
  font-size: 1.45rem;
  color: var(--brand-blue);
}
.list-checked{
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: .55rem;
  color: rgba(15,23,42,.78);
}
.list-checked li{
  position: relative;
  padding-left: 1.55rem;
}
.list-checked li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-red);
  font-weight: 900;
}

.service-strip{
  padding: 1.25rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(209,27,43,.08), rgba(11,58,122,.08));
  border: 1px solid var(--border);
}
.service-strip-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
}
.service-strip-icon i{
  color: var(--brand-red);
  font-size: 1.25rem;
}

/* Fleet */
.fleet-image-card{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(2,8,23,.10);
}
.fleet-image-card img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.fleet-image-badge{
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: .65rem .85rem;
  border-radius: 999px;
  background: rgba(15,23,42,.78);
  color: #fff;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}

.stat-card{
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 10px 22px rgba(2,8,23,.05);
  height: 100%;
}
.stat-number{
  font-weight: 900;
  color: var(--brand-blue);
  letter-spacing: -.02em;
}
.stat-label{
  color: rgba(15,23,42,.72);
  font-size: .95rem;
}

/* Features */
.feature-card{
  padding: 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(2,8,23,.06);
}
.feature-card i{
  font-size: 1.6rem;
  color: var(--brand-blue);
  display: inline-block;
  margin-bottom: .6rem;
}

/* Contact */
.contact-cards{
  display: grid;
  gap: .75rem;
}
.contact-card{
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .95rem 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 22px rgba(2,8,23,.05);
}
.contact-card:hover{
  background: rgba(11,58,122,.03);
}
.contact-icon{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(209,27,43,.10);
  border: 1px solid rgba(209,27,43,.16);
}
.contact-icon i{
  font-size: 1.25rem;
  color: var(--brand-red);
}
.contact-label{
  color: rgba(15,23,42,.68);
  font-size: .92rem;
  font-weight: 700;
}
.contact-value{
  font-weight: 900;
}

.contact-form-card{
  padding: 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 16px 40px rgba(2,8,23,.07);
}
.form-hint{
  color: rgba(15,23,42,.62);
  font-size: .92rem;
}

/* CTA strip */
.cta-strip{
  padding: 0 0 4.2rem;
  background: var(--surface);
}
.cta-strip-inner{
  padding: 1.7rem 1.6rem;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
  color: #fff;
  box-shadow: 0 18px 40px rgba(2,8,23,.14);
  border: 1px solid rgba(255,255,255,.18);
}
.cta-title{
  font-weight: 900;
  font-size: 1.35rem;
}
.cta-subtitle{
  color: rgba(255,255,255,.85);
}

/* Footer */
.footer{
  padding: 3rem 0 2.2rem;
  background: #0b1220;
  color: rgba(255,255,255,.86);
}
.footer-logo{
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 6px;
}
.footer-brand{
  font-weight: 900;
  letter-spacing: .5px;
}
.footer-sub{
  font-size: .92rem;
  color: rgba(255,255,255,.72);
  font-weight: 700;
}
.footer-title{
  font-weight: 900;
  margin-bottom: .6rem;
}
.footer-links{
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: .55rem;
}
.footer-links a{
  color: rgba(255,255,255,.78);
  text-decoration: none;
}
.footer-links a:hover{
  color: #fff;
  text-decoration: underline;
}
.footer-social{
  color: rgba(255,255,255,.88);
  font-size: 1.25rem;
  text-decoration: none;
}
.footer-social:hover{
  color: #fff;
}

/* Floating WhatsApp */
.whatsapp-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(2,8,23,.22);
  z-index: 1030;
}
.whatsapp-float i{
  font-size: 1.65rem;
}
.whatsapp-float:hover{
  filter: brightness(.98);
  color: #fff;
}

/* Responsive tweaks */
@media (max-width: 991.98px){
  .brand-subtitle{ display: none; }
  .hero{ padding: 3.4rem 0 2.8rem; }
  .fleet-image-card img{ height: 320px; }
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; }
}
