@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,500);

:root {
  --color-orange: #f75a0e;
  --color-yellow: #f7c10e;
  --color-blue: #f7b90e;
  --color-red: #f7e00e;
  --color-pink: #f70e0e;
}

/* Cores personalizadas */
.color-orange .container-button { background-color: var(--color-orange); }
.color-orange .container-button:before { background-color: var(--color-orange); }
.color-orange .w-item span { color: var(--color-orange); }

.color-yellow .container-button { background-color: var(--color-yellow); }
.color-yellow .container-button:before { background-color: var(--color-yellow); }
.color-yellow .w-item span { color: var(--color-yellow); }

.color-red .container-button { background-color: var(--color-red); }
.color-red .container-button:before { background-color: var(--color-red); }
.color-red .w-item span { color: var(--color-red); }

.color-pink .container-button { background-color: var(--color-pink); }
.color-pink .container-button:before { background-color: var(--color-pink); }
.color-pink .w-item span { color: var(--color-pink); }

.color-blue .container-button { background-color: var(--color-blue); }
.color-blue .container-button:before { background-color: var(--color-blue); }
.color-blue .w-item span { color: var(--color-blue); }

/* Estrutura de tabela para centralizar */
.w-table { display: table; width: 100%; height: 100%; }
.w-table-cell { display: table-cell; vertical-align: middle; }

.w-container {
  position: relative;
  max-width: 100%;
  margin: 30px auto 0;
  font-size: 0;
  text-align: center;
  padding-left: 50px;
}

.w-container .w-card {
  cursor: pointer;
  background-color: #fff;
  display: inline-block;
  vertical-align: top;
  width: 400px;
  color: #333;
  font-size: 30px;
  font-weight: 300;
  margin: 0 20px 30px;
  transition: all 0.3s;
  box-shadow: 0 0 10px rgba(179, 63, 18, 0.89);
}

.w-card .card-header { overflow: hidden; padding: 20px 0 0; }
.w-card .w-title, .w-card .w-price { position: relative; z-index: 2; }
.w-card .w-price { font-size: 42px; font-weight: 500; padding: 1px 20px 20px; }

.w-card .card-content { padding: 20px; }
.w-card .w-item {
  font-size: 20px;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}
.w-card .w-item:last-child { border-bottom: none; }
.w-card .w-item span { font-weight: 500; }

.container-button {
  position: relative;
  margin-left: -50px;
  width: calc(100% + 50px);
}
.container-button .w-button {
  position: relative;
  display: block;
  padding: 20px;
  color: #fff;
  font-weight: 400;
  z-index: 2;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Efeito visual com pseudo-elementos */
.container-button:before,
.container-button:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  transition: all 0.5s ease-out;
  transform: translate(-50%, -50%);
}

.container-button:after {
  z-index: 1;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 80%);
  opacity: 0;
}

.container-button:hover .w-button {
  transform: scale(1.03);
}
.container-button:hover:after {
  width: 120%;
  height: 120%;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}

/* Hover no cartão */
.w-card:hover {
  z-index: 2;
  margin: -20px 20px 50px;
}
.w-card:hover .w-button {
  opacity: 1;
}

/* Summary herdando cor conforme o card */
.w-card.color-orange .dropdown-benefits summary { background-color: var(--color-orange); }
.w-card.color-yellow .dropdown-benefits summary { background-color: var(--color-yellow); }
.w-card.color-red .dropdown-benefits summary { background-color: var(--color-red); }
.w-card.color-pink .dropdown-benefits summary { background-color: var(--color-pink); }
.w-card.color-blue .dropdown-benefits summary { background-color: var(--color-blue); }

/* Dropdown de Benefícios */
.dropdown-benefits {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.dropdown-benefits summary {
  padding: 10px 20px;
  font-size: 1em;
  font-weight: 300;
  cursor: pointer;
  list-style: none;
  color: #fff;
  border-radius: 10px 10px 0 0;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, transform 0.3s ease;
}

.dropdown-benefits summary:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

.dropdown-benefits summary::-webkit-details-marker { display: none; }

.dropdown-benefits summary:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  transition: background 0.3s ease;
  z-index: -1;
}

