/* =========================================================
   LEO Transportes & Mudanças — Folha de Estilos Principal
   Cores extraídas da identidade visual: azul-marinho, roxo,
   amarelo e branco.
   ========================================================= */

:root {
  /* Paleta de marca */
  --color-navy: #012138;
  --color-navy-light: #0d3258;
  --color-navy-soft: #123a63;
  --color-purple: #7c3f82;
  --color-purple-light: #9a55a0;
  --color-yellow: #fdc800;
  --color-yellow-dark: #e0ad00;
  --color-white: #ffffff;
  --color-bg: #f6f7fb;
  --color-text: #1c2230;
  --color-text-muted: #5a6478;

  /* Tipografia */
  --font-heading: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;

  /* Espaçamento / layout */
  --container-width: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-soft: 0 12px 30px rgba(1, 33, 56, 0.12);
  --shadow-strong: 0 20px 45px rgba(1, 33, 56, 0.25);
  --transition: 0.35s ease;
}

/* ---------- Reset básico ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  margin: 0;
  line-height: 1.2;
  text-wrap: pretty;
}

p {
  margin: 0;
  text-wrap: pretty;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-yellow);
  color: var(--color-navy);
  padding: 10px 16px;
  z-index: 999;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-yellow {
  background: var(--color-yellow);
  color: var(--color-navy);
  box-shadow: 0 10px 24px rgba(253, 200, 0, 0.35);
}

.btn-yellow:hover {
  background: var(--color-yellow-dark);
}

.btn-outline {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-navy);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.85);
}

.btn-navy {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-navy:hover {
  background: var(--color-navy-light);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--color-white);
  padding: 10px 20px;
  font-size: 0.95rem;
}

.btn-whatsapp:hover {
  background: #1ebd58;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  z-index: 500;
  transition: transform var(--transition);
  animation: pulse-whatsapp 2.6s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

body.has-cookie-banner .whatsapp-float {
  bottom: calc(var(--cookie-banner-h, 90px) + 16px);
  transition: bottom 0.3s ease;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 400;
  background: var(--color-white);
  box-shadow: 0 2px 16px rgba(1, 33, 56, 0.08);
  transition: box-shadow var(--transition), padding var(--transition);
  padding: 16px 0;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(1, 33, 56, 0.12);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link img {
  height: 60px;
  width: auto;
  border-radius: 6px;
  transition: height var(--transition);
}

.site-header.is-scrolled .logo-link img {
  height: 50px;
}

.main-nav ul {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--color-navy);
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-yellow);
  transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(1, 33, 56, 0.06);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.header-social a:hover {
  background: var(--color-purple);
  color: var(--color-white);
}

.header-social svg {
  width: 16px;
  height: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 32px;
  background: transparent;
  border: none;
  padding: 0;
  z-index: 401;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-navy);
  background-size: cover;
  background-position: 78% center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 21, 38, 0.96) 0%, rgba(1, 21, 38, 0.92) 32%, rgba(1, 33, 56, 0.68) 48%, rgba(1, 33, 56, 0.24) 60%, rgba(1, 33, 56, 0) 68%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  padding-top: 112px;
  padding-bottom: 96px;
  padding-left: clamp(24px, 7vw, 100px);
  padding-right: 24px;
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-yellow);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-yellow);
}

.hero h1 {
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--color-yellow);
}

.hero h1 .h1-highlight {
  color: var(--color-white);
}

.hero h1 .h1-secondary {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.8em;
  font-weight: 700;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 6px;
}

.hero-cta .btn {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.hero-cta .btn svg {
  width: 20px;
  height: 20px;
}

/* ---------- Faixa de destaques ---------- */
.highlights {
  background: var(--color-white);
  border-bottom: 1px solid #eceef3;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 34px 24px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.highlight-item .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(124, 63, 130, 0.1);
  color: var(--color-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-item .icon-wrap svg {
  width: 24px;
  height: 24px;
}

.highlight-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-navy);
}

.highlight-item span {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* ---------- Secções genéricas ---------- */
section {
  padding: 96px 0;
}

.section-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-purple);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.section-title.light {
  color: var(--color-white);
}

.section-sub {
  font-size: 1.08rem;
  color: var(--color-text-muted);
  max-width: 620px;
}

.section-sub.light {
  color: rgba(255, 255, 255, 0.78);
}

.section-head {
  margin-bottom: 52px;
}

.section-head.center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-head.center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Serviços ---------- */
.services {
  background: var(--color-bg);
}

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

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-top-color: var(--color-yellow);
}

.service-card .icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-navy), var(--color-purple));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-card .icon-wrap svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

/* ---------- Porque Escolher a LEO Transportes (Diferenciais) ---------- */
.differentials {
  background: var(--color-white);
}

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

.differential-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.differential-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.differential-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.differential-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.differential-card:hover .differential-image img {
  transform: scale(1.07);
}

.differential-body {
  padding: 30px 28px 34px;
}

.differential-body .icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-navy), var(--color-purple));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.differential-body .icon-wrap svg {
  width: 28px;
  height: 28px;
}

.differential-body h3 {
  font-size: 1.2rem;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.differential-body p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

/* ---------- Sobre Nós ---------- */
.about {
  background: var(--color-white);
}

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

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 4 / 3;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(1, 33, 56, 0.55) 100%);
}

.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-soft);
}

.about-badge .icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-badge .icon-wrap svg {
  width: 17px;
  height: 17px;
}

.about-badge strong {
  display: block;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 0.85rem;
}

.about-badge span {
  font-size: 0.74rem;
  color: var(--color-text-muted);
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 18px;
  font-size: 1.04rem;
}

.about-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 32px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  color: var(--color-navy);
}

