/* ================================================================
   W.A.S SECURITY — SITE OFICIAL
   style.css
================================================================ */

:root {
  --primary:    #0055A4;
  --primary-d:  #003d7a;
  --whatsapp:   #25D366;
  --dark-bg:    #0f172a;
  --darker-bg:  #020617;
  --sidebar-w:  290px;
  --main-bg:    #f4f7fa;
  --surface:    #ffffff;
  --border:     #e2e8f0;
  --text-dark:  #0f172a;
  --text-gray:  #64748b;
  --text-light: #94a3b8;
  --tag-color:  #f59e0b;
}

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; background: var(--main-bg); color: var(--text-dark); overflow-x: hidden; max-width: 100vw; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ================================================================
   LAYOUT PRINCIPAL
================================================================ */
.dashboard-layout { display: flex; min-height: 100vh; }

/* ================================================================
   SIDEBAR
================================================================ */
.sidebar-fixed {
  width: var(--sidebar-w);
  background: var(--dark-bg);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  left: 0; top: 0;
  border-right: 1px solid rgba(255,255,255,0.05);
  box-shadow: 5px 0 25px rgba(0,0,0,0.15);
  z-index: 200;
  overflow-y: auto;
  overflow-x: hidden;
}

/* BRAND / LOGO */
.brand {
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.logo-wrapper { display: inline-flex; flex-direction: column; align-items: stretch; }

.logo-container {
  font-size: 4.8rem; font-weight: 800; letter-spacing: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0.8;
  text-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.logo-container > span {
  font-family: 'Century Schoolbook SH Bold', 'Century Schoolbook', serif;
  color: #fff;
}

/* Grupo W: bloco de listras + W sólido lado a lado */
.logo-w-group {
  display: inline-flex;
  align-items: flex-end;
  gap: 0;
  font-family: 'Century Schoolbook SH Bold', 'Century Schoolbook', serif;
}

/* W sólido simples */
.logo-w-group .logo-w {
  font-family: 'Century Schoolbook SH Bold', 'Century Schoolbook', serif;
  color: #fff;
}

/* Bloco de listras independente */
.stripe-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  margin-right: -20px;
  margin-bottom: 6px;
  height: 3rem;      /* Altura máxima = nunca ultrapassa o topo do W */
  overflow: hidden;  /* Corta listras excedentes pelo topo */
}

/* Estilo base de cada linha */
.stripe-block i {
  display: block;
  height: 2px;
  background: #fff;
  font-style: normal;
  align-self: flex-end;
}

/* Larguras progressivas */
.stripe-block .s2  { width: 36px; }
.stripe-block .s3  { width: 34px; }
.stripe-block .s4  { width: 31px; }
.stripe-block .s5  { width: 29px; }
.stripe-block .s6  { width: 26px; }
.stripe-block .s7  { width: 23px; }
.stripe-block .s8  { width: 20px; }
.stripe-block .s9  { width: 17px; }
.stripe-block .s10 { width: 14px; }
.stripe-block .s11 { width: 10px; }
.stripe-block .s12 { width:  6px; }

.logo-dot { margin: 0 -2px; }

.logo-sub {
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem; font-weight: 800;
  text-align: center;
  letter-spacing: 2px;
  padding: 4px 8px;
  margin-top: 8px;
}

/* NAVEGAÇÃO */
.menu-label {
  display: block;
  padding: 1.2rem 1.5rem 0.4rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  font-weight: 700;
  flex-shrink: 0;
}

.nav-menu { flex-grow: 1; padding: 0.5rem 0.8rem; }
.nav-menu > ul > li { margin-bottom: 2px; }

.nav-menu a {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem; font-weight: 500;
  color: #94a3b8;
  transition: all 0.2s;
  cursor: pointer;
}
.nav-menu a:hover { background: rgba(255,255,255,0.06); color: #fff; transform: translateX(2px); }
.nav-menu a.active { background: var(--primary); color: #fff; }
.nav-menu a i { width: 20px; text-align: center; font-size: 1rem; opacity: 0.8; }
.nav-menu a.active i { opacity: 1; }

/* SUBMENU */
.submenu-arrow { margin-left: auto !important; font-size: 0.7rem !important; width: auto !important; transition: transform 0.2s; }
.has-sub.open .submenu-arrow { transform: rotate(180deg); }
.submenu {
  display: none;
  padding: 0.3rem 0 0.3rem 2.5rem;
}
.has-sub.open .submenu { display: block; }
.submenu li a {
  font-size: 0.82rem; padding: 0.5rem 0.8rem;
  color: #64748b;
}
.submenu li a:hover { color: #fff; background: rgba(255,255,255,0.04); }

/* FOOTER DO SIDEBAR */
.sidebar-footer { padding: 1.2rem; border-top: 1px solid rgba(255,255,255,0.05); flex-shrink: 0; }
.contact-box {
  background: var(--darker-bg);
  border-radius: 10px;
  padding: 1.2rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
}
.contact-box p { font-size: 0.75rem; color: var(--text-light); margin-bottom: 0.8rem; }
.btn-whatsapp {
  display: flex; justify-content: center; align-items: center; gap: 0.4rem;
  background: var(--whatsapp); color: #fff;
  font-weight: 700; font-size: 0.85rem;
  padding: 0.7rem; border-radius: 6px;
  transition: background 0.2s;
}
.btn-whatsapp:hover { background: #1ebd5a; }

/* ================================================================
   CONTEÚDO PRINCIPAL
================================================================ */
.main-content {
  flex-grow: 1;
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100vw;
}

/* SEÇÕES */
.section { padding: 3.5rem 3rem; display: none; max-width: 1400px; margin: 0 auto; width: 100%; }
.section.active-section { display: block; }
.sobre-section { display: block; } /* Sempre visível */

/* SECTION HEADER */
.section-header { margin-bottom: 2.5rem; }
.section-header h2 {
  font-size: 2.2rem; font-weight: 800;
  color: var(--text-dark); margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}
.section-sub { font-size: 1.05rem; color: var(--text-gray); }

/* ================================================================
   HERO / VISÃO GERAL
================================================================ */
.top-header { margin-bottom: 2.5rem; }
.region-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--dark-bg); color: #fff;
  font-size: 0.78rem; font-weight: 600;
  padding: 0.4rem 0.9rem; border-radius: 50px;
  margin-bottom: 1.2rem;
}
.top-header h1 {
  font-size: 2.8rem; font-weight: 800;
  line-height: 1.15; color: var(--text-dark);
  letter-spacing: -1px; margin-bottom: 1rem;
}
.top-header p { font-size: 1.1rem; color: var(--text-gray); max-width: 550px; margin-bottom: 1.8rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--whatsapp); color: #fff;
  font-weight: 700; font-size: 1rem;
  padding: 0.9rem 1.8rem; border-radius: 8px;
  transition: all 0.2s; box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-primary:hover { background: #1ebd5a; transform: translateY(-2px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: 700; font-size: 1rem;
  padding: 0.9rem 1.8rem; border-radius: 8px;
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--primary); color: #fff; }

.stats-row { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat span { font-size: 0.8rem; color: var(--text-gray); margin-top: 0.2rem; }

/* ================================================================
   PORTFOLIO GRID
================================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}
.card-featured { grid-column: span 2; height: 380px !important; }

.portfolio-card {
  position: relative;
  background: #000;
  border-radius: 14px;
  height: 260px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s;
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.13); }
.portfolio-card img { opacity: 0.72; transition: opacity 0.4s, transform 0.6s ease; }
.portfolio-card:hover img { opacity: 0.9; transform: scale(1.04); }

.overlay-grad {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.45) 45%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem; color: #fff;
}
.overlay-grad h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.4rem; letter-spacing: -0.3px; }
.overlay-grad p { font-size: 0.9rem; color: #cbd5e1; line-height: 1.5; margin-bottom: 1rem; max-width: 500px; }
.tag {
  display: inline-block;
  background: var(--tag-color); color: #000;
  padding: 0.3rem 0.8rem; border-radius: 50px;
  font-size: 0.72rem; font-weight: 800;
  margin-bottom: 0.8rem; align-self: flex-start;
}
.btn-light {
  background: #fff; color: #000; border: none;
  padding: 0.7rem 1.4rem; border-radius: 6px;
  font-weight: 700; font-size: 0.9rem;
  cursor: pointer; align-self: flex-start;
  transition: background 0.2s;
}
.btn-light:hover { background: #e2e8f0; }

/* ================================================================
   SOBRE (QUEM SOMOS)
================================================================ */
.sobre-section { background: #fff; border-top: 1px solid var(--border); }
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.sobre-text p { color: var(--text-gray); line-height: 1.8; margin-bottom: 1.2rem; }
.sobre-text p strong { color: var(--text-dark); }
.diferenciais { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1.5rem; }
.diff-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.88rem; font-weight: 500; color: var(--text-dark);
}
.diff-item i { color: #16a34a; font-size: 1rem; }
.sobre-card { position: relative; border-radius: 14px; overflow: hidden; height: 350px; }

/* ================================================================
   SERVICE TYPES (CONCERTINA)
================================================================ */
.service-types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-type-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; }
.service-type-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.service-type-card .service-img { height: 200px; background: #000; position: relative; overflow: hidden; }
.service-type-card .service-img img { opacity: 0.85; transition: opacity 0.3s; }
.service-type-card:hover .service-img img { opacity: 1; }
.service-body { padding: 1.5rem; }
.service-tag { display: inline-block; background: #fff3cd; color: #856404; font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 4px; margin-bottom: 0.6rem; }
.service-body h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; }
.service-body p { font-size: 0.88rem; color: var(--text-gray); line-height: 1.6; margin-bottom: 1rem; }
.service-body ul { margin-bottom: 1.5rem; }
.service-body ul li { font-size: 0.85rem; color: var(--text-gray); padding: 0.25rem 0; padding-left: 1.2rem; position: relative; }
.service-body ul li::before { content: '✓'; position: absolute; left: 0; color: #16a34a; font-weight: 700; }

/* BTN SERVICE */
.btn-service {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--whatsapp); color: #fff;
  font-weight: 700; font-size: 0.88rem;
  padding: 0.7rem 1.2rem; border-radius: 6px;
  transition: background 0.2s;
}
.btn-service:hover { background: #1ebd5a; }

/* ================================================================
   SERVICE DETAIL (LANÇA, CERCA, PORTÃO, etc.)
================================================================ */
.service-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.service-detail-layout.reverse { direction: rtl; }
.service-detail-layout.reverse > * { direction: ltr; }
.service-detail-img { border-radius: 14px; overflow: hidden; height: 380px; background: #000; }
.service-detail-text h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 1rem; }
.service-detail-text > p { color: var(--text-gray); line-height: 1.8; margin-bottom: 1.5rem; }

.feature-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.feature-item { display: flex; align-items: flex-start; gap: 1rem; }
.feature-item > i { width: 42px; height: 42px; background: #eff6ff; color: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.feature-item > div strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; }
.feature-item > div span { font-size: 0.85rem; color: var(--text-gray); }

.sensor-placeholder {
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--dark-bg); color: #334155; gap: 1rem;
  border-radius: 14px;
}
.sensor-placeholder i { font-size: 4rem; }
.sensor-placeholder p { font-size: 0.9rem; }

/* ================================================================
   COMBO CERCA + CONCERTINA
================================================================ */
.combo-highlight {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
  background: var(--dark-bg); border-radius: 18px;
  overflow: hidden;
}
.combo-img { height: 450px; }
.combo-content { padding: 3rem; color: #fff; }
.combo-content h3 { font-size: 2rem; font-weight: 800; margin: 1rem 0; }
.combo-content > p { color: #94a3b8; margin-bottom: 1.5rem; line-height: 1.7; }
.combo-items { display: flex; flex-direction: column; gap: 0.8rem; }
.combo-item { display: flex; align-items: center; gap: 0.8rem; font-size: 0.95rem; font-weight: 500; color: #e2e8f0; }
.combo-item i { color: var(--tag-color); width: 20px; }

/* ================================================================
   FORMULÁRIO DE ORÇAMENTO
================================================================ */
.orcamento-section { background: var(--dark-bg); color: #fff; }
.orcamento-section .section-header h2 { color: #fff; }
.orcamento-section .section-sub { color: var(--text-light); }

.form-wrapper { max-width: 700px; }
.quote-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: span 2; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: #94a3b8; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #475569; }
.form-group select option { background: #1e293b; color: #fff; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }

.btn-submit {
  display: flex; justify-content: center; align-items: center; gap: 0.6rem;
  background: var(--whatsapp); color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 800; font-size: 1.05rem;
  padding: 1rem 2rem; border: none; border-radius: 8px;
  cursor: pointer; transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
  align-self: flex-start;
}
.btn-submit:hover { background: #1ebd5a; transform: translateY(-2px); }

/* ================================================================
   FOOTER
================================================================ */
.site-footer { background: var(--darker-bg); color: #fff; padding: 3rem 4rem 1.5rem; margin-top: auto; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-brand p { font-size: 0.85rem; color: #64748b; margin-top: 0.8rem; line-height: 1.6; }
.footer-logo { font-family: 'Century Schoolbook SH Bold','Century Schoolbook',serif; font-size: 2rem; font-weight: 800; display: block; }
.footer-logo-sub { background: var(--primary); color: #fff; font-size: 0.6rem; font-weight: 800; letter-spacing: 2px; padding: 2px 6px; display: inline-block; margin-top: 4px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links strong, .footer-contact strong { color: #fff; font-size: 0.85rem; margin-bottom: 0.3rem; }
.footer-links a, .footer-contact a { color: #64748b; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact p { color: #64748b; font-size: 0.85rem; }
.footer-bottom { text-align: center; color: #334155; font-size: 0.8rem; }

/* ================================================================
   WHATSAPP FLUTUANTE
================================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 60px; height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: float-pulse 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,0.7); }
}

/* MOBILE MENU BUTTON */
.mobile-menu-btn { display: none; }

/* ================================================================
   ANIMAÇÕES DE PORTÃO (Prévia estilo GIF)
================================================================ */

/* Container da prévia */
.gate-preview {
  height: 200px;
  background: linear-gradient(to bottom, #e0e7ef 0%, #c8d5e8 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Cena base compartilhada */
.gate-scene {
  width: 100%;
  height: 160px;
  position: relative;
  display: flex;
  align-items: flex-end;
}

/* Muros laterais */
.gp-wall {
  width: 30%;
  height: 110px;
  background: linear-gradient(to bottom, #94a3b8, #64748b);
  border-radius: 4px 4px 0 0;
  flex-shrink: 0;
}

/* Chão */
.gp-ground {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 18px;
  background: #475569;
}

/* Label animado */
.gp-label {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(255,255,255,0.85);
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
  animation: label-pulse 4s infinite;
}
@keyframes label-pulse {
  0%, 45%, 100% { opacity: 1; }
  50%, 95% { opacity: 0.4; }
}

/* ── PORTÃO DESLIZANTE ── */
.gp-deslizante {
  flex-grow: 1;
  height: 110px;
  background: repeating-linear-gradient(
    90deg,
    #1e40af 0px, #1e40af 8px,
    #2563eb 8px, #2563eb 14px
  );
  border-radius: 3px 3px 0 0;
  position: relative;
  transform-origin: left center;
  animation: gate-slide 4s ease-in-out infinite;
}
@keyframes gate-slide {
  0%,  20% { transform: translateX(0); }
  45%, 65%  { transform: translateX(85%); }
  90%,100%  { transform: translateX(0); }
}

/* ── PORTÃO PIVOTANTE ── */
.gp-pivotante {
  flex-grow: 1;
  height: 110px;
  background: repeating-linear-gradient(
    180deg,
    #166534 0px, #166534 8px,
    #15803d 8px, #15803d 14px
  );
  border-radius: 3px 3px 0 0;
  transform-origin: left bottom;
  animation: gate-pivot 4s ease-in-out infinite;
  perspective: 400px;
}
@keyframes gate-pivot {
  0%,  20% { transform: perspective(300px) rotateY(0deg); }
  45%, 65%  { transform: perspective(300px) rotateY(-75deg); }
  90%,100%  { transform: perspective(300px) rotateY(0deg); }
}

/* ── PORTÃO BASCULANTE ── */
.gp-basculante {
  flex-grow: 1;
  height: 110px;
  background: repeating-linear-gradient(
    180deg,
    #7c2d12 0px, #7c2d12 8px,
    #9a3412 8px, #9a3412 14px
  );
  border-radius: 3px 3px 0 0;
  transform-origin: center top;
  animation: gate-bascule 4s ease-in-out infinite;
}
@keyframes gate-bascule {
  0%,  20% { transform: perspective(300px) rotateX(0deg); }
  45%, 65%  { transform: perspective(300px) rotateX(-88deg); }
  90%,100%  { transform: perspective(300px) rotateX(0deg); }
}

/* ================================================================
   RESPONSIVO
=============================================================== */
@media (max-width: 1200px) {
  .service-types-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .card-featured { grid-column: span 1; height: 280px !important; }
  .sobre-grid,
  .service-detail-layout,
  .combo-highlight { grid-template-columns: 1fr; }
  .service-detail-layout.reverse { direction: ltr; }
  .combo-img { height: 280px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sidebar-fixed { transform: translateX(-100%); transition: transform 0.3s ease; }
  .sidebar-fixed.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .section { padding: 2rem 5%; }
  .top-header h1 { font-size: 1.8rem; }
  .service-types-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 1.5rem; }
  .site-footer { padding: 2rem 5%; }
  .reviews-slider-wrapper { padding: 1.5rem; }
  .review-card { min-width: 260px; max-width: 260px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .item-form-row { grid-template-columns: 1fr; }
  .admin-panel { width: 98%; }
  .admin-panel-header { flex-direction: column; gap: 1rem; padding: 1rem; }
  .admin-panel-table { padding: 1rem; }
  .admin-item-row { flex-direction: column; align-items: flex-start; }
  .admin-item-actions { align-self: flex-end; }

  .mobile-menu-btn {
    display: flex; align-items: center; gap: 0.5rem;
    position: fixed; top: 1rem; left: 1rem; z-index: 300;
    background: var(--dark-bg); color: #fff;
    border: none; padding: 0.7rem 1rem;
    border-radius: 8px; font-weight: 600; font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    cursor: pointer;
  }
}

/* ================================================================
   SLIDER DE AVALIAÇÕES
=============================================================== */
.reviews-slider-wrapper {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  width: 100%;
}
.reviews-slider-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}
.platform-badge.google {
  background: #f8f9fa;
  color: #4285f4;
  border: 1px solid #e8eaed;
}
.platform-badge.getninja {
  background: #fff3e0;
  color: #f57c00;
  border: 1px solid #ffe0b2;
}
.reviews-count {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-left: auto;
}
.reviews-slider-track {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.reviews-slider-track::-webkit-scrollbar { display: none; }
.review-card {
  min-width: 300px;
  max-width: 300px;
  background: var(--main-bg);
  border-radius: 12px;
  padding: 1.5rem;
  scroll-snap-align: start;
  flex-shrink: 0;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.review-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.review-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}
.review-info .review-platform {
  font-size: 0.72rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.review-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  letter-spacing: 1px;
}
.review-text {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.6;
}
.review-date {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 0.8rem;
}
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
}
.slider-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.slider-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.2s;
}
.slider-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ================================================================
   CATÁLOGO DE PRODUTOS
=============================================================== */
.catalog-section {
  margin-bottom: 3rem;
  position: relative;
}
.catalog-header {
  text-align: center;
  margin-bottom: 2rem;
}
.catalog-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.catalog-header h2 i {
  color: var(--primary);
  margin-right: 0.5rem;
}
.catalog-header p {
  font-size: 1rem;
  color: var(--text-gray);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  width: 100%;
}
.catalog-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
}
.catalog-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.catalog-item-image {
  height: 140px;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.catalog-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.catalog-item:hover .catalog-item-image img {
  transform: scale(1.05);
}
.catalog-item-icon {
  font-size: 2.5rem;
  opacity: 0.6;
}
.catalog-item-content {
  padding: 1rem;
}
.catalog-item-tag {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.catalog-item-tag.high-demand { background: #ffe0e0; color: #c62828; }
.catalog-item-tag.new { background: #e0f2f1; color: #00695c; }
.catalog-item-tag.promotion { background: #e8f5e9; color: #2e7d32; }
.catalog-item-tag.bestseller { background: #fff3e0; color: #e65100; }
.catalog-item-tag.exclusive { background: #e8eaf6; color: #283593; }
.catalog-item-tag.default-tag { background: #fff3cd; color: #856404; }
.catalog-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.catalog-item p {
  font-size: 0.8rem;
  color: var(--text-gray);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.catalog-item-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 0.6rem;
  transition: gap 0.2s;
}
.catalog-item:hover .catalog-item-link {
  gap: 0.5rem;
}
.btn-admin-login {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s, transform 0.2s;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.btn-admin-login:hover { opacity: 1; transform: scale(1.1); }

/* ================================================================
   MODAL ADMIN LOGIN
=============================================================== */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}
.admin-modal-overlay.active { display: flex; }
.admin-modal {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modal-in 0.3s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(-20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.admin-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--main-bg);
  color: var(--text-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s;
}
.admin-modal-close:hover { background: var(--border); }
.admin-modal-header { text-align: center; margin-bottom: 2rem; }
.admin-modal-header i { font-size: 2.5rem; color: var(--primary); margin-bottom: 0.8rem; }
.admin-modal-header h3 { font-size: 1.3rem; font-weight: 800; color: var(--text-dark); }
.admin-modal-header p { font-size: 0.85rem; color: var(--text-gray); }
.admin-login-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group-admin { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group-admin label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.form-group-admin input {
  background: var(--main-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}
.form-group-admin input:focus { border-color: var(--primary); }
.btn-admin-submit {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.9rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-admin-submit:hover { background: var(--primary-d); }
.admin-error { color: #dc2626; font-size: 0.85rem; text-align: center; min-height: 1.2em; }

/* ================================================================
   PAINEL ADMIN (CRUD)
=============================================================== */
.admin-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}
.admin-panel-overlay.active { display: flex; }
.admin-panel {
  background: #fff;
  border-radius: 16px;
  width: 95%;
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modal-in 0.3s ease;
}
.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  border-radius: 16px 16px 0 0;
  z-index: 1;
}
.admin-panel-header h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); }
.admin-panel-header h3 i { color: var(--primary); margin-right: 0.5rem; }
.admin-panel-actions { display: flex; gap: 0.8rem; }
.admin-menu { position: relative; }
.admin-menu-btn {
  background: var(--main-bg);
  color: var(--text-gray);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}
.admin-menu-btn:hover { background: var(--border); }
.admin-menu-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.4rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 200px;
  z-index: 1000;
  overflow: hidden;
}
.admin-menu-content.active { display: block; }
.admin-menu-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 1rem;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: background 0.2s;
  text-align: left;
}
.admin-menu-item:hover { background: var(--main-bg); }
.btn-add-item {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s;
}
.btn-add-item:hover { background: var(--primary-d); }
.btn-logout {
  background: var(--main-bg);
  color: var(--text-gray);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}
.btn-logout:hover { background: #fee2e2; color: #dc2626; border-color: #fecaca; }

/* MODAL PERFIL ADMIN */
.admin-profile-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(5px);
  display: none; align-items: center; justify-content: center;
  z-index: 10000;
}
.admin-profile-overlay.active { display: flex; }.admin-profile-modal {
  background: white; width: 90%; max-width: 400px; padding: 2.5rem;
  border-radius: 1.5rem; position: relative;
}
.admin-profile-close {
  position: absolute; top: 1rem; right: 1rem; background: none; border: none;
  font-size: 1.5rem; color: #94a3b8; cursor: pointer; transition: 0.2s;
}
.admin-profile-close:hover { color: #1e293b; }
.admin-profile-header { text-align: center; margin-bottom: 2rem; }
.admin-profile-header i { font-size: 3rem; color: #0055A4; margin-bottom: 1rem; }
.admin-profile-header h3 { font-size: 1.5rem; color: #1e293b; font-weight: 700; margin-bottom: 0.5rem; }
.admin-profile-header p { color: #64748b; font-size: 0.9rem; }
.admin-profile-message { margin-top: 1rem; font-size: 0.85rem; text-align: center; }
.admin-profile-message.success { color: #10b981; font-weight: 600; }
.admin-profile-message.error { color: #ef4444; font-weight: 600; }

.btn-profile {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.2rem;
  border-radius: 0.8rem; border: 1px solid var(--border); background: white;
  color: #64748b; font-weight: 600; cursor: pointer; transition: 0.2s;
}
.btn-profile:hover { background: #f8fafc; color: #0055A4; border-color: #0055A4; }

.admin-panel-table { padding: 1.5rem 2rem; }
.admin-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.8rem;
  background: var(--main-bg);
  transition: box-shadow 0.2s;
}
.admin-item-row:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.admin-item-thumb {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: var(--dark-bg);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-item-thumb i { font-size: 1.2rem; color: var(--text-light); }
.admin-item-info { flex-grow: 1; min-width: 0; }
.admin-item-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-item-info p {
  font-size: 0.78rem;
  color: var(--text-gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-item-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--tag-color);
  color: #000;
  font-weight: 600;
}
.admin-item-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.btn-edit-item,
.btn-delete-item {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.btn-edit-item { background: #e0f2fe; color: #0369a1; }
.btn-edit-item:hover { background: #bae6fd; }
.btn-delete-item { background: #fee2e2; color: #dc2626; }
.btn-delete-item:hover { background: #fecaca; }
.admin-empty { text-align: center; padding: 3rem; color: var(--text-light); }
.admin-empty i { font-size: 3rem; margin-bottom: 1rem; }

/* ================================================================
   MODAL ADICIONAR/EDITAR ITEM
=============================================================== */
.item-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  backdrop-filter: blur(4px);
}
.item-modal-overlay.active { display: flex; }
.item-modal {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  width: 90%;
  max-width: 550px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modal-in 0.3s ease;
}
.item-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--main-bg);
  color: var(--text-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s;
}
.item-modal-close:hover { background: var(--border); }
.item-modal h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1.5rem; }
.item-form { display: flex; flex-direction: column; gap: 1rem; }
.item-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.item-form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.item-form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.item-form-group input,
.item-form-group select,
.item-form-group textarea {
  background: var(--main-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}
.item-form-group input:focus,
.item-form-group select:focus,
.item-form-group textarea:focus { border-color: var(--primary); }
.btn-item-submit {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.9rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.btn-item-submit:hover { background: var(--primary-d); }

/* ================================================================
   RESPONSIVO - NOVAS SEÇÕES
=============================================================== */
@media (max-width: 1200px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .reviews-slider-wrapper { padding: 1.5rem; }
  .review-card { min-width: 260px; max-width: 260px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .item-form-row { grid-template-columns: 1fr; }
  .admin-panel { width: 98%; }
  .admin-panel-header { flex-direction: column; gap: 1rem; padding: 1rem; }
  .admin-panel-table { padding: 1rem; }
  .admin-item-row { flex-direction: column; align-items: flex-start; }
  .admin-item-actions { align-self: flex-end; }
}
