/* Estilos modernos para o site Wilar Conecte */
:root {
  --primary-color: #FA9A34;
  --dark-color: #000000;
  --light-color: #f9f9f9;
  --text-color: #222;
  --transition-speed: 0.3s;
  --box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Reset e estilos gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  background-color: var(--light-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

section {
  padding: 100px 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-slideInLeft {
  animation: slideInLeft 0.8s ease forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Atrasos de animação */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

/* Header e navegação */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-speed);
  padding: 15px 0;
}

header.scrolled {
  background-color: var(--dark-color);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  padding: 10px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand img {
  height: 80px;
  transition: all var(--transition-speed);
}

header.scrolled .navbar-brand img {
  height: 80px;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
}


.nav-item {
  margin-left: 30px;
}

.nav-link {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  padding: 5px 0;
  transition: all var(--transition-speed);
}

.nav-link:hover, .nav-link:focus {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed);
}

.nav-link:hover::after {
  width: 100%;
}

.navbar-toggler {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.navbar-toggler-icon {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--light-color);
  margin: 6px 0;
  transition: all var(--transition-speed);
}

/* Botão de contato no header */
.header-cta {
  background-color: var(--primary-color);
  color: var(--dark-color);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-speed);
  display: inline-block;
}

.header-cta:hover {
  background-color: #fff;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(250, 154, 52, 0.3);
}

/* Hero section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('christina-wocintechchat-com-UcZcsHSp8o4-unsplash.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(250, 154, 52, 0.8), rgba(0, 0, 0, 0.8));
  opacity: 0.9;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-subtitle {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.hero-title {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 30px;
}

.hero-title .highlight {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--dark-color);
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition-speed);
  font-size: 18px;
  box-shadow: 0 10px 30px rgba(250, 154, 52, 0.3);
}

.hero-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(250, 154, 52, 0.5);
}

/* Seção de urgência */
.urgency {
  background-color: var(--primary-color);
  color: var(--dark-color);
  padding: 30px 0 20px 0;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  position: relative;
}

.urgency::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,5 C75,20 25,20 0,5 Z" fill="%23f9f9f9"/></svg>');
  background-size: 100% 100%;
  background-position: top;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Seção Sobre */
.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-subtitle {
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
}

.section-heading {
  font-size: 40px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.about-text {
  font-size: 18px;
  margin-bottom: 40px;
  text-align: center;
}

.about-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.about-card::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  opacity: 0.1;
  border-radius: 50%;
  z-index: -1;
  transition: all 0.5s ease;
}

.about-card:hover {
  transform: translateY(-10px);
}

.about-card:hover::before {
  width: 150%;
  height: 150%;
  opacity: 0.05;
}

.about-card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.about-card-text {
  color: #666;
  font-size: 16px;
}

/* Seção Serviços */
.services {
  background-color: #f8f9fa;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,100 L100,100 L100,95 C75,80 25,80 0,95 Z" fill="%23f9f9f9"/></svg>');
  background-size: 100% 100%;
  background-position: bottom;
  background-repeat: no-repeat;
  transform: rotate(180deg);
}

.service-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: all var(--transition-speed);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transition: all var(--transition-speed);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card:hover::before {
  height: 6px;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(250, 154, 52, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 36px;
  transition: all var(--transition-speed);
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: #fff;
  transform: rotateY(360deg);
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.service-text {
  color: #666;
  font-size: 16px;
}

/* Seção Resultados */
.results {
  background-color: #fff;
}

.result-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: all var(--transition-speed);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.result-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 50px 50px 0;
  border-color: transparent var(--primary-color) transparent transparent;
  transition: all var(--transition-speed);
}

.result-card:hover {
  transform: translateY(-10px);
}

.result-card:hover::after {
  border-width: 0 70px 70px 0;
}

.result-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1;
}

.result-text {
  color: #666;
  font-size: 18px;
}

/* Seção Portfólio */
.portfolio {
  background-color: #f8f9fa;
  position: relative;
}

.portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,100 L100,100 L100,95 C75,80 25,80 0,95 Z" fill="%23ffffff"/></svg>');
  background-size: 100% 100%;
  background-position: bottom;
  background-repeat: no-repeat;
  transform: rotate(180deg);
}

.portfolio-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 18px;
  color: #666;
}

.portfolio-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed);
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.portfolio-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all var(--transition-speed);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.05);
}

.portfolio-content {
  padding: 30px;
}

.portfolio-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.portfolio-text {
  color: #666;
  font-size: 16px;
  margin-bottom: 20px;
}

/* Seção Contato */
.contact {
  background-color: #fff;
  position: relative;
}

.contact-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 18px;
  color: #666;
}

.contact-form {
  background-color: #fff;
  border-radius: 15px;
  padding: 50px;
  box-shadow: var(--box-shadow);
}

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

.form-control {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  font-size: 16px;
  transition: all var(--transition-speed);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(250, 154, 52, 0.1);
  outline: none;
}

.form-control::placeholder {
  color: #aaa;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--primary-color);
  color: var(--dark-color);
  font-weight: 700;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition-speed);
  width: 100%;
}

.submit-btn:hover {
  background-color: #e68a20;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(250, 154, 52, 0.3);
}

/* Botão WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-speed);
}

.whatsapp-btn i {
  margin-right: 8px;
  font-size: 20px;
}

.whatsapp-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
  color: white;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

/* Modal */
.modal-header {
  background-color: var(--primary-color);
  color: var(--dark-color);
  border-bottom: none;
}

.modal-content {
  border-radius: 15px;
  overflow: hidden;
  border: none;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.modal-title {
  font-weight: 700;
}

.modal-body {
  padding: 30px;
}

.modal-footer {
  border-top: none;
  padding: 20px 30px;
}

.btn-secondary {
  background-color: #6c757d;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  transition: all var(--transition-speed);
}

.btn-secondary:hover {
  background-color: #5a6268;
  transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 50px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .section-heading {
    font-size: 36px;
  }
  
  .nav-item {
    margin-left: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  section {
    padding: 80px 0;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .section-heading {
    font-size: 30px;
  }
  
  .navbar-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  
  .navbar-nav.show {
    display: flex;
  }
  
  .nav-item {
    margin: 10px 0;
  }
  
  .navbar-toggler {
    display: block;
  }
  
  .header-cta {
    display: none;
  }
  
  .contact-form {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 30px;
  }
  
  .hero-cta {
    padding: 12px 24px;
    font-size: 16px;
  }
  
  .section-heading {
    font-size: 26px;
  }
  
  .about-card, .service-card, .result-card {
    padding: 30px 20px;
  }
  
  .result-number {
    font-size: 36px;
  }
  
  .whatsapp-btn {
    padding: 10px 15px;
    font-size: 14px;
  }
  
  .whatsapp-btn i {
    font-size: 16px;
  }
}

/* Animações adicionais para elementos específicos */
.scroll-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.scroll-animation.active {
  opacity: 1;
  transform: translateY(0);
}

/* Efeitos de hover para links */
a {
  transition: all var(--transition-speed);
}

/* Efeito de gradiente para textos destacados */
.gradient-text {
  background: linear-gradient(45deg, var(--primary-color), #ff7e5f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
