/*  
    Decidimos partir o CSS em diversos ficheiros por uma questão de organização
    Importação dos outros ficheiros de CSS
 */
@import url(variables.css);

/*------------------------------------- 
    Settings globais 
  -------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-principal);
  font-weight: 100;
}

a {
  text-decoration: none;
}

main {
  min-height: 600px;
}

.center {
  text-align: center;
}

.sticky {
  position: sticky;
  top: 0;
}

/*------------------------------------- 
    Container 
  -------------------------------------*/
.container {
  padding: 3rem;
}

/*------------------------------------- 
    Sections 
  -------------------------------------*/
.section.light {
  background: #f6f6f7;
}

.section.yellow {
  background: #FEFCE8;
}

.section.blue {
  background: var(--cor-azul-light);
}

.section.red {
  background: var(--cor-vermelho);
}

.section.red-light {
  background: var(--cor-red-light);
}

.section.red p {
  font-size: 1rem;
  font-weight: 500;
  color: white;
}

.section.yellow h3 {
  color: var(--cor-text);
}

.section.green {
  background-color: var(--cor-green-light);
}

.section.purple {
  background-color: var(--cor-purple-light);
}

.section__title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
}

.subtitle {
  color: #6b7280;
  margin: 1rem 0 3rem;
}

/*------------------------------------- 
    Buttons 
  -------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: 12px;
  /* font-weight: 600; */
  background-color: var(--btn-bg, transparent);
  color: var(--btn-color, inherit);
}

.btn svg {
  height: 1rem;
  width: 1rem;
}

.btn-outline {
  font-size: 0.95rem;
  /* font-weight: 600; */
  color: var(--btn-color, inherit);
  border: 1.5px solid var(--btn-color);
  padding: 0.4rem 1rem;
  border-radius: 8px;
}

.btn.btn--black {
  --btn-bg: white;
  --btn-color: var(--cor-text);
}

.btn.btn--black:hover {
  --btn-bg: var(--cor-text);
  --btn-color: white;
}

.btn--blue {
  --btn-bg: var(--cor-principal);
  --btn-color: white;
}

.btn--dark-blue {
  --btn-bg: var(--cor-logo);
  --btn-color: white;
}

.btn--red {
  --btn-bg: var(--cor-badge-red);
  --btn-color: white;
}

.btn--green {
  --btn-bg: var(--cor-badge-green);
  --btn-color: white;
}

.btn--yellow {
  --btn-bg: var(--cor-badge-yellow);
  --btn-color: white;
}

.btn--purple {
  --btn-bg: var(--cor-badge-purple);
  --btn-color: white;
}

.btn--white-red {
  --btn-bg: white;
  --btn-color: var(--cor-badge-pink);
}

.btn.btn--full {
  display: block;
  text-align: center;
  width: 100%;
  margin-top: 1rem;
}

/*------------------------------------- 
    image cards 
  -------------------------------------*/
.image-card__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1rem;
}

.image-card__actions .btn {
  flex: 1;
  text-align: center;
}

.image-card__actions .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #1a1a1a;
  transition: all 0.2s ease;
}

.image-card__actions .btn-icon:hover {
  background-color: #e3e5e7;
}

/*------------------------------------- 
    Cards 
  -------------------------------------*/
.cards {
  display: grid;
  gap: 2rem;
}

.cards.four {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.cards.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background: white;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.6rem;
}

.card p {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.1rem;
  margin: 1rem 0;
}

.card h4 {
  margin: 0.2rem 0;
}

.card.image {
  border-radius: 50px;
  box-shadow: none;
  height: 70px;
  width: 70px;
}

.card.info {
  align-items: flex-start;
  text-align: left;
}

.card.info p {
  font-size: 1rem;
  margin: 0.2rem 0;
}

.card.info h4 {
  margin-bottom: 0.7rem;
}

.card.info i {
  width: 32px;
  height: 32px;
  color: #6b7280;
  margin-bottom: 1rem;
}

.card.info.image {
  border-radius: 10px;
  box-shadow: none;
  align-items: start;
  height: 70px;
  width: 70px;
}

