/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 20px 0;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 60px;
  width: 60px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid #c41e3a;
}

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.logo-text span {
  font-size: 0.9rem;
  color: #c41e3a;
  font-weight: 600;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: white;
  background: rgba(196, 30, 58, 0.2);
  transform: translateY(-2px);
}

.nav-link i {
  font-size: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.phone-info,
.hours-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.phone-info i,
.hours-info i {
  color: #c41e3a;
  font-size: 0.9rem;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25d366 0%, #20b358 100%);
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* HERO SECTION COMPLETAMENTE REFORMULADA */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f1f3f4 100%);
  padding-top: 120px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(196, 30, 58, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(196, 30, 58, 0.05) 0%, transparent 50%);
  background-size: 800px 800px, 600px 600px;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("./fachadaamalfi.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-content {
  color: #1a1a1a;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(196, 30, 58, 0.05));
  color: #c41e3a;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
  border: 2px solid rgba(196, 30, 58, 0.2);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.title-line {
  display: block;
}

.title-highlight {
  display: block;
  background: linear-gradient(135deg, #e01818 0%, #c41e3a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-description {
  font-size: 1.2rem;
  color: #000000;
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 90%;
}

.hero-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px 20px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
  min-width: 140px;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #c41e3a;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: #6c757d;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border: none;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(196, 30, 58, 0.4);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #20b358 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}


/* ===== INÍCIO DAS MUDANÇAS IMPORTANTES ===== */

/* HERO VISUAL SECTION REFORMULADA COM CSS GRID */
.hero-visual {
  display: grid;
  grid-template-columns: auto auto; /* Duas colunas flexíveis */
  gap: 2rem; /* Espaço entre a foto e os cards */
  align-items: center;
  justify-content: center;
}

.founder-highlight {
  /* Este elemento agora é um item de grid, não mais absoluto */
  background: white;
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
  border: 3px solid #c41e3a;
  text-align: center;
  z-index: 10;
  width: 280px;
  transition: transform 0.3s ease;
}

.founder-highlight:hover {
    transform: translateY(-5px);
}

.visual-cards-container {
  /* Este é o novo container para os cards */
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Espaço entre os cards */
}

.visual-card {
  /* REMOVIDO: position: absolute e todas as propriedades top/right/bottom/left */
  background: white;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(196, 30, 58, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  width: 220px; /* Largura consistente para os cards */
  /* A animação 'float' foi removida pois dependia do posicionamento absoluto. 
     Um efeito de hover foi mantido. */
}

.visual-card:hover {
  transform: translateY(-10px);
}
/* Removendo as classes de posicionamento antigas que não são mais necessárias */
.card-1, .card-2, .card-3 {
    position: static;
    width: auto;
    animation: none;
}

/* ===== FIM DAS MUDANÇAS IMPORTANTES ===== */


.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}

.visual-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.visual-card p {
  color: #6c757d;
  font-size: 0.95rem;
}

.founder-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #c41e3a;
}

.founder-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.founder-info p {
  color: #6c757d;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.founder-badge {
  background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Services Section */
.services {
  padding: 100px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(196, 30, 58, 0.05));
  color: #c41e3a;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(196, 30, 58, 0.2);
  backdrop-filter: blur(10px);
}

.section-title {
  font-size: 3rem;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.3rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 5rem;
}

.service-card {
  background: white;
  padding: 3rem;
  border-radius: 25px;
  border: 1px solid #f1f3f4;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #c41e3a, #a01729);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
  border-color: rgba(196, 30, 58, 0.2);
}

.service-card.featured {
  border: 2px solid rgba(196, 30, 58, 0.3);
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
  transform: scale(1.05);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #c41e3a;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
  color: white;
  transform: scale(1.1);
}

.service-badge {
  background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.service-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.service-card p {
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  color: #495057;
  font-weight: 500;
}

.service-features i {
  color: #25d366;
  font-size: 1rem;
}

.service-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1rem 1.5rem;
  border-radius: 15px;
  margin-top: 2rem;
}

.service-price span {
  color: #6c757d;
  font-weight: 500;
}

.service-price strong {
  color: #c41e3a;
  font-size: 1.2rem;
  font-weight: 700;
}

.service-action {
  margin-top: 2rem;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.service-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);
}

.services-benefits {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 5rem 0;
  border-radius: 30px;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.services-benefits::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(196, 30, 58, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(196, 30, 58, 0.1) 0%, transparent 50%);
  background-size: 600px 600px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.benefit-item h4 {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.benefit-item p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* History Section */
.history {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.history-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.history-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(196, 30, 58, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(196, 30, 58, 0.03) 0%, transparent 50%);
  background-size: 400px 400px;
}

.history-content {
  position: relative;
  z-index: 2;
}

.founder-section {
  margin-bottom: 5rem;
}

.founder-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: white;
  padding: 4rem;
  border-radius: 30px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(196, 30, 58, 0.1);
}

.founder-image {
  position: relative;
}

.founder-photo {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.founder-card:hover .founder-photo {
  filter: grayscale(0%);
}

.founder-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
}

.founder-year {
  font-size: 2.5rem;
  font-weight: 900;
  color: #c41e3a;
  line-height: 1;
}

.founder-title {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.9;
}

.founder-details h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.founder-subtitle {
  color: #c41e3a;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.founder-story p {
  font-size: 1.2rem;
  color: #495057;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.generations-section {
  margin-bottom: 5rem;
}

.generations-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 3rem;
}

.generations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.generation-card {
  background: white;
  padding: 3rem;
  border-radius: 25px;
  text-align: center;
  border: 1px solid #f1f3f4;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.generation-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
  border-color: rgba(196, 30, 58, 0.2);
}

.generation-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 2rem;
}

