:root {
  /* Excellense Colors */
  --excellense-gold: #f4c430;
  --excellense-cyan: #00bcd4;
  --excellense-dark-cyan: #0097a7;
  --excellense-navy: #1a237e;
  --excellense-dark: #0d1421;

  /* Tokio Marine Colors */
  --tokio-green: #4caf50;
  --tokio-light-green: #66bb6a;
  --tokio-dark-green: #388e3c;
  --tokio-accent-green: #81c784;
  --tokio-yellow: #ffc107;
  --tokio-orange: #ff9800;

  /* Neutral colors */
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --gray: #666666;
  --dark-gray: #333333;
}

* {
  font-family: "Poppins", sans-serif;
}
/* Header Styles */
.top-bar {
  background: linear-gradient(
    135deg,
    var(--excellense-dark) 0%,
    var(--dark-gray) 100%
  );
  color: white;
  font-size: 12px;
  padding: 8px 0;
}

.top-bar a {
  color: var(--light-gray);
  text-decoration: none;
  margin-right: 20px;
  transition: color 0.3s ease;
}

.top-bar a:hover {
  color: var(--excellense-cyan);
}

.main-header {
  background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.navbar-brand img {
  height: 55px;
}

.navbar-nav .nav-link {
  color: var(--excellense-navy) !important;
  font-weight: 600;
  padding: 15px 20px !important;
  text-transform: uppercase;
  font-size: 14px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--excellense-cyan) !important;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 50%;
  background: linear-gradient(
    90deg,
    var(--excellense-cyan),
    var(--excellense-gold)
  );
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* Hero Section */
.hero-section {
  background: url("../img/banner.jpg");
  background-size: cover;
  background-position: center;
  min-height: 650px;
  color: white;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(33, 137, 255, 0.637) 0%,
    rgba(77, 231, 110, 0.384) 50%,
    rgba(247, 177, 46, 0.525) 100%
  );
}

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

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.toggle-buttons {
  margin: 40px 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 8px;
  backdrop-filter: blur(10px);
  display: inline-block;
  border: 2px solid rgba(244, 196, 48, 0.3);
}

.toggle-btn {
  background-color: transparent;
  border: none;
  color: white;
  padding: 15px 35px;
  margin: 0 5px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.toggle-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--excellense-gold),
    var(--excellense-cyan)
  );
  transition: left 0.4s ease;
  z-index: -1;
}

.toggle-btn.active::before,
.toggle-btn:hover::before {
  left: 0;
}

.toggle-btn.active,
.toggle-btn:hover {
  color: var(--excellense-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 196, 48, 0.4);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 25px;
  margin-top: 50px;
  max-width: 1200px;
}

.product-item {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.85) 100%
  );
  color: var(--excellense-navy);
  padding: 25px 15px;
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.product-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--excellense-cyan),
    var(--tokio-green)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.product-item:hover::before {
  opacity: 0.1;
}

.product-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 188, 212, 0.3);
  border-color: var(--excellense-cyan);
  color: var(--excellense-navy);
}

.product-item i {
  font-size: 2.5rem;
  color: var(--excellense-cyan);
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.product-item:hover i {
  color: var(--excellense-gold);
  transform: scale(1.2);
}

.product-item div {
  font-weight: 600;
  font-size: 14px;
}

/* Fade transition for product grids */
.products-grid.fade-out {
  opacity: 0;
  transform: translateY(20px);
}

.products-grid.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Quick Resolve Section */
.quick-resolve {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--excellense-navy);
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--excellense-cyan),
    var(--excellense-gold)
  );
  border-radius: 2px;
}

.resolve-card {
  background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 40px 25px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.resolve-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--excellense-cyan),
    var(--tokio-green)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.resolve-card:hover::before {
  opacity: 0.05;
}

.resolve-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 188, 212, 0.2);
  border-color: var(--excellense-cyan);
}

.resolve-card i {
  font-size: 3.5rem;
  background: linear-gradient(
    135deg,
    var(--excellense-cyan),
    var(--excellense-gold)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.resolve-card:hover i {
  transform: scale(1.1);
}

.resolve-card h3 {
  color: var(--excellense-navy);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.resolve-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Quick Services Section */
.quick-services {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
}

.services-list {
  list-style: none;
  padding: 0;
}

.services-list li {
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
  margin-bottom: 18px;
  padding: 25px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.services-list li::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--excellense-cyan),
    var(--tokio-green)
  );
  opacity: 0.1;
  transition: left 0.4s ease;
  z-index: -1;
}

.services-list li:hover::before {
  left: 0;
}

.services-list li:hover {
  transform: translateX(10px);
  border-color: var(--excellense-cyan);
  color: var(--excellense-navy);
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.15);
}

.services-list li span {
  font-weight: 600;
}

.services-list li i {
  transition: all 0.3s ease;
  color: var(--excellense-cyan);
}

.services-list li:hover i {
  transform: translateX(5px);
  color: var(--excellense-gold);
}

/* Super App Section */
.super-app {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--light-gray) 0%, #e0f7fa 100%);
}

.app-buttons {
  margin-top: 40px;
}

