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

:root {
  --navy-950: #071a3d;
  --navy-900: #0b2255;
  --navy-800: #0f2e6e;
  --blue-700: #0d4fa0;
  --blue-600: #135fc2;
  --blue-500: #1a6fe0;
  --blue-400: #3f8dfa;
  --light-bg: #eef3fb;
  --light-bg-2: #f7f9fd;
  --white: #ffffff;
  --gray-700: #445069;
  --gray-600: #5b6b85;
  --gray-500: #7c89a1;
  --border: #dde6f3;
  --shadow: 0 10px 30px rgba(11, 34, 85, 0.08);
  --shadow-lg: 0 20px 50px rgba(7, 26, 61, 0.18);
  --radius: 14px;
  --container: 1180px;
}

html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
  font-family: "Segoe UI", "Open Sans", Arial, Helvetica, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--navy-950); line-height: 1.25; font-weight: 800; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: rgba(19, 95, 194, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.section-head p { font-size: 17px; color: var(--gray-600); }

.bg-light { background: var(--light-bg-2); }
.bg-navy { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: #cfdcf3; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy .section-head p { color: #b9c8e6; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: var(--white); box-shadow: 0 12px 24px rgba(13, 79, 160, 0.35); }
.btn-primary:hover { box-shadow: 0 16px 30px rgba(13, 79, 160, 0.45); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-outline { background: transparent; color: var(--blue-700); border-color: var(--blue-700); }
.btn-outline:hover { background: var(--blue-700); color: var(--white); }
.btn-whatsapp { background: #1fb855; color: var(--white); box-shadow: 0 12px 24px rgba(31, 184, 85, 0.35); }
.btn-whatsapp:hover { box-shadow: 0 16px 30px rgba(31, 184, 85, 0.45); }
.btn-block { width: 100%; justify-content: center; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; }
.brand img { height: 40px; width: auto; }

.main-nav ul { display: flex; gap: 32px; align-items: center; }
.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-900);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--blue-500);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-900); font-size: 15px; }
.header-phone svg { flex-shrink: 0; }

.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 26px; height: 20px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle-label span { display: block; height: 2px; width: 100%; background: var(--navy-900); border-radius: 2px; transition: all 0.25s ease; }
#nav-toggle { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/hero-handshake.jpg") center 30% / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,26,61,0.94) 0%, rgba(7,26,61,0.86) 38%, rgba(11,34,85,0.55) 75%, rgba(11,34,85,0.35) 100%);
}
.hero-content {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 150px 24px 130px;
}
.hero-content .inner { max-width: 620px; }
.hero-content .section-tag { background: rgba(255,255,255,0.14); color: #cfe0ff; }
.hero-content h1 { color: var(--white); font-size: clamp(34px, 5vw, 56px); margin-bottom: 20px; }
.hero-content h1 span { color: #6fb0ff; }
.hero-content p { font-size: 18px; color: #dbe5f7; max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 40px;
}
.hero-stats .stat strong { display: block; font-size: 28px; color: var(--white); }
.hero-stats .stat span { font-size: 13px; color: #b9c8e6; text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== Quick services strip ===== */
.quick-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.quick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 24px;
  border-right: 1px solid var(--border);
}
.quick-item:last-child { border-right: none; }
.quick-item .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-600);
  flex-shrink: 0;
}
.quick-item strong { display: block; color: var(--navy-950); font-size: 15px; }
.quick-item span { font-size: 13px; color: var(--gray-500); }