.card-contact {
  display: flex;
  align-items: flex-start;
  text-align: left;
  padding: 0 2.8rem 0;
  font-size: 0.95rem;
}

.card-contact svg {
  height: 1rem;
}

.card-contact p {
  color: var(--cor-secundaria);
  padding-left: .5rem !important;
  margin-bottom: .85rem;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-header svg {
  color: var(--cor-vermelho);
}

.card-header.blue svg {
  color: var(--cor-principal);
}

.card-header.red svg {
  color: var(--cor-vermelho);
}

.card-header.green svg {
  color: var(--cor-badge-green);
}

.card-header.orange svg {
  color: var(--cor-badge-orange);
}

.card-header.purple svg {
  color: var(--cor-badge-purple);
}

.card-header h3 {
  font-size: 1.1rem;
  padding: 0 0.8rem 0 0.8rem;
}

.card-clock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cor-badge-red);
}

.card-clock h3 {
  color: var(--cor-secundaria);
  font-size: 1.1rem;
  padding: 0 0.8rem 0 0.8rem;
}

.card-destaques {
  margin-top: 0.85rem;
}

.card-destaques strong {
  display: block;
  font-size: 1.1rem;
  color: var(--cor-secundaria);
  margin-bottom: 0.7rem;
  font-weight: 300;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.card-tag {
  background: #f3f4f6;
  color: #374151;
  font-size: 0.8rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-weight: 400;
}

.card.faq {
  align-items: flex-start;
  text-align: left;
  color: var(--cor-text);
}

.card.faq p {
  color: var(--cor-secundaria);
  padding: 0 1rem 0 2.8rem;
}

.card-de h3 {
  color: var(--cor-principal);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.card.image.dark-blue {
  background-color: #EFF6FF;
  color: var(--cor-logo);
}

.card.image.blue {
  background-color: #EFF6FF;
  color: var(--cor-principal);
}

.card.image.green {
  background-color: #F0FDF4;
  color: var(--cor-badge-green);
}

.card.image.purple {
  background-color: #FAF5FF;
  color: var(--cor-badge-purple);
}

.card.image.orange {
  background-color: #FFF7ED;
  color: var(--cor-badge-orange);
}

.card.image.red {
  background-color: #FFF1F2;
  color: var(--cor-vermelho);
}

.card.image.yellow {
  background-color: var(--cor-yellow-light);
  color: var(--cor-badge-yellow);
}

.card h3 {
  font-size: 1.1rem;
  margin: 1rem 0;
}

.card .emergency_number {
  font-size: 2rem;
  color: orange;
  margin-bottom: 1rem;
}

.card-transport {
  box-shadow: none;
  border: 1px solid #e5e7eb;
  align-items: flex-start;
  min-height: 12.5rem;
}

.card-transport-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.card-transport-header h3 {
  margin: 0 0 0.4rem;
}

.card-transport-header p {
  margin: 0;
  color: var(--cor-secundaria);
}

.card-transport-image {
  border-radius: 10px;
  box-shadow: none;
  width: 52px;
  height: 52px;
}

.card-transport-image svg {
  width: 24px;
  height: 24px;
}

.card-transport-info p {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .7rem;
  color: var(--cor-text);
}

.card-transport-info svg {
  width: 16px;
  height: 16px;
  color: var(--cor-secundaria);
}

.service-card {
  align-items: flex-start;
  box-shadow: none;
  border: 1px solid #e5e7eb;
}

.service-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1rem;
}

.service-card__header h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.5;
}

.service-card h4 {
  color: var(--cor-secundaria);
  margin: 1rem 0 0.6rem;
}

.service-card span {
  margin-bottom: 0.75rem;
  color: var(--cor-text);
}

.service-card svg {
  height: 1rem;
}

.service-card span .icon--green {
  color: var(--cor-badge-green);
}

.service-card span .icon--red {
  color: var(--cor-badge-red);
}

.service-card span .icon--purple {
  color: var(--cor-badge-purple);
}

.service-card span .icon--blue {
  color: var(--cor-badge-blue);
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.image-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
}