.app-btn {
  background: linear-gradient(
    135deg,
    var(--excellense-navy) 0%,
    var(--excellense-cyan) 100%
  );
  color: white;
  padding: 18px 35px;
  border: none;
  border-radius: 12px;
  margin-right: 20px;
  margin-bottom: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.app-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--excellense-gold),
    var(--excellense-cyan)
  );
  transition: left 0.4s ease;
  z-index: -1;
}

.app-btn:hover::before {
  left: 0;
}

.app-btn:hover {
  color: var(--excellense-navy);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 188, 212, 0.3);
}

/* Travel Insurance Banner */
.travel-insurance {
  background: linear-gradient(
      135deg,
      rgba(0, 134, 187, 0.822) 50%,
      rgba(23, 226, 101, 0.6) 100%
    ),
    url("/assets/img/banner3.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 100px 0;
  color: white;
  position: relative;
}

.travel-insurance::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background: linear-gradient(135deg, rgba(26,35,126,0.8) 0%, rgba(0,188,212,0.6) 100%);*/
}

.travel-insurance .container {
  position: relative;
  z-index: 2;
}

.travel-insurance h2 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.travel-insurance p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
  background: linear-gradient(135deg, var(--excellense-gold) 0%, #ffd54f 100%);
  color: var(--excellense-navy);
  padding: 20px 50px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ffe082, var(--excellense-gold));
  transition: left 0.4s ease;
  z-index: -1;
}

.cta-button:hover::before {
  left: 0;
}

.cta-button:hover {
  color: var(--excellense-navy);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 30px rgba(244, 196, 48, 0.4);
}

/* Footer */
.footer {
  background: linear-gradient(
    135deg,
    var(--excellense-dark) 0%,
    var(--excellense-dark) 100%
  );
  color: white;
  padding: 80px 0 30px;
}

.footer h5 {
  color: var(--excellense-gold);
  margin-bottom: 25px;
  font-weight: 600;
  font-size: 1.1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
}

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

.footer ul li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer ul li a:hover {
  color: var(--excellense-cyan);
  transform: translateX(5px);
}

.social-icons a {
  color: white;
  font-size: 1.8rem;
  margin-right: 20px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--excellense-gold);
  transform: translateY(-3px);
}

/* Page Sections for Insurance Types */
.page-section {
  display: none;
  min-height: 80vh;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
}

.page-section.active {
  display: block;
}

.page-header {
  text-align: center;
  margin-bottom: 60px;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--excellense-navy);
  margin-bottom: 20px;
}

.page-header p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 188, 212, 0.15);
  border-color: var(--excellense-cyan);
}

.feature-card h3 {
  color: var(--excellense-cyan);
  margin-bottom: 15px;
  font-weight: 600;
}

.back-btn {
  background: linear-gradient(
    135deg,
    var(--excellense-cyan) 0%,
    var(--excellense-gold) 100%
  );
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.back-btn:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .travel-insurance h2 {
    font-size: 2.2rem;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .toggle-btn {
    padding: 12px 25px;
    font-size: 14px;
  }

  .app-btn {
    display: block;
    text-align: center;
    margin-right: 0;
  }
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }
}
.dev {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #555;
}

.dev a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

.dev a:hover {
  text-decoration: underline;
}
.auto-img {
  margin-top: 0;
}

/* A partir de telas LG (≥992px), aplica margin-top */
@media (min-width: 992px) {
  .auto-img {
    margin-top: 150px;
  }
}
/* lgpd */
#lgpd-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 15px 20px;
  text-align: center;
  z-index: 9999;
  font-family: Arial, sans-serif;
  backdrop-filter: blur(6px);
}

#lgpd-banner a {
  color: #4caf50;
  text-decoration: none;
}

#lgpd-banner .lgpd-content {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 100%;
  text-align: left;
}

#lgpd-banner span {
  text-align: left;
}

#lgpd-banner button {
  padding: 8px 15px;
  background: #4caf50;
  border: none;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

#lgpd-banner button:hover {
  background: #45a049;
}

/* Responsivo para celular */
@media (max-width: 600px) {
  #lgpd-banner {
    text-align: left;
    padding-bottom: 70px;
  }

  #lgpd-banner .lgpd-content {
    flex-direction: column;
    align-items: flex-start;
  }

  #lgpd-banner button {
    width: auto; /* só o necessário para o texto */
    align-self: flex-start;
  }
}
.client-logo img {
  height: 60px;
  margin-left: 30px;
  margin-right: 30px;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.client-logo img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* depoimentos */
#depoimentos .depoimento {
  transition: opacity 1s ease-in-out;
  min-height: 200px;
}

#depoimentos .depoimento:not(.active) {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

#depoimentos .depoimento.active {
  opacity: 1;
  position: relative;
}

@media (max-width: 768px) {
  #depoimentos img {
    max-height: 250px;
  }
}

#chatbot-frame {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 350px;
  height: 480px;
  border: none;
  background: transparent;
  z-index: 9999;
}

/* Responsivo: sobe o chatbot no mobile */
@media (max-width: 767.98px) {
  #chatbot-frame {
    width: 95%;
    height: 380px;
  }
}
#chatbot-frame {
  position: fixed;
  bottom: 1.3rem;
  right: 1.3rem;
  width: 110px;
  max-width: 400px;
  height: 110px; /* Tamanho padrão (fechado) */
  border: none;
  background: transparent;
  z-index: 9999;
  transition: height 0.3s ease;
}
