/* ==========================================================================
   Agostinho Raimundo Albino — Despachante Oficial (Luanda, Angola)
   Design System & Estilos Globais
   ========================================================================== */

:root {
  --wine: #781c36;
  --wine-dark: #541126;
  --wine-light: #fbeff2;
  --wine-border: #e8bdc9;
  --navy: #0b1e36;
  --navy-dark: #071324;
  --navy-light: #162f52;
  --navy-border: #1e3a63;
  --gold: #c28b38;
  --gold-light: #fef8ee;
  --gold-border: #f3d7a8;
  --wa-green: #25d366;
  --wa-dark: #128c7e;
  --ink: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #f8fafc;
  --white: #fff;
  --green: #15803d;
  --green-bg: #f0fdf4;
  --green-border: #bbf7d0;
  --yellow: #b45309;
  --yellow-bg: #fffbeb;
  --yellow-border: #fde68a;
  --red: #b91c1c;
  --red-bg: #fef2f2;
  --red-border: #fecaca;
  --shadow-sm: 0 1px 3px rgba(11, 30, 54, 0.05);
  --shadow-md: 0 4px 20px -2px rgba(11, 30, 54, 0.08);
  --shadow-lg: 0 12px 36px -4px rgba(11, 30, 54, 0.14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  font: 16px/1.65 "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: "Manrope", sans-serif; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { touch-action: manipulation; }
a, button { -webkit-tap-highlight-color: transparent; }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #bc4166;
  outline-offset: 3px;
}

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

.wrap {
  width: min(1560px, calc(100% - 48px));
  margin: auto;
}

@media (min-width: 1600px) {
  .wrap {
    width: min(1680px, calc(100% - 64px));
  }
}


/* ==========================================================================
   Topbar & Header
   ========================================================================== */

.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: 1.5px;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-phone {
  letter-spacing: 0;
  color: #bfc0c4;
  font-size: 13px;
}

.topbar-phone span:last-child {
  margin-left: 10px;
  color: #fff;
  font-weight: 600;
}

.lang-btn {
  background: #2e3034;
  border: 1px solid #484b52;
  color: #e0e1e4;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 2px;
  transition: all .2s ease;
}

.lang-btn:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

.lang-btn .active-lang {
  color: #ffb8cb;
}

header {
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 90px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.1;
  letter-spacing: 3.5px;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.brand b {
  font-size: 24px;
  letter-spacing: 6px;
}

.brand small {
  display: block;
  color: var(--wine);
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 5px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.nav nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}

.nav nav a {
  transition: color .2s;
  padding: 6px 0;
}

.nav nav a:hover {
  color: var(--wine);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: var(--wine);
  border: 1px solid var(--wine);
  color: #fff;
  padding: 15px 26px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background .2s, transform .2s, border-color .2s;
}

.button:hover {
  background: var(--wine-dark);
  border-color: var(--wine-dark);
  transform: translateY(-2px);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.button.secondary:hover {
  background: var(--ink);
  color: #fff;
}

.button.small {
  font-size: 13px;
  padding: 10px 18px;
  gap: 14px;
}

.button.full-width {
  width: 100%;
}

.button span:last-child {
  font-size: 18px;
  line-height: 1;
}

.menu-toggle {
  display: none;
}

.drawer-top,
.drawer-actions,
.drawer-footer-info,
.nav-backdrop {
  display: none;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: white;
  padding: 12px 18px;
  border: 2px solid var(--wine);
}

.skip:focus {
  top: 15px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: 48px 0 54px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.07fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.hero-copy {
  padding: 10px 0;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--wine);
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow > span {
  width: 22px;
  height: 2px;
  background: var(--wine);
}

h1 {
  font-size: clamp(40px, 4.3vw, 62px);
  line-height: 1.12;
  letter-spacing: -2.2px;
  font-weight: 500;
  margin: 24px 0 20px;
}

h1 em {
  font-style: normal;
  color: var(--wine);
  font-weight: 600;
}

.hero-description {
  font-size: 16px;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 32px 0 36px;
  flex-wrap: wrap;
}

.text-link {
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid #a7a7ac;
  padding: 5px 0;
  cursor: pointer;
  background: none;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  display: inline-flex;
  align-items: center;
}

.text-link span {
  margin-left: 8px;
}

.text-link:hover {
  color: var(--wine);
  border-color: var(--wine);
}

.hero-signature {
  display: flex;
  align-items: center;
  gap: 15px;
}

.signature-line {
  width: 35px;
  height: 1px;
  background: var(--wine);
}

.hero-signature strong {
  font-size: 14px;
  display: block;
}

.hero-signature div > span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  background: linear-gradient(155deg, #162d3d, #304654 45%, #18252e);
  background-image: url("/assets/cargo-ship.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 3px 3px 80px 3px;
  isolation: isolate;
}

.hero-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 27, 50, 0.4), transparent 45%, rgba(8, 23, 32, 0.7));
  z-index: -1;
  border-radius: inherit;
}

.visual-label {
  position: absolute;
  top: 28px;
  left: 30px;
  color: #fff;
  letter-spacing: 2px;
  font-size: 11px;
  line-height: 1.8;
}

.visual-bottom {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 36px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 10px;
  letter-spacing: 1.4px;
}

.cargo-card {
  position: absolute;
  bottom: 80px;
  left: -28px;
  background: #fff;
  width: 260px;
  padding: 22px;
  display: flex;
  gap: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  border-left: 3px solid var(--wine);
}

.card-symbol {
  color: var(--wine);
  font-size: 28px;
  line-height: 1;
}

.cargo-card strong {
  font: 600 18px/1.35 "Manrope", sans-serif;
  display: block;
}

.cargo-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 8px;
}

/* ==========================================================================
   Service Strip
   ========================================================================== */

.service-strip {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.service-strip .wrap {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  gap: 20px;
}

.service-strip span {
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.service-strip span:before {
  content: "+";
  color: var(--wine);
  font-size: 16px;
  margin-right: 15px;
}

/* ==========================================================================
   Sections Common
   ========================================================================== */

.section {
  padding: 85px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-bottom: 40px;
}

h2 {
  font-size: 38px;
  line-height: 1.25;
  letter-spacing: -1.2px;
  font-weight: 500;
}

h2 span {
  color: var(--muted);
}

.section-heading .eyebrow {
  margin-bottom: 16px;
}

.section-heading > p {
  max-width: 360px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ==========================================================================
   01 / Serviços
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--wine-border);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.line-icon {
  font-size: 26px;
  color: var(--wine);
  line-height: 1;
}

.service-number {
  color: #96989d;
  font-size: 12px;
}

.service-card h3 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.4px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0 24px;
  line-height: 1.7;
  flex: 1;
}

.service-link {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--wine);
}

.service-link b {
  font-size: 17px;
}

.services-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 25px;
}

