/* ============================================
   Lá Penha Pages - Location Page Styles
   Design baseado em lapenhamudancas.com.br
   ============================================ */

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

#lapenha-location-root {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1e293b;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Variáveis CSS dinâmicas (sobrescritas via JS) */
#lapenha-location-root {
  --lp-primary: #0099CC;
  --lp-secondary: #003366;
  --lp-accent: #25D366;
  --lp-teal: #00BFA5;
  --lp-dark-card: #0d1b2a;
  --lp-white: #ffffff;
}

/* ============================================
   HEADER
   ============================================ */
.lp-header {
  background: var(--lp-primary);
  padding: 20px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.lp-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.lp-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.lp-company-name {
  font-size: 28px;
  font-weight: 800;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  letter-spacing: -0.5px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.lp-hero {
  background: linear-gradient(135deg, var(--lp-secondary) 0%, var(--lp-primary) 60%, #00b4d8 100%);
  padding: 60px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lp-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: white;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.lp-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.lp-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.lp-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.lp-hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
  font-weight: 500;
}

.lp-hero-description {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.lp-hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.lp-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--lp-accent);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.lp-btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  background: #1da851;
  color: white;
}

.lp-btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--lp-primary);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.lp-btn-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  background: #f0f9ff;
  color: var(--lp-secondary);
}

.lp-btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.lp-services {
  background: white;
  padding: 60px 20px;
  text-align: center;
}

.lp-section-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--lp-secondary);
  margin-bottom: 8px;
}

.lp-section-subtitle {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 40px;
}

.lp-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.lp-service-card {
  background: var(--lp-primary);
  border-radius: 16px;
  padding: 32px 24px;
  color: white;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.lp-service-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.lp-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 153, 204, 0.3);
}

.lp-service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-service-icon svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.lp-service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.lp-service-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.lp-cta-section {
  background: white;
  padding: 20px 20px 60px;
  text-align: center;
}

.lp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--lp-accent);
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  animation: pulse-green 2s infinite;
}

.lp-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  color: white;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7); }
}

/* ============================================
   INFO CARDS SECTION (Formas de Pagamento, etc.)
   ============================================ */
.lp-info-section {
  background: var(--lp-secondary);
  padding: 60px 20px;
  position: relative;
}

.lp-info-section::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: white;
  clip-path: ellipse(55% 100% at 50% 0%);
}

.lp-info-section .lp-section-title {
  color: white;
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 40px;
}

.lp-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.lp-info-card {
  background: var(--lp-dark-card);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s ease;
}

.lp-info-card:hover {
  transform: translateY(-4px);
}

.lp-info-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(0, 153, 204, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-info-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--lp-primary);
}

.lp-info-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.lp-info-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* ============================================
   TRANSPORT SECTION (Teal)
   ============================================ */
.lp-transport-section {
  background: linear-gradient(135deg, #00897b 0%, var(--lp-teal) 50%, #26c6da 100%);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.lp-transport-section::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--lp-secondary);
  clip-path: ellipse(55% 100% at 50% 0%);
}

.lp-transport-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.lp-transport-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-align: center;
  grid-column: 1 / -1;
}

.lp-transport-quote {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.2);
}

.lp-transport-quote p {
  font-size: 15px;
  color: white;
  line-height: 1.8;
  font-style: italic;
}

.lp-transport-highlight {
  background: rgba(0,0,0,0.3);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.15);
}

.lp-transport-highlight h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.3;
}

/* ============================================
   LOCAL SEO SECTION
   ============================================ */
.lp-local-section {
  background: #f8fafc;
  padding: 60px 20px;
  text-align: center;
}

.lp-local-inner {
  max-width: 800px;
  margin: 0 auto;
}

.lp-local-section .lp-section-title {
  color: var(--lp-secondary);
}

.lp-local-text {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 16px;
}

.lp-location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.lp-location-tag {
  background: var(--lp-primary);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.lp-footer {
  background: var(--lp-dark-card);
  padding: 30px 20px;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

.lp-footer a {
  color: var(--lp-primary);
  text-decoration: none;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.lp-floating-buttons {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.lp-float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  white-space: nowrap;
  overflow: hidden;
  max-width: 56px;
}

.lp-float-btn:hover {
  max-width: 300px;
  color: white;
}

.lp-float-btn-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.lp-float-btn-text {
  opacity: 0;
  transition: opacity 0.2s ease 0.1s;
  white-space: nowrap;
}

.lp-float-btn:hover .lp-float-btn-text {
  opacity: 1;
}

.lp-float-whatsapp {
  background: var(--lp-accent);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
}

.lp-float-whatsapp:hover {
  background: #1da851;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  transform: translateX(4px);
}

.lp-float-phone {
  background: var(--lp-primary);
  box-shadow: 0 4px 15px rgba(0, 153, 204, 0.5);
}

.lp-float-phone:hover {
  background: var(--lp-secondary);
  box-shadow: 0 8px 25px rgba(0, 153, 204, 0.6);
  transform: translateX(4px);
}

/* Pulso no botão WhatsApp flutuante */
.lp-float-whatsapp::before {
  content: '';
  position: absolute;
  width: 56px;
  height: 56px;
  background: var(--lp-accent);
  border-radius: 50%;
  opacity: 0;
  animation: float-pulse 2s infinite;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes float-pulse {
  0% { transform: translateY(-50%) scale(1); opacity: 0.5; }
  100% { transform: translateY(-50%) scale(1.8); opacity: 0; }
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.lp-scroll-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 9999;
  width: 44px;
  height: 44px;
  background: var(--lp-secondary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.lp-scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.lp-scroll-top:hover {
  background: var(--lp-primary);
  transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .lp-hero { padding: 40px 16px 70px; }
  .lp-transport-inner { grid-template-columns: 1fr; }
  .lp-transport-title { grid-column: 1; }
  .lp-float-btn { max-width: 52px; padding: 12px 14px; }
  .lp-float-btn:hover { max-width: 260px; }
  .lp-services-grid { grid-template-columns: 1fr; }
  .lp-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .lp-hero-buttons { flex-direction: column; align-items: center; }
  .lp-btn-whatsapp, .lp-btn-phone { width: 100%; max-width: 300px; justify-content: center; }
}

