/* ==========================================================
   FORTE DIESEL — Landing Page Design System
   Colors: #F5A623 (brand amber), #1A1A1A (dark), #FFFFFF
   ========================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0c0c0c;
  color: #e8e8ed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
img { max-width: 100%; display: block; }

/* ---------- Variables ---------- */
:root {
  --amber: #F5A623;
  --amber-dark: #D4900E;
  --amber-light: #FFC857;
  --amber-glow: rgba(245, 166, 35, 0.25);
  --amber-soft: rgba(245, 166, 35, 0.08);
  --dark: #0c0c0c;
  --dark-card: #141414;
  --dark-elevated: #1a1a1a;
  --dark-hover: #222222;
  --border: #2a2a2a;
  --border-light: #333333;
  --text: #e8e8ed;
  --text-secondary: #9a9aa0;
  --text-muted: #666670;
  --white: #ffffff;
  --green-whatsapp: #25D366;
  --green-whatsapp-dark: #1EBE5A;
  /* Cor amostrada da faixa superior do logo (PNG) */
  --nav-logo-bar: #fca209;
  --nav-logo-bar-dark: #d48908;
  --nav-text-on-bar: #0a0a0a;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
  --shadow-amber: 0 4px 30px rgba(245, 166, 35, 0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   WHATSAPP FLOAT BUTTON
   ========================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-whatsapp);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: floatPulse 2.5s ease-in-out infinite;
}
.whatsapp-float svg { width: 24px; height: 24px; flex-shrink: 0; }
.whatsapp-float:hover {
  background: var(--green-whatsapp-dark);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* ==========================================================
   NAVBAR
   ========================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  transition: padding var(--transition), box-shadow var(--transition);
  /* Mesma família de cor da barra do logo (amostrada do PNG) */
  background: var(--nav-logo-bar);
  border-bottom: 1px solid var(--nav-logo-bar-dark);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}
.navbar.scrolled {
  background: var(--nav-logo-bar);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  border-bottom-color: var(--nav-logo-bar-dark);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; }
.nav-logo {
  height: auto;
  max-height: 48px;
  width: auto;
  max-width: min(240px, 52vw);
  object-fit: contain;
  object-position: left center;
  transition: var(--transition);
}
.navbar.scrolled .nav-logo {
  max-height: 40px;
  max-width: min(210px, 48vw);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nav-text-on-bar);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover {
  color: var(--nav-text-on-bar);
  background: rgba(0, 0, 0, 0.1);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--green-whatsapp);
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 50px;
  margin-left: 8px;
  transition: var(--transition);
}
.nav-cta:hover {
  background: var(--green-whatsapp-dark);
  transform: translateY(-1px);
}

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--nav-text-on-bar); border-radius: 2px; transition: var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-5px); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--nav-logo-bar);
    backdrop-filter: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 28px 40px;
    gap: 4px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--nav-logo-bar-dark);
  }
  .nav-links.open { right: 0; }
  .nav-link { width: 100%; font-size: 1rem; padding: 14px 16px; }
  .nav-cta { margin-left: 0; margin-top: 16px; width: 100%; justify-content: center; }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(1.1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 12, 0.3) 0%,
    rgba(12, 12, 12, 0.1) 40%,
    rgba(12, 12, 12, 0.7) 85%,
    rgba(12, 12, 12, 1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 0 80px;
}
.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--amber-soft);
  border: 1px solid rgba(245, 166, 35, 0.2);
  color: var(--amber);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease-out both;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease-out 0.1s both;
}
.hero-highlight {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: fadeInDown 0.8s ease-out 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInDown 0.8s ease-out 0.3s both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--green-whatsapp);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}
.btn-primary:hover {
  background: var(--green-whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: var(--amber-soft);
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  animation: fadeInDown 0.8s ease-out 0.5s both;
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1.1;
}
.stat-pct { font-size: 1.5rem; }
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 1px;
  animation: fadeIn 1.5s ease-out 1s both;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ==========================================================
   SECTIONS BASE
   ========================================================== */
.section {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: var(--amber-soft);
  border: 1px solid rgba(245, 166, 35, 0.15);
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ==========================================================
   ABOUT SECTION
   ========================================================== */
.section-about { background: var(--dark); }
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.about-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
}
.about-card:hover {
  border-color: rgba(245, 166, 35, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-amber);
}
.about-card-main {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.08) 0%, rgba(245, 166, 35, 0.02) 100%);
  border-color: rgba(245, 166, 35, 0.2);
}
.about-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--amber-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.about-icon svg { width: 26px; height: 26px; color: var(--amber); }
.about-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.about-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   SERVICES SECTION
   ========================================================== */
