/* ==========================================================================
   DA MATA LOGÍSTICA - EXECUTIVE DESIGN SYSTEM & STYLESHEET
   Brand Colors:
   - Primary Green: #2E7D32
   - Highlight Green: #43A047
   - Dark Green: #1B5E20
   - Accent Green (neon): #66BB6A
   - White: #FFFFFF
   - Ice White: #F5F5F5
   - Graphite (near-black): #0D0D0D
   - Gray: #686868
   ========================================================================== */

:root {
  --red-main: #2E7D32;
  --red-highlight: #43A047;
  --red-dark: #1B5E20;
  --white: #FFFFFF;
  --ice-white: #F8F9FA;
  --ice-white-alt: #F1F5F2;
  --graphite: #0D0D0D;
  --graphite-card: #141814;
  --graphite-light: #1C221C;
  --gray-600: #686868;
  --gray-400: #9CA3AF;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;

  /* Gradients */
  --gradient-red: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
  --gradient-red-bright: linear-gradient(135deg, #43A047 0%, #2E7D32 100%);
  --gradient-dark: linear-gradient(135deg, #0D0D0D 0%, #1C221C 100%);
  --gradient-hero-overlay: linear-gradient(180deg, rgba(13, 13, 13, 0.88) 0%, rgba(13, 13, 13, 0.72) 50%, rgba(13, 13, 13, 0.96) 100%);

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 32px rgba(46, 125, 50, 0.18);
  --shadow-dark: 0 12px 36px rgba(0, 0, 0, 0.5);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--graphite);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--graphite);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

@media (min-width: 992px) {
  .section-padding {
    padding: 7rem 0;
  }
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(46, 125, 50, 0.08);
  color: var(--red-main);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid rgba(46, 125, 50, 0.15);
}

.section-tag.light {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.section-title {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.875rem;
  }
}

.section-subtitle {
  color: var(--gray-600);
  font-size: 1.125rem;
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

.section-subtitle.left {
  margin-left: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--gradient-red-bright);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(67, 160, 71, 0.35);
}

.btn-primary:hover {
  background: var(--red-main);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--graphite);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--red-main);
  border: 2px solid var(--red-main);
}

.btn-outline:hover {
  background: var(--red-main);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.0625rem;
}

/* Header & Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 1.25rem 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.625rem;
  color: var(--white);
  letter-spacing: -0.03em;
}

.header.scrolled .logo {
  color: var(--graphite);
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-red-bright);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(67, 160, 71, 0.4);
}

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

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 0.5rem 0;
}

.header.scrolled .nav-link {
  color: var(--graphite);
}

.nav-link:hover,
.nav-link.active {
  color: var(--red-highlight);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--red-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--red-highlight);
  transition: var(--transition);
  border-radius: var(--radius-full);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
}

.header.scrolled .mobile-toggle {
  color: var(--graphite);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem 0;
  background-color: var(--graphite);
  background-image: var(--gradient-hero-overlay), radial-gradient(circle at 75% 40%, #21482a 0%, #0d0d0d 70%);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(67, 160, 71, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 780px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.hero-badge i {
  color: var(--red-highlight);
  font-size: 1.1rem;
}

.hero-title {
  font-size: 2.75rem;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-title highlight {
  color: var(--white);
  background: linear-gradient(120deg, var(--red-highlight), var(--red-main));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 680px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.hero-trust {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-item i {
  font-size: 1.5rem;
  color: var(--red-highlight);
}

.trust-item span {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* About / Stats Section */
.about {
  background-color: var(--white);
  position: relative;
}

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

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  width: 100%;
  height: 480px;
}

.about-experience-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient-red);
  color: var(--white);
  padding: 1.75rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dark);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 280px;
}

.about-experience-card .number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
}

.about-experience-card .text {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.about-text p {
  color: var(--gray-600);
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem;
  background: var(--ice-white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--red-main);
}

.highlight-box i {
  color: var(--red-main);
  font-size: 1.25rem;
  margin-top: 0.2rem;
}

.highlight-box h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.highlight-box p {
  font-size: 0.85rem;
  margin: 0;
}

/* Stats Counter Banner */
.stats-banner {
  background: var(--graphite);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

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

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--red-highlight);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* Services Section */
.services {
  background-color: var(--ice-white);
}

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

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

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-red-bright);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46, 125, 50, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(46, 125, 50, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-main);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient-red-bright);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(67, 160, 71, 0.35);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.875rem;
}

