/* Modern professional styles for JNL Segurança & Tecnologia */
:root {
  --primary: #0056b3;
  --primary-dark: #004494;
  --secondary: #FFC107;
  --accent: #28a745;
  --dark: #1a1a2e;
  --dark-light: #2d3047;
  --light: #f8f9fa;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --danger: #dc3545;
  --success: #28a745;
  --warning: #ffc107;
  --info: #17a2b8;
  --border-radius: 8px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --container: 1200px;
  --font-client:"Shrikhand","Playfair Display", Georgia, "Times New Roman", serif
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}
html, body {
  width: 100%;
  overflow-x: hidden;
}


h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background-color: white;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: #25D366;
  border: 2px solid #25D366;
}

.btn-secondary:hover {
  background-color: #25D366;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}


/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: max-content; /* ocupa 100% da viewport */
  background-color: #FCFF59;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding-top: 10px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  padding-left: 15px;
  width: 100%;
  max-width: 100vw; /* garante que não ultrapasse */
  box-sizing: border-box;
  background-color: #FCFF59;
  height: 100px;
}


.brand {
  /* border: 2px solid rgb(0, 0, 0); */

  display: flex;
  align-items:center;
}

.brand-div, .title-a{
  display: flex;
  flex-direction: column;
  align-items: center;  
  color: black; 
  margin-bottom: 5px;
  margin-top: 10px;
  padding-bottom: 10px;
}

.title-a{
  padding: 1px 0 0 0;
  margin: 0;
}

/* .logo {
  height: 55px;
  width: auto;
  display: block;
} */


.title {
   font-size: clamp(2.5rem, 6vw, 5rem);
 
   /* font-weight: bolder; */
  margin: 0;
  line-height: 0.8; /* Corrige desalinhamento vertical */
  display: flex;
  align-items: center; /* Garante centralização do texto */
  color: black;
  padding: 0;
}

.title, .title-span{
 /* font-weight: 700; */
  /* color: var(--primary-dark); */
   font-family: var(--font-client);
}

.title-span{
  padding: 0;
  margin: 0;
  font-size: 1.1rem;
  margin-top: -6px;
  font-size: clamp(0.5rem, 1.8vw, 1.4rem);
  text-align: center;
}

.nav-links {
  /* border: 2px solid rgb(255, 0, 0); */

  display: flex;
  list-style: none;
  align-items: center;
  gap: clamp(8px, 2vw, 30px);
    font-size: clamp(0.9rem, 1.6vw, 1.4rem);

}

.nav-links a {
  color: var(--dark);
  /* font-weight: 500; */
  padding: 8px 0;
  position: relative;
}

.nav-item a{
  font-family: var(--font-client);
  color: var(--dark-light);

}
.nav-links a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover:after {
  width: 100%;
}

.nav-cta {
  background-color: var(--primary);
  color: white !important;
  padding: 8px 16px !important;
  border-radius: var(--border-radius);
  font-style: italic;
  font-weight: 900;
}

.nav-cta:hover {
  background-color: var(--primary-dark);
}

.nav-cta:after {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--dark);
  position: relative;
  transition: var(--transition);
}

.hamburger:before, .hamburger:after {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  background-color: var(--dark);
  transition: var(--transition);
}

.hamburger:before {
  top: -8px;
}

.hamburger:after {
  top: 8px;
}


/* Hero Section with Slideshow */
.hero {
  border: 1px solid black;
  position: relative;
  height: 100vh;
  padding-top: 100px;
  margin-top: 80px;
  min-height: 600px;
  overflow: hidden;
}

.slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 10%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  color: white;
}

.slide-title {
  font-size: 3rem;
  color: #FCFF59;
  font-weight: 100;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 600px;font-family: var(--font-client);

}

.slide-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  max-width: 500px;
  opacity: 0.9;
  font-family: var(--font-client);
  font-weight: none;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Slide Navigation */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  color: white;
}

.slide-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.slide-arrow-prev {
  left: 2rem;
}

.slide-arrow-next {
  right: 2rem;
}

.slide-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
   .nav {
    justify-content: center;
    position: relative;
    
  }
  .brand-div{
    align-items: center;

  }
  .brand {
    /* position: absolute; */
    
    transform: translateX(-50%);
  }
  .title{
    font-size: 3rem;
  }

  .title-span{
    font-size: 1rem;
  }

  .nav-toggle {
    position: absolute;
    right: 40px;
  }

  .nav-links {
    top: 100%;
    left: 0;
    right: 0;
    font-size: 1.3rem;

  }
  .slide-content {
    padding: 0 5%;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
  }
  
  .slide-title {
    font-size: 2.5rem;
  }
  
  .slide-subtitle {
    font-size: 1.2rem;
  }
  
  .slide-arrow {
    width: 40px;
    height: 40px;
  }
  
  .slide-arrow-prev {
    left: 1rem;
  }
  
  .slide-arrow-next {
    right: 1rem;
  }

  .hero{
  padding: 40px 0 100px;

  }
}

