/*
 * TEMA ESCURO DO SITE — usado pela versao 2 da pagina de estetica
 * automotiva. So entra quando o layout recebe `tema = escuro`; o resto
 * do site continua no claro.
 *
 * Preto de verdade com azul eletrico da marca: e o visual de estudio
 * de detalhamento (luz de LED sobre pintura espelhada), que e o mundo
 * de quem a pagina quer convencer.
 */

.site-escuro {
  --fundo: #0A0B0D;
  --fundo-2: #121418;
  --fundo-3: #1A1D23;
  --linha: rgba(255, 255, 255, .08);
  --texto: #F2F4F7;
  --texto-2: #A6ADBB;
  --eletrico: #3B82F6;
  --eletrico-claro: #60A5FA;
  --brilho: 0 0 32px rgba(59, 130, 246, .45);
  background: var(--fundo);
  color: var(--texto);
}

/* ---- topo e rodape do layout ---- */
.site-escuro .site-topo {
  background: rgba(10, 11, 13, .82);
  border-bottom-color: var(--linha);
}
.site-escuro .site-link { color: var(--texto-2); }
.site-escuro .site-link:hover { color: #fff; }
.site-escuro .site-rodape { border-top-color: var(--linha); background: var(--fundo); }
.site-escuro .site-rodape .text-secondary { color: var(--texto-2) !important; }
.site-escuro .site-marcas { border-bottom-color: var(--linha); }
.site-escuro .site-app { border-bottom-color: var(--linha); }
.site-escuro .site-marcas-rotulo, .site-escuro .site-marca-item { color: var(--texto-2); }
/* As marcas do rodape sao escuras: no preto, viram brancas. */
.site-escuro .site-marca-item img { filter: brightness(0) invert(1); opacity: .75; }
.site-escuro .site-marca-item { filter: none; opacity: 1; }

.site-escuro .btn-marca {
  background: var(--eletrico);
  border-color: var(--eletrico);
  box-shadow: var(--brilho);
}
.site-escuro .btn-marca:hover, .site-escuro .btn-marca:focus {
  background: var(--eletrico-claro);
  border-color: var(--eletrico-claro);
}
.au-btn-fantasma {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .04);
  font-weight: 600;
}
.au-btn-fantasma:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .1); }

/* ---- tipografia de corrida ---- */
.au-titulo, .au-h2, .au-num {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: .92;
}
.au-titulo { font-size: clamp(3rem, 9vw, 6.5rem); margin: 0; }
.au-titulo em { font-style: italic; color: var(--eletrico-claro); text-shadow: var(--brilho); }
.au-h2 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin: 0 0 1rem; }
.au-h2 em { font-style: italic; color: var(--eletrico-claro); }
.au-olho {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .9rem;
  color: var(--eletrico-claro);
  margin-bottom: 1rem;
}
.au-lead { color: var(--texto-2); font-size: 1.12rem; max-width: 40rem; }