.services-note a {
  color: var(--wine);
  border-bottom: 1px solid #b77a8a;
  margin-left: 6px;
  font-weight: 600;
}

/* ==========================================================================
   02 / Simulador Aduaneiro de Angola
   ========================================================================== */

.simulator-section {
  background: #fbfbfb;
  border-top: 1px solid var(--line);
}

.simulator-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.simulator-form {
  padding: 36px;
  background: var(--paper);
  border-right: 1px solid var(--line);
}

.form-title, .results-title {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.calc-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}

.calc-label > span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.calc-input {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid #d9dade;
  border-radius: 2px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.calc-input:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 2px rgba(120, 28, 54, 0.12);
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.sim-actions {
  margin-top: 10px;
}

.simulator-results {
  padding: 36px;
  display: flex;
  flex-direction: column;
}

.result-box {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 2px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 7px 0;
}

.result-row span {
  color: var(--muted);
}

.result-row small {
  color: var(--wine);
  font-weight: 600;
}

.result-row strong {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
}

.result-divider {
  height: 1px;
  background: var(--line);
  margin: 14px 0;
}

.result-row.total {
  background: #fff;
  padding: 16px;
  border-left: 3px solid var(--wine);
  margin-top: 8px;
}

.result-row.total span {
  color: var(--ink);
  font-weight: 700;
  display: block;
}

.result-row.total small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}

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

.total-primary {
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--wine) !important;
  display: block;
}

.total-secondary {
  font-size: 13px;
  color: var(--muted) !important;
  font-weight: 500 !important;
}