.image-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.image-card h3 {
  font-size: 1.4rem;
  padding: 1.8rem 1.5rem 0;
}

.image-card p {
  font-size: 1.1;
  padding: 1.5rem;
}

.image-card__body {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.image-card__body h3,
.image-card__body p {
  padding-left: 0rem;
}

.image-card__rating {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 12px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.image-card__rating svg,
.rating--text svg {
  width: 16px;
  height: 16px;
  fill: #facc15;
  color: #facc15;
}

.image-card,
.card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.image-card:hover,
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.6rem rgba(0, 0, 0, 0.12);
}

.card.card--blue {
  background-color: var(--cor-azul-light);
  box-shadow: none;
}

.card.card--red {
  background-color: var(--cor-red-light);
  box-shadow: none;
}

.card.card--purple {
  background-color: var(--cor-purple-light);
  box-shadow: none;
}

.card.card--yellow {
  background-color: var(--cor-yellow-light);
  box-shadow: none;
}

/*------------------------------------- 
    Badge 
  -------------------------------------*/
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cor-principal);
  color: white;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 9px;
}

.badge.static {
  position: static;
  margin-bottom: 1rem;
}

.badge.static.subtitle {
  background: transparent;
  color: var(--cor-badge-purple);
  margin: 0 0 1rem 0;
  font-weight: 500;
}

.badge.dark-blue {
  background: var(--cor-logo);
}

.badge--red {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cor-badge-red);
  color: white;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 9px;
}

.badge--green {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cor-badge-green);
  color: white;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 9px;
}

.badge--purple {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cor-badge-purple);
  color: white;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 9px;
}

.badge--yellow {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cor-badge-yellow);
  color: white;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 9px;
}

.badge--pink {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cor-badge-pink);
  color: white;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 9px;
}

.badge--light {
  display: inline-block;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-weight: 500;
}

.categoria-card {
  text-align: center;
  justify-content: flex-start;
}

.categoria-card i {
  width: 32px;
  height: 32px;
  color: #6b7280;
  margin-bottom: 1rem;
}

.categoria-card p {
  color: var(--cor-secundaria);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/*------------------------------------- 
    História 
  -------------------------------------*/
.historia {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background: white;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.6rem;
}

.historia h3 {
  font-size: 1.4rem;
  margin: 1rem 0;
  align-self: flex-start;
}

.historia p {
  color: var(--cor-text);
  font-size: 1rem;
  text-align: justify;
  margin-bottom: 1.2rem;
}

.historia span {
  display: block;
  align-items: start;
  color: var(--cor-text);
  font-size: 0.95rem;
  text-align: start;
  font-weight: 600;
  margin-top: 1rem;
}

.historia span a {
  color: var(--cor-text);
}

.pill {
  display: inline-block;
  border: 1px solid #e5e7eb;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.pill.pill--blue {
  background-color: var(--cor-principal);
  color: white;
  border: none;
}

.pill.pill--red {
  background-color: var(--cor-badge-red);
  color: white;
  border: none;
}

.pill.pill--green {
  background-color: var(--cor-badge-green);
  color: white;
  border: none;
}

.pill.pill--purple {
  background-color: var(--cor-badge-purple);
  color: white;
  border: none;
}

.pill.pill--yellow {
  background-color: var(--cor-badge-yellow);
  color: white;
  border: none;
}

.populares-list {
  font-size: 0.85rem;
  color: var(--cor-secundaria);
  line-height: 1.6;
}

.populares-list strong {
  display: block;
  color: var(--cor-text);
  margin-bottom: 0.5rem;
}

.populares-list ul {
  list-style-type: none;
}

/*------------------------------------- 
    Stats 
  -------------------------------------*/
.stats {
  background: var(--cor-logo);
  color: white;
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.stat.info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.stat strong {
  font-size: 1.6rem;
}

.stat span {
  font-size: 1rem;
}

/*------------------------------------- 
    Atracoes 
  -------------------------------------*/
.attraction__destaques {
  margin-top: 0.8rem;
}

.attraction__destaques strong {
  display: block;
  font-size: 0.85rem;
  color: var(--cor-secundaria);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.attraction__info span .icon--green {
  color: var(--cor-badge-green);
}

.attraction__info span .icon--orange {
  color: var(--cor-badge-red);
}

.attraction__info span .icon--purple {
  color: var(--cor-badge-purple);
}

.attraction__info span .icon--blue {
  color: var(--cor-badge-blue);
}

.attraction__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.attraction__tag {
  background: #f3f4f6;
  color: #374151;
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-weight: 400;
}

.attraction__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--cor-secundaria);
}

.attraction__info span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.attraction__info i {
  width: 18px;
  height: 18px;
  color: #A51D2D;
}

.attraction__info svg {
  width: 1.05rem;
}

.attraction--small {
  align-items: flex-start;
  padding: 1.5rem;
  text-align: left;
}

.attraction--small .subtitle {
  margin: 0.5rem 0;
}

.attraction--small__header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  color: var(--cor-secundaria);
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.attraction--small__header span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: bold;
  color: var(--cor-text);
}