.section-services {
  background: var(--dark-card);
}
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.services-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.services-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.services-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(12, 12, 12, 0.85);
  backdrop-filter: blur(12px);
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--amber);
  border: 1px solid rgba(245, 166, 35, 0.2);
}
.services-image-badge svg { color: var(--amber); }
.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.service-item:first-child { padding-top: 0; }
.service-item:hover { padding-left: 12px; }
.service-number {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(245, 166, 35, 0.2);
  line-height: 1;
  min-width: 56px;
  transition: var(--transition);
}
.service-item:hover .service-number { color: var(--amber); }
.service-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.service-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.services-cta { margin-top: 32px; align-self: flex-start; }

@media (max-width: 768px) {
  .services-layout { grid-template-columns: 1fr; gap: 40px; }
  .services-image { aspect-ratio: 16/9; }
}

/* ==========================================================
   SEGMENTS SECTION
   ========================================================== */
.section-segments { background: var(--dark); }
.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.segment-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}
.segment-card:hover {
  border-color: rgba(245, 166, 35, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-amber);
}
.segment-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}
.segment-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.segment-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .segments-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .segments-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   BRAND SECTION
   ========================================================== */
.section-brand {
  background: var(--dark-card);
}
.brand-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.brand-text .section-title { text-align: left; }
.brand-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin: 24px 0 32px;
  line-height: 1.7;
}
.brand-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.brand-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.brand-image:hover img { transform: scale(1.03); }

@media (max-width: 768px) {
  .brand-content { grid-template-columns: 1fr; gap: 40px; }
  .brand-text .section-title { text-align: center; }
  .brand-text p { text-align: center; }
  .brand-text { display: flex; flex-direction: column; align-items: center; }
}

/* ==========================================================
   COVERAGE SECTION
   ========================================================== */
.section-coverage { background: var(--dark); }
.coverage-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.coverage-text .section-title { text-align: left; margin-bottom: 20px; }
.coverage-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}
.coverage-features { display: flex; flex-direction: column; gap: 14px; }
.coverage-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}
.coverage-feature svg {
  width: 20px;
  height: 20px;
  color: var(--amber);
  flex-shrink: 0;
}
.coverage-map {
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-wrapper {
  position: relative;
  width: 100%;
  max-width: 360px;
}
.brazil-svg { width: 100%; height: auto; }
.brazil-path {
  fill: var(--amber-soft);
  stroke: var(--amber);
  stroke-width: 2;
  transition: var(--transition);
}
.map-pin {
  fill: var(--green-whatsapp);
  animation: mapPinPulse 2s ease-in-out infinite;
}
.map-label {
  fill: var(--amber);
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

@keyframes mapPinPulse {
  0%, 100% { r: 8; opacity: 1; }
  50% { r: 12; opacity: 0.7; }
}

@media (max-width: 768px) {
  .coverage-content { grid-template-columns: 1fr; gap: 40px; }
  .coverage-text .section-title { text-align: center; }
  .coverage-text p { text-align: center; }
  .coverage-text { display: flex; flex-direction: column; align-items: center; }
  .coverage-features { align-items: center; }
}

/* ==========================================================
   CTA SECTION
   ========================================================== */
.section-cta {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.06) 0%, rgba(245, 166, 35, 0.02) 100%);
  border-top: 1px solid rgba(245, 166, 35, 0.1);
  border-bottom: 1px solid rgba(245, 166, 35, 0.1);
}
.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}
.btn-cta-final {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px;
  background: var(--green-whatsapp);
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.35);
  animation: ctaPulse 3s ease-in-out infinite;
}
.btn-cta-final:hover {
  background: var(--green-whatsapp-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.5);
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.35), 0 0 0 8px rgba(37, 211, 102, 0.08); }
}

.cta-contact-info {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.cta-contact-info span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--dark-card);
  border-top: 1px solid var(--border);
  padding-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo {
  height: auto;
  max-height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 300px;
}
.footer-links h4, .footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--amber); padding-left: 6px; }
.footer-contact p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 3px 0;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .footer-brand p { max-width: none; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
}

/* ==========================================================
   RESPONSIVE TWEAKS
   ========================================================== */
@media (max-width: 768px) {
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .stat-number { font-size: 2rem; }
  .section { padding: 70px 0; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 16px; border-radius: 50%; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 20px; }
  .cta-contact-info { flex-direction: column; gap: 12px; }
}