.sim-notice {
  display: flex;
  gap: 12px;
  background: #fff8f9;
  border: 1px solid #f2d4dc;
  padding: 16px;
  margin: 22px 0;
  font-size: 12px;
  line-height: 1.6;
  color: #632334;
  border-radius: 2px;
}

.notice-icon {
  font-weight: 700;
  color: var(--wine);
  font-size: 16px;
}

/* ==========================================================================
   03 / Acompanhamento e Rastreio
   ========================================================================== */

.tracking-section {
  border-top: 1px solid var(--line);
}

.tracking-search-bar {
  max-width: 760px;
  margin: 0 auto 36px;
}

.input-group {
  display: flex;
  border: 1px solid #d4d5d9;
  box-shadow: 0 6px 25px rgba(0,0,0,0.04);
}

.input-group input {
  flex: 1;
  border: 0;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}

.input-group input:focus {
  box-shadow: inset 0 0 0 2px var(--wine);
}

.input-group .button {
  padding: 16px 28px;
  white-space: nowrap;
}

.track-quick-demos {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.demo-chip {
  background: #fff;
  border: 1px solid #d9dade;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.demo-chip:hover {
  border-color: var(--wine);
  color: var(--wine);
}

.tracking-result-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  padding: 36px;
  border-radius: 2px;
}

.track-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}

.track-header h3 {
  font-size: 24px;
  letter-spacing: -0.5px;
}

.track-meta {
  display: flex;
  gap: 20px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

.track-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.track-badge.badge-green {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-border);
}

.track-badge.badge-yellow {
  background: var(--yellow-bg);
  color: var(--yellow);
  border: 1px solid var(--yellow-border);
}

.track-badge.badge-red {
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid var(--red-border);
}

/* Timeline Stepper */
.stepper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  position: relative;
  margin: 35px 0 30px;
}

.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step-node:not(:last-child):after {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--line);
  z-index: 1;
}

.step-node.done:not(:last-child):after {
  background: var(--wine);
}

.step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid #d4d6db;
  color: #8f9298;
  font-weight: 700;
  font-size: 13px;
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
  transition: all .2s;
}

.step-node.done .step-icon {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

.step-node.active .step-icon {
  border-color: var(--wine);
  color: var(--wine);
  box-shadow: 0 0 0 4px rgba(120, 28, 54, 0.15);
  font-weight: 800;
}

.step-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.step-node.pending .step-title {
  color: #8c8f95;
}

.step-date {
  font-size: 11px;
  color: var(--muted);
}

.track-details-box {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px;
  margin-top: 25px;
  border-radius: 2px;
}

.track-details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  font-size: 13px;
}

.track-details-grid dt {
  color: var(--muted);
  margin-bottom: 4px;
}

.track-details-grid dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

.track-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 15px;
}

/* ==========================================================================
   04 / Checklist Interativo
   ========================================================================== */

.checklist-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.checklist-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.check-tab {
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  transition: all .2s;
}

.check-tab:hover {
  border-color: #b0b2b8;
}

.check-tab.active {
  background: var(--wine);
  color: #fff;
  border-color: var(--wine);
}

.checklist-container {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.03);
}

.checklist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.progress-info {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
}

.progress-bar-bg {
  width: 220px;
  height: 8px;
  background: #e9eaec;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--wine);
  transition: width .3s ease;
}

.checklist-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.check-item {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 2px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  cursor: pointer;
  transition: all .2s;
}

.check-item:hover {
  border-color: #b4b6bc;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.check-item.checked {
  background: #fbf6f8;
  border-color: #dfb2bf;
}

.check-box {
  width: 22px;
  height: 22px;
  border: 2px solid #b8bac0;
  border-radius: 2px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: transparent;
  font-size: 14px;
  font-weight: 700;
  transition: all .2s;
}

