/* Lantin Solutions — layout inspirado no Technoai, marca vermelha */
:root {
  --brand: #b80000;
  --brand-dark: #7a0000;
  --brand-soft: #fff5f5;
  --dark: #1a1a1a;
  --text: #444;
  --muted: #6b7280;
  --light: #f8f9fb;
  --white: #fff;
  --header-h: 80px;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.14);
  --max: 1140px;
  --footer-bg: #5a5a5a;
  --footer-top: #454545;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Roboto', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container-narrow {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.site-header .inner {
  width: min(1320px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a,
.site-nav .nav-trigger {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}

.site-header.is-scrolled .site-nav a,
.site-header.is-scrolled .site-nav .nav-trigger {
  color: var(--dark);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: currentColor;
  transition: width 0.22s ease;
}

.site-nav a:hover::after { width: 100%; }

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px !important;
  border-radius: 999px;
  background: var(--brand) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(184, 0, 0, 0.3);
}

.btn-nav::after { display: none !important; }

.btn-nav:hover {
  background: var(--brand-dark) !important;
  transform: translateY(-1px);
}

.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow-hover);
  border: 1px solid #eee;
}

.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-dropdown .nav-trigger::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
  transform: translateY(-1px);
}

.nav-dropdown-menu a {
  display: block;
  color: var(--dark) !important;
  padding: 10px 12px;
  border-radius: 10px;
}

.nav-dropdown-menu a:hover {
  background: var(--brand-soft);
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.site-header.is-scrolled .menu-toggle {
  background: var(--brand-soft);
  color: var(--brand);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  padding: calc(var(--header-h) + 40px) 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/imagem/banner_lantin.webp') center/cover no-repeat;
  z-index: -2;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55));
  z-index: -1;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.hero p {
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
}

.btn-primary:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(184,0,0,.35);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,.7);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section {
  padding: 88px 0;
  scroll-margin-top: var(--header-h);
}

.section-alt { background: var(--light); }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-label {
  display: inline-block;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  color: var(--dark);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 12px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

/* ===== SERVICE CARDS (Technoai style) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
}

.service-card.card-tilt-l { transform: rotate(-2deg); }
.service-card.card-tilt-r { transform: rotate(2deg); }

.service-card:hover {
  transform: translateY(-14px) scale(1.03) rotate(0deg) !important;
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-soft), #fff);
  color: var(--brand);
  font-size: 1.8rem;
}

.service-card h3 {
  margin: 0 0 10px;
  color: var(--dark);
  font-size: 1.2rem;
}

.service-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.service-link:hover { gap: 10px; }

/* ===== ABOUT CARDS ===== */
.about-text {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.about-text p {
  margin: 0 0 16px;
  text-align: justify;
  text-indent: 2em;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.about-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s, box-shadow 0.35s;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.about-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-card-body {
  padding: 20px;
  text-align: left;
}

.about-card-body h3 {
  margin: 0 0 8px;
  color: var(--dark);
}

.about-card-body p {
  margin: 0;
  font-size: 0.95rem;
}

/* ===== AUTOMAÇÕES ===== */
.auto-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.auto-panel {
  background: linear-gradient(135deg, #1a1a1a, #2d1515);
  color: #fff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-hover);
}

.auto-panel h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.auto-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.auto-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}

.auto-list i {
  color: #ff6b6b;
  font-size: 1.2rem;
  margin-top: 2px;
}

.auto-cards {
  display: grid;
  gap: 18px;
}

.auto-mini {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--brand);
  transition: transform 0.25s;
}

.auto-mini:hover { transform: translateX(6px); }

.auto-mini h4 {
  margin: 0 0 6px;
  color: var(--dark);
}

.auto-mini p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.why-card:hover { transform: translateY(-8px); }

.why-card i {
  font-size: 2rem;
  color: var(--brand);
  margin-bottom: 14px;
}

.why-card h4 {
  margin: 0 0 8px;
  color: var(--dark);
}

.why-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ===== STATS ===== */
.stats-section {
  background: linear-gradient(120deg, #fafafa, #f3e8e8);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stats-box {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stats-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.stats-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--brand);
}

.stats-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand);
  margin: 0;
}

.stats-label {
  margin: 8px 0 0;
  font-weight: 700;
  color: var(--dark);
}

.stats-box small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}

.contact-info-card,
.contact-form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid #eee;
}

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-item-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--dark);
}

.contact-form .form-control {
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid #ddd;
}

.contact-form .form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(184,0,0,.12);
}

.btn-brand {
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(184,0,0,.22);
}