.generation-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.generation-card h5 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #c41e3a;
  margin-bottom: 0.5rem;
}

.generation-card p {
  color: #6c757d;
  margin-bottom: 1.5rem;
}

.generation-badge {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #1a1a1a;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
}

.legacy-message {
  margin-bottom: 5rem;
}

.message-content {
  background: linear-gradient(135deg, #fff5f5 0%, #ffeaea 100%);
  padding: 4rem;
  border-radius: 30px;
  text-align: center;
  border: 2px solid rgba(196, 30, 58, 0.1);
  position: relative;
}

.message-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 2rem;
}

.message-content p {
  font-size: 1.3rem;
  color: #495057;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.tribute {
  font-size: 1.5rem;
  color: #c41e3a;
  font-weight: 700;
  font-style: italic;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #c41e3a 0%, #a01729 100%);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
  margin-right: 4rem;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 4rem;
}

.timeline-year {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 60px;
  background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 2;
  box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);
}

.timeline-content {
  flex: 1;
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f3f4;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.timeline-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.timeline-content p {
  color: #6c757d;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.contact-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(196, 30, 58, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(196, 30, 58, 0.1) 0%, transparent 50%);
  background-size: 600px 600px;
}

.contact .section-header {
  position: relative;
  z-index: 2;
}

.contact .section-badge {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.contact .section-title {
  color: white;
}

.contact .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 2;
  margin-bottom: 5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.contact-method.whatsapp-method {
  border: 2px solid rgba(37, 211, 102, 0.3);
  background: rgba(37, 211, 102, 0.1);
}

.method-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-method .method-icon {
  background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
  color: white;
}

.whatsapp-method .method-icon {
  background: linear-gradient(135deg, #25d366 0%, #20b358 100%);
}

.method-content {
  flex: 1;
}

.method-content h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.method-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.method-value {
  color: #c41e3a;
  font-weight: 600;
  font-size: 1.1rem;
}

.whatsapp-method .method-value {
  color: #25d366;
}

.method-btn {
  background: linear-gradient(135deg, #25d366 0%, #20b358 100%);
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.method-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.quick-actions {
  position: relative;
  z-index: 2;
}

.quick-actions h3 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 3rem;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.action-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
}

.action-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.action-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.action-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.action-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: #0a0a0a;
  color: white;
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.footer-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(196, 30, 58, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(196, 30, 58, 0.05) 0%, transparent 50%);
  background-size: 400px 400px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 2rem;
}

.logo-img {
  height: 70px;
  width: 70px;
  border-radius: 15px;
  object-fit: cover;
  border: 2px solid #c41e3a;
}

.footer-logo .logo-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.footer-logo .logo-text span {
  font-size: 1rem;
  color: #c41e3a;
  font-weight: 600;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: linear-gradient(135deg, #25d366 0%, #20b358 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-column h4 {
  color: white;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 1rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.footer-column a:hover {
  color: #c41e3a;
  transform: translateX(5px);
}

.footer-column i {
  font-size: 0.9rem;
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  position: relative;
  z-index: 2;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
}

.footer-bottom i {
  color: #c41e3a;
  margin: 0 5px;
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 30px 100px rgba(196, 30, 58, 0.3);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== MUDANÇAS NA RESPONSIVIDADE ===== */
@media (max-width: 1024px) {
  .header-container {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .header-actions {
    order: -1;
    width: 100%;
    justify-content: space-between;
  }

  .hero-container {
    grid-template-columns: 1fr; /* Muda para uma coluna em telas menores */
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content {
      text-align: center;
  }

  .hero-stats {
      justify-content: center;
  }

  /* Centraliza o novo layout do hero-visual */
  .hero-visual {
    grid-template-columns: 1fr; /* Uma coluna para empilhar */
    justify-items: center;
  }

  .founder-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .main-nav {
    display: none;
  }

  .header-actions .contact-info {
    display: none;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card.featured {
    transform: none;
  }

  .generations-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: row !important;
    padding-left: 80px;
  }

  .timeline-item .timeline-content {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .timeline-year {
    left: 30px !important;
    transform: translateX(-50%) !important;
  }

  .actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-stats {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .stat-item {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .header {
    padding: 15px 0;
  }

  .logo {
    height: 50px;
    width: 50px;
  }

  .logo-text h1 {
    font-size: 1.2rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-visual {
      gap: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .service-card {
    padding: 2rem;
  }

  .founder-card {
    padding: 2rem;
  }

  .generation-card {
    padding: 2rem;
  }

  .contact-method {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .actions-grid {
    grid-template-columns: 1fr;
  }

  .action-card {
    padding: 2rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

/* Loading Animation */
.loading {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.loading.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* CORREÇÕES ESPECÍFICAS PARA COMPATIBILIDADE ENTRE NAVEGADORES */

/* Força aceleração de hardware em todos os elementos animados */
.visual-card,
.founder-highlight,
.service-card,
.generation-card,
.timeline-content,
.contact-method,
.action-card {
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Normaliza o comportamento de flexbox entre navegadores */
.hero-container,
.contact-content,
.footer-content {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Garante que as animações funcionem igual em todos os navegadores */
@-webkit-keyframes float {
  0%,
  100% {
    -webkit-transform: translateY(0px) translateZ(0);
    transform: translateY(0px) translateZ(0);
  }
  50% {
    -webkit-transform: translateY(-15px) translateZ(0);
    transform: translateY(-15px) translateZ(0);
  }
}

/* Prefixos para gradientes */
.btn-primary {
  background: -webkit-linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
  background: -moz-linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
  background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
}

.btn-whatsapp {
  background: -webkit-linear-gradient(135deg, #25d366 0%, #20b358 100%);
  background: -moz-linear-gradient(135deg, #25d366 0%, #20b358 100%);
  background: linear-gradient(135deg, #25d366 0%, #20b358 100%);
}