.check-item.checked .check-box {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

.check-content strong {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
  color: var(--ink);
}

.check-content p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.check-tag {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 7px;
  border-radius: 2px;
  background: #eceef1;
  color: #51545a;
  margin-top: 8px;
  font-weight: 600;
}

.checklist-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.checklist-footer p {
  font-size: 14px;
  color: var(--muted);
}

/* ==========================================================================
   05 / O Despachante & História
   ========================================================================== */

.about-section {
  background: #202124;
  color: white;
  padding: 85px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.eyebrow.light {
  color: #dba6b5;
}

.about-heading h2 {
  font-size: 43px;
  margin: 30px 0 50px;
  line-height: 1.25;
}

.about-heading em {
  font-style: normal;
  color: #d9a5b5;
}

.nameplate {
  border-left: 2px solid #b66982;
  padding-left: 20px;
}

.nameplate span {
  font-size: 12px;
  letter-spacing: 2px;
}

.nameplate p {
  font-size: 12px;
  color: #afb1b6;
  margin-top: 6px;
}

.about-content > h3 {
  font-size: 23px;
  font-weight: 500;
  margin-bottom: 20px;
}

.about-content > p {
  font-size: 15px;
  color: #c2c3c7;
  line-height: 1.9;
}

.about-point {
  display: flex;
  gap: 23px;
  margin-top: 24px;
}

.about-point > span {
  font-size: 11px;
  color: #d9a5b5;
  margin-top: 5px;
}

.about-point h4 {
  font: 500 16px "Manrope", sans-serif;
  margin: 0 0 5px;
}

.about-point p {
  font-size: 13px;
  color: #b2b4b9;
  line-height: 1.6;
}

.history {
  margin-top: 30px;
  border-top: 1px solid #45464a;
  font-size: 13px;
}

.history summary {
  padding-top: 18px;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.history p {
  color: #c6c7ca;
  margin-top: 15px;
  line-height: 1.7;
}

.history a {
  text-decoration: underline;
  color: #e0b0bf;
}

.source-links {
  font-size: 12px;
  margin-top: 18px !important;
}

/* ==========================================================================
   06 / Do Contacto à Operação (Etapas)
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.steps article {
  border-top: 1px solid #c8c9cd;
  padding-top: 22px;
}

.steps article > span {
  font: 500 37px "Manrope", sans-serif;
  color: var(--wine);
}

.steps h3 {
  font-size: 18px;
  margin: 18px 0 12px;
}

.steps p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* ==========================================================================
   07 / Guia Antes de Importar & FAQ
   ========================================================================== */

.guide-section {
  background: var(--paper);
}

.guide-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 80px;
}

.guide-advice {
  background: var(--wine);
  color: #fff;
  padding: 38px;
  align-self: start;
}

.guide-tag {
  font-size: 10px;
  letter-spacing: 2px;
  color: #e4c3ce;
  font-weight: 700;
}

.guide-advice h3 {
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: -0.7px;
  margin: 20px 0;
}

.guide-advice p {
  font-size: 14px;
  color: #ead6dc;
  line-height: 1.85;
  margin-bottom: 26px;
}

.guide-advice .text-link {
  font-size: 13px;
  color: #fff;
  border-color: #d4a3b2;
}

.faq details {
  border-bottom: 1px solid #d8d9dd;
}

.faq details:first-child {
  border-top: 1px solid #d8d9dd;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  list-style: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  padding: 21px 0;
}

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

.faq summary > span:last-child {
  font-size: 21px;
  color: var(--wine);
  font-weight: 400;
}

.faq details p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  padding: 0 25px 22px 0;
}

/* ==========================================================================
   08 / Solicitar Orçamento
   ========================================================================== */

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.quote-copy h2 {
  font-size: 43px;
  margin: 22px 0;
}

.quote-copy h2 span {
  color: var(--wine);
}

.quote-copy > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 360px;
  font-size: 15px;
  line-height: 1.7;
}

.quote-contact {
  margin-top: 36px;
}

.quote-contact > span {
  font-size: 12px;
  color: var(--muted);
  display: block;
}

.quote-contact > a {
  display: block;
  font: 500 26px "Manrope", sans-serif;
  margin: 8px 0;
  color: var(--wine);
}

.quote-contact > p {
  font-size: 12px;
  color: var(--muted);
}

.quote-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  max-width: 360px;
}

.quote-note > span {
  font-size: 26px;
  color: var(--wine);
}

.quote-note p {
  font-size: 12px;
  color: var(--muted);
}