.btn-brand:hover { background: var(--brand-dark); color: #fff; }

.map-wrap {
  border-radius: 14px;
  overflow: hidden;
  margin-top: 20px;
}

.map-wrap iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

/* ===== REVIEWS ===== */
.reviews-summary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.g-stars .star { color: var(--brand); }

.g-review-card {
  border-radius: 16px;
  border: 1px solid #eee;
  box-shadow: var(--shadow);
  height: 100%;
}

.g-review-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
}

/* ===== FAQ ===== */
.faq-wrap .accordion-button:not(.collapsed) {
  background: var(--brand-soft);
  color: var(--brand-dark);
  box-shadow: none;
}

.faq-wrap .accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(184,0,0,.12);
}

/* ===== FOOTER ===== */
.lantin-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,.88);
}

.footer-top {
  background: var(--footer-top);
  padding: 28px 0;
}

.footer-newsletter .form-control {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  border-radius: 12px;
  height: 48px;
}

.footer-newsletter .form-control::placeholder { color: rgba(255,255,255,.6); }

.footer-news-btn {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  border-radius: 12px !important;
  height: 48px;
  font-weight: 800;
}

.footer-mid { padding: 48px 0; }

.footer-links a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  display: block;
  padding: 5px 0;
}

.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-social {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}

.footer-social:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-2px);
  color: #fff;
}

.footer-divider {
  border: 0;
  height: 1px;
  background: var(--brand);
  margin: 32px 0;
}

/* ===== WHATSAPP ===== */
.wa-float {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  z-index: 2000;
  text-decoration: none;
  font-size: 1.6rem;
  transition: transform 0.2s;
}

.wa-float:hover {
  transform: translateY(-3px);
  color: #fff;
}

/* ===== COOKIES ===== */
.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  width: min(960px, calc(100% - 24px));
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  z-index: 2500;
  backdrop-filter: blur(8px);
}

.cookie-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

/* ===== SERVICES DETAIL PAGE ===== */
.hero--subpage {
  min-height: 42vh;
  padding: calc(var(--header-h) + 32px) 24px 56px;
}

.hero--subpage .hero-bg-picture {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero--subpage .hero-bg-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--subpage h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}

.hero--subpage .hero-lead {
  font-weight: 700;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  margin: 0 0 6px;
}

.hero--subpage .hero-sub {
  font-size: clamp(0.85rem, 1.6vw, 0.95rem);
  opacity: 0.92;
  margin: 0;
}

.breadcrumbs-bar {
  background: var(--light);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumbs-bar a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs-bar a:hover { color: var(--brand); }

.breadcrumbs-bar .sep { opacity: 0.4; margin: 0 6px; }

.services-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
  text-align: left;
}

.services-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.services-sidebar h3 {
  margin: 4px 0 12px;
  font-size: 0.95rem;
  color: var(--brand);
  font-weight: 700;
}

.services-sidebar a {
  display: block;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: background 0.18s, border-color 0.18s;
}

.services-sidebar a:hover {
  background: var(--brand-soft);
  border-color: #ffd7d7;
}

.service-detail {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.service-detail-media {
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  margin: 0 0 16px;
}

.service-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--brand);
  font-weight: 700;
}

.service-detail p,
.service-detail ul {
  color: var(--text);
  font-size: 0.95rem;
}

.service-detail ul { margin: 0 0 12px 18px; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  margin-top: 8px;
  background: #fff;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid #eee;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s;
}

.btn-whatsapp:hover {
  background: var(--brand);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(184, 0, 0, 0.35);
}

.cta-band {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--brand), #ee2c2c);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 28px;
}

.cta-band h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 800;
}

.cta-band p { margin: 0; opacity: 0.95; }

.cta-band .btn-primary { color: var(--brand); }

.cta-band .btn-primary:hover { color: #fff; }

@media (min-width: 860px) {
  .cta-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.video-embed {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #000;
  aspect-ratio: 16/9;
  max-width: 820px;
  margin-inline: auto;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.section--compact { padding: 56px 0; }

/* ===== REVEAL ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .services-layout { grid-template-columns: 1fr; }
  .services-sidebar { position: static; }

  .services-grid,
  .about-cards,
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .auto-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .service-card.card-tilt-l,
  .service-card.card-tilt-r { transform: none; }
}

@media (max-width: 768px) {
  .menu-toggle { display: grid; place-items: center; }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 16px;
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
    gap: 4px;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a,
  .site-nav .nav-trigger { color: var(--dark) !important; padding: 12px; }

  .nav-dropdown .nav-dropdown-menu {
    display: none;
    position: static;
    box-shadow: none;
    border: 0;
    padding-left: 12px;
  }

  .nav-dropdown.is-open .nav-dropdown-menu { display: block; }

  .services-grid,
  .about-cards,
  .why-grid,
  .stats-grid { grid-template-columns: 1fr; }

  .section { padding: 64px 0; }

  .cookie-inner { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .service-card:hover { transform: none !important; }
}
