/*
Theme Name: Chaveiro Tendtudo
Theme URI: https://chaveirotendtudo.com
Author: Chaveiro Tendtudo
Author URI: https://chaveirotendtudo.com
Description: Tema profissional para chaveiro 24 horas com foco em conversão e SEO otimizado para "Chaveiro 24 horas"
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chaveiro-tendtudo
Tags: one-page, responsive, emergency-services, locksmith, brazilian-portuguese
*/

/* ============================================
   DESIGN SYSTEM - VARIÁVEIS CSS
   ============================================ */
:root {
  /* Cores Primárias */
  --primary: 210 100% 50%;
  --primary-foreground: 0 0% 100%;
  --primary-hover: 210 100% 45%;
  
  /* Cores de Emergência (Laranja) */
  --emergency: 25 95% 53%;
  --emergency-foreground: 0 0% 100%;
  --emergency-hover: 25 95% 48%;
  
  /* Cores de Confiança */
  --trust: 210 100% 50%;
  --trust-light: 210 100% 97%;
  
  /* Cores Neutras */
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --border: 214.3 31.8% 91.4%;
  
  /* Gradientes */
  --gradient-hero: linear-gradient(135deg, hsl(210 100% 50%), hsl(210 100% 40%));
  --gradient-emergency: linear-gradient(135deg, hsl(25 95% 53%), hsl(25 95% 48%));
  
  /* Sombras */
  --shadow-emergency: 0 10px 30px -10px hsla(25, 95%, 53%, 0.3);
  --shadow-trust: 0 10px 30px -10px hsla(210, 100%, 50%, 0.2);
  --shadow-soft: 0 4px 20px -4px hsla(0, 0%, 0%, 0.1);
  
  /* Raios de borda */
  --radius: 0.5rem;
}

/* ============================================
   RESET E BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TIPOGRAFIA
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

/* ============================================
   CONTAINER E LAYOUT
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 0;
}

@media (max-width: 768px) {
  .section {
    padding: 2rem 0;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

@media (max-width: 768px) {
.heroo{
	flex-wrap: wrap;
}
}



.hero {
  min-height: 100vh;
  display: flex;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.03;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-image {
  position: relative;
  height: 600px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-trust);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: var(--gradient-emergency);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: bold;
  box-shadow: var(--shadow-emergency);
  animation: pulse-emergency 2s infinite;
}

@keyframes pulse-emergency {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .hero-image {
    height: 400px;
    order: -1;
  }
}

/* ============================================
   BENEFITS GRID
   ============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: hsl(var(--muted));
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: var(--gradient-hero);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: white;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: hsl(var(--primary));
  box-shadow: var(--shadow-trust);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: hsl(var(--trust-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: hsl(var(--emergency));
  margin: 1rem 0;
}

/* ============================================
   BOTÕES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-hero);
  color: white;
  box-shadow: var(--shadow-trust);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px -12px hsla(210, 100%, 50%, 0.4);
}

.btn-emergency {
  background: var(--gradient-emergency);
  color: white;
  box-shadow: var(--shadow-emergency);
  animation: pulse-emergency 2s infinite;
}

.btn-emergency:hover {
  transform: translateY(-2px);
  animation: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  border-color: hsl(var(--primary));
  background: hsl(var(--trust-light));
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius);
  background: hsl(var(--muted));
}

.contact-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: var(--gradient-emergency);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: hsl(222.2 84% 4.9%);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer a {
  color: hsla(0, 0%, 100%, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: hsl(var(--emergency));
}

.footer-bottom {
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  padding-top: 1rem;
  text-align: center;
  color: hsla(0, 0%, 100%, 0.6);
}

/* ============================================
   UTILITÁRIOS
   ============================================ */
.text-center { text-align: center; }
.text-emergency { color: hsl(var(--emergency)); }
.text-primary { color: hsl(var(--primary)); }
.text-muted { color: hsl(var(--muted-foreground)); }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