.quote-form {
  padding: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.form-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.form-heading h3 {
  font-size: 22px;
}

.form-heading > span {
  font-size: 12px;
  color: var(--muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quote-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.quote-form label > span {
  color: var(--wine);
}

.quote-form input, .quote-form select, .quote-form textarea {
  display: block;
  width: 100%;
  background: white;
  border: 1px solid #d9dade;
  border-radius: 0;
  padding: 12px 14px;
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}

.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 2px rgba(120, 28, 54, 0.12);
}

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

.form-privacy {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin: 4px 0 16px;
}

.form-submit {
  width: 100%;
  justify-content: space-between;
}

.form-helper {
  font-size: 10px;
  text-align: center;
  margin-top: 10px;
  color: var(--muted);
}

#form-result {
  font-size: 13px;
  margin-top: 16px;
  padding: 14px;
  background: #fff;
  border-left: 3px solid var(--wine);
}

#form-result a {
  text-decoration: underline;
  color: var(--wine);
}

/* ==========================================================================
   09 / Contactos & Footer
   ========================================================================== */

.contact-section {
  background: var(--paper);
  padding: 56px 0;
  border-block: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 45px;
}

.contact-grid h2 {
  font-size: 28px;
  margin-top: 16px;
}

.contact-grid h3 {
  font-size: 14px;
  margin-bottom: 14px;
}

.contact-grid p, .contact-grid > div > a:not(.text-link) {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-grid .text-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--wine);
}

footer {
  padding: 40px 0 20px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 35px;
}

.footer-top > p {
  font-size: 13px;
  color: var(--muted);
}

.back-top {
  font-size: 12px;
}

.back-top:hover {
  color: var(--wine);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}

.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--wine);
  color: #fff;
  border: 1px solid #a44e68;
  padding: 12px 18px;
  border-radius: 30px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.2);
  font-size: 13px;
  font-weight: 600;
  transition: transform .2s, background .2s;
}

.floating-contact:hover {
  background: var(--wine-dark);
  transform: translateY(-2px);
}

.floating-contact svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   Media Queries & Responsiveness
   ========================================================================== */

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 56px); }
  .hero-grid { gap: 32px; }
  .hero-visual { min-height: 520px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(2) { border-right: 0; }
  .service-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .simulator-card { grid-template-columns: 1fr; }
  .simulator-form { border-right: 0; border-bottom: 1px solid var(--line); }
  .stepper { grid-template-columns: repeat(3, 1fr); gap: 20px 10px; }
  .step-node:not(:last-child):after { display: none; }
  .checklist-items { grid-template-columns: 1fr; }
  .about-grid, .quote-grid { gap: 50px; }
  .guide-grid { gap: 40px; }
  .contact-grid { gap: 28px; }
}

