/* LG – Gestão, Consultoria & Tecnologia
   Estilos reconstruídos a partir do Elementor (post-6/15/150/342.css). */

/* ---------- Fontes (self-hosted, subset latin, variáveis) ---------- */
@font-face {
  font-family: "Merriweather Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/merriweather-sans-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Merriweather Sans";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/merriweather-sans-italic-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/roboto-latin.woff2) format("woff2");
}

/* ---------- Tokens (kit global do Elementor) ---------- */
:root {
  --c-sand: #D5CEC8;
  --c-brown: #817266;
  --c-ink: #2B2B2B;
  --c-gold: #D39820;
  --c-black: #000;
  --c-white: #fff;
  --c-navy: #1A284D;
  --c-dark: #1f1f1f;
  --c-error: #c0392b;
  --f-merri: "Merriweather Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mont: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-roboto: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1140px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-roboto);
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
picture { display: contents; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; 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: 1000;
  padding: 10px 16px; background: var(--c-gold); color: var(--c-white);
  font-family: var(--f-merri); border-radius: 3px; transition: top .2s;
}
.skip-link:focus { top: 8px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--c-white);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 35px;
}
.brand img { width: 80px; height: 85px; object-fit: contain; }
.nav ul { display: flex; align-items: center; }
.nav a {
  display: block;
  padding: 0 15px;
  font-family: var(--f-merri);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: var(--c-ink);
  transition: color .3s;
}
.nav a:hover, .nav a:focus-visible { color: var(--c-gold); }
.nav-panel-head, .nav-toggle, .nav-overlay { display: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 40px;
  border-radius: 5px;
  font-family: var(--f-mont);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: background-color .3s, color .3s;
}
.btn svg { width: 1em; height: 1em; fill: currentColor; }
.btn-gold { background: var(--c-gold); color: var(--c-white); }
.btn-gold:hover, .btn-gold:focus-visible { background: var(--c-brown); color: var(--c-white); }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 73vh;
  padding: 10px;
  background: var(--c-dark);
  color: var(--c-white);
  text-align: center;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding-bottom: 50px;
}
.hero h1 {
  font-family: var(--f-merri);
  font-size: 45px;
  font-weight: 600;
}
.hero p {
  max-width: 1360px;
  padding: 15px 60px;
  font-family: var(--f-merri);
  font-size: 25px;
  font-weight: 300;
  line-height: 1.5;
}

/* ---------- Slideshows de fundo (hero + Serviços) ----------
   Elementor: fade 500ms, overlay preto 65%; hero com Ken Burns (zoom in). */
.hero, .services-band { position: relative; isolation: isolate; overflow: hidden; }
.bg-slideshow { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.bg-slideshow::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .65); }
.bg-slide {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  opacity: 0;
  transition: opacity .5s ease-in-out, transform 0s linear .5s;
}
.bg-slide.is-active { opacity: 1; transition: opacity .5s ease-in-out, transform 20s linear; }
.bg-kenburns .bg-slide.is-active { transform: scale(1.3); }
.bg-slide--hero-first { background-image: url(../img/bg/hero-1-960.webp); }
@media (min-width: 961px) {
  .bg-slide--hero-first { background-image: url(../img/bg/hero-1-1920.webp); }
}

/* ---------- Cards de soluções ---------- */
.solutions { position: relative; margin-top: -50px; padding-bottom: 50px; }
.cards { display: flex; align-items: flex-start; }
.card {
  flex: 0 0 25%;
  margin: 10px;
  padding: 50px 40px;
  background: var(--c-brown);
  border: 1px solid var(--c-white);
  border-radius: 5px;
  color: var(--c-white);
  text-align: center;
  transition: background-color .4s, color .4s;
}
.cards .card { flex-basis: calc(25% - 20px); }
.cards .card:nth-child(3) { padding: 40px 40px 38px; }
.card:hover { background: var(--c-sand); color: var(--c-black); }
.card-icon { width: 48px; height: 48px; margin: 0 auto 18px; }
.card h3 {
  margin-bottom: 18px;
  font-family: var(--f-merri);
  font-size: 20px;
  font-weight: 700;
}
.card p {
  font-family: var(--f-roboto);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
}

/* ---------- Sobre ---------- */
.about {
  display: flex;
  align-items: flex-start;
  padding: 0 20px 60px;
}
.about-media { flex: 0 0 40%; padding: 10px; }
.about-media img { width: 100%; height: auto; border-radius: 10px; }
.about-text {
  flex: 0 0 60%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 50px;
  padding: 10px;
}
.title-gold {
  font-family: var(--f-merri);
  font-size: 36px;
  font-weight: 600;
  color: var(--c-gold);
}
.about-sub {
  margin-top: -10px;
  font-family: var(--f-merri);
  font-size: 26px;
  font-weight: 800;
  font-style: italic;
  color: var(--c-navy);
}
.about-text p {
  font-family: var(--f-merri);
  font-size: 20px;
  font-weight: 300;
  line-height: 27px;
  letter-spacing: 1.5px;
  text-align: justify;
  color: var(--c-ink);
}