@media (max-width: 480px) {
  .slide-title {
    font-size: 2rem;
  }
  
  .slide-subtitle {
    font-size: 1rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    text-align: center;
  }
}



/* Hero Section */
.hero {
  position: relative;
  padding: 100px 0 100px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  color: white;
  overflow: hidden;
}

.hero-heigth{
  height: min-content;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  color: white;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-ctas {
  display: flex;
  gap: 15px;
  margin-bottom: 2.5rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.slides img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.slides img.active {
  opacity: 1;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hero-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 25px;
  color: white;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.hero-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.hero-card h3 {
  color: white;
  margin-bottom: 10px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/pattern.svg');
  background-size: cover;
  opacity: 0.1;
  z-index: -1;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}


/* Section quem somos */

/* ============================= */
/* SEÇÃO QUEM SOMOS - JNL        */
/* ============================= */

.about-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%);
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at center, #FCFF59 0%, transparent 70%);
  opacity: 0.2;
  z-index: 0;
}

.about-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle at center, #0056b3 0%, transparent 70%);
  opacity: 0.15;
  z-index: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-text {
  color: #1a1a2e;
  line-height: 1.8;
  
}

.about-text h2 {
  font-size: 2.4rem;
  color: #0b0d12;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.about-text h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #FCFF59;
  border-radius: 2px;
  margin-top: 10px;
}

.about-text p {
  margin-bottom: 1rem;
  color: #333;
  font-size: 1.2rem;
  opacity: 0.95;
}

.about-text strong {
  color: #0056b3;
}

.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-cta .btn-primary {
  background-color: #0056b3;
  color: white;
}

.about-cta .btn-primary:hover {
  background-color: #004494;
  color: #FCFF59;
}



/* --- Responsividade --- */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text h2::after {
    margin-left: auto;
    margin-right: auto;
  }

  .about-cta {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .about-section {
    padding: 70px 0;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .about-text p {
    font-size: 0.95rem;
  }
}



/* Services Section */
.services-section {
  background-color: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  margin-bottom: 20px;
  color: var(--primary);
}

.service-card h3 {
  margin-bottom: 15px;
}

.service-card p {
  margin-bottom: 20px;
  color: var(--gray);
}

.service-card ul {
  list-style: none;
  text-align: left;
}

.service-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-light);
  position: relative;
  padding-left: 20px;
}

.service-card li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.electric-section {
  background-color: white;
}

/* Features Section */
.features-section {
  background-color: var(--dark);
  color: white;
}

.features-section h2, .features-section h3 {
  color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--dark-light);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  margin-bottom: 20px;
  color: var(--secondary);
}

.feature-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* Serviços */
/* Galeria */
.reviews-section{
  background-color: #dadada;
  box-shadow: 5px 10px 8px rgba(0, 0, 0, 0.5);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: center;

}
.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-grid img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 10px;
}
.review-card {
  background: white;
  border-radius: 10px;
  padding: 18px;
  box-shadow: var(--shadow);
  text-align: left;
}
.review-card p {
  font-style: italic;
  margin-bottom: 12px;
}
.review-card .meta {
  display:flex;
  align-items:center;
  gap:12px;
}
.review-avatar {
  width:44px;
  height:44px;
  border-radius:50%;
  background:#eee;
  display:inline-block;
  overflow:hidden;
}
.review-avatar img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.review-name { font-weight:700; color:var(--primary); }
.review-date { font-size:0.85rem; color:var(--gray); margin-left:6px;}

/* Contact Section */
.contact-section {
  background-color: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info .section-header {
  text-align: left;
  margin-bottom: 30px;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-item a, .contact-item span {
  color: var(--gray);
}

.contact-item a:hover {
  color: var(--primary);
}

.map {
  margin-top: 30px;
}

.map iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.contact-form {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

input, textarea, select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.form-feedback {
  margin-top: 15px;
  padding: 10px 15px;
  border-radius: var(--border-radius);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background-color: var(--primary-dark);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 80px;
  margin-bottom: 15px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: white;
}

.footer-contact p {
  margin-bottom: 10px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.socials {
  display: flex;
  gap: 15px;
}

.socials a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: bold;
}

.socials a:hover {
  color: white;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 50px;
  background-color: #25D366;
  color: white;
  padding: 12px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  font-weight: 600;
  transition: var(--transition);
}

.whatsapp-float:hover {
  background-color: #128C7E;
  color: white;
  transform: translateY(-3px);
}



/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--gray-light);
  }
  
  .nav-links.show {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .hero {
    padding: 80px 0 80px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-visual {
    grid-template-columns: 1fr;
  }
  
  .hero-ctas {
    flex-direction: column;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .services-grid, .features-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card, .feature-card {
    padding: 20px;
  }
}