/**
 * GuguiWeb - Componentes CSS
 * Estilos específicos para seções e componentes
 */

/* ============================================
   SEÇÃO DE SERVIÇOS
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  transition: all 300ms ease-in-out;
  border: 1px solid #E8E8E8;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1B6B52, #2D9B7F);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease-in-out;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #1B6B52, #2D9B7F);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  margin: 0 auto 20px;
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.service-description {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-btn {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, #1B6B52, #2D9B7F);
  color: white;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 300ms ease-in-out;
}

.service-btn:hover {
  box-shadow: 0 4px 12px rgba(27, 107, 82, 0.3);
  transform: translateY(-2px);
}

.service-btn.btn-orange {
  background: linear-gradient(135deg, #FF6B35, #E74C3C);
}

.service-btn.btn-orange:hover {
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* ============================================
   SEÇÃO EDUGESTÃO PRO
   ============================================ */

.edugestao-section {
  background: linear-gradient(135deg, #F5F5F5 0%, #FFFFFF 100%);
  padding: 60px 0;
}

.edugestao-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.edugestao-text h2 {
  color: #1B6B52;
  margin-bottom: 20px;
  font-size: 36px;
}

.edugestao-text h2 .highlight {
  color: #E74C3C;
}

.edugestao-features {
  list-style: none;
  margin: 30px 0;
}

.edugestao-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 15px;
  color: #666;
}

.edugestao-features li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #1B6B52, #2D9B7F);
  color: white;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
  font-weight: bold;
  font-size: 14px;
}

.edugestao-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.edugestao-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .edugestao-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .edugestao-text h2 {
    font-size: 28px;
  }
}

/* ============================================
   SEÇÃO COMO TRABALHAMOS
   ============================================ */

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
  position: relative;
}

.process-item {
  text-align: center;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1B6B52, #2D9B7F);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(27, 107, 82, 0.3);
}

.process-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.process-description {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

.process-item::after {
  content: '→';
  position: absolute;
  right: -20px;
  top: 30px;
  font-size: 24px;
  color: #2D9B7F;
  font-weight: bold;
}

.process-item:last-child::after {
  display: none;
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
  
  .process-item::after {
    display: none;
  }
}

/* ============================================
   SEÇÃO DIFERENCIAIS
   ============================================ */

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.differential-item {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #1B6B52;
  transition: all 300ms ease-in-out;
}

.differential-item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transform: translateX(4px);
}

.differential-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.differential-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.differential-text {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* ============================================
   SEÇÃO DEPOIMENTOS
   ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-top: 4px solid #2D9B7F;
  transition: all 300ms ease-in-out;
}

.testimonial-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  padding-left: 20px;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  font-size: 32px;
  color: #2D9B7F;
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1B6B52, #2D9B7F);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 20px;
}

.testimonial-info h4 {
  font-size: 14px;
  margin-bottom: 4px;
  color: #333;
}

.testimonial-info p {
  font-size: 12px;
  color: #999;
  margin: 0;
}

.testimonial-rating {
  color: #FFB800;
  font-size: 12px;
  margin-top: 8px;
}

/* ============================================
   SEÇÃO CTA PRINCIPAL
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, #1B6B52 0%, #2D9B7F 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 40px;
  margin-bottom: 20px;
  color: white;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  padding: 16px 48px;
  background: white;
  color: #1B6B52;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 300ms ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background: #F5F5F5;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .cta-section {
    padding: 60px 0;
  }
  
  .cta-content h2 {
    font-size: 28px;
  }
  
  .cta-content p {
    font-size: 16px;
  }
}

/* ============================================
   FORMULÁRIO DE CONTATO
   ============================================ */

.contact-form {
  max-width: 600px;
  margin: 40px auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  transition: all 300ms ease-in-out;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #1B6B52;
  box-shadow: 0 0 0 3px rgba(27, 107, 82, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #1B6B52, #2D9B7F);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.form-submit:hover {
  box-shadow: 0 4px 12px rgba(27, 107, 82, 0.3);
  transform: translateY(-2px);
}

.form-message {
  margin-top: 20px;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

.form-message.success {
  background: #D4EDDA;
  color: #155724;
  border: 1px solid #C3E6CB;
}

.form-message.error {
  background: #F8D7DA;
  color: #721C24;
  border: 1px solid #F5C6CB;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: linear-gradient(135deg, #1B6B52 0%, #2D9B7F 100%);
  color: white;
  padding: 60px 0 20px;
}

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

.footer-section h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 16px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 300ms ease-in-out;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
  color: white;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 40px 0;
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ============================================
   RESPONSIVIDADE ADICIONAL
   ============================================ */

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-form {
    padding: 24px;
  }
  
  .cta-content h2 {
    font-size: 24px;
  }
}


/* ============================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 300ms ease-in-out;
  z-index: 998;
  text-decoration: none;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
  animation: none;
}

@keyframes pulse-whatsapp {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 24px;
  }
}

/* ============================================
   BOTÕES CTA MELHORADOS
   ============================================ */

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: white;
  color: #1B6B52;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 300ms ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background: #F5F5F5;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cta-button-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-button-secondary:hover {
  background: white;
  color: #1B6B52;
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .cta-button {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   BOTÕES EDUGESTÃO
   ============================================ */

.edugestao-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.edugestao-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .edugestao-buttons {
    flex-direction: column;
  }
  
  .edugestao-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   MELHORIAS DE PROFISSIONALISMO
   ============================================ */

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  margin-bottom: 16px;
  font-size: 40px;
  font-weight: 700;
  color: #1B6B52;
}

.section-title p {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Sombras e profundidade melhoradas */
.service-card,
.differential-item,
.testimonial-card {
  border: 1px solid rgba(27, 107, 82, 0.1);
  transition: all 300ms ease-in-out;
}

.service-card:hover,
.differential-item:hover,
.testimonial-card:hover {
  border-color: rgba(27, 107, 82, 0.3);
}

/* Tipografia profissional */
.service-title,
.process-title,
.differential-title {
  font-weight: 700;
  color: #1B6B52;
}

/* Espaçamento melhorado */
section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .section-title p {
    font-size: 16px;
  }
}
