/* ============================================================
   EMBREAGEM LUK — Landing Page CSS
   Mobile-first | Premium Automotivo
   ============================================================ */

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

:root {
  --red:      var(--cfg-red, #CC0000);
  --red-h:    var(--cfg-red-h, #AA0000);
  --black:    var(--cfg-black, #0A0A0A);
  --gray-m:   #888888;
  --gray-l:   #CCCCCC;
  --gray-bg:  #F5F5F5;
  --white:    #FFFFFF;
  --wa:       var(--cfg-wa, #25D366);
  --wa-h:     var(--cfg-wa-h, #1DA851);
  --font:     'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius:   8px;
  --shadow:   0 4px 20px rgba(0,0,0,.12);
  --header-h: 64px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: #333; font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   HEADER FIXO
   ============================================================ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: var(--header-bg, #0A0A0A);
  height: var(--header-h);
  display: flex; align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.header-inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 0 20px;
  display: flex; align-items: center; gap: 20px;
}
.header-logo img { height: 42px; width: auto; }
.header-logo-text {
  color: var(--white); font-weight: 800; font-size: 18px; letter-spacing: -.5px;
}
.header-logo-text span { color: var(--red); }

.header-nav { display: none; }
@media(min-width:900px) {
  .header-nav { display: flex; gap: 4px; margin-left: auto; }
  .header-nav a { color: #CCC; font-size: 13.5px; padding: 6px 10px; border-radius: 4px; transition: color .2s; }
  .header-nav a:hover { color: var(--white); }
}

.header-wa-btn {
  margin-left: auto;
  display: flex; align-items: center; gap: 7px;
  background: var(--wa); color: var(--white);
  padding: 9px 16px; border-radius: 24px;
  font-weight: 700; font-size: 13.5px; cursor: pointer;
  border: none; transition: background .2s; white-space: nowrap;
}
.header-wa-btn:hover { background: var(--wa-h); }
@media(min-width:900px) { .header-wa-btn { margin-left: 16px; } }

/* Hamburguer */
.hamburger { display: flex; flex-direction: column; gap: 4px; cursor: pointer; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; }
@media(min-width:900px) { .hamburger { display: none; } }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.mobile-menu {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
  background: #111; z-index: 998; padding: 12px 0;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; color: #CCC; padding: 12px 24px; font-size: 15px; border-bottom: 1px solid #222; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--white); background: #1A1A1A; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--header-h);
  position: relative; overflow: hidden;
  background: var(--hero-bg, #0A0A0A);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: var(--hero-img);
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,var(--hero-overlay,.45)) 0%, rgba(0,0,0,calc(var(--hero-overlay,.45) * 0.6)) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 60px 20px;
}
.hero-content { max-width: 680px; }
.hero-badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-badge {
  background: rgba(204,0,0,.2); border: 1px solid rgba(204,0,0,.5);
  color: var(--white); font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: .06em;
}
.hero h1 {
  font-size: clamp(26px, 5vw, 46px); font-weight: 900;
  color: var(--white); line-height: 1.15; margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero h1 em { color: var(--red); font-style: normal; }
.hero-sub {
  font-size: clamp(15px, 2.5vw, 18px); color: var(--gray-l);
  margin-bottom: 28px; max-width: 540px;
}
.hero-bullets { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.hero-bullets li {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-size: 15px; font-weight: 500;
}
.bullet-icon { color: var(--red); font-size: 18px; flex-shrink: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 28px; border-radius: 6px; border: none; cursor: pointer;
  font-size: 16px; font-weight: 700; transition: all .2s; text-decoration: none;
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.3); }

/* ============================================================
   SEÇÕES GENÉRICAS
   ============================================================ */
.section { padding: 80px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { font-size: clamp(22px, 4vw, 36px); font-weight: 800; margin-bottom: 12px; }
.section-header p { font-size: 16px; color: #666; max-width: 560px; margin: 0 auto; }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ============================================================
   BENEFÍCIOS
   ============================================================ */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.benefit-card {
  border-radius: var(--radius); padding: 28px 20px;
  text-align: center; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit-icon { font-size: 36px; margin-bottom: 14px; }
.benefit-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.benefit-card p { font-size: 13.5px; line-height: 1.55; }

/* ============================================================
   SEÇÃO LUK
   ============================================================ */
.luk-section { position: relative; overflow: hidden; }
.luk-inner { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media(min-width:860px) { .luk-inner { grid-template-columns: 1fr 1fr; } }
.luk-image-wrap { position: relative; }
.luk-image-wrap img { border-radius: 12px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.luk-placeholder {
  background: linear-gradient(135deg, #1A1A1A 0%, #333 100%);
  border-radius: 12px; aspect-ratio: 4/3; width: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
}
.luk-badge {
  position: absolute; bottom: 16px; right: 16px;
  background: var(--red); color: var(--white);
  padding: 8px 18px; border-radius: 6px; font-weight: 800; font-size: 14px;
}
.luk-items { list-style: none; margin: 20px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.luk-items li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.luk-items li::before { content: '✦'; color: var(--red); font-size: 12px; flex-shrink: 0; }

/* ============================================================
   SERVIÇOS
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.service-card {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 3px 16px rgba(0,0,0,.1); transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.15); }
.service-img {
  height: 200px; overflow: hidden;
  background: linear-gradient(135deg, #1A1A1A, #333);
  display: flex; align-items: center; justify-content: center; font-size: 60px;
}
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 22px; }
.service-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.service-body p { font-size: 14px; color: #666; margin-bottom: 18px; line-height: 1.5; }
.btn-service {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: 6px; border: none;
  font-size: 14px; font-weight: 700; cursor: pointer; transition: all .2s; text-decoration: none;
}
.btn-service:hover { filter: brightness(0.88); }

/* ============================================================
   GARANTIA
   ============================================================ */
.garantia-section { padding: 80px 20px; }
.garantia-inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media(min-width:860px) { .garantia-inner { grid-template-columns: 1fr 1fr; } }
.garantia-content h2 { font-size: clamp(22px, 4vw, 34px); font-weight: 900; margin-bottom: 16px; }
.garantia-content p { font-size: 16px; margin-bottom: 28px; opacity: .9; }
.garantia-pillars { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.garantia-pilar { display: flex; gap: 14px; align-items: flex-start; }
.pilar-icon { font-size: 28px; flex-shrink: 0; }
.pilar-body h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.pilar-body p { font-size: 13.5px; opacity: .85; }
.garantia-img-wrap { text-align: center; }
.garantia-img-wrap img { border-radius: 12px; max-height: 380px; object-fit: cover; width: 100%; }
.garantia-img-placeholder {
  background: rgba(255,255,255,.1); border-radius: 12px;
  height: 300px; display: flex; align-items: center; justify-content: center; font-size: 100px;
}

/* ============================================================
   COMO FUNCIONA
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; margin-bottom: 48px; }
.step-card { background: var(--white); border-radius: var(--radius); padding: 28px 20px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,.07); position: relative; }
.step-num {
  width: 50px; height: 50px; border-radius: 50%; font-size: 22px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  color: var(--white);
}
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: #666; line-height: 1.5; }

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: 0 3px 14px rgba(0,0,0,.08); border-top: 3px solid var(--red); }
.stars { font-size: 18px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text { font-size: 14px; line-height: 1.6; color: #555; margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; flex-direction: column; }
.author-name { font-weight: 700; font-size: 14px; }
.author-car { font-size: 12px; color: var(--gray-m); }

/* ============================================================
   URGÊNCIA
   ============================================================ */
.urgencia-section { padding: 80px 20px; }
.urgencia-inner { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media(min-width:860px) { .urgencia-inner { grid-template-columns: 1fr 1fr; align-items: center; } }
.urgencia-section h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 900; margin-bottom: 16px; }
.urgencia-section p { font-size: 16px; margin-bottom: 28px; opacity: .85; }
.urgencia-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.urgencia-list li {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.07); border-radius: 8px; padding: 12px 16px;
  font-size: 15px; font-weight: 500;
}
.urgencia-list li::before { content: '⚠️'; font-size: 18px; }
.urgencia-visual { text-align: center; font-size: 120px; opacity: .6; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; cursor: pointer;
  font-weight: 600; font-size: 15px;
  background: var(--white); border: none; width: 100%; text-align: left;
  transition: background .2s;
}
.faq-question:hover { background: var(--gray-bg); }
.faq-question.open { background: var(--gray-bg); }
.faq-chevron { font-size: 12px; transition: transform .3s; color: var(--red); }
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 22px 18px; font-size: 14.5px; color: #555; line-height: 1.65; background: var(--white); }
.faq-answer.open { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { padding: 60px 20px 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.footer-brand h3 span { color: var(--red); }
.footer-brand p { font-size: 14px; opacity: .7; line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; opacity: .5; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 14px; opacity: .75; transition: opacity .2s; }
.footer-col ul a:hover { opacity: 1; }
.footer-contact li { display: flex; gap: 8px; font-size: 14px; opacity: .8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; font-size: 12px; opacity: .45; }

/* ============================================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  background: var(--wa); color: var(--white);
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; cursor: pointer; border: none;
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
  transition: all .2s; animation: waPulse 2.5s infinite;
}
.wa-float:hover { background: var(--wa-h); transform: scale(1.08); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.5); }
  50%       { box-shadow: 0 6px 36px rgba(37,211,102,.8); }
}
.wa-float-label {
  position: fixed; bottom: 90px; right: 20px; z-index: 900;
  background: var(--black); color: var(--white);
  padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 600;
  white-space: nowrap; pointer-events: none;
  animation: fadeInUp .4s ease;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   POPUP WHATSAPP
   ============================================================ */
.popup-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.65); backdrop-filter: blur(3px);
  align-items: center; justify-content: center; padding: 16px;
}
.popup-overlay.active { display: flex; }
.popup-box {
  background: var(--white); border-radius: 14px;
  width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  animation: popIn .3s ease;
}
@keyframes popIn { from { opacity: 0; transform: scale(.92) translateY(20px); } to { opacity: 1; transform: none; } }
.popup-header {
  background: var(--black); padding: 22px 24px 18px;
  border-radius: 14px 14px 0 0; position: relative;
}
.popup-header h3 { color: var(--white); font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.popup-header p { color: var(--gray-l); font-size: 13.5px; }
.popup-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,.15); border: none; color: var(--white);
  width: 30px; height: 30px; border-radius: 50%;
  font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.popup-close:hover { background: rgba(255,255,255,.3); }
.popup-body { padding: 24px; }
.popup-form { display: flex; flex-direction: column; gap: 14px; }
.popup-form input,
.popup-form textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid #DDD; border-radius: 8px;
  font-size: 15px; font-family: var(--font);
  outline: none; transition: border-color .2s;
}
.popup-form input:focus,
.popup-form textarea:focus { border-color: var(--red); }
.popup-form label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 4px; color: #444; }
.popup-form textarea { resize: none; height: 80px; }
.popup-regioes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.regiao-opcao { display: flex; align-items: center; cursor: pointer; }
.regiao-opcao input[type="radio"] { display: none; }
.regiao-opcao span {
  padding: 7px 12px; border-radius: 20px; font-size: 13px; font-weight: 600;
  border: 2px solid #ddd; color: #555; background: #f9f9f9;
  transition: all .15s; user-select: none;
}
.regiao-opcao input:checked + span {
  border-color: var(--cfg-red, #CC0000);
  background: var(--cfg-red, #CC0000);
  color: #fff;
}
.regiao-opcao span:hover { border-color: #bbb; background: #f0f0f0; }
.popup-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.btn-popup-main {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; border-radius: 8px; border: none;
  font-size: 16px; font-weight: 700; cursor: pointer; transition: all .2s; width: 100%;
}
.btn-popup-main:hover { filter: brightness(.9); }
.btn-popup-skip {
  background: none; border: none; color: var(--gray-m);
  font-size: 13px; cursor: pointer; padding: 6px;
  transition: color .2s; text-decoration: underline;
}
.btn-popup-skip:hover { color: #333; }

/* ============================================================
   CTA SECTION GENÉRICA
   ============================================================ */
.cta-section { padding: 60px 20px; text-align: center; }
.cta-section h2 { font-size: clamp(22px, 4vw, 32px); font-weight: 800; margin-bottom: 12px; }
.cta-section p { font-size: 16px; margin-bottom: 28px; opacity: .8; }

/* ============================================================
   UTILITÁRIOS
   ============================================================ */
.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; border: none;
  font-size: 16px; font-weight: 700; cursor: pointer; transition: all .2s; text-decoration: none;
}
.btn-wa:hover { filter: brightness(.9); transform: translateY(-1px); }

/* Offset do header em âncoras */
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* Lazy loading */
img[loading="lazy"] { opacity: 0; transition: opacity .4s; }
img[loading="lazy"].loaded { opacity: 1; }

@media(max-width:600px) {
  .section { padding: 60px 16px; }
  .hero-inner { padding: 40px 16px; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; right: 16px; font-size: 24px; }
}