/* ---- heroi com foto ---- */
.au-heroi {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  padding: 7rem 0 4rem;
  background: var(--fundo) center / cover no-repeat;
  overflow: hidden;
}
.au-heroi::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,11,13,.35) 0%, rgba(10,11,13,.15) 35%, rgba(10,11,13,.92) 82%, var(--fundo) 100%),
    linear-gradient(90deg, rgba(10,11,13,.85) 0%, rgba(10,11,13,0) 65%);
}
.au-heroi > .container { position: relative; }
.au-heroi .au-lead { color: #D5DAE3; font-size: 1.2rem; margin: 1.25rem 0 0; }

/* ---- faixa de numeros ---- */
.au-faixa {
  border-top: 1px solid var(--linha);
  border-bottom: 1px solid var(--linha);
  background: var(--fundo-2);
  padding: 1.75rem 0;
}
.au-num { font-size: 2.8rem; color: #fff; }
.au-num small { font-size: 1.4rem; color: var(--eletrico-claro); }
.au-num-rotulo { color: var(--texto-2); font-size: .92rem; margin-top: .35rem; }

/* ---- secoes ---- */
.au-secao { padding: 5.5rem 0; }
.au-secao-alt { background: var(--fundo-2); }

/* dores numeradas */
.au-dor {
  height: 100%;
  padding: 1.75rem;
  background: var(--fundo-3);
  border: 1px solid var(--linha);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.au-dor .au-num { font-size: 3.2rem; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); }
.au-dor h3 { font-size: 1.15rem; font-weight: 700; margin: .75rem 0 .5rem; }
.au-dor p { color: var(--texto-2); margin: 0; font-size: .95rem; }

/* recurso com foto ao lado */
.au-recurso { align-items: center; }
.au-recurso + .au-recurso { margin-top: 4.5rem; }
.au-foto {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--linha);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
  aspect-ratio: 4 / 3;
  background: var(--fundo-3);
}
.au-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.au-recurso h3 {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: 2.2rem; line-height: 1; margin-bottom: 1rem;
}
.au-recurso p { color: var(--texto-2); font-size: 1.05rem; }
.au-check { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.au-check li { display: flex; gap: .6rem; padding: .35rem 0; color: #D5DAE3; }
.au-check i { color: var(--eletrico-claro); }

/* conversa de WhatsApp ilustrativa, dentro de um celular feito em CSS */
.au-celular {
  position: relative;
  width: 300px;
  max-width: 100%;
  aspect-ratio: 9 / 19;
  margin: 0 auto;
  padding: 11px;
  border-radius: 48px;
  background: linear-gradient(145deg, #2A2E35, #121418);
  box-shadow:
    0 0 0 1.5px #3A3F48,
    0 40px 80px rgba(0, 0, 0, .7),
    0 0 60px rgba(59, 130, 246, .18);
}
.au-celular-ilha {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 25px; border-radius: 20px; background: #000; z-index: 2;
}
.au-celular-tela {
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  display: flex; flex-direction: column;
  background: #0B141A;
  font-size: .8rem;
}
.au-celular-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 24px 6px 28px;
  background: #1F2C34; color: #fff; font-weight: 600; font-size: .78rem;
}
.au-celular-status i { font-size: .8rem; margin-left: 2px; }
.au-zap-topo {
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem .7rem .7rem;
  background: #1F2C34;
}
.au-zap-topo .bi-chevron-left { color: #E9EDEF; font-size: 1rem; }
.au-zap-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--eletrico), #1E3A8A); color: #fff; font-size: 1rem;
}
.au-zap-nome { min-width: 0; line-height: 1.2; }
.au-zap-nome strong { display: block; font-size: .82rem; color: #E9EDEF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.au-zap-nome .bi-patch-check-fill { color: #25D366; font-size: .7rem; }
.au-zap-nome small { color: #8696A0; font-size: .7rem; }
.au-zap-conversa {
  flex: 1;
  padding: .8rem .65rem;
  overflow: hidden;
  background-color: #0B141A;
  background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 14px 14px;
}
.au-zap-dia {
  width: max-content; margin: 0 auto .8rem;
  padding: .2rem .6rem; border-radius: 7px;
  background: #182229; color: #8696A0; font-size: .66rem; letter-spacing: .04em;
}
.au-bolha { max-width: 86%; padding: .45rem .6rem .4rem; border-radius: 9px; margin-bottom: .45rem; line-height: 1.35; color: #E9EDEF; }
.au-bolha-cliente { background: #005C4B; margin-left: auto; border-top-right-radius: 3px; }
.au-bolha-loja { background: #202C33; border-top-left-radius: 3px; }
.au-hora { float: right; margin: .35rem 0 0 .5rem; font-size: .62rem; color: rgba(233, 237, 239, .6); }
.au-hora .bi-check2-all { color: #53BDEB; }
.au-bolha-botoes { display: grid; gap: .25rem; max-width: 86%; margin: -.2rem 0 .55rem; }
.au-bolha-botoes span { background: #202C33; color: #53BDEB; border-radius: 8px; padding: .4rem; font-size: .76rem; font-weight: 600; text-align: center; }
.au-zap-digitar {
  display: flex; align-items: center; gap: .5rem;
  margin: .4rem .55rem 1.1rem;
}
.au-zap-digitar span { flex: 1; background: #2A3942; color: #8696A0; border-radius: 20px; padding: .5rem .8rem; }
.au-zap-digitar i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #00A884; color: #fff; }
.au-zap-nota { color: var(--texto-2); font-size: .78rem; margin: 1rem 0 0; text-align: center; }

/* cartoes de recurso sem foto */
.au-card {
  height: 100%;
  padding: 1.6rem;
  background: var(--fundo-3);
  border: 1px solid var(--linha);
  border-radius: 14px;
  transition: border-color .2s, transform .2s;
}
.au-card:hover { border-color: rgba(96, 165, 250, .45); transform: translateY(-2px); }
.au-card i.au-ico { font-size: 1.6rem; color: var(--eletrico-claro); }
.au-card h3 { font-size: 1.1rem; font-weight: 700; margin: .9rem 0 .45rem; }
.au-card p { color: var(--texto-2); margin: 0; font-size: .95rem; }

/* demonstracao */
.au-passo {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 800; font-style: italic;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--eletrico); color: #fff; font-size: 1.4rem;
  box-shadow: var(--brilho);
  margin-bottom: 1rem;
}
.au-cred {
  background: var(--fundo); border: 1px solid var(--linha); border-radius: 10px;
  padding: .75rem 1rem; margin-top: 1rem; font-size: .92rem;
}
.au-cred div { display: flex; justify-content: space-between; gap: 1rem; padding: .15rem 0; }
.au-cred span { color: var(--texto-2); }
.au-cred code { color: #fff; font-size: .92rem; }
.au-nota { color: var(--texto-2); font-size: .85rem; }

/* perguntas */
.au-faq {
  background: var(--fundo-3);
  border: 1px solid var(--linha);
  border-radius: 12px;
  margin-bottom: .75rem;
}
.au-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.au-faq summary::-webkit-details-marker { display: none; }
.au-faq summary::after { content: "+"; font-size: 1.4rem; color: var(--eletrico-claro); line-height: 1; }
.au-faq[open] summary::after { content: "–"; }
.au-faq p { color: var(--texto-2); padding: 0 1.35rem 1.2rem; margin: 0; }

/* fecho com foto */
.au-fecho {
  position: relative;
  padding: 7rem 0;
  text-align: center;
  background: var(--fundo) center / cover no-repeat;
  overflow: hidden;
}
.au-fecho::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,11,13,.55) 0%, rgba(10,11,13,.92) 70%);
}
.au-fecho > .container { position: relative; }

@media (max-width: 767.98px) {
  /* No celular a foto ocupa a metade de cima, inteira, e o texto fica no
     preto embaixo — senao o carro some atras do titulo. */
  /* A foto e 16:9; a 150% da largura ela tem 84vw de altura. */
  .au-heroi { min-height: 0; padding: calc(84vw - 2.5rem) 0 2.5rem; background-size: 150% auto; background-position: 60% 0; }
  .au-heroi::before {
    background: linear-gradient(180deg, rgba(10,11,13,0) calc(84vw - 7rem), var(--fundo) calc(84vw - .5rem));
  }
  .au-secao { padding: 4rem 0; }
  .au-recurso + .au-recurso { margin-top: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .au-card { transition: none; }
}
