/* Transvelloz: estilos globais. Mobile first. */

/* Fallbacks com métrica ajustada: evitam que o layout pule quando as Google Fonts carregam */
@font-face { font-family: "Bebas Fallback"; src: local("Arial"), local("Helvetica"), local("Roboto"); size-adjust: 57%; }
@font-face { font-family: "Barlow Fallback"; src: local("Arial"), local("Helvetica"), local("Roboto"); size-adjust: 95%; }

:root {
  --branco: #FFFFFF;
  --navy: #0B2545;
  --navy-2: #13315C;
  --laranja: #ED6826;
  --laranja-escuro: #D4561A;
  --texto: #334155;
  --texto-suave: #5B6B80;
  --borda: #E2E8F0;
  --alt: #F5F7FA;
  --erro: #B42318;
  --pendente: #FEF3C7;

  --fonte-titulo: "Bebas Neue", "Bebas Fallback", sans-serif;
  --fonte-corpo: "Barlow", "Barlow Fallback", system-ui, sans-serif;

  --raio: 8px;
  --raio-lg: 12px;
  --sombra: 0 1px 2px rgba(11, 37, 69, .06), 0 8px 24px rgba(11, 37, 69, .06);
  --sombra-card: 0 24px 60px rgba(4, 16, 32, .35);
  --sombra-laranja: 0 6px 16px rgba(237, 104, 38, .32);
  --header-h: 64px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--branco);
  color: var(--texto);
  font-family: var(--fonte-corpo);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.05; }
h1, h2 { font-family: var(--fonte-titulo); font-weight: 400; letter-spacing: .5px; }
/* Bebas só tem maiúsculas: forçar caixa alta mantém o fallback com a mesma largura */
h1, h2, .fc-titulo { text-transform: uppercase; }
h2 { font-size: 2.125rem; line-height: 1.05; }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--laranja); outline-offset: 2px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container-estreito { max-width: 820px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--raio); }
.skip-link:focus { top: 8px; }

