/* =========================================================
   Hdoc Urgente Ambulâncias 24h — folha de estilo principal
   ========================================================= */
:root {
  --laranja: #ed6b35;
  --laranja-escuro: #d4561f;
  --laranja-claro: #fde9df;
  --azul: #1b8fd2;
  --azul-escuro: #0f6fae;
  --azul-claro: #e4f2fb;
  --verde: #25d366;
  --vermelho: #c62828;
  --texto: #3a3a3a;
  --texto-suave: #6b6b6b;
  --borda: #dcdcdc;
  --cinza-fundo: #f1f1f1;
  --branco: #fff;
  --raio: 14px;
  --sombra: 0 6px 24px rgba(0, 0, 0, .08);
  --container: 1180px;
  --fonte: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 16px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--branco);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--laranja); }
a:hover { color: var(--laranja-escuro); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular-conteudo { position: absolute; left: -999px; top: 8px; background: var(--azul); color: #fff; padding: 8px 16px; z-index: 1000; border-radius: 6px; }
.pular-conteudo:focus { left: 8px; }
.text-center { text-align: center; }
.laranja { color: var(--laranja); }
.azul { color: var(--azul); }
.mt-0 { margin-top: 0; }
.hidden { display: none !important; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px; border: 2px solid transparent;
  background: var(--laranja); color: #fff; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s;
  line-height: 1.2; text-align: center;
}
.btn:hover { background: var(--laranja-escuro); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(237, 107, 53, .35); }
.btn:disabled, .btn[aria-disabled="true"] { background: #c8c8c8; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-azul { background: var(--azul); }
.btn-azul:hover { background: var(--azul-escuro); box-shadow: 0 6px 16px rgba(27, 143, 210, .35); }
.btn-verde { background: var(--verde); }
.btn-verde:hover { background: #1eb457; box-shadow: 0 6px 16px rgba(37, 211, 102, .35); }
.btn-branco { background: #fff; color: var(--laranja); }
.btn-branco:hover { background: var(--laranja-claro); color: var(--laranja-escuro); }
.btn-contorno { background: transparent; color: var(--laranja); border-color: var(--laranja); }
.btn-contorno:hover { background: var(--laranja); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 15px 36px; font-size: 17px; }
.btn-bloco { width: 100%; }

/* ---------- Topo ---------- */
#topo:empty { min-height: 133px; }
.btn-busca-mobile { display: none; }
.topo { background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.topo-linha { display: flex; align-items: center; gap: 24px; padding: 14px 20px; }
.topo-logo img { width: 130px; }
.busca { flex: 1; position: relative; max-width: 720px; }
.busca input {
  width: 100%; padding: 11px 18px 11px 46px; border: 1.5px solid #cfcfcf; border-radius: 999px;
  background: #fff; font-size: 15px;
}
.busca input:focus { border-color: var(--laranja); outline: none; box-shadow: 0 0 0 3px var(--laranja-claro); }
.busca svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--laranja); pointer-events: none; }
.topo-acoes { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.topo-acoes a { color: var(--laranja); position: relative; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 14px; font-weight: 500; }
.topo-acoes svg { width: 28px; height: 28px; }
.topo-acoes .icone-carrinho svg { color: #555; }
.badge-carrinho {
  position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--vermelho); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-menu { display: none; background: none; border: 0; padding: 6px; color: var(--laranja); cursor: pointer; }
.btn-menu svg { width: 30px; height: 30px; }

.menu { background: var(--laranja); }
.menu ul { list-style: none; margin: 0 auto; padding: 0 20px; display: flex; justify-content: center; gap: 8px; max-width: var(--container); }
.menu > ul > li { position: relative; }
.menu a, .menu button.sub-toggle {
  display: block; padding: 16px 22px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
  background: none; border: 0; cursor: pointer;
}
.menu a:hover, .menu a[aria-current="page"], .menu .ativo > a, .menu .ativo > button { color: #ffe066; }
.submenu {
  position: absolute; left: 0; top: 100%; min-width: 280px; background: #fff; box-shadow: var(--sombra);
  border-radius: 0 0 var(--raio) var(--raio); padding: 8px 0 !important; display: none !important; flex-direction: column; gap: 0 !important;
}
.submenu a { color: var(--texto); padding: 10px 20px; font-weight: 500; font-size: 14.5px; }
.submenu a:hover, .submenu a[aria-current="page"] { color: var(--laranja); background: var(--laranja-claro); }
.menu li:hover > .submenu, .menu li:focus-within > .submenu, .menu li.aberto > .submenu { display: flex !important; }

/* ---------- Hero / Banners ---------- */
.hero {
  position: relative; min-height: 520px; display: flex; align-items: center;
  background-size: cover; background-position: center right; color: #fff; overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 92, 150, .82) 0%, rgba(27, 143, 210, .45) 45%, rgba(0, 0, 0, 0) 70%); }
.hero.hero-laranja::before { background: linear-gradient(90deg, rgba(237, 107, 53, .92) 0%, rgba(237, 107, 53, .55) 40%, rgba(0, 0, 0, 0) 65%); }
.hero.hero-claro { color: var(--texto); }
.hero.hero-claro::before { background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.6) 40%, rgba(255,255,255,0) 65%); }
.hero.hero-sem-filtro::before { display: none; }
.hero .container { position: relative; z-index: 1; }
.hero-conteudo { max-width: 560px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 14px; }
.hero h1 .laranja, .hero .titulo-laranja { color: #ffb08a; }
.hero.hero-claro h1 { color: var(--laranja); }
.hero p { font-size: clamp(17px, 2vw, 22px); margin-bottom: 26px; }
.hero.hero-centro { text-align: center; justify-content: center; }
.hero.hero-centro .hero-conteudo { margin: 0 auto; }
.hero.hero-centro::before { background: rgba(14, 92, 150, .45); }

/* Slider da home */
.slider { position: relative; overflow: hidden; background: #fff; }
.slides { display: flex; transition: transform .6s ease; }
.slide { min-width: 100%; position: relative; }
.slide .hero { min-height: clamp(420px, 42vw, 620px); }
.slider-ctrl {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.85); border: 0; cursor: pointer; z-index: 3; color: var(--laranja);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--sombra);
}
.slider-ctrl svg { width: 22px; height: 22px; }
.slider-ctrl.ant { left: 16px; } .slider-ctrl.prox { right: 16px; }
.slider-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; gap: 10px; justify-content: center; z-index: 3; }
.slider-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.25); box-shadow: 0 0 0 1px rgba(0,0,0,.15); cursor: pointer; padding: 0; }
.slider-dots button[aria-current="true"] { background: var(--laranja); border-color: var(--laranja); }

/* ---------- Seções ---------- */
.secao { padding: 80px 0; }
.secao-sm { padding: 50px 0; }
.secao-cinza { background: var(--cinza-fundo); }
.secao-azul { background: var(--azul); color: #fff; }
.secao-laranja { background: var(--laranja); color: #fff; }
.titulo-secao { font-size: clamp(28px, 3.4vw, 40px); color: var(--laranja); margin-bottom: 16px; }
.subtitulo { font-size: clamp(20px, 2.2vw, 26px); color: var(--laranja); }
.lead { font-size: 18px; color: var(--texto-suave); max-width: 900px; margin: 0 auto 0; }
.secao-azul .titulo-secao, .secao-laranja .titulo-secao { color: #fff; }

.grade-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grade-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grade-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.img-arredondada { border-radius: 24px; overflow: hidden; }
.img-arredondada img { width: 100%; }

/* Lista com seta */
.lista-seta { list-style: none; padding: 0; margin: 0 0 24px; }
.lista-seta li { position: relative; padding-left: 38px; margin-bottom: 12px; }
.lista-seta li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--azul) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/14px no-repeat;
}
.lista-seta.laranja li::before { background-color: var(--laranja); }
.lista-seta.circulo li::before {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ed6b35' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/16px no-repeat;
  border: 2px solid var(--laranja);
}
.secao-azul .lista-seta li::before, .secao-laranja .lista-seta li::before { background-color: rgba(255,255,255,.25); }
.lista-check { list-style: none; padding: 0; margin: 0 0 24px; }
.lista-check li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.lista-check li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid currentColor;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Cards de serviços (home) */
.cards-servicos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card-servico {
  background: #f7f7f7; border-radius: 22px; padding: 26px 12px 22px; text-align: center; text-decoration: none;
  color: var(--laranja); font-weight: 600; font-size: 15px; line-height: 1.3; transition: transform .2s, box-shadow .2s, background .2s;
  display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 160px; justify-content: center;
}
.card-servico svg { width: 56px; height: 56px; }
.card-servico:hover { transform: translateY(-4px); box-shadow: var(--sombra); background: #fff; color: var(--laranja-escuro); }

/* Bloco azul de destaque */
.bloco-azul { background: var(--azul); color: #fff; border-radius: 22px; padding: 56px 40px; text-align: center; }
.bloco-azul .icone-grande { width: 96px; height: 96px; border-radius: 50%; background: #fff; color: var(--azul); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.bloco-azul .icone-grande svg { width: 54px; height: 54px; }
.pilula { display: inline-flex; align-items: center; gap: 6px; background: #4caf50; color: #fff; border-radius: 999px; padding: 6px 18px; font-size: 14px; font-weight: 500; margin-bottom: 18px; }
.diferenciais { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.diferenciais svg { width: 40px; height: 40px; margin: 0 auto 10px; }
.diferenciais h3 { font-size: 20px; margin-bottom: 6px; }
.diferenciais p { font-size: 14px; margin: 0; opacity: .95; }

/* Mapa */
.mapa iframe { width: 100%; height: 420px; border: 0; display: block; }

/* Faixa CTA */
.faixa-cta { background-size: cover; background-position: center; padding: 90px 0; text-align: center; }
.faixa-cta h2 { color: #c4161c; font-size: clamp(24px, 3vw, 34px); }

/* Caixa de preço */
.caixa-preco { background: var(--laranja); color: #fff; border-radius: 6px; padding: 44px 30px; text-align: center; max-width: 480px; margin: 0 auto; box-shadow: 0 10px 0 -4px #f7b38f; }
.caixa-preco h3 { font-size: 26px; font-weight: 600; }
.caixa-preco .preco { font-size: 52px; font-weight: 700; margin: 10px 0 20px; }
.caixa-preco .preco small { font-size: 20px; font-weight: 500; }
.selos { display: flex; justify-content: center; gap: 18px; margin-top: 20px; font-size: 11px; opacity: .85; flex-wrap: wrap; }
.selos span { display: inline-flex; align-items: center; gap: 5px; }
.selos svg { width: 18px; height: 18px; }

/* Serviços (página Serviços) */
.servico-linha { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 60px 0; border-bottom: 1px solid #eee; }
.servico-linha:last-child { border-bottom: 0; }
.servico-linha:nth-child(even) .servico-img { order: 2; }
.servico-img img { border-radius: 22px; margin: 0 auto; max-height: 520px; width: auto; }
.servico-linha h2 { font-size: clamp(30px, 3.4vw, 42px); color: var(--laranja); line-height: 1.05; }

/* Acordeão */
.acordeao details { background: #e6e6e6; margin-bottom: 12px; border-radius: 4px; }
.acordeao summary { cursor: pointer; padding: 14px 22px; font-weight: 600; font-size: 17px; list-style: none; display: flex; gap: 18px; align-items: center; }
.acordeao summary::-webkit-details-marker { display: none; }
.acordeao summary::before { content: "+"; font-size: 20px; width: 20px; }
.acordeao details[open] summary::before { content: "–"; }
.acordeao .conteudo { padding: 4px 22px 18px 60px; background: #fff; }
.acordeao .conteudo ul { margin: 12px 0 0; padding-left: 18px; }

/* ---------- Formulários ---------- */
.caixa-form { border: 1.5px solid var(--laranja); border-radius: 18px; padding: 44px 40px; max-width: 680px; margin: 0 auto; background: #fff; }
.caixa-form h2 { text-align: center; color: var(--laranja); font-size: 26px; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px 14px; }
.campo { grid-column: span 12; display: flex; flex-direction: column; gap: 4px; }
.campo.c6 { grid-column: span 6; } .campo.c4 { grid-column: span 4; } .campo.c3 { grid-column: span 3; } .campo.c8 { grid-column: span 8; } .campo.c9 { grid-column: span 9; }
.campo label, .rotulo { font-size: 13.5px; font-weight: 500; color: #555; }
.campo label .obrig { color: var(--vermelho); }
.campo input, .campo select, .campo textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid #cfcfcf; border-radius: 10px; background: #fff; font-size: 15px; color: var(--texto);
}
.campo textarea { min-height: 110px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--laranja); outline: none; box-shadow: 0 0 0 3px var(--laranja-claro); }
.campo.erro input, .campo.erro select, .campo.erro textarea { border-color: var(--vermelho); }
.campo .msg-erro { color: var(--vermelho); font-size: 12.5px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--laranja); flex-shrink: 0; }
.radios { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14.5px; }
.radios label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.radios input { accent-color: var(--laranja); width: 17px; height: 17px; }
.hp { position: absolute !important; left: -9999px !important; }
.alerta { padding: 14px 18px; border-radius: 10px; margin: 14px 0; font-size: 14.5px; }
.alerta-ok { background: #e7f6ec; color: #1b6b35; border: 1px solid #b9e4c7; }
.alerta-erro { background: #fdecea; color: #a12622; border: 1px solid #f5c2be; }
.alerta-info { background: var(--azul-claro); color: #0b5a8c; border: 1px solid #bcdcf2; }
.legenda-form { font-size: 18px; color: var(--laranja); font-weight: 700; margin: 26px 0 6px; text-transform: uppercase; grid-column: span 12; }

/* Contrato */
.contrato-box { max-height: 340px; overflow-y: auto; border: 1px solid #ccc; border-radius: 10px; padding: 22px; background: #fafafa; font-size: 14px; }
.contrato-box h3 { font-size: 15px; margin-top: 18px; color: var(--laranja); }
.contrato-texto h2 { font-size: 18px; color: var(--laranja); margin-top: 28px; }
.contrato-texto p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* ---------- Loja / Carrinho / Checkout ---------- */
.produtos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.produto { border: 1px solid #eee; border-radius: 18px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.produto:hover { box-shadow: var(--sombra); transform: translateY(-3px); }
.produto img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.produto-corpo { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.produto h3 { font-size: 20px; color: var(--laranja); margin: 0; }
.produto .preco { font-size: 26px; font-weight: 700; color: var(--texto); }
.produto .preco small { font-size: 14px; font-weight: 500; color: var(--texto-suave); }
.produto .btn { margin-top: auto; }

.tabela-carrinho { width: 100%; border-collapse: collapse; }
.tabela-carrinho th, .tabela-carrinho td { padding: 16px 12px; text-align: left; border-bottom: 1px solid #eee; vertical-align: middle; }
.tabela-carrinho th { font-size: 13px; text-transform: uppercase; color: var(--texto-suave); font-weight: 600; }
.item-produto { display: flex; gap: 14px; align-items: center; }
.item-produto img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.qtd { display: inline-flex; align-items: center; border: 1.5px solid #ccc; border-radius: 999px; overflow: hidden; }
.qtd button { background: none; border: 0; width: 34px; height: 34px; cursor: pointer; font-size: 18px; color: var(--laranja); }
.qtd span { min-width: 28px; text-align: center; font-weight: 600; }
.btn-remover { background: none; border: 0; color: var(--vermelho); cursor: pointer; font-size: 13px; text-decoration: underline; }
.resumo { background: var(--cinza-fundo); border-radius: 18px; padding: 28px; }
.resumo h3 { color: var(--laranja); }
.resumo-linha { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed #ccc; font-size: 15px; }
.resumo-linha.total { font-size: 20px; font-weight: 700; border-bottom: 0; padding-top: 14px; }
.layout-carrinho { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }

.etapas { display: flex; justify-content: center; gap: 0; margin: 0 auto 36px; padding: 0; list-style: none; max-width: 760px; counter-reset: etapa; }
.campo.radios, .campo.checkbox { flex-direction: row; }
.campo > .btn:not(.btn-bloco) { align-self: flex-start; }
.etapa { flex: 1; text-align: center; position: relative; font-size: 12.5px; font-weight: 600; color: #999; text-transform: uppercase; }
.etapa::before {
  counter-increment: etapa; content: counter(etapa); display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin: 0 auto 6px; border-radius: 50%; border: 2px solid #ccc; background: #fff; font-size: 15px; position: relative; z-index: 1;
}
.etapa::after { content: ""; position: absolute; top: 19px; left: 50%; width: 100%; height: 2px; background: #ddd; }
.etapa:last-child::after { display: none; }
.etapa.ativa, .etapa.feita { color: var(--laranja); }
.etapa.ativa::before { border-color: var(--laranja); background: var(--laranja); color: #fff; }
.etapa.feita::before { border-color: var(--laranja); color: var(--laranja); content: "✓"; }
.etapa.feita::after { background: var(--laranja); }
.passo { display: none; }
.passo.ativo { display: block; animation: aparecer .3s ease; }
@keyframes aparecer { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.navegacao-passos { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.dependente { border: 1px dashed var(--laranja); border-radius: 14px; padding: 20px; margin-bottom: 18px; position: relative; }
.dependente h4 { color: var(--laranja); margin-bottom: 12px; }
.dependente .btn-remover { position: absolute; top: 16px; right: 16px; }
.opcoes-pagamento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.opcao-pagamento { border: 2px solid #ddd; border-radius: 14px; padding: 18px; cursor: pointer; display: flex; gap: 12px; align-items: flex-start; transition: border-color .2s, background .2s; }
.opcao-pagamento:has(input:checked) { border-color: var(--laranja); background: var(--laranja-claro); }
.opcao-pagamento input { accent-color: var(--laranja); margin-top: 4px; width: 18px; height: 18px; }
.opcao-pagamento strong { display: block; }
.opcao-pagamento small { color: var(--texto-suave); }

/* ---------- Minha conta ---------- */
.conta-layout { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
.conta-menu { background: var(--cinza-fundo); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.conta-menu button { background: none; border: 0; text-align: left; padding: 12px 14px; border-radius: 10px; cursor: pointer; font-weight: 500; }
.conta-menu button[aria-selected="true"], .conta-menu button:hover { background: #fff; color: var(--laranja); }
.cartao { border: 1px solid #eee; border-radius: 16px; padding: 22px; margin-bottom: 18px; background: #fff; }
.status { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.status-pendente { background: #fff4e0; color: #a35b00; }
.status-ativo, .status-pago { background: #e7f6ec; color: #1b6b35; }
.status-cancelado, .status-atrasado { background: #fdecea; color: #a12622; }
.abas-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }

/* ---------- LP Coberturas ---------- */
.faixa-topo { background: var(--laranja); color: #fff; text-align: center; font-size: 14px; padding: 8px 12px; }
.lp-topo { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 16px; flex-wrap: wrap; }
.lp-topo .tel { display: inline-flex; gap: 8px; align-items: center; color: var(--laranja); text-decoration: none; font-weight: 600; line-height: 1.1; }
.lp-topo .tel small { display: block; color: var(--texto-suave); font-weight: 400; }
.lp-hero {
  background:
    radial-gradient(ellipse 45% 70% at 78% 60%, rgba(247, 163, 124, .45) 0%, rgba(253, 227, 213, .35) 45%, rgba(255, 255, 255, 0) 75%),
    #fff;
  overflow: hidden;
}
.lp-hero .grade-2 { min-height: 480px; }
.lp-hero h1 { font-size: clamp(32px, 4vw, 48px); color: #222; }
.lp-hero h1 span { color: var(--laranja); }
.lp-hero-img { align-self: end; display: flex; justify-content: center; }
.lp-hero-img img {
  max-height: 540px; width: auto;
  /* esfuma as bordas da foto para ela se misturar ao fundo */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 80%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 30%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 80%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 30%);
  mask-composite: intersect;
}
.faixa-beneficios { background: var(--azul); color: #fff; padding: 36px 0; }
.faixa-beneficios .grade-4 > div { text-align: center; border-right: 1px solid rgba(255,255,255,.25); padding: 0 10px; }
.faixa-beneficios .grade-4 > div:last-child { border-right: 0; }
.faixa-beneficios svg { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: rgba(255,255,255,.18); margin: 0 auto 10px; }
.faixa-beneficios strong { display: block; font-size: 15px; }
.faixa-beneficios small { font-size: 12.5px; opacity: .85; }
.inclusos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.incluso { border: 1px solid #eee; border-radius: 14px; padding: 22px 12px; text-align: center; font-size: 13.5px; font-weight: 500; box-shadow: var(--sombra); background: #fff; }
.incluso .ic { width: 56px; height: 56px; border-radius: 50%; background: var(--laranja); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.incluso .ic svg { width: 28px; height: 28px; }
.card-evento { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--sombra); text-align: center; }
.card-evento img { aspect-ratio: 5/3.4; object-fit: cover; width: 100%; }
.card-evento .ic { width: 38px; height: 38px; border-radius: 50%; background: var(--azul); color: #fff; display: flex; align-items: center; justify-content: center; margin: -19px auto 8px; position: relative; border: 3px solid #fff; }
.card-evento .ic svg { width: 18px; height: 18px; }
.card-evento h3 { font-size: 17px; margin-bottom: 4px; }
.card-evento p { font-size: 13.5px; color: var(--texto-suave); padding: 0 18px 20px; margin: 0; }
.logos-clientes { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-trilha { display: flex; gap: 22px; width: max-content; animation: rolar 40s linear infinite; }
.logos-trilha:hover { animation-play-state: paused; }
.logos-trilha div { width: 170px; height: 100px; border: 1px solid #eee; border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 12px; background: #fff; }
.logos-trilha img { max-height: 72px; width: auto; object-fit: contain; }
@keyframes rolar { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logos-trilha { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } html { scroll-behavior: auto; } }

/* ---------- Rodapé ---------- */
.rodape { background: var(--laranja); color: #fff; padding: 50px 0 40px; }
.rodape .grade-3 { gap: 36px; }
.rodape h3 { font-size: 15px; text-transform: uppercase; margin-bottom: 18px; letter-spacing: .3px; }
.rodape ul { list-style: none; padding: 0; margin: 0; }
.rodape li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 14.5px; }
.rodape li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.rodape a { color: #fff; text-decoration: none; }
.rodape a:hover { text-decoration: underline; color: #fff; }
.rodape-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 30px; font-size: 13.5px; }
.copyright { text-align: center; padding: 14px 20px; font-size: 14px; color: var(--texto-suave); }

.whatsapp-flutuante {
  position: fixed; right: 22px; bottom: 22px; width: 60px; height: 60px; border-radius: 50%; background: var(--verde); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 90; transition: transform .2s;
}
.whatsapp-flutuante:hover { transform: scale(1.08); color: #fff; }
.whatsapp-flutuante svg { width: 34px; height: 34px; }

.cookies {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(880px, calc(100% - 32px));
  background: #fff; padding: 18px 22px; border-radius: 14px; box-shadow: 0 8px 30px rgba(0,0,0,.18); z-index: 200;
  display: flex; gap: 18px; align-items: center; font-size: 14px;
}
.cookies p { margin: 0; flex: 1; }
.cookies .acoes { display: flex; gap: 10px; flex-shrink: 0; }

.toast {
  position: fixed; left: 50%; top: 90px; transform: translateX(-50%); background: #222; color: #fff; padding: 12px 22px; border-radius: 999px;
  z-index: 300; font-size: 14.5px; box-shadow: var(--sombra); animation: aparecer .3s ease;
}

.pagina-titulo { background: var(--azul) url("../img/bg-azul.webp") center/cover; color: #fff; padding: 60px 0; text-align: center; }
.pagina-titulo h1 { font-size: clamp(28px, 3.6vw, 42px); margin: 0; }
.pagina-titulo p { margin: 8px 0 0; opacity: .9; }
.breadcrumb { font-size: 13.5px; color: var(--texto-suave); padding: 14px 0 0; }
.breadcrumb a { color: var(--texto-suave); }

.resultado-busca { border-bottom: 1px solid #eee; padding: 18px 0; }
.resultado-busca a { font-size: 19px; font-weight: 600; text-decoration: none; }
.resultado-busca p { margin: 4px 0 0; color: var(--texto-suave); font-size: 14.5px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .cards-servicos { grid-template-columns: repeat(3, 1fr); }
  .inclusos { grid-template-columns: repeat(3, 1fr); }
  .diferenciais { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .grade-2, .servico-linha, .layout-carrinho, .conta-layout, .abas-auth { grid-template-columns: 1fr; gap: 32px; }
  .servico-linha:nth-child(even) .servico-img { order: 0; }
  .grade-3, .grade-4 { grid-template-columns: 1fr 1fr; }
  .rodape .grade-3 { grid-template-columns: 1fr; }
  .busca { display: none; }
  .busca.aberta { display: block; position: absolute; left: 12px; right: 12px; top: 100%; max-width: none; padding: 10px 0; background: #fff; }
  .btn-menu { display: inline-flex; }
  .btn-busca-mobile { display: inline-flex !important; }
  .menu { display: none; }
  .menu.aberto { display: block; }
  .menu ul { flex-direction: column; gap: 0; padding: 6px 0; }
  .menu a, .menu button.sub-toggle { padding: 13px 22px; width: 100%; text-align: left; }
  .submenu { position: static; box-shadow: none; border-radius: 0; background: rgba(255,255,255,.12); min-width: 0; }
  .submenu a { color: #fff; padding-left: 40px; }
  .submenu a:hover { background: rgba(255,255,255,.12); color: #fff; }
  .menu li:hover > .submenu { display: none !important; }
  .menu li.aberto > .submenu { display: flex !important; }
  .hero { min-height: 440px; background-position: 70% center; }
  .hero::before { background: linear-gradient(180deg, rgba(14, 92, 150, .35) 0%, rgba(14, 92, 150, .85) 100%); }
  .hero.hero-laranja::before { background: linear-gradient(180deg, rgba(237,107,53,.35) 0%, rgba(237,107,53,.9) 100%); }
  .hero.hero-claro::before { background: linear-gradient(180deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,.92) 70%); }
  .hero .container { align-self: flex-end; padding-bottom: 50px; }
  .lp-hero { background: radial-gradient(ellipse 80% 40% at 50% 85%, rgba(247, 163, 124, .45) 0%, rgba(255, 255, 255, 0) 75%), #fff; }
  .lp-hero .grade-2 { min-height: 0; gap: 0; }
  .lp-hero-img img { max-height: 420px; }
  .faixa-beneficios .grade-4 > div { border-right: 0; }
  .secao { padding: 56px 0; }
  .topo-acoes .rotulo-acao { display: none; }
}
@media (max-width: 640px) {
  .cards-servicos, .inclusos { grid-template-columns: repeat(2, 1fr); }
  .grade-3, .grade-4, .diferenciais, .opcoes-pagamento { grid-template-columns: 1fr; }
  .campo.c6, .campo.c4, .campo.c3, .campo.c8, .campo.c9 { grid-column: span 12; }
  .caixa-form { padding: 30px 20px; }
  .bloco-azul { padding: 40px 20px; }
  .cookies { flex-direction: column; align-items: stretch; text-align: center; }
  .cookies .acoes { justify-content: center; }
  .topo-logo img { width: 110px; }
  .topo-linha { gap: 12px; }
  .topo-acoes { gap: 14px; }
  .tabela-carrinho thead { display: none; }
  .tabela-carrinho tr { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 14px 0; border-bottom: 1px solid #eee; }
  .tabela-carrinho td { border: 0; padding: 4px 0; }
  .etapa { font-size: 10px; }
  .slider-ctrl { display: none; }
}
@media print {
  .topo, .menu, .rodape, .whatsapp-flutuante, .cookies, .copyright { display: none !important; }
}

/* =========================================================
   EFEITOS E ANIMAÇÕES
   (só ativam quando o JS adiciona .anim-on no <html>;
    desligados para quem prefere menos movimento)
   ========================================================= */
.anim-on [data-anim] {
  opacity: 0;
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--atraso, 0s);
  will-change: opacity, transform;
}
.anim-on [data-anim="subir"] { transform: translateY(40px); }
.anim-on [data-anim="esquerda"] { transform: translateX(-50px); }
.anim-on [data-anim="direita"] { transform: translateX(50px); }
.anim-on [data-anim="zoom"] { transform: scale(.9); }
.anim-on [data-anim].visivel { opacity: 1; transform: none; }

/* Texto do banner entrando */
@keyframes entrarTexto { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.anim-on .hero-conteudo > * { opacity: 0; }
.anim-on .hero-conteudo.animar > * { animation: entrarTexto .8s cubic-bezier(.2, .7, .2, 1) both; }
.anim-on .hero-conteudo.animar > :nth-child(2) { animation-delay: .15s; }
.anim-on .hero-conteudo.animar > :nth-child(3) { animation-delay: .3s; }
.anim-on .hero-conteudo.animar > :nth-child(4) { animation-delay: .45s; }

/* Imagens: zoom leve ao passar o mouse */
.img-arredondada, .servico-img, .card-evento, .produto { overflow: hidden; }
.img-arredondada img, .servico-img img, .card-evento img, .produto img { transition: transform .6s ease; }
.img-arredondada:hover img, .servico-img:hover img, .card-evento:hover img, .produto:hover img { transform: scale(1.05); }
.card-evento { transition: transform .3s, box-shadow .3s; }
.card-evento:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(0,0,0,.14); }

/* Ícones dos cards "pulam" */
@keyframes pular { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-8px); } 60% { transform: translateY(-3px); } }
.card-servico:hover svg, .incluso:hover .ic, .diferenciais > div:hover svg { animation: pular .7s ease; }
.incluso { transition: transform .3s, box-shadow .3s; }
.incluso:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(237,107,53,.18); }

/* Brilho passando nos botões */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; z-index: -1;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn:hover::after { left: 130%; }
.btn-contorno::after, .btn-branco::after { display: none; }

/* Topo compacto ao rolar */
.topo, .topo-logo img, .topo-linha { transition: padding .3s, width .3s, box-shadow .3s; }
.topo.rolado { box-shadow: 0 4px 18px rgba(0,0,0,.12); }
.topo.rolado .topo-linha { padding-top: 8px; padding-bottom: 8px; }
.topo.rolado .topo-logo img { width: 105px; }
.topo.rolado .menu a, .topo.rolado .menu button.sub-toggle { padding-top: 12px; padding-bottom: 12px; }

/* WhatsApp pulsando */
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.whatsapp-flutuante { animation: pulso 2.4s infinite; }

/* Ícone do coração da home batendo */
@keyframes batimento { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }
.bloco-azul .icone-grande svg { animation: batimento 1.8s ease-in-out infinite; }

/* Sublinhado animado no menu */
@media (min-width: 901px) {
  .menu > ul > li > a, .menu > ul > li > button.sub-toggle { position: relative; }
  .menu > ul > li > a::after, .menu > ul > li > button.sub-toggle::after {
    content: ""; position: absolute; left: 22px; right: 22px; bottom: 10px; height: 2px; background: #ffe066;
    transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
  }
  .menu > ul > li > a:hover::after, .menu > ul > li > a[aria-current="page"]::after,
  .menu > ul > li:hover > button.sub-toggle::after, .menu .ativo > button.sub-toggle::after { transform: scaleX(1); }
}

/* Botão voltar ao topo */
.voltar-topo {
  position: fixed; right: 30px; bottom: 96px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--laranja); color: #fff; box-shadow: var(--sombra); z-index: 89;
  display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s;
}
.voltar-topo.mostrar { opacity: 1; transform: none; pointer-events: auto; }
.voltar-topo:hover { background: var(--laranja-escuro); }
.voltar-topo svg { width: 22px; height: 22px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .anim-on [data-anim], .anim-on .hero-conteudo > * { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   CELULAR: sem rolagem lateral + banners com imagem própria
   ========================================================= */
/* Nada pode passar da largura da tela (clip não quebra o topo fixo) */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img, video, iframe { max-width: 100%; }

@media (max-width: 900px) {
  /* animações "da lateral" viram "de baixo" no celular (não empurram a página) */
  .anim-on [data-anim="esquerda"], .anim-on [data-anim="direita"] { transform: translateY(30px); }

  /* Banner de celular: foto inteira ocupando o banner e o texto EM CIMA da foto,
     no espaço livre que a imagem tem no topo */
  .hero.tem-mobile {
    display: flex;
    align-items: flex-start;
    min-height: 0 !important;
    aspect-ratio: var(--ar, 5/6);
    background-color: var(--cor-m, #1f92d2);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding: 30px 0 0;
  }
  .hero.tem-mobile::before { display: none; }
  .hero.tem-mobile .container { padding-bottom: 0; align-self: flex-start; }
  .hero.tem-mobile .hero-conteudo { max-width: none; }
  .hero.tem-mobile h1, .hero.tem-mobile h2 { font-size: clamp(26px, 7.4vw, 36px); margin-bottom: 10px; }
  .hero.tem-mobile p { font-size: 16px; margin-bottom: 16px; }
  .hero.tem-mobile .btn { padding: 11px 24px; }
  .hero.tem-mobile.hero-claro p.azul { color: var(--azul); }
  /* Fotos com o rosto à direita: texto ocupa só o lado esquerdo, sem cobrir o rosto */
  .hero.tem-mobile.bg-contatos .hero-conteudo,
  .hero.tem-mobile.bg-servicos .hero-conteudo,
  .hero.tem-mobile.bg-quem-somos .hero-conteudo { max-width: 58%; }
  .hero.tem-mobile.bg-contatos h1, .hero.tem-mobile.bg-servicos h1, .hero.tem-mobile.bg-quem-somos h1 { font-size: clamp(22px, 6.4vw, 30px); }
  .hero.tem-mobile.bg-contatos p, .hero.tem-mobile.bg-servicos p { font-size: 14.5px; }
  .hero.hero-centro.tem-mobile { text-align: left; }
  /* Imagens com espaço livre à esquerda na altura toda: texto centralizado na vertical */
  .hero.tem-mobile.bg-contatos, .hero.tem-mobile.bg-servicos, .hero.tem-mobile.bg-quem-somos { align-items: center; padding-top: 0; }
  .hero.tem-mobile.bg-servicos .hero-conteudo { max-width: 50%; }
  .hero.tem-mobile.bg-contatos .container, .hero.tem-mobile.bg-servicos .container, .hero.tem-mobile.bg-quem-somos .container { align-self: center; }
  .hero.hero-centro.tem-mobile .hero-conteudo { margin: 0; }
  /* Banners sem imagem de celular: foto centralizada no assunto e texto embaixo, legível */
  .hero:not(.tem-mobile) { background-position: 72% center; }
  .slide { display: flex; }
  .slide > .hero { flex: 1 1 auto; min-height: 0; }
}
/* Imagens dos banners (caminho relativo ao CSS: funciona no servidor e no computador) */
.bg-home { background-image: url("../img/hero-home.webp"); }
.bg-quem-somos { background-image: url("../img/hero-quem-somos.webp"); }
.bg-contatos { background-image: url("../img/hero-contatos.webp"); }
.bg-servicos { background-image: url("../img/hero-servicos.webp"); }
.bg-vidas-home { background-image: url("../img/hero-vidas-1.webp"); }
.bg-vidas { background-image: url("../img/hero-vidas-3.webp"); }
.bg-area { background-image: url("../img/hero-area.webp"); }
.bg-remocao { background-image: url("../img/hero-remocao.webp"); }
.bg-eventos { background-image: url("../img/hero-eventos.webp"); }
.bg-aph { background-image: url("../img/hero-aph.webp"); }
@media (max-width: 900px) {
  .bg-home { background-image: url("../img/hero-home-mobile.webp"); }
  .bg-quem-somos { background-image: url("../img/hero-quem-somos-mobile.webp"); }
  .bg-contatos { background-image: url("../img/hero-contatos-mobile.webp"); }
  .bg-servicos { background-image: url("../img/hero-servicos-mobile.webp"); }
  .bg-vidas-home, .bg-vidas { background-image: url("../img/hero-vidas-3-mobile.webp"); }
  .bg-area { background-image: url("../img/hero-area-mobile.webp"); }
  .bg-remocao { background-image: url("../img/hero-remocao-mobile.webp"); }
  .bg-eventos { background-image: url("../img/hero-eventos-mobile.webp"); }
  .bg-aph { background-image: url("../img/hero-aph-mobile.webp"); }
}

/* Banners laranja: título e botão brancos (contraste) */
.hero.hero-laranja .titulo-laranja, .hero.hero-laranja h1 .laranja { color: #fff; }
.hero.hero-laranja .btn:not(.btn-azul) { background: #fff; color: var(--laranja); }
.hero.hero-laranja .btn:not(.btn-azul):hover { background: var(--laranja-claro); color: var(--laranja-escuro); }

/* Mapa: aparece direto, carregado quando a pessoa rola até ele (abertura da página fica leve) */
.mapa[data-mapa] { height: 420px; background: #e9eef2; }
.mapa[data-mapa] iframe { height: 100%; }
@media (max-width: 640px) { .mapa[data-mapa] { height: 340px; } }