.attraction--small__header i {
  width: 14px;
  height: 14px;
  color: #f1c40f;
  fill: #f1c40f;
}

.attraction--small__footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
  align-items: center;
}

.attraction--small__footer .price svg {
  color: #00A63E;
}

.attraction--small__footer strong {
  font-size: 1.2rem;
  color: var(--cor-principal);
}

.attraction--small__footer a {
  color: var(--cor-principal);
  font-weight: 600;
}

.attraction--small__footer .btn-outline {
  border: 1px solid #e5e7eb;
  color: #374151;
  background: white;
  font-weight: 400;
  padding: 0.5rem 1rem;
}

.price {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1rem;
  font-weight: 200;
  color: var(--cor-text);
}

.price i {
  width: 14px;
  height: 14px;
  color: #6b7280;
}

.dica-container {
  display: grid;
  flex-wrap: wrap;
  flex-direction: row;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.5rem;
  text-align: left;
  margin-top: 3rem;
}

.dica-card {
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  align-items: flex-start;
}

.dica-card .card-header {
  margin-bottom: 1.5rem;
}

.dica-icon {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  color: rgba(21, 93, 252, 0.05);
}

.dica-card h3 {
  color: var(--cor-text);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.dica-list {
  list-style: none;
  padding: 0;
}

.dica-list {
  margin-top: 1rem;
}

.dica-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--cor-secundaria);
  font-size: 1.1rem;
}

.dica-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--cor-text);
}

.dica-list.blue li::before {
  color: #155DFC;
}

.ticket {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ticket .ticket-item h3 {
  color: var(--cor-yellow);
  padding-bottom: 1rem;
}

.rating--text {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: bold;
  color: var(--cor-text);
  font-size: 0.9rem;
}

.rating--text i {
  width: 14px;
  height: 14px;
  color: #f1c40f;
  fill: #f1c40f;
}

/*------------------------------------- 
    Toast Box
  -------------------------------------*/
#toastBox {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1.2rem;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  overflow: hidden;
}

.toast {
  width: 400px;
  height: 80px;
  background-color: white;
  border-radius: 5px;
  font-weight: 500;
  margin: 1rem 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  position: relative;
  transform: translateX(100%);
  animation: moveleft 0.5s linear forwards;
}

.toast svg {
  margin: 0 0.8rem;
  width: 45px;
  color: var(--cor-badge-green);
} 

.toast.error svg {
  color: var(--cor-badge-red);
  font-size: large;
}

.toast::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  border-radius: 5px;
  background-color: var(--cor-badge-green);
  animation: anim 5s linear forwards;
}
.toast.error::after {
  background-color: var(--cor-badge-red);
}

@keyframes moveleft {
  100%{
    transform: translateX(0);
  }
  
}

@keyframes anim {
  100%{
    width: 0;
  }
}


/*------------------------------------- 
    Responsive
  -------------------------------------*/
@media (max-width: 768px) {

  .container {
    padding: 2rem 1rem;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .cards.three {
    grid-template-columns: 1fr;
  }

  .ticket {
    grid-template-columns: 1fr;
  }
}