/* ===== Featured banner (Transporte) ===== */
.feature-banner {
  background: linear-gradient(120deg, var(--navy-950), var(--blue-700) 130%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.feature-banner .icon-badge {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-banner h3 { color: var(--white); font-size: 26px; margin-bottom: 8px; }
.feature-banner p { color: #cfdcf3; max-width: 420px; }
.feature-banner .checklist { display: grid; gap: 10px; min-width: 320px; }
.feature-banner .checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #e5edfb; }
.feature-banner .checklist li svg { flex-shrink: 0; margin-top: 3px; color: #6fe0a8; }

.badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  width: 100%;
}

/* ===== Cards grid (Soluções) ===== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.solutions-grid-3 { grid-template-columns: repeat(3, 1fr); }
.solution-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.solution-photo { aspect-ratio: 16 / 11; overflow: hidden; background: var(--light-bg); }
.solution-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.solution-card:hover .solution-photo img { transform: scale(1.06); }
.solution-body { padding: 18px 20px 22px; }
.solution-card p { font-size: 14px; color: var(--gray-600); }

.solution-card--icon { padding: 28px 22px; }
.solution-card--icon .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  margin-bottom: 18px;
}
.solution-card--icon h4 { font-size: 16.5px; margin-bottom: 8px; }

/* ===== Two column (Quem somos) ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: -1px; left: -1px;
  background: var(--white);
  border-radius: 0 var(--radius) 0 0;
  padding: 22px 26px;
  box-shadow: var(--shadow);
}
.about-badge strong { display: block; font-size: 30px; color: var(--blue-700); }
.about-badge span { font-size: 13px; color: var(--gray-600); }

.about-list { display: grid; gap: 28px; margin-top: 32px; }
.about-list .item { display: flex; gap: 18px; }
.about-list .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--light-bg);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-list h4 { font-size: 16px; margin-bottom: 6px; }
.about-list p { font-size: 14.5px; color: var(--gray-600); }

/* ===== Mission / Vision / Values ===== */
.mvv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.mvv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.mvv-card .icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--blue-500);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.mvv-card h3 { font-size: 20px; margin-bottom: 10px; }
.mvv-card p { font-size: 15px; color: var(--gray-600); }

.values-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.values-card h3 { font-size: 20px; margin-bottom: 22px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.values-grid .value h4 { font-size: 15px; display: flex; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--navy-950); }
.values-grid .value h4 svg { color: var(--blue-600); flex-shrink: 0; }
.values-grid .value p { font-size: 13.5px; color: var(--gray-600); }

/* ===== Differentiators ===== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.diff-card { text-align: center; padding: 0 8px; }
.diff-card .icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-600);
  margin: 0 auto 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.diff-card:hover .icon { border-color: var(--blue-500); background: var(--light-bg); }
.diff-card h4 { font-size: 15.5px; margin-bottom: 8px; }
.diff-card p { font-size: 13.5px; color: var(--gray-600); }

/* ===== Process steps (Riscos / Sinistros) ===== */
.steps-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  position: relative;
}
.step { text-align: center; padding: 0 10px; position: relative; }
.step .icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  color: #cfe0ff;
  position: relative;
  z-index: 2;
}
.step.light .icon { background: var(--light-bg); border-color: var(--border); color: var(--blue-600); }
.step h4 { font-size: 14.5px; margin-bottom: 8px; letter-spacing: 0.02em; }
.step p { font-size: 13px; }
.bg-navy .step p { color: #b9c8e6; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px; left: 60%;
  width: 80%;
  height: 2px;
  background: rgba(255,255,255,0.15);
  z-index: 1;
}
.step.light:not(:last-child)::after { background: var(--border); }

/* ===== Insurers ===== */
.insurers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.insurer-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.insurer-chip:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.insurer-chip img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* ===== Clients placeholder ===== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.client-slot {
  height: 90px;
  border-radius: 10px;
  border: 1.5px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500);
  font-size: 13px;
  background: var(--light-bg-2);
}

/* ===== CTA band ===== */
.cta-band {
  position: relative;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.cta-band .hero-bg { background-image: url("../img/cta-handshake.jpg"); background-position: center 25%; }
.cta-band .hero-overlay { background: linear-gradient(180deg, rgba(7,26,61,0.88), rgba(7,26,61,0.92)); }
.cta-band .cta-inner { position: relative; max-width: 640px; margin: 0 auto; padding: 100px 24px; }
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 16px; }
.cta-band p { color: #dbe5f7; margin-bottom: 34px; font-size: 17px; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-950); color: #b9c8e6; padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 38px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; color: #a7b7d6; max-width: 280px; margin-bottom: 20px; }
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.social-row a:hover { background: var(--blue-600); border-color: var(--blue-600); }

.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a, .footer-col span { font-size: 14px; color: #a7b7d6; }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex-shrink: 0; margin-top: 2px; color: var(--blue-400); }

.footer-bottom {
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: #7d8db0;
}

/* ===== WhatsApp floating button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #1fb855;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(31, 184, 85, 0.5);
  z-index: 200;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .diff-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-row { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .step:nth-child(3)::after { display: none; }
  .insurers-grid { grid-template-columns: repeat(4, 1fr); }
  .badges-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .main-nav { position: fixed; inset: 68px 0 0 0; background: var(--white); padding: 32px 24px; transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 22px; }
  .main-nav a { font-size: 18px; }
  #nav-toggle:checked ~ .main-nav { transform: translateX(0); }
  .nav-toggle-label { display: flex; }
  #nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  #nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  #nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .header-phone span { display: none; }
  .header-cta .btn-primary { display: none; }

  .two-col { grid-template-columns: 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .insurers-grid { grid-template-columns: repeat(3, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-banner { flex-direction: column; align-items: flex-start; }
  .feature-banner .checklist { min-width: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats { grid-template-columns: repeat(3, auto); gap: 24px; }
  .hero-content { padding: 120px 20px 90px; }
}

@media (max-width: 520px) {
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .insurers-grid { grid-template-columns: repeat(2, 1fr); }
  .badges-grid { grid-template-columns: 1fr; row-gap: 26px; }
  .clients-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 14px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