/* ---------- Serviços ---------- */
.services-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding: 60px 10px;
  background: var(--c-dark);
  text-align: center;
}
.services-sub {
  font-family: var(--f-merri);
  font-size: 28px;
  font-weight: 600;
  color: var(--c-white);
}
.accordion { margin: 50px 0; padding: 10px; }
.accordion details { border-bottom: 1px solid var(--c-gold); }
.accordion summary {
  display: flex;
  align-items: center;
  padding: 15px;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-merri);
  font-size: 19px;
  font-weight: 300;
  line-height: 23px;
  letter-spacing: 2.6px;
  word-spacing: 5px;
  text-transform: lowercase;
  color: var(--c-brown);
  transition: color .3s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover, .accordion details[open] summary { color: var(--c-gold); }
.caret { flex: none; width: .65em; height: 1em; margin-right: 20px; fill: currentColor; }
.caret-open, details[open] .caret-closed { display: none; }
details[open] .caret-open { display: block; }
.accordion-body {
  padding: 5px 0 20px 50px;
  font-family: var(--f-merri);
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -1.4px;
  word-spacing: 10px;
  color: var(--c-brown);
}
details[open] .accordion-body { animation: accordion-in .3s ease-out; }
@keyframes accordion-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Contato ---------- */
.contact {
  margin-top: 40px;
  padding: 50px 10px;
  background: var(--c-gold);
}
.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 940px;
  margin-inline: auto;
  text-align: center;
}
.contact h2 {
  font-family: var(--f-merri);
  font-size: 36px;
  font-weight: 600;
  color: var(--c-navy);
}
.contact .contact-sub { font-size: 28px; }
.contact-form { width: 100%; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; margin-bottom: 20px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e6e6e6;
  border-radius: 0;
  background: var(--c-white);
  color: #444;
  font-family: var(--f-roboto);
  font-size: 14px;
  line-height: 20px;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form textarea { min-height: 240px; resize: vertical; }
.contact-form ::placeholder { color: #aaa; font-size: 12px; opacity: 1; }
.contact-form [aria-invalid="true"] { border-color: var(--c-error); outline: 2px solid var(--c-error); outline-offset: 0; }
.field-error, .form-status {
  margin-top: 6px;
  padding: 4px 8px;
  align-self: flex-start;
  background: var(--c-white);
  color: var(--c-error);
  font-family: var(--f-roboto);
  font-size: 13px;
  font-weight: 500;
  border-radius: 2px;
}
.form-status { margin: 0 0 16px; }
.btn-submit {
  padding: 14px 30px;
  border: 0;
  border-radius: 0;
  background: var(--c-navy);
  color: var(--c-white);
  font-family: var(--f-merri);
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: background-color .3s;
}
.btn-submit:hover, .btn-submit:focus-visible { background: var(--c-ink); }

/* ---------- Rodapé ---------- */
.site-footer { padding-top: 20px; }
.footer-cols { display: flex; flex-wrap: wrap; padding: 0 10px; }
.footer-col { flex: 0 0 50%; display: flex; flex-direction: column; padding: 10px; }
.footer-location { align-items: flex-end; }
.footer-col h3 {
  margin-bottom: 20px;
  font-family: var(--f-merri);
  font-size: 24px;
  font-weight: 300;
  color: var(--c-brown);
}
.icon-list li + li { margin-top: 5px; }
.icon-list li, .icon-list a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-merri);
  font-size: 16px;
  font-weight: 300;
  color: var(--c-brown);
  transition: color .3s;
}
.icon-list a:hover, .icon-list a:focus-visible { color: var(--c-gold); }
.icon-list svg { flex: none; width: 16px; height: 16px; fill: currentColor; }
.icon-list svg[fill="none"] { fill: none; }
.footer-brand {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 50px;
  padding: 10px 10px 20px;
}
.footer-brand img { width: 80px; height: 85px; object-fit: contain; }
.slogan {
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 18px;
  font-style: italic;
  line-height: 25px;
  letter-spacing: -0.7px;
  text-transform: lowercase;
  text-align: center;
  color: var(--c-gold);
}
.slogan strong { font-weight: 400; }
.copyright {
  padding: 10px;
  background: var(--c-gold);
  text-align: center;
  font-family: var(--f-mont);
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
  letter-spacing: -1px;
  color: var(--c-white);
}