@media (max-width: 900px) {
  .wrap { width: calc(100% - 32px); }
  .topbar .wrap { flex-direction: column; gap: 6px; text-align: center; padding: 6px 0; }
  .topbar-right { justify-content: center; gap: 14px; }
  .nav { height: 68px; }
  .nav .brand img { width: 44px; height: 44px; }
  .nav .brand b { font-size: 19px; letter-spacing: 4px; }
  .nav .brand span { font-size: 11px; }

  /* Mobile Drawer */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 30, 54, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1990;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
  }
  .nav-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  .nav nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 2000;
    padding: 24px 20px 80px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav nav.open {
    transform: translateX(0);
  }

  .drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }

  .drawer-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--line);
    font-size: 20px;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
  }

  .nav nav a {
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    border-radius: 8px;
    transition: all .15s ease;
    border: 1px solid transparent;
  }
  .nav nav a:hover,
  .nav nav a.active {
    background: var(--paper);
    color: var(--wine);
    border-color: var(--line);
  }

  .nav-dropdown {
    display: block;
    width: 100%;
  }
  .nav-dropdown-btn {
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    border-radius: 8px;
  }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: 1px solid var(--line);
    background: var(--paper);
    margin: 4px 0 10px;
    border-radius: 8px;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    display: flex;
  }

  .drawer-actions {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .drawer-actions .button {
    width: 100%;
    min-height: 48px;
    font-size: 14px;
    padding: 12px;
  }

  .drawer-footer-info {
    margin-top: auto;
    padding-top: 20px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 22px;
    color: var(--navy);
    cursor: pointer;
  }

  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { min-height: 380px; margin-left: 0; }
  .cargo-card { left: 10px; bottom: 20px; }
  .service-strip .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .section { padding: 48px 0; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading > p { margin-top: 12px; }
  .calc-row, .calc-row-3 { grid-template-columns: 1fr; }
  .stepper { grid-template-columns: 1fr; gap: 16px; }
  .step-node { flex-direction: row; text-align: left; gap: 15px; }
  .step-icon { margin-bottom: 0; }
  .track-details-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .quote-grid, .guide-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .steps article { display: grid; grid-template-columns: 45px 1fr; gap: 0 16px; }
  .steps article > span { grid-row: 1/3; font-size: 30px; }
  .steps h3 { margin: 0 0 8px; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after {
    animation: none !important;
    transition: none !important;
  }
}


/* ==========================================================================
   Novos Estilos: Mais Vida Marítima, Animações e Clean Pages
   ========================================================================== */

.pulse-dot {
  width: 9px;
  height: 9px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
  animation: pulseMaritime 2s infinite;
}

@keyframes pulseMaritime {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-visual {
  background-image: url("/assets/cargo-ship.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  transition: transform 0.5s ease;
}

.hero-visual:hover {
  transform: scale(1.01);
}

.nav nav a.active {
  color: var(--wine) !important;
  font-weight: 700;
  border-bottom: 2px solid var(--wine);
}

.page-header {
  background: linear-gradient(135deg, #162530, #223746);
  color: #fff;
  padding: 65px 0 55px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-header.with-ship {
  background: linear-gradient(180deg, rgba(16, 28, 38, 0.82), rgba(16, 28, 38, 0.94)), url("/assets/cargo-ship.jpg");
  background-size: cover;
  background-position: center 30%;
}

.page-header.with-port {
  background: linear-gradient(180deg, rgba(16, 28, 38, 0.82), rgba(16, 28, 38, 0.94)), url("/assets/port-night.jpg");
  background-size: cover;
  background-position: center 40%;
}

.breadcrumbs {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #dba6b5;
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
}

.breadcrumbs a {
  color: #cfd2d8;
  transition: color .2s;
}

.breadcrumbs a:hover {
  color: #fff;
}

.page-header h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -1.5px;
  color: #fff;
}

.page-header p {
  font-size: 16px;
  color: #d1d5db;
  max-width: 650px;
  line-height: 1.7;
}

.stats-ticker {
  background: #191b1d;
  color: #fff;
  border-bottom: 1px solid #2d3036;
  padding: 14px 0;
  font-size: 12px;
}

.stats-ticker .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-item strong {
  font-size: 15px;
  font-family: "Manrope", sans-serif;
  color: #e590a8;
}

.stat-item span {
  color: #a0a2a8;
  font-size: 12px;
}

.feature-badge-live {
  display: inline-flex;
  align-items: center;
  background: rgba(120, 28, 54, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card:hover .line-icon {
  transform: scale(1.15) translateY(-2px);
  transition: transform .3s ease;
}

.media-banner {
  border-radius: 4px;
  overflow: hidden;
  margin: 40px 0;
  position: relative;
  max-height: 380px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.media-banner img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.media-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18, 30, 40, 0.88));
  display: flex;
  align-items: flex-end;
  padding: 30px;
  color: #fff;
}

.media-banner-overlay h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.media-banner-overlay p {
  font-size: 14px;
  color: #e2e4e8;
}

/* ==========================================================================
   Modern Design System & Layout Components (Estilo EP Despachante)
   ========================================================================== */

/* Dropdown de Navegação (Ferramentas Aduaneiras) */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-btn {
  background: none;
  border: none;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: inherit;
  padding: 6px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color .2s;
}

.nav-dropdown-btn:hover,
.nav-dropdown:hover .nav-dropdown-btn,
.nav-dropdown.active .nav-dropdown-btn {
  color: var(--wine);
}

.nav-dropdown-btn .caret {
  font-size: 10px;
  transition: transform .2s ease;
}

.nav-dropdown:hover .nav-dropdown-btn .caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 280px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 100;
  animation: fadeInDown 0.2s ease forwards;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  transition: background .15s ease, color .15s ease;
  text-decoration: none;
  color: var(--ink) !important;
}

.nav-dropdown-item:hover {
  background: var(--paper);
}

.nav-dropdown-item .dropdown-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.nav-dropdown-item .dropdown-title {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.nav-dropdown-item .dropdown-desc {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.3;
  margin-top: 2px;
}

/* Novo Hero Corporativo */
.hero-corporate {
  background: linear-gradient(135deg, #0b1e36 0%, #061222 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 80px 0 90px;
}

.hero-corporate::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 28, 54, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-corp-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-corp-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #f8fafc;
  margin-bottom: 22px;
}

.hero-corporate h1 {
  font-size: 46px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-corporate h1 span.accent {
  color: #f1b5c4;
}

.hero-corp-desc {
  font-size: 18px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-corp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.btn-wa-corp {
  background: var(--wa-green) !important;
  border-color: var(--wa-green) !important;
  color: #ffffff !important;
}

.btn-wa-corp:hover {
  background: var(--wa-dark) !important;
  border-color: var(--wa-dark) !important;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #94a3b8;
}

.hero-trust-item strong {
  color: #ffffff;
  font-weight: 600;
}

.hero-corp-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-corp-media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-corp-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(11, 30, 54, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-corp-card .badge-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.hero-corp-card strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 2px;
}

.hero-corp-card p {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.4;
}

/* Pilares de Soluções (Agilidade, Conformidade, Redução de Custos) */
.pillars-section {
  padding: 70px 0;
  background: #ffffff;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 34px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--wine-border);
}

.pillar-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--wine-light);
  color: var(--wine);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}

.pillar-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Secção Sobre Nós em Destaque */
.about-corp-section {
  padding: 85px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-corp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-corp-image-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-corp-image-box img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.about-corp-stamp {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  border-left: 4px solid var(--wine);
  box-shadow: var(--shadow-md);
}

.about-corp-stamp strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.about-corp-stamp span {
  font-size: 11px;
  color: #cbd5e1;
}

.about-corp-content .eyebrow {
  color: var(--wine);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about-corp-content h2 {
  font-size: 36px;
  line-height: 1.25;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 20px;
}

.about-corp-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-points-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-points-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.about-points-list li .check-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Secção Diferenciais (Porquê Escolher) */
.why-section {
  padding: 85px 0;
  background: #ffffff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.why-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 22px;
  transition: all .2s ease;
}

.why-card:hover {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  border-color: var(--wine-border);
  transform: translateY(-3px);
}

.why-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: inline-block;
}

.why-card h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* Secção de Ferramentas Digitais em Destaque */
.tools-showcase-section {
  padding: 85px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tools-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 44px;
}

.tool-box-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}

.tool-box-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--wine-border);
}

.tool-box-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--wine-light);
  color: var(--wine);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.tool-box-icon {
  font-size: 36px;
  margin-bottom: 18px;
}

.tool-box-card h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 10px;
}

.tool-box-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.tool-box-card .button {
  width: 100%;
}

/* Galeria de Operações em Ação */
.gallery-section {
  padding: 85px 0;
  background: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 30, 54, 0.9) 0%, rgba(11, 30, 54, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
}

.gallery-caption h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-caption p {
  font-size: 12px;
  color: #cbd5e1;
}

/* Parceiros & Entidades Oficiais */
.partners-section {
  padding: 60px 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.partners-title {
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 30px;
}

.partners-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.partner-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  transition: all .2s ease;
}

.partner-badge:hover {
  border-color: var(--wine);
  transform: translateY(-2px);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.partner-badge .p-icon {
  font-size: 22px;
}

/* Banner de CTA Intermédio */
.cta-banner-section {
  background: linear-gradient(135deg, var(--navy) 0%, #162f52 100%);
  color: #ffffff;
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-banner-content h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

.cta-banner-content p {
  font-size: 17px;
  color: #cbd5e1;
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Footer Corporativo (4 Colunas no estilo EP Despachante) */
.footer-corporate {
  background: #0b1e36;
  color: #f1f5f9;
  padding: 75px 0 25px;
  border-top: 4px solid var(--wine);
}

.footer-corp-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 45px;
  margin-bottom: 60px;
}

.footer-brand-col .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 18px;
}

.footer-brand-col .footer-logo img {
  width: 52px;
  height: 52px;
  background: #ffffff;
  border-radius: 6px;
  padding: 4px;
}

.footer-brand-col .footer-logo span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  line-height: 1.15;
}

.footer-brand-col .footer-logo b {
  font-size: 20px;
  letter-spacing: 4px;
}

.footer-brand-col p.footer-bio {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-cedula-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 12px;
  color: #cbd5e1;
}

.footer-cedula-box strong {
  display: block;
  color: #f8fafc;
  margin-bottom: 2px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--wine);
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 14px;
  text-decoration: none;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
}

.footer-contact-item .f-icon {
  color: #f1b5c4;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color .2s;
}

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color .2s;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* Widget Interativo de WhatsApp (Estilo Joinchat/WhatsApp Me) */
.wa-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.wa-widget-popup {
  width: 320px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  display: none;
  animation: fadeInUp .25s ease forwards;
}

.wa-widget-popup.open {
  display: block;
}

.wa-widget-header {
  background: #075e54;
  color: #ffffff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-agent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  flex-shrink: 0;
}

.wa-agent-text strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.wa-agent-text small {
  font-size: 11px;
  color: #e0f2f1;
  display: flex;
  align-items: center;
  gap: 5px;
}

.wa-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
}