/* Texto pendente de preenchimento: [colchete] */
mark.pendente, .pendente-link { background: var(--pendente); color: #713F12; padding: 0 .2em; border-radius: 3px; }

/* Ícones */
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: currentColor; stroke: none; }
.ic-lg { width: 32px; height: 32px; }
.ic-circ { display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: rgba(237, 104, 38, .1); color: var(--laranja); }
.ic-circ .ic { width: 24px; height: 24px; }
.ic-star { width: 18px; height: 18px; fill: var(--laranja); }
.estrelas { display: inline-flex; gap: 2px; }
.estrelas-sm .ic-star { width: 14px; height: 14px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 12px 26px;
  border: 2px solid transparent; border-radius: var(--raio);
  font-family: var(--fonte-corpo); font-size: 1.1875rem; font-weight: 700; line-height: 1.15;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s, transform .15s, box-shadow .15s;
}
.btn-primary { background: var(--laranja); color: #fff; box-shadow: var(--sombra-laranja); }
.btn-primary:hover { background: var(--laranja-escuro); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary .ic { width: 20px; height: 20px; }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 1.1875rem; }
.btn-wa { background: var(--laranja); color: #fff; box-shadow: var(--sombra-laranja); }
.btn-wa:hover { background: var(--laranja-escuro); }
.btn-wa-outline { background: #fff; color: var(--laranja-escuro); border-color: var(--laranja); }
.btn[disabled] { opacity: .75; cursor: progress; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--branco);
  transition: box-shadow .2s;
}
.site-header.rolou { box-shadow: 0 2px 12px rgba(11, 37, 69, .12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.header-logo img { height: 30px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { display: none; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; text-decoration: none; }
.header-phone:hover { text-decoration: underline; }
.header-cta { display: none; }
.header-wa {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  color: var(--laranja-escuro); border: 2px solid var(--laranja);
}
.header-wa .ic { width: 24px; height: 24px; }

/* ============ HERO ============ */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero-inner { position: relative; display: flex; flex-direction: column; padding-bottom: 32px; }
.hero-media {
  position: relative;
  margin: 0 calc(var(--gutter) * -1);
  height: clamp(230px, 54vw, 390px);
  overflow: hidden;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 37, 69, .15) 0%, rgba(11, 37, 69, 0) 45%, rgba(11, 37, 69, .85) 90%, var(--navy) 100%);
}
.hero-text { position: relative; z-index: 1; margin-top: -28px; }
.selo {
  display: inline-block; margin-bottom: 16px; padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px;
  background: rgba(11, 37, 69, .6);
  font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
}
.hero h1 { color: #fff; font-size: clamp(2.35rem, 10.5vw, 3.5rem); line-height: 1; }
.hero-sub { margin-top: 16px; font-size: 1.0625rem; color: #E6ECF4; }
.sub-curto { display: none; }
.nowrap { white-space: nowrap; }
.hero-bullets { margin-top: 20px; display: grid; gap: 6px; }
.hero-bullets li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 1rem; line-height: 1.35; }
.hero-bullets .ic { color: var(--laranja); stroke-width: 2.75; width: 20px; height: 20px; margin-top: 1px; }
.prova-google { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; color: #fff; text-decoration: none; font-size: .9375rem; }
.prova-google .u { text-decoration: underline; color: #D5DEEA; }
.hero-form { position: relative; z-index: 1; margin-top: 20px; }

/* ============ CARD DE COTAÇÃO (componente único) ============ */
.card-cotacao {
  background: #fff; color: var(--texto);
  border-radius: var(--raio-lg);
  box-shadow: var(--sombra-card);
  padding: 22px 18px 16px;
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.fc-titulo { font-family: var(--fonte-titulo); font-weight: 400; font-size: 2.125rem; color: var(--navy); line-height: 1; }
.fc-sub { margin-top: 4px; margin-bottom: 16px; color: var(--texto); font-weight: 500; line-height: 1.4; }
.btn-enviar { margin-top: 4px; padding-left: 14px; padding-right: 14px; gap: 8px; }
.btn-enviar .ic { width: 22px; height: 22px; }

.field { margin: 0 0 12px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: 5px; padding: 0; font-size: .9375rem; font-weight: 600; color: var(--navy); }
.field input {
  width: 100%; min-height: 50px; padding: 11px 14px;
  border: 1.5px solid #CBD5E1; border-radius: var(--raio);
  background: #fff; font-size: 1.0625rem;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #64748B; }
.field input:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(19, 49, 92, .18); }
.field input[aria-invalid="true"] { border-color: var(--erro); }
.field-erro { min-height: 0; font-size: .875rem; color: var(--erro); font-weight: 500; }
.field-erro:not(:empty) { margin-top: 4px; }


.fc-prova {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--borda);
  font-size: .875rem; font-weight: 600; color: var(--navy);
}
.fc-prova .dot { color: var(--texto-suave); }
.fc-alt { margin-top: 14px; text-align: center; font-size: .9375rem; color: #E6ECF4; }
.fc-alt a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: 6px 2px; }
.fc-alt .ic { width: 18px; height: 18px; color: var(--laranja); }

/* ============ FAIXA DE CONFIANÇA ============ */
.faixa { background: var(--navy-2); color: #fff; }
.faixa-lista { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; padding-top: 22px; padding-bottom: 22px; }
.faixa-lista li { display: flex; align-items: center; gap: 10px; font-size: .9375rem; line-height: 1.3; }
.faixa-lista .ic { color: var(--laranja); width: 26px; height: 26px; }
.faixa-lista strong { color: #fff; }
.faixa-porto img { height: 22px; width: auto; flex: none; }

/* ============ SEÇÕES ============ */
.secao { padding: 48px 0; }
.secao-alt { background: var(--alt); }
/* Depoimentos: metade do espaço entre o botão e o fim da seção */
#depoimentos { padding-bottom: 24px; }
.secao h2 { margin-bottom: 28px; }
.card { background: #fff; border: 0; border-radius: var(--raio-lg); box-shadow: var(--sombra); }
.secao-rodape { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 30px; text-align: center; }
.secao-rodape .btn { width: 100%; max-width: 380px; }
.link-sec { color: var(--navy-2); font-weight: 600; text-underline-offset: 3px; padding: 6px; }

/* Depoimentos */
.carrossel { position: relative; }
.car-viewport { overflow: hidden; margin: -12px; padding: 12px; touch-action: pan-y; cursor: grab; }
.car-viewport.arrastando { cursor: grabbing; user-select: none; }
.car-trilho { display: flex; align-items: stretch; gap: 20px; will-change: transform; }
.dep-card {
  position: relative; flex: 0 0 86%; min-width: 0;
  display: flex; flex-direction: column;
  padding: 26px 22px 22px; background: #fff;
  border: 0; border-radius: var(--raio-lg); box-shadow: var(--sombra);
}
.car-controles { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; }
.car-seta {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: #fff; color: var(--navy); cursor: pointer;
  box-shadow: 0 2px 6px rgba(11, 37, 69, .12), 0 8px 20px rgba(11, 37, 69, .12);
  transition: transform .15s;
}
.car-seta:hover { transform: scale(1.06); }
.car-seta .ic { width: 22px; height: 22px; stroke-width: 2.25; }
.car-dots { display: flex; gap: 2px; }
.car-dot { display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.car-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; transition: background-color .2s, transform .2s; }
.car-dot.ativo::before { background: var(--laranja); transform: scale(1.2); }
.dep-aspas { display: block; height: 40px; font-family: var(--fonte-titulo); font-size: 5.5rem; line-height: .95; color: var(--laranja); }
.dep-texto {
  flex: 1; margin: 14px 0 20px; font-size: 1.0625rem; line-height: 1.6; color: var(--texto);
  /* Limite de segurança: 6 linhas */
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden;
}
.dep-texto-curto { font-size: 1.25rem; line-height: 1.5; }
.dep-texto strong { color: var(--navy); }
.dep-nota { display: flex; align-items: center; gap: 10px; margin: -12px 0 28px; font-size: 1rem; font-weight: 600; color: var(--navy); }
/* Texto curto centralizado no espaço livre do card, para não sobrar um vão embaixo */
.dep-texto-curto { flex: 0 0 auto; margin-top: auto; margin-bottom: auto; padding: 14px 0 20px; }
.dep-rodape { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--borda); }
.dep-avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; object-fit: cover; }
.dep-logo { height: 32px; width: auto; max-width: 110px; object-fit: contain; margin-left: auto; }
.dep-nome { font-weight: 700; color: var(--navy); line-height: 1.2; }
.dep-cargo { font-size: .875rem; color: var(--texto-suave); }
.dep-topo { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.dep-rodape-secao { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 28px; text-align: center; }
.dep-setores { font-size: 1.125rem; font-weight: 500; line-height: 1.5; color: var(--navy); max-width: 640px; }
.dep-rodape-secao .btn { margin-top: 10px; width: 100%; max-width: 380px; }


/* Logos de clientes: faixa contínua. As duas listas iguais andam juntas 100% da
   própria largura; quando a primeira sai, a cópia está no lugar dela (loop sem pulo). */
.clientes { margin-top: 40px; }
.secao .clientes-titulo {
  margin-bottom: 18px; font-family: var(--fonte-corpo); font-size: .9375rem; font-weight: 600;
  line-height: 1.3; letter-spacing: 0; text-transform: none; text-align: center; color: var(--texto-suave);
}
.clientes-faixa {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clientes-trilho { display: flex; flex: none; align-items: center; padding: 6px 0; animation: clientes-rolar 50s linear infinite; }
.clientes-trilho li { flex: none; padding: 0 28px; }
.clientes-trilho img { display: block; width: auto; height: 32px; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.clientes-trilho img:hover { filter: none; opacity: 1; }
.clientes-faixa:hover .clientes-trilho { animation-play-state: paused; }
@keyframes clientes-rolar { to { transform: translateX(-100%); } }

/* Problemas */

/* Passos */
.passos { display: grid; gap: 16px; }
.passos li { position: relative; padding: 22px 20px 22px 78px; }
.passo-num {
  position: absolute; left: 20px; top: 20px;
  width: 44px; height: 44px; display: grid; place-items: center;
  font-family: var(--fonte-titulo); font-size: 1.75rem; line-height: 1;
  color: #fff; background: var(--laranja); border-radius: 50%;
}
.passos h3 { font-size: 1.1875rem; margin-bottom: 4px; }

/* Segurança (azul marinho, maior peso depois do hero) */
.seguranca { background: var(--navy); color: #fff; }
.seguranca h2 { color: #fff; }
.seg-grid { display: grid; gap: 32px; }
.seg-selo { padding: 26px 22px; background: #fff; color: var(--texto); border-radius: var(--raio-lg); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.seg-selo-topo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-bottom: 18px; border-bottom: 1px solid var(--borda); }
.seg-selo-topo img { height: 42px; width: auto; }
.seg-selo-topo p { font-weight: 600; color: var(--navy); line-height: 1.3; }
.seg-valor { margin-top: 18px; font-family: var(--fonte-titulo); font-size: 4.5rem; line-height: .95; color: var(--laranja); letter-spacing: .5px; }
.seg-valor-sub { margin-top: 4px; font-size: 1.1875rem; font-weight: 600; color: var(--navy); line-height: 1.35; }
.seg-coberturas { margin-top: 12px; font-size: .9375rem; color: var(--texto-suave); }
.seg-itens { display: grid; gap: 22px; }
.seg-itens li { display: flex; align-items: flex-start; gap: 16px; }
.seg-itens p { color: #D5DEEA; line-height: 1.5; padding-top: 2px; }
.seg-itens strong { display: block; color: #fff; font-size: 1.125rem; }

/* Equipe */
.equipe-grid { display: grid; gap: 24px; align-items: center; }
.equipe-foto { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto; border-radius: var(--raio-lg); box-shadow: var(--sombra-foto, 0 2px 6px rgba(11, 37, 69, .08), 0 16px 40px rgba(11, 37, 69, .12)); }
.equipe-texto h2 { margin-bottom: 16px; }
.equipe-texto p { font-size: 1.125rem; line-height: 1.6; color: var(--texto); max-width: 52ch; }
.equipe-texto .btn { margin-top: 24px; width: 100%; }

/* O que transportamos */
.servicos-inner { display: grid; gap: 20px; }
.servicos h2 { margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  border: 1.5px solid var(--navy); border-radius: 99px;
  color: var(--navy); font-weight: 600; text-decoration: none; background: #fff;
  transition: background-color .15s, color .15s;
}
.chip:hover { background: var(--navy); color: #fff; }

/* CTA final */
.cta-final { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 64px 0; }
.cta-foto { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.cta-final::after { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(11, 37, 69, .88); }
.grafismo { position: absolute; right: -18%; top: 50%; width: min(900px, 120vw); transform: translateY(-50%); opacity: .1; pointer-events: none; }
.cta-grid { position: relative; z-index: 1; display: grid; gap: 28px; }
.cta-texto h2 { color: #fff; }
.cta-texto p { margin-top: 12px; font-size: 1.1875rem; color: #E6ECF4; max-width: 30ch; }
.cta-contatos { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.cta-contatos .btn { width: 100%; }
.cta-tel { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 1.25rem; font-weight: 700; text-decoration: none; padding: 8px 0; }
.cta-tel .ic { color: var(--laranja); }

/* FAQ */
.faq { border-top: 1px solid var(--borda); }
.faq details { border-bottom: 1px solid var(--borda); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 2px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.125rem; color: var(--navy); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; color: var(--navy-2); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 2px 18px; }
.faq-wa { margin-top: 24px; text-align: center; font-size: 1.0625rem; }
.faq-wa a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); text-underline-offset: 3px; padding: 6px 2px; }
.faq-wa .ic { color: var(--laranja); width: 20px; height: 20px; }

/* Rodapé */
.rodape { background: var(--navy); color: #D5DEEA; padding: 48px 0 0; font-size: .9375rem; }
.rodape-grid { display: grid; gap: 32px; align-items: start; }
.rodape-marca img { height: 32px; width: auto; }
.rodape-legal { margin-top: 16px; font-size: .875rem; line-height: 1.6; color: #B8C4D6; }
.rodape .rodape-titulo {
  margin: 4px 0 16px; font-family: var(--fonte-corpo); font-size: .8125rem; font-weight: 600;
  line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #B8C4D6;
}
.rodape-lista { display: grid; gap: 12px; }
.rodape-lista li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; color: #E2E8F0; }
.rodape-lista a { color: #E2E8F0; text-decoration: none; }
.rodape-lista a:hover { color: #fff; text-decoration: underline; }
.rodape-lista .ic { width: 18px; height: 18px; margin-top: 1px; color: var(--laranja); }
.rodape-base { margin-top: 40px; padding-bottom: 24px; font-size: .8125rem; color: #B8C4D6; }
/* A linha fina acompanha a largura do conteúdo, não a do container */
.rodape-base p { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); }

/* Barra fixa mobile */
.barra-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: #fff; box-shadow: 0 -4px 18px rgba(11, 37, 69, .14);
  transform: translateY(110%); transition: transform .25s ease;
}
.barra-mobile.visivel { transform: none; }
.barra-mobile .btn-primary { flex: 1; }
.barra-mobile .btn-wa-outline { width: 58px; padding: 0; }
.barra-mobile .btn-wa-outline .ic { width: 26px; height: 26px; }
body.tem-barra .rodape { padding-bottom: 100px; }

/* WhatsApp flutuante (desktop) */
.wa-flutuante {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: none; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--laranja); color: #fff; box-shadow: var(--sombra-laranja);
  animation: pulso 8s ease-out infinite;
  opacity: 0; visibility: hidden; transform: scale(.85);
  transition: opacity .2s, transform .2s, visibility .2s;
}
/* Só aparece depois que o formulário do hero sai da tela */
.wa-flutuante.visivel { opacity: 1; visibility: visible; transform: none; }
.wa-flutuante .ic { width: 28px; height: 28px; }
.wa-flutuante:hover { background: var(--laranja-escuro); }
@keyframes pulso {
  0%, 88% { box-shadow: var(--sombra-laranja), 0 0 0 0 rgba(237, 104, 38, .55); }
  96% { box-shadow: var(--sombra-laranja), 0 0 0 16px rgba(237, 104, 38, 0); }
  100% { box-shadow: var(--sombra-laranja), 0 0 0 0 rgba(237, 104, 38, 0); }
}

/* ============ PÁGINAS INTERNAS (obrigado, privacidade) ============ */
.pagina-simples { position: relative; overflow: hidden; min-height: 100vh; display: flex; flex-direction: column; }
.pagina-simples .site-header { border-bottom: 1px solid var(--borda); }
.obrigado { position: relative; flex: 1; padding: 56px 0 64px; overflow: hidden; }
.obrigado .grafismo { right: -30%; opacity: .09; }
.obrigado-box { position: relative; max-width: 620px; margin: 0 auto; text-align: center; }
.obrigado-icone { width: 72px; height: 72px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; }
.obrigado-icone .ic { width: 36px; height: 36px; stroke-width: 2.5; color: var(--laranja); }
.obrigado h1 { font-size: clamp(2.5rem, 9vw, 3.75rem); }
.obrigado-texto { margin-top: 12px; font-size: 1.25rem; color: var(--texto); }
.obrigado .btn { margin-top: 28px; width: 100%; max-width: 420px; min-height: 60px; font-size: 1.25rem; }
.obrigado-resumo { margin: 28px auto 0; max-width: 420px; padding: 16px 18px; background: var(--alt); border: 1px solid var(--borda); border-radius: var(--raio); text-align: left; font-size: .9375rem; }
.obrigado-resumo dt { font-weight: 700; color: var(--navy); }
.obrigado-resumo dd { margin: 0 0 6px; }
.obrigado-links { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; align-items: center; font-size: .9375rem; }
.obrigado-links a { color: var(--navy-2); text-underline-offset: 3px; }
.rodape-mini { background: var(--navy); color: #D5DEEA; padding: 22px 0; font-size: .875rem; }
.rodape-mini .container { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
.rodape-mini img { height: 26px; width: auto; }
.rodape-mini a { color: #fff; }

.texto-legal { padding: 48px 0 64px; }
.texto-legal h1 { font-size: clamp(2.5rem, 8vw, 3.5rem); margin-bottom: 8px; }
.texto-legal h2 { font-size: 1.75rem; margin: 32px 0 10px; }
.texto-legal p, .texto-legal li { margin-bottom: 10px; }
.texto-legal ul { list-style: disc; padding-left: 22px; }
.texto-legal .atualizado { color: var(--texto-suave); font-size: .9375rem; }

/* ============ BREAKPOINTS ============ */
@media (max-width: 480px) {
  .hero-bullets, .sub-longo { display: none; }
  .sub-curto { display: block; }
  .card-cotacao { padding-left: 14px; padding-right: 14px; }
  .dep-card { flex-basis: 88%; padding-left: 18px; padding-right: 18px; }
  .dep-texto { font-size: 1rem; }
  .dep-texto-curto { font-size: 1.25rem; }
  .btn-enviar, .equipe-texto .btn { padding-left: 8px; padding-right: 8px; gap: 6px; }
  .btn-enviar .ic { width: 20px; height: 20px; }
}

@media (min-width: 768px) {
  :root { --gutter: 28px; }
  .header-phone { display: inline-flex; }
  .header-cta { display: inline-flex; }
  .header-wa { display: none; }
  .hero-inner { padding-bottom: 48px; }
  .hero-text { max-width: 620px; }
  .hero-form { max-width: 520px; }
  .card-cotacao { padding: 26px 26px 18px; }
  .faixa-lista { grid-template-columns: repeat(4, 1fr); }
  h2 { font-size: 2.5rem; }
  .seg-valor { font-size: 5.5rem; }
  .dep-card { flex-basis: calc((100% - 20px) / 2); }
  .dep-card { padding: 30px 28px 26px; }
  .dep-texto { font-size: 1.125rem; }
  .dep-texto-curto { font-size: 1.25rem; }
  .dep-rodape-secao .btn { width: auto; }
  .clientes-trilho li { padding: 0 40px; }
  .clientes-trilho img { height: 40px; max-width: 160px; }
  .passos { grid-template-columns: repeat(3, 1fr); }
  .passos li { padding: 88px 24px 26px; }
  .passo-num { top: 24px; left: 22px; width: 46px; height: 46px; font-size: 2rem; }
  .secao { padding: 64px 0; }
  #depoimentos { padding-bottom: 32px; }
  .cta-final { padding: 96px 0; }
  .secao-rodape { flex-direction: row; justify-content: center; gap: 24px; }
  .secao-rodape .btn { width: auto; }
  .cta-contatos { flex-direction: row; align-items: center; gap: 24px; }
  .cta-contatos .btn { width: auto; }
  .rodape-grid { grid-template-columns: 1.2fr 1.4fr 1fr; gap: 40px; }
}

@media (min-width: 1024px) {
  :root { --header-h: 72px; --gutter: 88px; }
  /* Seções: conteúdo até 1120px, deixando a margem direita livre para o WhatsApp flutuante */
  .container { max-width: 1296px; }
  h2 { font-size: 2.75rem; }
  /* Header e hero usam a largura toda */
  .site-header .container, .hero-inner { max-width: 1440px; padding-left: 40px; padding-right: 40px; }
  .container-estreito { max-width: 960px; }
  .header-logo img { height: 36px; }
  .barra-mobile { display: none; }
  body.tem-barra .rodape { padding-bottom: 0; }
  .wa-flutuante { display: inline-flex; }

  /* Foto ampla com bordas dissolvidas no azul do topo. */
  .hero-inner {
    --card-w: 380px;
    --texto-w: clamp(360px, 30vw, 440px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--card-w);
    align-items: start;
    padding-top: 48px; padding-bottom: 48px;
  }
  .hero-media {
    position: absolute; inset: 0; height: 100%; margin: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 85%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 85%, transparent);
  }
  .hero-media img { object-position: 50% 48%; }
  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(11,37,69,.97) 0%, rgba(11,37,69,.91) 24%, rgba(11,37,69,.70) 38%, rgba(11,37,69,.14) 57%, rgba(11,37,69,.08) 76%, rgba(11,37,69,.35) 100%),
      linear-gradient(180deg, rgba(11,37,69,.12) 0%, transparent 65%, rgba(11,37,69,.70) 100%);
  }
  .hero-text { margin-top: 0; max-width: var(--texto-w); grid-column: 1; }
  .hero h1 { font-size: calc(var(--texto-w) * .118); }
  .hero-sub { font-size: 1rem; }
  .hero-bullets li { font-size: .9375rem; }
  .hero-form { grid-column: 2; margin-top: 0; max-width: none; }
  .card-cotacao { padding: 20px 24px 12px; }
  .fc-titulo { font-size: 2.125rem; }
  .field { margin-bottom: 10px; }
  .field label, .field legend { margin-bottom: 4px; }
  .field input { min-height: 46px; padding: 9px 13px; }
  .fc-prova { margin-top: 10px; padding-top: 10px; }
  .fc-alt { margin-top: 10px; }

  /* Setas nas laterais do carrossel */
  .car-seta { position: absolute; top: calc((100% - 62px) / 2); transform: translateY(-50%); z-index: 2; }
  .car-seta:hover { transform: translateY(-50%) scale(1.06); }
  .car-seta-ant { left: -64px; }
  .car-seta-prox { right: -64px; }
  .seg-grid { grid-template-columns: 440px 1fr; gap: 64px; align-items: center; }
  .seg-selo { padding: 32px 32px 28px; }
  .seg-selo-topo img { height: 46px; }
  .seg-itens { gap: 32px; }
  .servicos-inner { grid-template-columns: auto 1fr; align-items: center; gap: 56px; }
  .equipe-grid { grid-template-columns: 420px minmax(0, 1fr); gap: 56px; align-items: center; }
  .equipe-foto { max-width: 420px; margin: 0; }
  .equipe-texto .btn { width: auto; }
  .cta-grid { grid-template-columns: 1fr 440px; gap: 64px; align-items: center; }
  .grafismo { right: -6%; width: 820px; }
}

@media (max-width: 340px) {
  .dep-card { flex-basis: 92%; padding-left: 16px; padding-right: 16px; }
  .dep-texto { font-size: .9375rem; }
  .dep-texto-curto { font-size: 1.25rem; }
}

/* 3 depoimentos por vez só a partir de 1280px; abaixo disso o texto não caberia em 6 linhas */
@media (min-width: 1280px) {
  .dep-card { flex-basis: calc((100% - 40px) / 3); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Logos parados, em grade centralizada */
  .clientes-faixa { -webkit-mask-image: none; mask-image: none; }
  .clientes-trilho { flex-wrap: wrap; justify-content: center; row-gap: 20px; flex: 1 1 auto; }
  .clientes-copia { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Vídeos: capas leves; os arquivos MP4 só recebem src após o clique. */
/* Compensa os 56px do botão no celular, preservando a posição do formulário. */
@media (max-width: 1023px) { .hero-media { height: clamp(174px, calc(54vw - 56px), 334px); } }
.motoristas-sub { max-width: 650px; margin: 16px 0 28px; }
.videos-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 12px; }
.video-card { position: relative; min-width: 0; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #07182c; scroll-snap-align: center; }
.video-card video { display: block; width: 100%; height: 100%; object-fit: contain; }
.video-cover { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #07182c; cursor: pointer; }
.video-cover img { width: 100%; height: 100%; object-fit: contain; }
.video-cover[hidden] { display: none; }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 64px; height: 64px; border: 2px solid #fff; border-radius: 50%; background: rgba(11,37,69,.85); color: #fff; font-size: 24px; padding-left: 4px; }
.video-cover:focus-visible { outline-offset: -4px; }
@media (min-width: 768px) { .videos-grid { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; } }

/* Institucional no topo mobile, na mesma faixa reservada à imagem. */
.hero-video-mobile { display: none; }
@media (max-width: 768px) {
  .hero-media { display: none; }
  .hero-video-mobile { display: block; flex: none; margin: 0 calc(var(--gutter) * -1); height: clamp(174px, calc(54vw - 56px), 334px); aspect-ratio: auto; border-radius: 0; overflow: hidden; }
  .hero-video-mobile .video-cover img { object-fit: cover; }
  .hero-video-mobile .video-cover::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.85)); pointer-events: none; }
  .hero-video-mobile .video-play { width: 72px; height: 72px; background: var(--laranja); z-index: 1; }
  .hero-video-caption { position: absolute; bottom: 10px; left: 12px; right: 12px; color: #fff; font-size: 18px; font-weight: 600; line-height: 1.2; z-index: 1; }
  .hero-text { margin-top: 0; }
  .hero .selo { margin-top: 8px; margin-bottom: 8px; }
  body { font-size: 17px; }
  p, .hero-sub, .hero-bullets li, .faixa-lista li, .fc-alt, .fc-prova, .prova-google, .dep-cargo, .rodape, .rodape-legal, .rodape-base, .seg-coberturas, .texto-legal .atualizado { font-size: max(17px, 1em); }
  .selo { font-size: 17px; line-height: 1.3; }
  /* Botões laranja: 19px bold é o mínimo para branco sobre #ED6826 passar em contraste (texto grande, 3:1) */
  .btn { min-height: 52px; font-size: 19px; }
  .chip, .header-wa, .car-seta { min-height: 52px; font-size: 18px; }
  .header-wa, .car-seta { min-width: 52px; }
  .field input, .field textarea { font-size: 18px; }
  .field label, .dep-texto, .field-erro, .obrigado-links, .obrigado-resumo, .rodape-mini, .secao .clientes-titulo { font-size: 17px; }
  .car-controles { flex-wrap: wrap; }
  .car-dots { order: 3; width: 100%; justify-content: center; }
  .car-dot { min-width: 52px; min-height: 52px; }
}

.hero-video-desktop { display: none; }
@media (min-width: 769px) {
  .hero-video-desktop { display: block; aspect-ratio: 960 / 544; margin-top: 16px; }
  .hero-video-desktop .video-cover::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.85)); pointer-events: none; }
  .hero-video-desktop .video-play { width: 72px; height: 72px; background: var(--laranja); z-index: 1; }
  .hero-video-desktop .hero-video-caption { position: absolute; bottom: 12px; left: 10px; right: 10px; color: #fff; font-size: 17px; font-weight: 600; line-height: 1.2; z-index: 1; }
}

/* Celular: faixa de foto dos caminhões, de ponta a ponta, entre depoimentos e motoristas */
.caminhoes-mobile { display: none; }
@media (max-width: 768px) {
  .caminhoes-mobile { display: block; height: 220px; background: #DCE3EC; }
  .caminhoes-mobile img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; }
}