/* ---------- Animações de entrada ---------- */
.js [data-anim] { opacity: 0; }
.js [data-anim].is-visible { animation: var(--anim, fadeInUp) 1s ease both; }
.js [data-anim="fadeInUp"] { --anim: fadeInUp; }
.js [data-anim="fadeIn"] { --anim: fadeIn; }
.js [data-anim="fadeInLeft"] { --anim: fadeInLeft; }
.js [data-anim="fadeInRight"] { --anim: fadeInRight; }
.js [data-anim="pulse"] { --anim: pulseIn; }
.js [data-anim].is-visible { animation-name: var(--anim); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 40px, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(-40px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(40px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes pulseIn { 0% { opacity: 0; transform: scale(1); } 40% { opacity: 1; transform: scale(1.03); } 100% { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-anim] { opacity: 1; }
  .js [data-anim].is-visible, details[open] .accordion-body { animation: none; }
  .bg-kenburns .bg-slide.is-active { transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Tablet (≤1024px): menu off-canvas ---------- */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 45px;
    height: 41px;
    padding: 8px;
    border: 0;
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
  }
  .nav-toggle span { display: block; height: 1px; background: var(--c-ink); transition: background-color .3s; }
  .nav-toggle:hover span { background: var(--c-gold); }
  .nav {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 100;
    width: 100%;
    max-width: 350px;
    overflow-y: auto;
    background: var(--c-gold);
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform .4s ease, visibility .4s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px 0;
  }
  .nav-panel-head img { width: 60px; height: auto; margin: 20px 0 0 32px; }
  .nav-close {
    width: 45px;
    margin: 12px;
    padding: 8px;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: var(--c-white);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }
  .nav-close:hover { color: var(--c-ink); }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav li { margin-left: 10px; }
  .nav a {
    padding: 20px 0 0 30px;
    font-size: 20px;
    line-height: 1.6em;
    letter-spacing: 3px;
    word-spacing: .1em;
    color: var(--c-ink);
  }
  .nav a:hover, .nav a:focus-visible { color: var(--c-white); }
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(0, 0, 0, .3);
  }
  .nav-overlay[hidden] { display: none; }

  .hero { align-self: center; }
  .hero h1 { font-size: 35px; }
  .hero p { font-size: 22px; }
  .solutions { margin-top: -30px; }
  .card h3 { font-size: 16px; }
  .card p { font-size: 14px; line-height: 1.5em; word-spacing: .1em; }
  .card-icon { width: 42px; height: 42px; }
  .about { padding: 0 10px; align-items: center; }
  .about-text { margin-top: 0; }
  .title-gold { font-size: 28px; }
  .about-sub { font-size: 20px; }
  .about-text p { font-size: 15px; line-height: 1.2em; letter-spacing: -1px; }
  .services-sub { font-size: 35px; }
  .contact h2 { font-size: 28px; }
  .contact .contact-sub { font-size: 25px; }
  .footer-col h3 { font-size: 20px; }
  .icon-list li, .icon-list a { font-size: 14px; }
  .icon-list svg { width: 12px; height: 12px; }
  .slogan { font-size: 16px; }
  .copyright { padding-top: 5px; font-size: 15px; }
}

/* ---------- Mobile (≤767px) ---------- */
@media (max-width: 767px) {
  .header-inner { padding: 10px 25px; }
  .brand img { width: 60px; height: 59px; }
  .nav { max-width: 320px; }
  .nav a { font-size: 16px; line-height: 1.2em; }
  .nav-panel-head img { width: 75px; margin: 10% 0 0 15%; }

  .hero { padding: 40px 10px; min-height: 0; }
  .hero-content { padding-bottom: 20px; }
  .hero h1 { font-size: 30px; }
  .hero p { padding: 0; font-size: 18px; }
  .solutions { margin-top: 0; padding: 50px 20px; }
  .cards { flex-direction: column; align-items: stretch; }
  .cards .card { flex-basis: auto; margin: 10px 0; }
  .card { padding: 50px 30px; }
  .about { flex-direction: column; align-items: stretch; padding: 20px 10px; }
  .about-media, .about-text { flex-basis: auto; }
  .about-text { align-items: center; text-align: center; gap: 16px; }
  .title-gold { font-size: 23px; }
  .about-sub { font-size: 18px; }
  .about-text p { font-size: 14px; text-align: center; }
  .services-band { padding: 50px 10px; }
  .services-sub { font-size: 18px; }
  .accordion summary { font-size: 17px; letter-spacing: 2px; }
  .accordion-body { padding-left: 30px; font-size: 16px; word-spacing: 6px; }
  .contact h2 { font-size: 23px; }
  .contact .contact-sub { font-size: 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .btn-submit { width: 100%; }
  .footer-col { flex-basis: 100%; align-items: center; text-align: center; }
  .footer-col h3 { margin: 10px 0 12px; font-size: 16px; }
  .icon-list li + li { margin-top: 4px; }
  .footer-brand { margin-top: 20px; }
  .slogan { font-size: 16px; }
  .copyright { font-size: 14px; }
}