.dropdown-benefits summary:hover:after {
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(0,0,0,0.2));
}

details.dropdown-benefits[open] summary {
  animation: expand-summary 0.4s ease;
}

@keyframes expand-summary {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-benefits .benefits-list {
  padding: 10px 20px;
  text-align: left;
}
.dropdown-benefits .benefits-list ul {
  margin: 0;
  padding-left: 20px;
}
.dropdown-benefits .benefits-list li {
  margin-bottom: 3px;
  font-size: 0.8em;
  color: #555;
}

/* SVA's */
.dropdown-benefits .svas {
  padding: 10px 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  background: #f7f7f7;
  border-top: 1px solid #ddd;
}
.dropdown-benefits .svas img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: transform 0.3s ease;
}
.dropdown-benefits .svas img:hover {
  transform: scale(1.1);
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
  .w-container {
    padding-left: 20px;
  }
  .w-container .w-card {
    width: 90%;
    font-size: 24px;
    margin: 0 auto 30px;
  }
  .w-container .w-card .card-header .w-price {
    font-size: 36px;
  }
  .w-container .w-card .card-content .w-item {
    font-size: 18px;
  }
  .w-container .w-card .container-button {
    margin-left: -20px;
    width: calc(100% + 20px);
  }
  .w-container .w-card .container-button .w-button {
    padding: 16px;
    font-size: 16px;
  }
  .dropdown-benefits summary {
    font-size: 0.95em;
    padding: 10px 15px;
  }
  .dropdown-benefits .benefits-list li {
    font-size: 0.75em;
  }
  .dropdown-benefits .svas img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 600px) {
  .w-container {
    padding-left: 10px;
  }
  .w-container .w-card {
    width: 95%;
    font-size: 20px;
  }
  .w-container .w-card .card-header .w-price {
    font-size: 30px;
  }
  .w-container .w-card .container-button .w-button {
    padding: 14px;
    font-size: 14px;
  }
  .dropdown-benefits .svas img {
    width: 45px;
    height: 45px;
  }
}


/* ===========================================
   Seção: Planos Empresariais
   =========================================== */
   #planos-empresariais {
    background: #fff;
    padding: 60px 20px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  #planos-empresariais h2 {
    font-size: 2em;
    margin-bottom: 40px;
    color: #333;
    font-family: 'Roboto', sans-serif;
  }
  
  /* Container flex para dispor os serviços */
  .empresarial-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  /* Cada item de serviço */
  .empresarial-services .service-item {
    background: #fafafa;
    border-radius: 10px;
    padding: 30px 20px;
    max-width: 280px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
  }
  
  .empresarial-services .service-item i {
    font-size: 3rem;
    color: #f75a0e;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
  }
  
  .empresarial-services .service-item h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #f75a0e;
    font-family: 'Roboto', sans-serif;
  }
  
  .empresarial-services .service-item p {
    font-size: 1em;
    color: #666;
    line-height: 1.5;
    margin: 0;
  }
  
  .empresarial-services .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }
  
  .empresarial-services .service-item:hover i {
    transform: scale(1.1);
  }
  

  @media (max-width: 1024px) {
    #planos-empresariais {
      padding: 50px 15px;
    }
  
    .empresarial-services {
      gap: 20px;
    }
  
    .empresarial-services .service-item {
      max-width: 250px;
      padding: 25px 15px;
    }
  
    .empresarial-services .service-item i {
      font-size: 2.5rem;
      margin-bottom: 12px;
    }
  
    .empresarial-services .service-item h3 {
      font-size: 1.3em;
    }
  
    .empresarial-services .service-item p {
      font-size: 0.95em;
    }
  }
  
  @media (max-width: 600px) {
    #planos-empresariais {
      padding: 40px 10px;
    }
  
    .empresarial-services {
      flex-direction: column;
      align-items: center;
    }
  
    .empresarial-services .service-item {
      max-width: 100%;
      padding: 20px 15px;
    }
  
    .empresarial-services .service-item i {
      font-size: 2.2rem;
      margin-bottom: 10px;
    }
  
    .empresarial-services .service-item h3 {
      font-size: 1.2em;
    }
  
    .empresarial-services .service-item p {
      font-size: 0.9em;
    }
  }
  