/* =============================================
   LS INSPEÇÕES — style.css
   Inspirado em lgomesinspecoes.com.br
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@300;400;600&display=swap');

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

:root {
  --azul-esc:   #0b1d2e;
  --azul-nav:   #0d2035;
  --azul-meio:  #103354;
  --azul-card:  #0f2a44;
  --laranja:    #f39200;
  --laranja-h:  #d47e00;
  --branco:     #ffffff;
  --cinza-cl:   #e8edf2;
  --cinza-txt:  #a0b0be;
  --texto:      #cdd8e3;

  --titulo: 'Montserrat', sans-serif;
  --corpo:  'Open Sans', sans-serif;
  --tr: 0.25s ease;
  --raio: 4px;
}

html  { scroll-behavior: smooth; }
body  {
  font-family: var(--corpo);
  background: var(--azul-esc);
  color: var(--texto);
  line-height: 1.7;
}
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }

/* =============================================
   TOPO — barra de contato
   ============================================= */
header {
  background: var(--azul-nav);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* Faixa laranja acima da nav */
header::before {
  content: '✉ contato@lsinspecoes.com.br  |  📱 (11) 91210-1548';
  display: block;
  background: var(--laranja);
  color: var(--azul-esc);
  font-family: var(--titulo);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 6px 20px;
}

/* =============================================
   NAVBAR
   ============================================= */
.Cabeçalho {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 68px;
  flex-wrap: wrap;
  gap: 10px;
}

.Cabeçalho > img {
  width: clamp(110px, 13vw, 180px);
  height: auto;
  filter: brightness(1.1);
}

.Cabeçalho nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.Cabeçalho nav a {
  font-family: var(--titulo);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cinza-cl);
  padding: 8px 16px;
  border-bottom: 2px solid transparent;
  transition: color var(--tr), border-color var(--tr);
}

.Cabeçalho nav a:hover {
  color: var(--laranja);
  border-bottom-color: var(--laranja);
}

/* =============================================
   BANNER / HERO
   ============================================= */
.banner {
  overflow: hidden;
  line-height: 0;
  display: block;
}

.banner img {
  width: 100%;
  height: clamp(220px, 42vw, 520px);
  object-fit: cover;
  object-position: center;
  display: block;
}

/* =============================================
   MAIN
   ============================================= */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Título padrão de seção */
.sec-titulo {
  font-family: var(--titulo);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--branco);
  margin-bottom: 10px;
}

.sec-titulo span {
  color: var(--laranja);
}

.sec-linha {
  width: 52px;
  height: 4px;
  background: var(--laranja);
  border-radius: 2px;
  margin-bottom: 40px;
}

/* =============================================
   SOBRE A EMPRESA
   ============================================= */
main > section:first-of-type {
  padding: 72px 0 56px;
}

main > section:first-of-type > div {
  display: flex;
  align-items: flex-start;
  gap: 52px;
  flex-wrap: wrap;
}

main > section:first-of-type h2 {
  font-family: var(--titulo);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--branco);
  line-height: 1.25;
  margin-bottom: 18px;
  flex: 1 1 100%;
}

main > section:first-of-type h2::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: var(--laranja);
  border-radius: 2px;
  margin-top: 14px;
}

main > section:first-of-type figure {
  flex: 0 0 auto;
}

main > section:first-of-type figure img {
  width: 420px;
  max-width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--raio);
  border-top: 3px solid var(--laranja);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

main > section:first-of-type p {
  flex: 1 1 280px;
  font-size: 0.97rem;
  color: var(--texto);
  line-height: 1.85;
}

/* =============================================
   CLIENTES
   ============================================= */
.Clientes {
  padding: 64px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.Clientes h1 {
  font-family: var(--titulo);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--branco);
  margin-bottom: 10px;
}

.Clientes h1::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: var(--laranja);
  border-radius: 2px;
  margin-top: 12px;
  margin-bottom: 36px;
}

.Clientes > div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.Clientes figure {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--azul-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 3px solid var(--laranja);
  border-radius: var(--raio);
  padding: 24px;
  flex: 1 1 320px;
  max-width: 540px;
  transition: transform var(--tr), box-shadow var(--tr), border-top-color var(--tr);
}

.Clientes figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
  border-top-color: var(--laranja-h);
}

.Clientes figure > img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  border-radius: var(--raio);
  padding: 6px;
}

.Clientes figcaption { flex: 1; }

.Clientes figcaption h4 {
  font-family: var(--titulo);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--branco);
  margin-bottom: 8px;
}

.Clientes figcaption p {
  font-size: 0.87rem;
  color: var(--cinza-txt);
  line-height: 1.7;
}

/* =============================================
   PONTOS POSITIVOS
   ============================================= */
/* class="Motivos para nos escolher" — seletor via atributo para escapar espaços */
section[class^="Motivos"] {
  background: var(--azul-meio);
  padding: 72px 48px;
  margin: 0 -40px;
  border-top: 3px solid var(--laranja);
  border-bottom: 3px solid var(--laranja);
}

section[class^="Motivos"] > div:first-child h1 {
  font-family: var(--titulo);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--branco);
  margin-bottom: 10px;
}

