/* ==========================================================================
   PANTANAL DIESEL — PREMIUM MINIMALIST INDUSTRIAL DESIGN SYSTEM
   Refined, Clean, High-Breathing Room & Editorial Authority
   Colors: Crimson Red (#E30613), Deep Carbon (#0A0C0F),
           Studio Light (#F6F7F9), Pure White (#FFFFFF)
   ========================================================================== */

:root {
  /* Official Brand Palette */
  --red: #E30613;
  --red-dark: #B0040E;
  --red-soft: rgba(227, 6, 19, 0.08);

  /* Surfaces */
  --dark: #0A0C0F;
  --dark-card: #12151B;
  --dark-border: rgba(255, 255, 255, 0.08);

  --light: #F6F7F9;
  --white: #FFFFFF;
  --border: #E5E7EB;

  /* Text */
  --text-main: #0F1115;
  --text-muted: #5A6270;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #9BA3B2;

  /* Fonts */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Rhythm (Generous Spacing for Premium Feel) */
  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 20px 50px -12px rgba(10, 12, 15, 0.06);
  --shadow-elevated: 0 28px 60px -15px rgba(10, 12, 15, 0.12);
  --shadow-red: 0 14px 32px -8px rgba(227, 6, 19, 0.42);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.red-text {
  color: var(--red);
}

/* ==========================================================================
   TYPOGRAPHY & SECTION HEADERS (Clean, Editorial & Uncluttered)
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 4vw, 3.35rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin-bottom: 1.1rem;
}

.section-desc {
  font-size: 1.06rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
}

/* ==========================================================================
   HEADER (Minimal, Floating Blur, Zero Clutter)
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(10, 12, 15, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 2rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo__emblem {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-logo__text {
  display: flex;
  flex-direction: column;
}

.brand-logo__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.65rem;
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--white);
}

.brand-logo__sub {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.22rem;
}

.brand-logo__diesel {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--red);
  line-height: 1;
}

.brand-logo__line {
  width: 44px;
  height: 2px;
  background: var(--red);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav__link {
  color: #D0D6E2;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav__link:hover {
  color: var(--white);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.88rem 1.65rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   1. HERO SECTION (Clean, Spacious, Direct to the Point)
   ========================================================================== */

.hero {
  position: relative;
  background-color: var(--dark);
  background-image:
    radial-gradient(circle at 80% 25%, rgba(227, 6, 19, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(227, 6, 19, 0.08) 0%, transparent 40%);
  color: var(--white);
  padding: 6.5rem 0 6rem;
  overflow: hidden;
}

/* Subtle Diagonal Brand Accent in Corner */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 110px;
  height: 110px;
  background: var(--red);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: 0.9;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.95rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #D8DEE9;
  margin-bottom: 1.75rem;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 5.4vw, 4.75rem);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.hero__lead {
  font-size: 1.14rem;
  color: var(--text-on-dark-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__lead strong {
  color: var(--white);
  font-weight: 600;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--dark-border);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: #D0D6E2;
  font-weight: 500;
}

.trust-item svg {
  color: var(--red);
  flex-shrink: 0;
}

/* Right Side Hero Card: Quick WhatsApp Search / Consultation */
.quick-consult-card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.65);
}

.quick-consult-card__tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  display: block;
  margin-bottom: 0.5rem;
}

.quick-consult-card__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.quick-consult-card__desc {
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 1.75rem;
}

.consult-form {
  display: grid;
  gap: 1.1rem;
}

.consult-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #CBD2DF;
  margin-bottom: 0.4rem;
}

.consult-field select,
.consult-field input {
  width: 100%;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.consult-field select:focus,
.consult-field input:focus {
  border-color: var(--red);
}

.consult-note {
  margin-top: 1.15rem;
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
  text-align: center;
}

/* ==========================================================================
   2. CLEAN BRANDS BAR (Official Engine & Component Brands)
   ========================================================================== */

.brands-bar {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 2.25rem 0;
}

.brands-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.brands-bar__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.brands-bar__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.brands-bar__item {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: #2A303C;
  text-transform: uppercase;
  transition: var(--transition);
}

.brands-bar__item:hover {
  color: var(--red);
}

/* ==========================================================================
   3. WHAT WE DO — 4 ESSENTIAL SOLUTIONS (Clean Studio Cards)
   ========================================================================== */

.solutions-section {
  padding: 7rem 0;
  background: var(--white);
}

.section-header {
  margin-bottom: 3.75rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.solution-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Subtle Red Diagonal Corner from @pantanaldiesel67 templates */
.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  background: var(--red);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.solution-card:hover {
  background: var(--white);
  border-color: var(--red);
  box-shadow: var(--shadow-elevated);
  transform: translateY(-4px);
}

.solution-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.solution-card__title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 0.85rem;
}

.solution-card__text {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.solution-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.solution-card__tags span {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-main);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.28rem 0.7rem;
  border-radius: 6px;
}

/* ==========================================================================
   4. ABOUT THE COMPANY & ESSENCE ("A gente vê o motor inteiro")
   ========================================================================== */

.about-section {
  padding: 7rem 0;
  background: var(--dark);
  color: var(--white);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-quote-box {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-md);
  padding: 2.75rem;
}

.about-quote {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.about-quote-desc {
  color: var(--text-on-dark-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--dark-border);
}

.stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-box span {
  font-size: 0.82rem;
  color: #CBD2DF;
}

.differentials-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.diff-item__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(227, 6, 19, 0.16);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.diff-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.diff-item p {
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   5. ESSENTIAL FAQ (Compact, Clean & Rich Snippet Ready)
   ========================================================================== */

.faq-section {
  padding: 6.5rem 0;
  background: var(--light);
  border-bottom: 1px solid var(--border);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 2.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  padding: 1.35rem 1.75rem;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  color: var(--red);
  font-weight: 800;
  font-size: 1.25rem;
  transition: var(--transition);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.75rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   6. WHATSAPP QUOTE & LOCATION SECTION (High Conversion, Premium Layout)
   ========================================================================== */

.contact-section {
  padding: 7rem 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 4rem;
  align-items: start;
}

.location-info {
  padding-top: 0.5rem;
}

.info-cards {
  display: grid;
  gap: 1.25rem;
  margin: 2.25rem 0;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.info-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.info-card span,
.info-card a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.quote-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-soft);
}

.quote-card__title {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.quote-form {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}

/* ==========================================================================
   FOOTER (Minimalist & Clean)
   ========================================================================== */

.footer {
  background: var(--dark);
  color: var(--text-on-dark-muted);
  padding: 3.5rem 0 2.5rem;
  border-top: 3px solid var(--red);
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--dark-border);
}

.footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 1.75rem;
  bottom: 1.75rem;
  z-index: 99;
  background: var(--red);
  color: var(--white);
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-red);
}

.whatsapp-float:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 980px) {
  .hero__grid,
  .solutions-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero {
    padding: 4.5rem 0;
  }

  .solutions-section,
  .about-section,
  .contact-section {
    padding: 5rem 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.35rem;
  }

  .nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 2px solid var(--red);
    align-items: flex-start;
    gap: 1.25rem;
  }

  .nav.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .form-row,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .quote-card,
  .quick-consult-card,
  .solution-card {
    padding: 1.85rem;
  }
}