.about-list li svg {
  width: 22px;
  height: 22px;
  color: var(--color-purple);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- Cobertura ---------- */
.coverage {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-soft) 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.coverage::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 63, 130, 0.45), transparent 70%);
  top: -180px;
  right: -120px;
}

.coverage-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.coverage-col {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.coverage-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  margin-bottom: 22px;
  color: var(--color-yellow);
}

.coverage-col h3 svg {
  width: 24px;
  height: 24px;
}

.coverage-list {
  columns: 2;
  column-gap: 20px;
}

.coverage-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.9);
  break-inside: avoid;
  margin-bottom: 11px;
}

.coverage-list li svg {
  width: 16px;
  height: 16px;
  color: var(--color-yellow);
  flex-shrink: 0;
}

.coverage-note {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Orçamento ---------- */
.quote {
  background: var(--color-bg);
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: flex-start;
}

.quote-info p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.quote-contacts {
  display: grid;
  gap: 18px;
}

.quote-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-contact-item .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(1, 33, 56, 0.08);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quote-contact-item .icon-wrap svg {
  width: 22px;
  height: 22px;
}

.quote-contact-item strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-size: 0.98rem;
}

.quote-contact-item span,
.quote-contact-item a {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.quote-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 20px;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 16px;
  border: 1.5px solid #e0e3ec;
  border-radius: var(--radius-sm);
  background: #fbfbfd;
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-purple);
  box-shadow: 0 0 0 4px rgba(124, 63, 130, 0.12);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #e0455a;
}

.field-error {
  font-size: 0.8rem;
  color: #e0455a;
  min-height: 1em;
}

.form-disclaimer {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.form-feedback {
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
}

.form-feedback.is-visible {
  max-height: 100px;
  padding: 14px 16px;
}

.form-feedback.success {
  background: rgba(37, 211, 102, 0.12);
  color: #1c8a45;
}

.form-feedback.error {
  background: rgba(224, 69, 90, 0.1);
  color: #c4283f;
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: #f8f9fb;
  color: var(--color-text-muted);
  padding-top: 80px;
  border-top: 1px solid #eceef3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(1, 33, 56, 0.08);
}

.footer-brand img {
  height: 76px;
  width: auto;
  margin-bottom: 18px;
  border-radius: 6px;
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(1, 33, 56, 0.06);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
  background: var(--color-purple);
  color: var(--color-white);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  color: var(--color-navy);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.footer-col ul {
  display: grid;
  gap: 12px;
}

.footer-col a {
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--color-purple);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-purple);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(1, 33, 56, 0.45);
}

.footer-bottom a {
  color: rgba(1, 33, 56, 0.45);
}

.footer-bottom a:hover {
  color: var(--color-purple);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-legal-link {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.85rem;
  color: rgba(1, 33, 56, 0.45);
  cursor: pointer;
  transition: color var(--transition);
}

.footer-legal-link:hover {
  color: var(--color-purple);
}

/* ---------- Aviso de Cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: var(--color-navy);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
  padding: 18px 24px;
  transform: translateY(120%);
  transition: transform 0.4s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  flex: 1 1 420px;
}

.cookie-banner-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--color-yellow);
  text-decoration: underline;
  cursor: pointer;
}

.cookie-banner-actions {
  flex-shrink: 0;
}

.cookie-banner-actions .btn {
  padding: 11px 26px;
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 14px;
  }

  .cookie-banner-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Modais (Privacidade / Cookies) ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(1, 21, 38, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-overlay[hidden] {
  display: none;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 82vh;
  overflow-y: auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  padding: 44px 36px 36px;
}

.modal-box h3 {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 18px;
  padding-right: 30px;
}

.modal-body p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.modal-body strong {
  color: var(--color-navy);
}

.modal-body ul {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
}

.modal-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.modal-body ul li svg {
  width: 16px;
  height: 16px;
  color: var(--color-purple);
  flex-shrink: 0;
  margin-top: 3px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(1, 33, 56, 0.06);
  color: var(--color-navy);
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.modal-close:hover {
  background: var(--color-yellow);
}

/* ---------- Animações de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---------- Responsividade ---------- */
@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .differentials-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 520px;
    margin: 0 auto;
  }

  .hero {
    background-position: 62% center;
  }

  .hero-content {
    padding-top: 128px;
    padding-bottom: 64px;
    padding-left: 24px;
    padding-right: 24px;
    max-width: 100%;
  }

  .hero-sub {
    max-width: 100%;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(1, 21, 38, 0.82) 0%, rgba(1, 33, 56, 0.6) 100%);
  }

  .about-grid,
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    aspect-ratio: 16 / 10;
    max-width: 520px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Sobre Nós: badge "Frota Própria" em faixa compacta no mobile ---------- */
@media (max-width: 767px) {
  .about-badge {
    max-height: 80px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 8px 12px;
    gap: 8px;
  }

  .about-badge .icon-wrap {
    width: 26px;
    height: 26px;
  }

  .about-badge .icon-wrap svg {
    width: 14px;
    height: 14px;
  }

  .about-badge > div {
    flex: 1;
    min-width: 0;
  }

  .about-badge strong {
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .about-badge span {
    display: block;
    font-size: 0.66rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--color-navy);
    padding: 110px 32px 32px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 26px;
  }

  .main-nav a {
    font-size: 1.1rem;
    color: var(--color-white);
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions .btn-whatsapp {
    display: none;
  }

  .header-social {
    display: none;
  }

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

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

  .differentials-grid {
    max-width: 100%;
  }

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

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

  .quote-form {
    padding: 28px 22px;
  }

  section {
    padding: 70px 0;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }

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

  .coverage-list {
    columns: 1;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 18px;
    right: 18px;
  }
}

/* Acessibilidade: respeitar preferência por menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