section[class^="Motivos"] > div:first-child h1::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: var(--laranja);
  border-radius: 2px;
  margin-top: 12px;
  margin-bottom: 28px;
}

section[class^="Motivos"] > div:first-child figure img {
  width: 100%;
  max-width: 680px;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--raio);
  border-top: 3px solid var(--laranja);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  margin-bottom: 32px;
}

/* Cada item de check (div ou figure com ícone right) */
section[class^="Motivos"] > div:not(:first-child),
section[class^="Motivos"] > figure {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid var(--laranja);
  border-radius: var(--raio);
  margin-bottom: 10px;
  transition: background var(--tr);
}

section[class^="Motivos"] > div:not(:first-child):hover,
section[class^="Motivos"] > figure:hover {
  background: rgba(243,146,0,0.09);
}

/* figcaption solto fora de figure */
section[class^="Motivos"] > figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid var(--laranja);
  border-radius: var(--raio);
  margin-bottom: 10px;
  transition: background var(--tr);
}

section[class^="Motivos"] > figcaption:hover {
  background: rgba(243,146,0,0.09);
}

/* ícone check pequeno */
section[class^="Motivos"] img[src*="right"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(65%) sepia(90%) saturate(800%) hue-rotate(5deg);
}

section[class^="Motivos"] h3,
section[class^="Motivos"] figcaption h3 {
  font-family: var(--titulo);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--branco);
  line-height: 1.3;
}

/* =============================================
   SERVIÇOS
   ============================================= */
section[class^="Lista"] {
  padding: 72px 0 56px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

section[class^="Lista"] h1 {
  font-family: var(--titulo);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--branco);
  margin-bottom: 10px;
}

section[class^="Lista"] h1::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: var(--laranja);
  border-radius: 2px;
  margin-top: 12px;
  margin-bottom: 36px;
}

section[class^="Lista"] > div {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

/* Details accordion */
details {
  background: var(--azul-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 3px solid var(--azul-meio);
  border-radius: var(--raio);
  overflow: hidden;
  transition: border-top-color var(--tr), box-shadow var(--tr);
}

details:hover {
  border-top-color: var(--laranja);
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

details[open] {
  border-top-color: var(--laranja);
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}

summary {
  font-family: var(--titulo);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cinza-cl);
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background var(--tr), color var(--tr);
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--laranja);
  transition: transform var(--tr);
  line-height: 1;
  flex-shrink: 0;
}

details[open] summary {
  background: var(--laranja);
  color: var(--azul-esc);
}

details[open] summary::after {
  transform: rotate(45deg);
  color: var(--azul-esc);
}

details p {
  font-size: 0.87rem;
  color: var(--cinza-txt);
  line-height: 1.75;
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* =============================================
   FOOTER / CONTATOS
   ============================================= */
footer {
  background: #060f18;
  border-top: 3px solid var(--laranja);
  margin-top: 80px;
}

.Contatos {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.Contatos > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.Contatos img {
  filter: brightness(0) saturate(100%) invert(65%) sepia(90%) saturate(800%) hue-rotate(5deg);
  opacity: 0.9;
}

.Contatos h1 {
  font-family: var(--titulo);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--branco);
}

.Contatos h1::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: var(--laranja);
  border-radius: 2px;
  margin: 10px auto 0;
}

.Contatos h2 {
  font-family: var(--corpo);
  font-size: 1rem;
  font-weight: 400;
  color: var(--cinza-txt);
}

.Contatos span {
  font-size: 0.9rem;
  color: var(--cinza-txt);
}

.Contatos nav { margin-top: 10px; }

.Contatos nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--titulo);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--azul-esc);
  background: var(--laranja);
  padding: 14px 40px;
  border-radius: 2px;
  transition: background var(--tr), transform var(--tr);
}

.Contatos nav a:hover {
  background: var(--laranja-h);
  transform: translateY(-2px);
}

.Contatos nav H2 {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0;
  display: inline;
}

/* Rodapé copyright */
footer::after {
  content: '© 2026 LS Inspeções e Diligenciamento — Todos os direitos reservados';
  display: block;
  background: #040c12;
  color: rgba(255,255,255,0.25);
  font-family: var(--titulo);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 14px 20px;
}

/* =============================================
   RESPONSIVO
   ============================================= */
@media (max-width: 900px) {
  main { padding: 0 24px; }

  section[class^="Motivos"] {
    padding: 48px 24px;
    margin: 0 -24px;
  }

  section[class^="Lista"] > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header::before { font-size: 0.65rem; padding: 5px 12px; }

  .Cabeçalho {
    padding: 0 20px;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    justify-content: center;
    flex-direction: column;
  }

  .Cabeçalho nav { justify-content: center; flex-wrap: wrap; }
  .Cabeçalho nav a { font-size: 0.72rem; padding: 6px 10px; }

  main > section:first-of-type > div { flex-direction: column; }
  main > section:first-of-type figure img { width: 100%; height: 220px; }

  .Clientes figure { flex-direction: column; align-items: center; text-align: center; }

  .Contatos { padding: 40px 20px; }
}

@media (max-width: 480px) {
  .banner img { height: 180px; }
  .Cabeçalho nav a { font-size: 0.68rem; padding: 5px 8px; }
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  html { scroll-behavior: auto; }
}