.service-desc {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.service-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--red-main);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.service-link i {
  transition: var(--transition);
}

.service-link:hover i {
  transform: translateX(4px);
}

/* Differentials Section */
.differentials {
  background-color: var(--white);
}

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

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

@media (min-width: 992px) {
  .diff-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.diff-card {
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  background: var(--ice-white);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: var(--transition);
}

.diff-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: rgba(46, 125, 50, 0.25);
  transform: translateY(-4px);
}

.diff-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--red-main);
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.diff-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.diff-desc {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Coverage Area / Brazil Interactive Map Section */
.coverage {
  background-color: var(--graphite);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.coverage .section-subtitle {
  color: var(--gray-400);
}

.coverage-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .coverage-layout {
    grid-template-columns: 1.2fr 1fr;
  }
}

.coverage-map-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-svg-container {
  width: 100%;
  max-width: 520px;
  position: relative;
}

/* Brazil Stylized Vector Map */
.brazil-map-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.map-region {
  transition: var(--transition);
  cursor: pointer;
}

.map-region path {
  fill: #222225;
  stroke: #444448;
  stroke-width: 1;
  transition: all 0.3s ease;
}

.map-region:hover path,
.map-region.active path {
  fill: var(--red-main);
  stroke: var(--red-highlight);
  filter: drop-shadow(0 0 8px rgba(67, 160, 71, 0.4));
}

.hub-pin {
  fill: var(--red-highlight);
  filter: drop-shadow(0 0 12px var(--red-highlight));
  animation: pulse-pin 2s infinite;
}

@keyframes pulse-pin {
  0% {
    r: 8;
    opacity: 1;
  }

  50% {
    r: 14;
    opacity: 0.6;
  }

  100% {
    r: 8;
    opacity: 1;
  }
}

.route-line {
  stroke: var(--red-highlight);
  stroke-width: 2.5;
  stroke-dasharray: 6 4;
  animation: dash 20s linear infinite;
  opacity: 0.8;
}

@keyframes dash {
  to {
    stroke-dashoffset: -100;
  }
}

.coverage-info-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.region-tab {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.region-tab.active,
.region-tab:hover {
  background: var(--gradient-red-bright);
  border-color: var(--red-highlight);
}

.region-detail-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.region-detail-desc {
  color: var(--gray-400);
  font-size: 0.975rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.region-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.region-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.region-feature-item i {
  color: var(--red-highlight);
}

/* Quick Quote Form Section */
.quote-section {
  background: var(--gradient-red);
  color: var(--white);
  position: relative;
}

.quote-wrapper {
  background: rgba(23, 23, 23, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-dark);
}

@media (min-width: 768px) {
  .quote-wrapper {
    padding: 4rem 3.5rem;
  }
}

.quote-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

.quote-header h2 {
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.quote-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .quote-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-full {
    grid-column: span 2;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.9rem 1.125rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-select option {
  background-color: var(--graphite);
  color: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.quote-submit-btn {
  width: 100%;
  margin-top: 1rem;
}

/* Contact Section & Map */
.contact {
  background-color: var(--ice-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: rgba(46, 125, 50, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-main);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-info-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.contact-info-content p,
.contact-info-content a {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.contact-map-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

#map {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: var(--radius-md);
  z-index: 1;
}

/* Footer */
.footer {
  background-color: var(--graphite);
  color: var(--white);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-about p {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin: 1.25rem 0 1.5rem 0;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--gradient-red-bright);
  border-color: var(--red-highlight);
  transform: translateY(-3px);
}

.footer-title {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--red-highlight);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--white);
  padding-left: 0.25rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
  color: var(--gray-400);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-badge {
  background: var(--white);
  color: var(--graphite);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  display: none;
}

@media (min-width: 768px) {
  .whatsapp-badge {
    display: block;
  }
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: pulse-wa 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  background: #20BA5A;
}

@keyframes pulse-wa {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-dark);
  transform: translateY(20px);
  transition: var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--ice-white);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--graphite);
}

.modal-close:hover {
  background: var(--red-main);
  color: var(--white);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--graphite);
  z-index: 1500;
  padding: 3rem 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-nav-drawer.active {
  right: 0;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   COMPREHENSIVE MOBILE & TABLET RESPONSIVENESS OVERRIDES
   ========================================================================== */

/* Prevent accidental horizontal overflow on mobile browsers */
html,
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

/* Ensure all containers and wrappers enforce border-box width limit */
.container,
.hero,
.about,
.stats-banner,
.services,
.differentials,
.coverage,
.quote-section,
.contact,
.footer {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Tablet & Mobile Layout Refinements (< 992px) */
@media (max-width: 991px) {

  header nav,
  .nav-menu,
  .nav-actions>.btn {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    color: var(--white);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .header.scrolled .mobile-toggle {
    color: var(--graphite) !important;
  }

  .section-padding {
    padding: 4rem 0;
  }

  .header {
    padding: 0.85rem 0;
  }

  .hero {
    min-height: auto;
    padding: 7.5rem 0 4.5rem 0;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image {
    height: 360px;
  }

  .about-experience-card {
    right: 50%;
    transform: translateX(50%);
    bottom: -20px;
    width: 90%;
    max-width: 320px;
  }

  .coverage-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
  }

  .coverage-map-wrapper {
    padding: 1rem;
    min-height: 300px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Smartphone Layout Refinements (< 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .logo {
    font-size: 1.35rem;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
    white-space: normal;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.18;
    margin-bottom: 1.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .trust-item {
    font-size: 0.8rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .stats-banner {
    padding: 3rem 0;
  }

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

  .stat-card {
    border-right: none;
    padding: 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .diff-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-card,
  .diff-card {
    padding: 1.5rem;
  }

  /* Map Container Mobile Fit */
  .coverage-map-wrapper {
    padding: 0.75rem;
    min-height: auto;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .map-svg-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .brazil-map-svg {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
  }

  .region-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .region-tab {
    text-align: center;
    padding: 0.5rem 0.25rem;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .region-tab:last-child {
    grid-column: span 2;
  }

  .coverage-info-box {
    padding: 1.5rem 1.125rem;
    width: 100%;
    box-sizing: border-box;
  }

  /* Quote Form Mobile Fit */
  .quote-section {
    padding: 3.5rem 0;
    width: 100%;
    box-sizing: border-box;
  }

  .quote-wrapper {
    padding: 2rem 1.125rem;
    border-radius: var(--radius-lg);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .quote-header {
    margin-bottom: 2rem;
  }

  .quote-header h2 {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .quote-header p {
    font-size: 0.95rem;
  }

  .quote-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    box-sizing: border-box;
  }

  .form-group {
    width: 100%;
    box-sizing: border-box;
  }

  /* Prevent automatic iOS input zoom on focus */
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px !important;
    padding: 0.85rem 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-info-item {
    padding: 1.125rem;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-map-card {
    min-height: 300px;
    width: 100%;
    box-sizing: border-box;
  }

  #map {
    min-height: 280px;
    width: 100%;
  }

  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .whatsapp-badge {
    display: none !important;
  }

  .whatsapp-btn {
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .modal-container {
    padding: 1.5rem 1.125rem;
    max-width: 92vw;
    box-sizing: border-box;
  }
}

/* Extra Small Mobile (< 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .about-image {
    height: 260px;
  }

  .about-experience-card {
    padding: 1rem;
  }

  .about-experience-card .number {
    font-size: 1.7rem;
  }

  .about-experience-card .text {
    font-size: 0.75rem;
  }

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

  .diff-number {
    font-size: 1.85rem;
  }

  .region-detail-title {
    font-size: 1.2rem;
  }
}
/* Logos oficiais Da Mata — integração visual */
.hero > .container { position: relative; width: 100%; }
.hero-brand-visual {
  position: absolute;
  right: clamp(3rem, 8vw, 8rem);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(240px, 19vw, 320px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  z-index: 1;
  padding: 0.8rem;
  box-sizing: border-box;
}
.hero-brand-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  background: #000;
  filter: drop-shadow(0 12px 35px rgba(46,125,50,.2));
}
.hero-content { max-width: 58%; }
.about-image { object-fit: contain; background: #07130b; padding: 12px; }
.about-experience-card .number { font-size: 1.7rem; line-height: 1.1; }
@media (max-width: 900px) {
 .hero > .container { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
 .hero-content { max-width: 100%; width: 100%; order: 1; }
 .hero-brand-visual {
   position: relative;
   right: auto;
   top: auto;
   transform: none;
   width: min(70%, 340px);
   order: 2;
   margin: 0 auto;
 }
}
@media (max-width: 600px) { .hero-brand-visual { width: min(82%, 280px); } .about-image { height: auto; min-height: 230px; } }