.wa-widget-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.wa-widget-body {
  background: #e5ddd5;
  background-image: radial-gradient(#d3c7b8 1px, transparent 1px);
  background-size: 12px 12px;
  padding: 18px;
}

.wa-bubble-msg {
  background: #ffffff;
  padding: 12px 14px;
  border-radius: 0 10px 10px 10px;
  font-size: 13px;
  color: #111827;
  line-height: 1.5;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  position: relative;
  margin-bottom: 14px;
}

.wa-bubble-msg small {
  display: block;
  text-align: right;
  font-size: 10px;
  color: #9ca3af;
  margin-top: 4px;
}

.wa-widget-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 12px;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
  transition: background .2s;
}

.wa-widget-btn:hover {
  background: #128c7e;
}

.wa-toggle-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: transform .25s ease, background .2s;
  position: relative;
}

.wa-toggle-btn:hover {
  transform: scale(1.08);
  background: #128c7e;
}

.wa-toggle-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.wa-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes ping {
  75%, 100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Barra Inferior de Ação Rápida Mobile (Mobile Bottom Quick Bar) */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 900px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-bottom-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #ffffff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(11, 30, 54, 0.08);
    z-index: 1000;
  }

  .mob-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition: color .2s;
    padding: 6px 2px;
    -webkit-tap-highlight-color: transparent;
  }

  .mob-bar-item:active {
    background: var(--paper);
  }

  .mob-bar-item .mob-bar-icon {
    font-size: 20px;
    line-height: 1;
  }

  .mob-bar-item.wa-item {
    color: #15803d;
  }

  .mob-bar-item.highlight {
    color: var(--wine);
  }

  /* Ajuste do botão flutuante de WhatsApp para não sobrepor a barra mobile */
  .wa-widget-container {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    right: 16px !important;
  }

  .wa-widget-popup {
    width: calc(100vw - 32px) !important;
    max-width: 320px !important;
    right: 0 !important;
  }

  /* Prevenção de auto-zoom em iOS para campos de texto */
  input, select, textarea {
    font-size: 16px !important;
  }

  /* Altura mínima de toque recomendada (48px) */
  button, .button, a.button {
    min-height: 48px;
  }

  .hero-corporate {
    padding: 44px 0 50px;
  }

  .hero-corporate h1 {
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.22;
  }

  .hero-corp-desc {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-corp-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-corp-actions .button {
    width: 100%;
    justify-content: center;
  }

  .section-heading h2 {
    font-size: clamp(22px, 5.5vw, 30px) !important;
  }

  .pillars-grid,
  .services-grid,
  .tools-showcase-grid,
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }

  .footer-corp-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  /* Tabelas e Stepper em mobile */
  .stepper {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .step-node {
    flex-direction: row !important;
    text-align: left !important;
    gap: 14px !important;
  }

  .checklist-tabs {
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    gap: 8px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .check-tab {
    flex-shrink: 0;
    padding: 10px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr !important;
  }
}


